Developer Reference for Intel® Integrated Performance Primitives

RegExpGetSize

DEPRECATED. Computes the size of the regular expression state structure.

Syntax

IppStatus ippsRegExpGetSize(const char* pPattern, int* pRegExpStateSize);

Include Files

ippch.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pPattern

Pointer to the pattern of regular expression.

pRegExpStateSize

Pointer to the computed size of the regular expression structure.

Description

Note

This function is deprecated and will be removed in a future release. If you have concerns, open a ticket and provide feedback at https://supporttickets.intel.com/.

This function computes the size of the memory that is necessary to initialize by the function ippsRegExpInit the regular expression state structure containing the pattern pPattern in the internal form. The value of the computed size is stored in the pRegExpStateSize.

Note

The parameter pPattern must be the same for both functions ippsRegExpInit and ippsRegExpGetSize.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.