Home
last modified time | relevance | path

Searched refs:u_memcmp (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c105 if(s==pipeString || length!=1 || 0!=u_memcmp(s, pipeString, length) || s[length]!=0) { in TestOpenClose()
149 if((u_memcmp(bestPattern, expectingBestPattern, length)!=0) || bestPattern[length]!=0) { in TestUsage()
169 if((u_memcmp(result, expectingSkeleton, length)!=0) || result[length]!=0) { in TestUsage()
188 if((u_memcmp(result, expectingBaseSkeleton, length)!=0) || result[length]!=0) { in TestUsage()
206 if(length!=7 || 0!=u_memcmp(r, testFormat, length) || r[length]!=0) { in TestUsage()
223 if(length!=2 || 0!=u_memcmp(r, appendItemName, length) || r[length]!=0) { in TestUsage()
232 if(length!=7 || 0!=u_memcmp(r, testFormat, length) || r[length]!=0) { in TestUsage()
313 if (U_FAILURE(errorCode) || p==NULL || u_memcmp(p, ptrResult[count], pLength)!=0 ) { in TestBuilder()
326 … if (U_FAILURE(errorCode) || p==NULL || u_memcmp(p, resultBaseSkeletons[count], pLength)!=0 ) { in TestBuilder()
368 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) { in TestBuilder()
Dcnormtst.c687 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { in TestCheckFCD()
907 } else if(length!=expectLength || u_memcmp(output, expect, length)!=0) { in TestNormCoverage()
947 } else if(length!=expectLength || u_memcmp(output, expect, length)!=0) { in TestNormCoverage()
980 if(U_FAILURE(errorCode) || length!=6 || 0!=u_memcmp(buffer, expect, length)) { in TestConcatenate()
1072 expectNeeded=(UBool)(0!=u_memcmp(buffer, in, inLength)); in _testIter()
1098 expectNeeded=(UBool)(0!=u_memcmp(buffer, in, inLength)); in _testIter()
1122 if(0!=u_memcmp(expect, buffer, length)) { in _testIter()
1467 0!=u_memcmp(output, cases[i].expect, length) in TestComposition()
1613 … if(U_FAILURE(errorCode) || length!=UPRV_LENGTHOF(expected) || 0!=u_memcmp(a, expected, length)) { in TestAppendRestoreMiddle()
Didnatest.c883 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46()
891 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46()
900 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46()
909 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46()
963 length != 3 || 0 != u_memcmp(dest16, fa_FFFD, 3) || in TestUTS46()
Dcustrtrn.c445 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
461 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
479 …if(err != U_ZERO_ERROR || uDestLen != 10 || numSubstitutions != 4 || u_memcmp(uTarget, expected_FF… in Test_strFromUTF32_surrogates()
495 …if(err != U_ZERO_ERROR || uDestLen != 14 || numSubstitutions != 4 || u_memcmp(uTarget, expected_12… in Test_strFromUTF32_surrogates()
706 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen+1) || in Test_UChar_UTF8_API()
721 0!=u_memcmp(withTrail16SubFFFD, out16, uDestLen+1) || in Test_UChar_UTF8_API()
795 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen) || in Test_UChar_UTF8_API()
827 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen) || in Test_UChar_UTF8_API()
Dcstrcase.c896 0!=u_memcmp(buffer, titleWord, length) || in TestUCaseMapToTitle()
918 0!=u_memcmp(buffer, titleWordNoAdjust, length) || in TestUCaseMapToTitle()
963 0!=u_memcmp(buffer, titleSentNoLower, length) || in TestUCaseMapToTitle()
Dbocu1tst.c917 if(length!=roundtripRefLength || 0!=u_memcmp(text, roundtripRef, length)) { in roundtripBOCU1()
921 …if(roundtripRefLength!=roundtripICULength || 0!=u_memcmp(roundtripRef, roundtripICU, roundtripRefL… in roundtripBOCU1()
Dcustrtst.c127 if(u_memcmp(temp, dataTable[i][j], 7)!=0) in TestStringFunctions()
131 if(u_memcmp(dataTable[0][0], dataTable[1][1], 7)==0) in TestStringFunctions()
151 if(u_memcmp(temp, nullTemp, 7)!=0 || temp[7]!=0) in TestStringFunctions()
Dutransts.c224 if(idLength!=id2Length || 0!=u_memcmp(id, id2, idLength)) { in TestUnicodeIDs()
Dcucdtst.c3368 if(length2!=fullLength || 0!=u_memcmp(t, full, fullLength)) { in testFold()
3378 if(length2!=turkicFullLength || 0!=u_memcmp(t, turkicFull, length2)) { in testFold()
/external/icu/icu4c/source/common/unicode/
Dustring.h793 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
Durename.h319 #define u_memcmp U_ICU_ENTRY_POINT_RENAME(u_memcmp) macro
/external/icu/icu4c/source/common/
Ducharstriebuilder.cpp300 return 0==u_memcmp(s, o.s, length); in operator ==()
Dustring.cpp1143 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count) { in u_memcmp() function
Dnormalizer2impl.cpp67 0==u_memcmp(start, otherStart, length); in equals()
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp1199 } else if(0!=u_memcmp(cc.unicode, result, cc.unicodeLength)) { in checkToUnicode()
1658 } else if(0!=u_memcmp(cc.invalidUChars, resultInvalidUChars, cc.invalidLength)) { in checkFromUnicode()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp373 if (U_SUCCESS(errorCode) && length >= 13 && u_memcmp(s, g_LOCALE_units, 13) == 0) { in widthFromAlias()