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

RegExpGetSize

DEPRECATED. Computes the size of the regular expression state structure.

Syntax

IppStatus ippsRegExpGetSize(const char* pPattern, int* pRegExpStateSize);

Include Files

ippch.h

Domain Dependencies

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

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

Parameters

pPattern

Pointer to the pattern of regular expression.

pRegExpStateSize

Pointer to the computed size of the regular expression structure.

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 computes the size of the memory that is necessary to initialize by the function ippsRegExpInit the regular expression state structure containing the pattern pPattern in the internal form. The value of the computed size is stored in the pRegExpStateSize.

NOTE:

The parameter pPattern must be the same for both functions ippsRegExpInit and ippsRegExpGetSize.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.