Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

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

Document Table of Contents

RegExpReplaceInit

DEPRECATED. Initialize the state structure for the find-replace operation.

Syntax

IppStatus ippsRegExpReplaceInit(const Ipp8u* pSrcReplacement, IppRegExpReplaceState* pReplaceState);

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.

pReplaceState

Pointer to 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 initializes a state structure pState for the find and replace operation in the external buffer. The size of this buffer must be computed previously by calling the function ippsRegExpReplaceGetSize.

NOTE:

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

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pReplaceState or pSrcReplacement pointer is NULL.