Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/icu/source/test/cintltst/
Dudatpg_test.c105 if(s==pipeString || length!=1 || 0!=u_memcmp(s, pipeString, length) || s[length]!=0) { in TestOpenClose()
134 if((u_memcmp(bestPattern, expectingBestPattern, length)!=0) || bestPattern[length]!=0) { in TestUsage()
154 if((u_memcmp(result, expectingSkeleton, length)!=0) || result[length]!=0) { in TestUsage()
173 if((u_memcmp(result, expectingBaseSkeleton, length)!=0) || result[length]!=0) { in TestUsage()
191 if(length!=7 || 0!=u_memcmp(r, testFormat, length) || r[length]!=0) { in TestUsage()
200 if(length!=7 || 0!=u_memcmp(r, appendItemName, length) || r[length]!=0) { in TestUsage()
209 if(length!=7 || 0!=u_memcmp(r, testFormat, length) || r[length]!=0) { in TestUsage()
290 if (U_FAILURE(errorCode) || p==NULL || u_memcmp(p, ptrResult[count], pLength)!=0 ) { in TestBuilder()
303 … if (U_FAILURE(errorCode) || p==NULL || u_memcmp(p, resultBaseSkeletons[count], pLength)!=0 ) { in TestBuilder()
345 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) { in TestBuilder()
Dcnormtst.c684 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { in TestCheckFCD()
904 } else if(length!=expectLength || u_memcmp(output, expect, length)!=0) { in TestNormCoverage()
944 } else if(length!=expectLength || u_memcmp(output, expect, length)!=0) { in TestNormCoverage()
977 if(U_FAILURE(errorCode) || length!=6 || 0!=u_memcmp(buffer, expect, length)) { in TestConcatenate()
1069 expectNeeded=(UBool)(0!=u_memcmp(buffer, in, inLength)); in _testIter()
1095 expectNeeded=(UBool)(0!=u_memcmp(buffer, in, inLength)); in _testIter()
1119 if(0!=u_memcmp(expect, buffer, length)) { in _testIter()
1464 0!=u_memcmp(output, cases[i].expect, length) in TestComposition()
Didnatest.c884 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46()
892 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46()
901 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46()
910 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46()
964 length != 3 || 0 != u_memcmp(dest16, fa_FFFD, 3) || in TestUTS46()
Dcustrtrn.c447 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
463 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
481 …if(err != U_ZERO_ERROR || uDestLen != 10 || numSubstitutions != 4 || u_memcmp(uTarget, expected_FF… in Test_strFromUTF32_surrogates()
497 …if(err != U_ZERO_ERROR || uDestLen != 14 || numSubstitutions != 4 || u_memcmp(uTarget, expected_12… in Test_strFromUTF32_surrogates()
708 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen+1) || in Test_UChar_UTF8_API()
723 0!=u_memcmp(withTrail16SubFFFD, out16, uDestLen+1) || in Test_UChar_UTF8_API()
797 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen) || in Test_UChar_UTF8_API()
829 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen) || in Test_UChar_UTF8_API()
Dcstrcase.c895 0!=u_memcmp(buffer, titleWord, length) || in TestUCaseMapToTitle()
917 0!=u_memcmp(buffer, titleWordNoAdjust, length) || in TestUCaseMapToTitle()
962 0!=u_memcmp(buffer, titleSentNoLower, length) || in TestUCaseMapToTitle()
Dbocu1tst.c919 if(length!=roundtripRefLength || 0!=u_memcmp(text, roundtripRef, length)) { in roundtripBOCU1()
923 …if(roundtripRefLength!=roundtripICULength || 0!=u_memcmp(roundtripRef, roundtripICU, roundtripRefL… in roundtripBOCU1()
Dcustrtst.c132 if(u_memcmp(temp, dataTable[i][j], 7)!=0) in TestStringFunctions()
136 if(u_memcmp(dataTable[0][0], dataTable[1][1], 7)==0) in TestStringFunctions()
156 if(u_memcmp(temp, nullTemp, 7)!=0 || temp[7]!=0) in TestStringFunctions()
Dutransts.c221 if(idLength!=id2Length || 0!=u_memcmp(id, id2, idLength)) { in TestUnicodeIDs()
Dcucdtst.c3162 if(length2!=fullLength || 0!=u_memcmp(t, full, fullLength)) { in testFold()
3172 if(length2!=turkicFullLength || 0!=u_memcmp(t, turkicFull, length2)) { in testFold()
/external/icu4c/test/cintltst/
Dudatpg_test.c105 if(s==pipeString || length!=1 || 0!=u_memcmp(s, pipeString, length) || s[length]!=0) { in TestOpenClose()
134 if((u_memcmp(bestPattern, expectingBestPattern, length)!=0) || bestPattern[length]!=0) { in TestUsage()
154 if((u_memcmp(result, expectingSkeleton, length)!=0) || result[length]!=0) { in TestUsage()
173 if((u_memcmp(result, expectingBaseSkeleton, length)!=0) || result[length]!=0) { in TestUsage()
191 if(length!=7 || 0!=u_memcmp(r, testFormat, length) || r[length]!=0) { in TestUsage()
200 if(length!=7 || 0!=u_memcmp(r, appendItemName, length) || r[length]!=0) { in TestUsage()
209 if(length!=7 || 0!=u_memcmp(r, testFormat, length) || r[length]!=0) { in TestUsage()
290 if (U_FAILURE(errorCode) || p==NULL || u_memcmp(p, ptrResult[count], pLength)!=0 ) { in TestBuilder()
303 … if (U_FAILURE(errorCode) || p==NULL || u_memcmp(p, resultBaseSkeletons[count], pLength)!=0 ) { in TestBuilder()
345 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) { in TestBuilder()
Dcnormtst.c688 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { in TestCheckFCD()
908 } else if(length!=expectLength || u_memcmp(output, expect, length)!=0) { in TestNormCoverage()
948 } else if(length!=expectLength || u_memcmp(output, expect, length)!=0) { in TestNormCoverage()
981 if(U_FAILURE(errorCode) || length!=6 || 0!=u_memcmp(buffer, expect, length)) { in TestConcatenate()
1073 expectNeeded=(UBool)(0!=u_memcmp(buffer, in, inLength)); in _testIter()
1099 expectNeeded=(UBool)(0!=u_memcmp(buffer, in, inLength)); in _testIter()
1123 if(0!=u_memcmp(expect, buffer, length)) { in _testIter()
1468 0!=u_memcmp(output, cases[i].expect, length) in TestComposition()
1614 if(U_FAILURE(errorCode) || length!=LENGTHOF(expected) || 0!=u_memcmp(a, expected, length)) { in TestAppendRestoreMiddle()
Didnatest.c884 if( U_FAILURE(errorCode) || length != 4 || 0 != u_memcmp(dest16, fass16, 5) || in TestUTS46()
892 if( U_FAILURE(errorCode) || length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 4) || in TestUTS46()
901 length != 4 || 0 != u_memcmp(dest16, fass16, 4) || in TestUTS46()
910 length != 3 || 0 != u_memcmp(dest16, fa_sharps16, 3) || in TestUTS46()
964 length != 3 || 0 != u_memcmp(dest16, fa_FFFD, 3) || in TestUTS46()
Dcustrtrn.c447 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
463 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
481 …if(err != U_ZERO_ERROR || uDestLen != 10 || numSubstitutions != 4 || u_memcmp(uTarget, expected_FF… in Test_strFromUTF32_surrogates()
497 …if(err != U_ZERO_ERROR || uDestLen != 14 || numSubstitutions != 4 || u_memcmp(uTarget, expected_12… in Test_strFromUTF32_surrogates()
708 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen+1) || in Test_UChar_UTF8_API()
723 0!=u_memcmp(withTrail16SubFFFD, out16, uDestLen+1) || in Test_UChar_UTF8_API()
797 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen) || in Test_UChar_UTF8_API()
829 0!=u_memcmp(withTrail16Sub50005, out16, uDestLen) || in Test_UChar_UTF8_API()
Dcstrcase.c895 0!=u_memcmp(buffer, titleWord, length) || in TestUCaseMapToTitle()
917 0!=u_memcmp(buffer, titleWordNoAdjust, length) || in TestUCaseMapToTitle()
962 0!=u_memcmp(buffer, titleSentNoLower, length) || in TestUCaseMapToTitle()
Dbocu1tst.c919 if(length!=roundtripRefLength || 0!=u_memcmp(text, roundtripRef, length)) { in roundtripBOCU1()
923 …if(roundtripRefLength!=roundtripICULength || 0!=u_memcmp(roundtripRef, roundtripICU, roundtripRefL… in roundtripBOCU1()
Dcustrtst.c132 if(u_memcmp(temp, dataTable[i][j], 7)!=0) in TestStringFunctions()
136 if(u_memcmp(dataTable[0][0], dataTable[1][1], 7)==0) in TestStringFunctions()
156 if(u_memcmp(temp, nullTemp, 7)!=0 || temp[7]!=0) in TestStringFunctions()
Dutransts.c221 if(idLength!=id2Length || 0!=u_memcmp(id, id2, idLength)) { in TestUnicodeIDs()
Dcucdtst.c3297 if(length2!=fullLength || 0!=u_memcmp(t, full, fullLength)) { in testFold()
3307 if(length2!=turkicFullLength || 0!=u_memcmp(t, turkicFull, length2)) { in testFold()
/external/icu4c/common/unicode/
Dustring.h793 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
/external/chromium_org/third_party/icu/source/common/unicode/
Dustring.h788 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
/external/icu4c/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
/external/icu4c/test/intltest/
Dconvtest.cpp1127 } else if(0!=u_memcmp(cc.unicode, result, cc.unicodeLength)) { in checkToUnicode()
1586 } else if(0!=u_memcmp(cc.invalidUChars, resultInvalidUChars, cc.invalidLength)) { in checkFromUnicode()
/external/chromium_org/third_party/icu/source/test/intltest/
Dconvtest.cpp1098 } else if(0!=u_memcmp(cc.unicode, result, cc.unicodeLength)) { in checkToUnicode()
1557 } else if(0!=u_memcmp(cc.invalidUChars, resultInvalidUChars, cc.invalidLength)) { in checkFromUnicode()
/external/chromium_org/third_party/icu/source/common/
Dustring.c1136 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count) { in u_memcmp() function

12