Home
last modified time | relevance | path

Searched refs:uprv_memcmp (Results 1 – 25 of 44) 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()
Dcallcoll.c1059 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1068 if (uprv_memcmp(expected, result, len) != 0) { in TestVariableTop()
1145 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()
Dutf8tst.c798 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
812 if(uprv_memcmp(str, result[count], size) !=0){ in TestAppendChar()
Dcintltst.c711 return uprv_memcmp(iv, ov, U_MAX_VERSION_LENGTH) < 0; in isICUVersionBefore()
Dcmsccoll.c1688 …if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) !… in TestComposeDecompose()
1689 … || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) { in TestComposeDecompose()
1691 … if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) { in TestComposeDecompose()
5036 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5053 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5071 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5139 if (rLen != LEN(lastPrimaryIgnCE) || uprv_memcmp(resColl, lastPrimaryIgnCE, rLen) != 0) { in TestTailor6179()
5148 if (rLen != LEN(firstPrimaryIgnCE) || uprv_memcmp(resColl, firstPrimaryIgnCE, rLen) != 0) { in TestTailor6179()
5168 if (rLen != LEN(lastSecondaryIgnCE) || uprv_memcmp(resColl, lastSecondaryIgnCE, rLen) != 0) { in TestTailor6179()
5178 if (rLen != LEN(firstSecondaryIgnCE) || uprv_memcmp(resColl, firstSecondaryIgnCE, rLen) != 0) { in TestTailor6179()
Dputiltst.c490 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy()
/external/icu4c/i18n/
Dsortkey.cpp143 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==()
205 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
Dcoleitr.cpp110 if (uprv_memcmp(m_data_->iteratordata_.string, in operator ==()
Dsearch.cpp192 (uprv_memcmp(m_search_->text, that.m_search_->text, in operator ==()
/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/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()
Dwintz.c312 if (uprv_memcmp((char *)&tziKey, (char*)&tziReg, sizeof(tziKey)) == 0) { in uprv_detectWindowsTimeZone()
Dulist.c133 if (uprv_memcmp(data, pointer->data, length) == 0) { in ulist_containsString()
Drbbidata.cpp164 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==()
Dcmemory.h63 #define uprv_memcmp(buffer1, buffer2, size) U_STANDARD_CPP_NAMESPACE memcmp(buffer1, buffer2,size) macro
Duniset_props.cpp856 return uprv_memcmp(&v, &none, sizeof(v)) > 0 && uprv_memcmp(&v, version, sizeof(v)) <= 0; in versionFilter()
/external/icu4c/test/intltest/
Dustrtest.cpp252 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { in TestBasicManipulation()
256 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { in TestBasicManipulation()
622 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
631 uprv_memcmp(buffer, expect, 13)!=0 || in TestExtract()
1835 0 != uprv_memcmp(result32, expected_utf32, length32*4) || in TestUTF32()
1902 0 != uprv_memcmp(buffer, expected_utf8, sizeof(expected_utf8)) in TestUTF8()
Ducaconf.cpp44 isAtLeastUCA62 = uprv_memcmp(uniVersion, v62, 4) >= 0; in UCAConformanceTest()
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