Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/cintltst/
Dcstrcase.c53 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
59 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && in TestCaseLower()
75 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
81uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseLower()
93 uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
99uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)==0 && buffer[2]==0xabcd ? "yes" : "no"); in TestCaseLower()
151 uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
157uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseUpper()
169 uprv_memcmp(upperTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
175uprv_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.c264 if(err != U_ZERO_ERROR || u32DestLen != 3 || uprv_memcmp(u32Target, expected, 4*4)) { in Test_strToUTF32_surrogates()
280 if(err != U_ZERO_ERROR || u32DestLen != 3 || uprv_memcmp(u32Target, expected, 4*4)) { in Test_strToUTF32_surrogates()
298 …if(err != U_ZERO_ERROR || u32DestLen != 7 || numSubstitutions != 2 || uprv_memcmp(u32Target, expec… in Test_strToUTF32_surrogates()
314 …if(err != U_ZERO_ERROR || u32DestLen != 7 || numSubstitutions != 2 || uprv_memcmp(u32Target, expec… in Test_strToUTF32_surrogates()
749 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen+1) || in Test_UChar_UTF8_API()
764 0!=uprv_memcmp((const char *)withTrail8Sub1A, out8, u8DestLen+1) || in Test_UChar_UTF8_API()
810 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen) || in Test_UChar_UTF8_API()
842 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen) || in Test_UChar_UTF8_API()
Dcitertst.c127 if (uprv_memcmp(result[0], result[1], 3) != 0 || in TestBug672()
128 uprv_memcmp(result[1], result[2], 3) != 0) { in TestBug672()
203 if (uprv_memcmp(result[0], result[1], 3) != 0 || in TestBug672Normalize()
204 uprv_memcmp(result[1], result[2], 3) != 0) { in TestBug672Normalize()
Dcallcoll.c1068 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1077 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1155 uprv_memcmp(enresult, myresult, enlen) != 0) { in TestSurrogates()
Dcmsccoll.c610 …if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) !… in TestComposeDecompose()
611 … || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) { in TestComposeDecompose()
613 … if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) { in TestComposeDecompose()
3711 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3728 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3750 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3822 if (rLen != LEN(lastPrimaryIgnCE) || uprv_memcmp(resColl, lastPrimaryIgnCE, rLen) != 0) { in TestTailor6179()
3831 if (rLen != LEN(firstPrimaryIgnCE) || uprv_memcmp(resColl, firstPrimaryIgnCE, rLen) != 0) { in TestTailor6179()
3853 if (rLen != LEN(lastSecondaryIgnCE) || uprv_memcmp(resColl, lastSecondaryIgnCE, rLen) != 0) { in TestTailor6179()
3862 if (rLen != LEN(firstSecondaryIgnCE) || uprv_memcmp(resColl, firstSecondaryIgnCE, rLen) != 0) { in TestTailor6179()
Dutf8tst.c923 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
937 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
Dputiltst.c490 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy()
Dncnvfbts.c264 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp143 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==()
205 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
Dcollationdatareader.cpp420 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0 && in read()
423 uprv_memcmp(fastLatinPrimaries, ts.fastLatinPrimaries, in read()
Dsearch.cpp192 (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.cpp242 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { in TestBasicManipulation()
246 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { in TestBasicManipulation()
612 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
621 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
1840 0 != uprv_memcmp(result32, expected_utf32, length32*4) || in TestUTF32()
1907 0 != uprv_memcmp(buffer, expected_utf8, sizeof(expected_utf8)) in TestUTF8()
Ducaconf.cpp46 isAtLeastUCA62 = uprv_memcmp(uniVersion, v62, 4) >= 0; in UCAConformanceTest()
/external/icu/icu4c/source/tools/toolutil/
Ducm.c364 … 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen) in checkBaseExtUnicode()
387 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtUnicode()
481 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtBytes()
504 … 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen) in checkBaseExtBytes()
628 0==uprv_memcmp(UCM_GET_BYTES(fromUTable, fromUMapping), subchar, subcharLength)) || in ucm_mergeTables()
662 0==uprv_memcmp(UCM_GET_BYTES(fromUTable, fromUMapping), subchar, subcharLength)) || in ucm_mergeTables()
/external/icu/icu4c/source/common/
Dstringpiece.cpp67 return uprv_memcmp(p, p2, len) == 0; in operator ==()
Dbytestriebuilder.cpp123 int32_t diff=uprv_memcmp(thisString.data(), otherString.data(), commonLength); in compareStringTo()
352 return 0==uprv_memcmp(s, o.s, length); in operator ==()
Dpropsvec.c377 if(count<0 || 0!=uprv_memcmp(row+2, row-valueColumns, valueColumns*4)) { in upvec_compact()
416 if(count<0 || 0!=uprv_memcmp(row+2, pv->v+count, valueColumns*4)) { in upvec_compact()
Dulist.c133 if (uprv_memcmp(data, pointer->data, length) == 0) { in ulist_containsString()
Dwintz.c378 if (uprv_memcmp((char *)&tziKey, (char*)&tziReg, sizeof(tziKey)) == 0) { in uprv_detectWindowsTimeZone()
Drbbidata.cpp192 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==()
Duniset_props.cpp852 return uprv_memcmp(&v, &none, sizeof(v)) > 0 && uprv_memcmp(&v, version, sizeof(v)) <= 0; in versionFilter()
Dcmemory.h71 #define uprv_memcmp(buffer1, buffer2, size) U_STANDARD_CPP_NAMESPACE memcmp(buffer1, buffer2,size) macro
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp492 if(0==uprv_memcmp(entryName, inPkgName, inPkgNameLength)) { in udata_swapPackage()

12