RegExpGetSize

Computes the size of the regular expression state structure.

Syntax

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

Parameters

pPattern

Pointer to the pattern of regular expression.

pRegExpStateSize

Pointer to the computed size of the regular expression structure.

Description

The function ippsRegExpGetSize is declared in the ippch.h file. 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.

Caution iconCaution

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.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.