Home
last modified time | relevance | path

Searched refs:uprv_memcmp (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dcstrcase.c56 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
62 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && in TestCaseLower()
78 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
84uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseLower()
96 uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
102uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)==0 && buffer[2]==0xabcd ? "yes" : "no"); in TestCaseLower()
154 uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
160uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseUpper()
172 uprv_memcmp(upperTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
178uprv_memcmp(upperTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseUpper()
[all …]
Dccurrtst.c152 res = uprv_memcmp(sortKey1, sortKey2, sortklen); in currTest()
Dcustrtrn.c266 if(err != U_ZERO_ERROR || u32DestLen != 3 || uprv_memcmp(u32Target, expected, 4*4)) { in Test_strToUTF32_surrogates()
282 if(err != U_ZERO_ERROR || u32DestLen != 3 || uprv_memcmp(u32Target, expected, 4*4)) { in Test_strToUTF32_surrogates()
300 …if(err != U_ZERO_ERROR || u32DestLen != 7 || numSubstitutions != 2 || uprv_memcmp(u32Target, expec… in Test_strToUTF32_surrogates()
316 …if(err != U_ZERO_ERROR || u32DestLen != 7 || numSubstitutions != 2 || uprv_memcmp(u32Target, expec… in Test_strToUTF32_surrogates()
752 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen+1) || in Test_UChar_UTF8_API()
767 0!=uprv_memcmp((const char *)withTrail8Sub1A, out8, u8DestLen+1) || in Test_UChar_UTF8_API()
813 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen) || in Test_UChar_UTF8_API()
845 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen) || in Test_UChar_UTF8_API()
Dcitertst.c130 if (uprv_memcmp(result[0], result[1], 3) != 0 || in TestBug672()
131 uprv_memcmp(result[1], result[2], 3) != 0) { in TestBug672()
206 if (uprv_memcmp(result[0], result[1], 3) != 0 || in TestBug672Normalize()
207 uprv_memcmp(result[1], result[2], 3) != 0) { in TestBug672Normalize()
Dcpluralrulestest.c241 if (uprv_memcmp(expectKeywords, getKeywords, kNumKeywords) != 0) { in TestGetKeywords()
Dcallcoll.c1073 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1082 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1160 uprv_memcmp(enresult, myresult, enlen) != 0) { in TestSurrogates()
Dcmsccoll.c609 …if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) !… in TestComposeDecompose()
610 … || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) { in TestComposeDecompose()
612 … if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) { in TestComposeDecompose()
3707 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3724 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3746 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3818 …if (rLen != UPRV_LENGTHOF(lastPrimaryIgnCE) || uprv_memcmp(resColl, lastPrimaryIgnCE, rLen) != 0) { in TestTailor6179()
3827 …if (rLen != UPRV_LENGTHOF(firstPrimaryIgnCE) || uprv_memcmp(resColl, firstPrimaryIgnCE, rLen) != 0… in TestTailor6179()
3849 …if (rLen != UPRV_LENGTHOF(lastSecondaryIgnCE) || uprv_memcmp(resColl, lastSecondaryIgnCE, rLen) !=… in TestTailor6179()
3858 …if (rLen != UPRV_LENGTHOF(firstSecondaryIgnCE) || uprv_memcmp(resColl, firstSecondaryIgnCE, rLen) … in TestTailor6179()
Dutf8tst.c1125 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
1139 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
Dncnvfbts.c266 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp145 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==()
207 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
Ddtptngen_impl.h146 return (uprv_memcmp(chars, other.chars, sizeof(chars)) == 0
147 && uprv_memcmp(lengths, other.lengths, sizeof(lengths)) == 0);
Dcollationdatareader.cpp423 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0) && in read()
426 uprv_memcmp(fastLatinPrimaries, ts.fastLatinPrimaries, in read()
Dsearch.cpp194 (uprv_memcmp(m_search_->text, that.m_search_->text, in operator ==()
/external/icu/icu4c/source/test/intltest/
Ditercoll.cpp234 … if (orderLength != order2Length || uprv_memcmp(order, order2, orderLength * sizeof(Order)) != 0) { in TestOffset()
246 … if (orderLength != order2Length || uprv_memcmp(order, order2, orderLength * sizeof(Order)) != 0) { in TestOffset()
258 … if (orderLength != order2Length || uprv_memcmp(order, order2, orderLength * sizeof(Order)) != 0) { in TestOffset()
270 … if (orderLength != order2Length || uprv_memcmp(order, order2, orderLength * sizeof(Order)) != 0) { in TestOffset()
Dustrtest.cpp251 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { in TestBasicManipulation()
255 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { in TestBasicManipulation()
621 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
630 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
1850 0 != uprv_memcmp(result32, expected_utf32, length32*4) || in TestUTF32()
1915 0 != uprv_memcmp(buffer, expected_utf8, sizeof(expected_utf8)) in TestUTF8()
Ducaconf.cpp48 isAtLeastUCA62 = uprv_memcmp(uniVersion, v62, 4) >= 0; in UCAConformanceTest()
/external/icu/icu4c/source/tools/toolutil/
Ducm.cpp369 … 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen) in checkBaseExtUnicode()
392 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtUnicode()
486 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtBytes()
509 … 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen) in checkBaseExtBytes()
633 0==uprv_memcmp(UCM_GET_BYTES(fromUTable, fromUMapping), subchar, subcharLength)) || in ucm_mergeTables()
667 0==uprv_memcmp(UCM_GET_BYTES(fromUTable, fromUMapping), subchar, subcharLength)) || in ucm_mergeTables()
/external/icu/icu4c/source/common/
Dstringpiece.cpp69 return uprv_memcmp(p, p2, len) == 0; in operator ==()
Dpropsvec.cpp379 if(count<0 || 0!=uprv_memcmp(row+2, row-valueColumns, valueColumns*4)) { in upvec_compact()
418 if(count<0 || 0!=uprv_memcmp(row+2, pv->v+count, valueColumns*4)) { in upvec_compact()
Dbytestriebuilder.cpp125 int32_t diff=uprv_memcmp(thisString.data(), otherString.data(), commonLength); in compareStringTo()
355 return 0==uprv_memcmp(s, o.s, length); in operator ==()
Dulist.cpp162 if (uprv_memcmp(data, pointer->data, length) == 0) { in ulist_containsString()
Duniset_props.cpp709 return uprv_memcmp(&v, &none, sizeof(v)) > 0 && uprv_memcmp(&v, version, sizeof(v)) <= 0; in versionFilter()
Drbbidata.cpp173 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==()
Dcmemory.h52 #define uprv_memcmp(buffer1, buffer2, size) U_STANDARD_CPP_NAMESPACE memcmp(buffer1, buffer2,size) macro
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp494 if(0==uprv_memcmp(entryName, inPkgName, inPkgNameLength)) { in udata_swapPackage()

12