Computes the size the of the memory for the multi-pattern search engine.
IppStatus ippsRegExpMultiGetSize(Ipp32u numPatterns, int* pSize);
numPatterns |
Maximum number of patterns. |
pSize |
Pointer to the computed size of the memory for the multi-pattern search engine. |
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.
The value of the parameter numPatterns must be the same as used for the ippsRegExpMultiInit function call.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pSize pointer is NULL. |
ippStsSizeErr |
Indicates an error when numPatterns is equal to zero. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.