Home
last modified time | relevance | path

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

12

/external/icu4c/test/cintltst/
Dcstrcase.c54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && in TestCaseLower()
76 uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
82uprv_memcmp(lowerTurkish, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseLower()
94 uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)!=0 || in TestCaseLower()
100uprv_memcmp(lowerRoot, buffer, 2*U_SIZEOF_UCHAR)==0 && buffer[2]==0xabcd ? "yes" : "no"); in TestCaseLower()
152 uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
158uprv_memcmp(upperRoot, buffer, length*U_SIZEOF_UCHAR)==0 && buffer[length]==0 ? "yes" : "no"); in TestCaseUpper()
170 uprv_memcmp(upperTurkish, buffer, length*U_SIZEOF_UCHAR)!=0 || in TestCaseUpper()
176uprv_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()
751 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen+1) || in Test_UChar_UTF8_API()
766 0!=uprv_memcmp((const char *)withTrail8Sub1A, out8, u8DestLen+1) || in Test_UChar_UTF8_API()
812 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen) || in Test_UChar_UTF8_API()
844 0!=uprv_memcmp((const char *)withTrail8SubFFFD, out8, u8DestLen) || in Test_UChar_UTF8_API()
Dutf8tst.c749 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
763 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
Dcallcoll.c1031 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1040 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1117 uprv_memcmp(enresult, myresult, enlen) != 0) { in TestSurrogates()
Dcitertst.c132 if (uprv_memcmp(result[0], result[1], 3) != 0 || in TestBug672()
133 uprv_memcmp(result[1], result[2], 3) != 0) { in TestBug672()
208 if (uprv_memcmp(result[0], result[1], 3) != 0 || in TestBug672Normalize()
209 uprv_memcmp(result[1], result[2], 3) != 0) { in TestBug672Normalize()
Dcintltst.c698 return (uprv_memcmp(v, x, U_MAX_VERSION_LENGTH) >= 0); in isICUVersionAtLeast()
Dcmsccoll.c1685 …if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) !… in TestComposeDecompose()
1686 … || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) { in TestComposeDecompose()
1688 … if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) { in TestComposeDecompose()
5026 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5043 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5061 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5127 if (uprv_memcmp(resColl, lastPrimaryIgnCE, uprv_min(rLen,6)) < 0) { in TestTailor6179()
5135 if (uprv_memcmp(resColl, firstPrimaryIgnCE, uprv_min(rLen, 6)) < 0) { in TestTailor6179()
5158 if (uprv_memcmp(resColl, lastSecondaryIgnCE, uprv_min(rLen, 3)) < 0) { in TestTailor6179()
5170 if (uprv_memcmp(resColl, firstSecondaryIgnCE, uprv_min(rLen, 4)) < 0) { in TestTailor6179()
Dputiltst.c479 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy()
/external/icu4c/i18n/
Dsortkey.cpp144 uprv_memcmp(this->fBytes, source.fBytes, this->fCount) == 0)); in operator ==()
234 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
291 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
Dcoleitr.cpp109 if (uprv_memcmp(m_data_->iteratordata_.string, in operator ==()
Dsearch.cpp192 (uprv_memcmp(m_search_->text, that.m_search_->text, in operator ==()
/external/icu4c/common/
Dicudataver.c67 if (uprv_memcmp(dataVersion, wiredVersion, sizeof(UVersionInfo)) >= 0) { in u_isDataOlder()
Dstringpiece.cpp67 return uprv_memcmp(p, p2, len) == 0; in operator ==()
Dwintz.c270 if (uprv_memcmp((char *)&tziKey, (char*)&tziReg, sizeof(tziKey)) == 0) { in uprv_detectWindowsTimeZone()
Dpropsvec.c375 if(count<0 || 0!=uprv_memcmp(row+2, row-valueColumns, valueColumns*4)) { in upvec_compact()
414 if(count<0 || 0!=uprv_memcmp(row+2, pv->v+count, valueColumns*4)) { in upvec_compact()
Dbytestriebuilder.cpp122 int32_t diff=uprv_memcmp(thisString.data(), otherString.data(), commonLength); in compareStringTo()
350 return 0==uprv_memcmp(s, o.s, length); in operator ==()
Dulist.c133 if (uprv_memcmp(data, pointer->data, length) == 0) { in ulist_containsString()
Dcmemory.h35 #define uprv_memcmp(buffer1, buffer2, size) U_STANDARD_CPP_NAMESPACE memcmp(buffer1, buffer2,size) macro
Drbbidata.cpp164 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==()
Duniset_props.cpp923 return uprv_memcmp(&v, &none, sizeof(v)) > 0 && uprv_memcmp(&v, version, sizeof(v)) <= 0; in versionFilter()
/external/icu4c/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/icu4c/test/intltest/
Dustrtest.cpp255 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { in TestBasicManipulation()
259 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { in TestBasicManipulation()
625 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
634 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
1842 0 != uprv_memcmp(result32, expected_utf32, length32*4) || in TestUTF32()
1909 0 != uprv_memcmp(buffer, expected_utf8, sizeof(expected_utf8)) in TestUTF8()
Dapicoll.cpp80 if(0!=uprv_memcmp(version1, version2, sizeof(UVersionInfo))) { in TestOpenVersion()
130 if (uprv_memcmp(versionArray, currVersionArray, 4)<0) { in TestProperty()
1274 if (length2 != length || 0 != uprv_memcmp(sortKey, sortKey2, capacity)) { in TestSortKeyOverflow()
1297 … if (collKeyLength != length || 0 != uprv_memcmp(longSortKey.getAlias(), collSortKey, length)) { in TestSortKeyOverflow()
/external/icu4c/tools/icuswap/
Dicuswap.cpp493 if(0==uprv_memcmp(entryName, inPkgName, inPkgNameLength)) { in udata_swapPackage()

12