Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

Equal

DEPRECATED. Compares two string of the fixed length for equality.

Syntax

IppStatus ippsEqual_8u(const Ipp8u*
pSrc1
, const Ipp8u*
pSrc2
, int len, int*
pResult
);
Include Files
ippch.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
pSrc1
Pointer to the first source string.
pSrc2
Pointer to the second source string.
len
Maximum number of elements to be compared.
pResult
Pointer to the result.
Description
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 compares first
len
elements of two strings
pSrc1
and
pSrc2
. Each element of the first string is compared with the corresponding element of the second string. When the first pair of non-matching elements is found, the function stops operation and stores 0 in
pResult
. If the strings are equal, the function stores 1 in
pResult
. The comparison is case-sensitive.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error condition if at least one of the specified pointers is
NULL
.
ippStsLengthErr
Indicates an error condition if
len
is negative.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804