Visible to Intel only — GUID: GUID-540B7415-44AF-4EFD-95D1-EF059ACEA624
Visible to Intel only — GUID: GUID-540B7415-44AF-4EFD-95D1-EF059ACEA624
CompareIgnoreCase, CompareIgnoreCaseLatin
DEPRECATED. Compare two strings of the fixed length ignoring case.
Syntax
IppStatus ippsCompareIgnoreCaseLatin_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
These functions compare first len elements of two strings pSrc1 and pSrc2. If all pairs of elements in the strings are equal, the function returns pResult = 0. If the pair of non-matching elements occurs in the i-th position, the function stops operation and returns pResult. The returned value is positive when pSrc1[i]> pSrc2[i] and negative when pSrc1[i]< pSrc2[i]. The comparison is case-insensitive.
The function ippsCompareIgnore operates with Unicode characters. The function ippsCompareIgnoreLatin operates with ASCII characters.
Code example shows how to use the function ippsCompareIgnoreCaseLatin_8u.
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. |