Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

RegExpReplaceGetSize

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

Syntax

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

Include Files

ippch.h

Domain Dependencies

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

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

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

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 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.

NOTE:

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.