RegExpMultiGetSize

Computes the size the of the memory for the multi-pattern search engine.

Syntax

IppStatus ippsRegExpMultiGetSize(Ipp32u numPatterns, int* pSize);

Parameters

numPatterns

Maximum number of patterns.

pSize

Pointer to the computed size of the memory for the multi-pattern search engine.

Description

The function ippsRegExpMultiGetSize is declared in the ippch.h file. This function computes the size of the memory for state structure containing the multi-pattern search engine. The value of the computed size is stored in the pSize.

Caution iconCaution

The value of the parameter numPatterns must be the same as used for the ippsRegExpMultiInit function call.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSize pointer is NULL.

ippStsSizeErr

Indicates an error when numPatterns is equal to zero.

Submit feedback on this help topic

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