RegExpReplaceGetSize

Calculates the size of the state structure for the find-replace operation.

Syntax

IppStatus ippsRegExpReplaceGetSize(const Ipp8u* pSrcReplacement, Ipp32u* pSize);

Parameters

pSrcReplacement

Pointer to the source null-terminated replace pattern.

pSize

Pointer to the size of the state structure for the find and replace operation.

Description

The function ippsRegExpReplaceGetSize is declared in the ippch.h file. This function calculates the size of the memory that is necessary to initialize the state structure required by the function ippsRegExpReplaceInit. The value of the calculated size is stored in the pSize.

Caution iconCaution

Value of the parameter pSrcReplacement must be the same as used for the ippsRegExpReplaceInit function call.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSize pointer is NULL.

Submit feedback on this help topic

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