Home
last modified time | relevance | path

Searched refs:u_strncmp (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dulistfmttest.c83 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
96 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
109 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
Dcreststn.c467 if(u_strncmp(srcFromRes,uSrc,len)!=0){ in TestDecodedBundle()
653 if(got==NULL || u_strncmp(expectedEscaped,got,expectedLen)!=0 || expectedLen != len){ in TestNewTypes()
731 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
765 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
1990 if(strncmp(key, "tag", 3) == 0 && u_strncmp(value, base, u_strlen(base)) == 0){ in testTag()
2283 if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2288 if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2302 } else if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2316 if(U_FAILURE(status) || seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2329 if(U_FAILURE(status) || seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
[all …]
Dudatpg_test.c223 if ( namePtr == NULL || u_strncmp(appItemNameDataPtr->name, namePtr, nameLength) != 0 ) { in TestUsage()
431 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
489 } else if ( u_strncmp(expName, getName, kFieldDisplayNameMax) != 0 ) { in TestGetFieldDisplayNames()
Dcrelativedateformattest.c394 if (ulenget != ulenexp || u_strncmp(ubufget, ubufexp, ulenexp) != 0) { in TestRelDateFmt()
416 if (ulenget != ulenexp || u_strncmp(ubufget, ubufexp, ulenexp) != 0) { in TestRelDateFmt()
620 if (ulenget != ulenexp || u_strncmp(ubufget, ubufexp, ulenexp) != 0) { in TestCombineDateTime()
Dcustrtst.c207 if(u_strncmp(dataTable[i][j],dataTable[i+2][j],k)!=0) in TestStringFunctions()
210 if(u_strncmp(dataTable[0][0], dataTable[1][1], 7)==0) in TestStringFunctions()
233 if(u_strncmp(temp, dataTable[i][j],k)!=0) in TestStringFunctions()
241 if(u_strncmp(temp, dataTable[i][j],k-1)!=0) in TestStringFunctions()
257 if(u_strncmp(temp, dataTable[i][j], k)!=0) in TestStringFunctions()
1003 if(u_strncmp(uchars, temp, 3) != 0){ in TestStringCopy()
Dcdattst.c908 if (u_strlen(uExpected) != len1 || u_strncmp(uExpected, buf1, len1) != 0) { in TestDateFormatCalendar()
931 if (u_strlen(uExpected) != len1 || u_strncmp(uExpected, buf1, len1) != 0) { in TestDateFormatCalendar()
1529 … } else if (u_strncmp(ubuf, textContextItemPtr->expectedFormat, kUbufMax) != 0) { in TestContext()
1577 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatToday, kUbufMax) != 0) { in TestContext()
1591 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatYesterday, kUbufMax) != 0) { in TestContext()
1719 if (u_strncmp(ubuf, expected, kUbufMax) != 0) in TestOverrideNumberFormat()
Dcdtdptst.c346 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) { in TestQuotePattern161()
Duenumtst.c380 if(u_strncmp(ustr,buf,len)) { in verifyEnumeration()
Dcloctst.c797 } else if(u_strncmp(result, expected, len)) { in TestDisplayNames()
2535 if(u_strncmp(displayKeyword, testCases[i].displayKeyword, displayKeywordLen)!=0){ in TestDisplayKeywords()
2620 … if(u_strncmp(displayKeywordValue, testCases[i].displayKeywordValue, displayKeywordValueLen)!=0){ in TestDisplayKeywordValues()
2675 … if(u_strncmp(displayKeywordValue, expected[keywordCount], displayKeywordValueLen)!=0){ in TestDisplayKeywordValues()
3534 if(u_strncmp(oldCountry,newCountry,oldCountryLen)!=0){ in TestDisplayName()
3540 if(u_strncmp(oldLang,newLang,oldLangLen)){ in TestDisplayName()
6874 …(U_SUCCESS(status) && (ulenGet != ulenExpect || u_strncmp(ubufGet, ubufExpect, ulenExpect) != 0)))… in TestBadLocaleIDs()
Dccaltst.c2424 } else if (len != u_strlen(winEastern) || u_strncmp(winID, winEastern, len) != 0) { in TestGetWindowsTimeZoneID()
2433 } else if (len != u_strlen(winEastern) || u_strncmp(winID, winEastern, len) != 0) { in TestGetWindowsTimeZoneID()
2458 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2467 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2476 } else if (len != u_strlen(tzTronto) || u_strncmp(tzID, tzTronto, len) != 0) { in TestGetTimeZoneIDByWindowsID()
Dncnvtst.c764 …if (U_FAILURE(err) || (int32_t)(pivBeg - pivotBuffer) != 2 || u_strncmp(pivotBuffer, expected, 2) … in TestRegressionUTF8()
869 …if (U_FAILURE(err) || (int32_t)(pivBeg - pivotBuffer) != 2 || u_strncmp(pivotBuffer, expected, 2) … in TestRegressionUTF32()
901 …if (U_FAILURE(err) || (int32_t)(pivBeg - pivotBuffer) != 2 || u_strncmp(pivotBuffer, expected, 2) … in TestRegressionUTF32()
Dcdateintervalformattest.c348 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 || in TestFPos_SkelWithSeconds()
/external/icu/icu4c/source/test/intltest/
Dtestidna.cpp1041 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1042 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1078 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1079 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1116 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1117 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1151 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1152 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
Dtsmthred.cpp186 } else if(u_strncmp(dst,dst_old,UPRV_LENGTHOF(dst))) { in doTailTest()
203 } else if(u_strncmp(dst,dst_new,UPRV_LENGTHOF(dst))) { in doTailTest()
/external/icu/libicu/
Dlibicu.map.txt113 u_strncmp;
/external/icu/icu4c/source/i18n/
Derarules.cpp180 if (u_strncmp(val, VAL_FALSE, VAL_FALSE_LEN) == 0) { in createInstance()
Dreldtfmt.cpp538 … if (U_SUCCESS(status) && resStrLen >= patItem1Len && u_strncmp(resStr,patItem1,patItem1Len)==0) { in loadDates()
/external/icu/tools/icu4c_srcgen/
Dlibicu_export.txt114 u_strncmp
/external/icu/icu4c/source/test/iotest/
Dfiletst.c898 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
918 if (u_strncmp(strBadConversion, testBuf, u_strlen(strBadConversion)) != 0) { in TestCodepage()
931 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
939 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
/external/icu/libicu/ndk_headers/unicode/
Dustring.h579 u_strncmp(const UChar *ucs1,
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp441 || u_strncmp(fStr,buf,trial) ) { in warmup()
565 || u_strncmp(fStr,buf,trial) ) { in warmup()
/external/icu/icu4c/source/common/unicode/
Dustring.h559 u_strncmp(const UChar *ucs1,
/external/icu/libandroidicu/include/unicode/
Dustring.h559 u_strncmp(const UChar *ucs1,
/external/icu/libicu/cts_headers/unicode/
Dustring.h559 u_strncmp(const UChar *ucs1,
/external/icu/libicu/src/
Dshim.cpp115 #undef u_strncmp
575 int32_t u_strncmp(const UChar * ucs1, const UChar * ucs2, int32_t n) { in u_strncmp() function
576 return U_ICU_ENTRY_POINT_RENAME(u_strncmp)(ucs1, ucs2, n); in u_strncmp()

12