Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/cintltst/
Dulistfmttest.c78 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
91 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
104 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
Dcrelativedateformattest.c209 if (ulenget != ulenexp || u_strncmp(ubufget, ubufexp, ulenexp) != 0) { in TestRelDateFmt()
231 if (ulenget != ulenexp || u_strncmp(ubufget, ubufexp, ulenexp) != 0) { in TestRelDateFmt()
287 if (ulenget != ulenexp || u_strncmp(ubufget, ubufexp, ulenexp) != 0) { in TestCombineDateTime()
Dcreststn.c439 if(u_strncmp(srcFromRes,uSrc,len)!=0){ in TestDecodedBundle()
625 if(got==NULL || u_strncmp(expectedEscaped,got,expectedLen)!=0 || expectedLen != len){ in TestNewTypes()
703 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
737 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
1936 if(strncmp(key, "tag", 3) == 0 && u_strncmp(value, base, u_strlen(base)) == 0){ in testTag()
2228 if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2233 if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2247 } else if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2261 if(U_FAILURE(status) || seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2274 if(U_FAILURE(status) || seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
[all …]
Dudatpg_test.c219 if ( namePtr == NULL || u_strncmp(appItemNameDataPtr->name, namePtr, nameLength) != 0 ) { in TestUsage()
427 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
485 } else if ( u_strncmp(expName, getName, kFieldDisplayNameMax) != 0 ) { in TestGetFieldDisplayNames()
Dcustrtst.c203 if(u_strncmp(dataTable[i][j],dataTable[i+2][j],k)!=0) in TestStringFunctions()
206 if(u_strncmp(dataTable[0][0], dataTable[1][1], 7)==0) in TestStringFunctions()
229 if(u_strncmp(temp, dataTable[i][j],k)!=0) in TestStringFunctions()
237 if(u_strncmp(temp, dataTable[i][j],k-1)!=0) in TestStringFunctions()
253 if(u_strncmp(temp, dataTable[i][j], k)!=0) in TestStringFunctions()
989 if(u_strncmp(uchars, temp, 3) != 0){ in TestStringCopy()
Dcdattst.c899 if (u_strlen(uExpected) != len1 || u_strncmp(uExpected, buf1, len1) != 0) { in TestDateFormatCalendar()
922 if (u_strlen(uExpected) != len1 || u_strncmp(uExpected, buf1, len1) != 0) { in TestDateFormatCalendar()
1520 … } else if (u_strncmp(ubuf, textContextItemPtr->expectedFormat, kUbufMax) != 0) { in TestContext()
1568 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatToday, kUbufMax) != 0) { in TestContext()
1582 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatYesterday, kUbufMax) != 0) { in TestContext()
1701 if (u_strncmp(ubuf, expected, kUbufMax) != 0) in TestOverrideNumberFormat()
Dcdateintervalformattest.c304 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 || in TestFPos_SkelWithSeconds()
Dcloctst.c765 } else if(u_strncmp(result, expected, len)) { in TestDisplayNames()
2337 if(u_strncmp(displayKeyword, testCases[i].displayKeyword, displayKeywordLen)!=0){ in TestDisplayKeywords()
2420 … if(u_strncmp(displayKeywordValue, testCases[i].displayKeywordValue, displayKeywordValueLen)!=0){ in TestDisplayKeywordValues()
2473 … if(u_strncmp(displayKeywordValue, expected[keywordCount], displayKeywordValueLen)!=0){ in TestDisplayKeywordValues()
3320 if(u_strncmp(oldCountry,newCountry,oldCountryLen)!=0){ in TestDisplayName()
3326 if(u_strncmp(oldLang,newLang,oldLangLen)){ in TestDisplayName()
6442 …(U_SUCCESS(status) && (ulenGet != ulenExpect || u_strncmp(ubufGet, ubufExpect, ulenExpect) != 0)))… in TestBadLocaleIDs()
Dcdtdptst.c344 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) in TestQuotePattern161()
Dccaltst.c2390 } else if (len != u_strlen(winEastern) || u_strncmp(winID, winEastern, len) != 0) { in TestGetWindowsTimeZoneID()
2399 } else if (len != u_strlen(winEastern) || u_strncmp(winID, winEastern, len) != 0) { in TestGetWindowsTimeZoneID()
2424 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2433 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2442 } else if (len != u_strlen(tzTronto) || u_strncmp(tzID, tzTronto, len) != 0) { in TestGetTimeZoneIDByWindowsID()
Duenumtst.c373 if(u_strncmp(ustr,buf,len)) { in verifyEnumeration()
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()
Dcnumtst.c1335 if(u_strncmp(result, temp2, resultlengthneeded)!=0) { in TestNumberFormatPadding()
2538 if (ulenRes != ulenExp || u_strncmp(ubufResult, ubufExpected, ulenExp) != 0) { in TestCurrencyIsoPluralFormat()
2608 if (ulenRes != ulenExp || u_strncmp(ubufResult, ubufExpected, ulenExp) != 0) { in TestContext()
2924 } else if (ugetlen != uexplen || u_strncmp(uget, uexp, uexplen) != 0) { in TestVariousStylesAndAttributes()
Dutransts.c694 if (textLen != expectLen || u_strncmp(text, expect, textLen) != 0) { in TestDataVariantsCompounds()
Didnatest.c696 if(u_strncmp(input[i], dest, srcLen)!=0){ in TestJB4475()
/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.cpp196 } else if(u_strncmp(dst,dst_old,UPRV_LENGTHOF(dst))) { in doTailTest()
213 } else if(u_strncmp(dst,dst_new,UPRV_LENGTHOF(dst))) { in doTailTest()
/external/icu/icu4c/source/test/iotest/
Dfiletst.c870 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
890 if (u_strncmp(strBadConversion, testBuf, u_strlen(strBadConversion)) != 0) { in TestCodepage()
903 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
911 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
Dstrtst.c243 if (u_strncmp(myUString, uStringBuf, 10) || uStringBuf[10] != 1 || retVal != 10) { in TestString()
/external/icu/icu4c/source/i18n/
Derarules.cpp177 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/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp441 || u_strncmp(fStr,buf,trial) ) { in warmup()
565 || u_strncmp(fStr,buf,trial) ) { in warmup()
/external/icu/libandroidicu/include/unicode/
Dustring.h559 u_strncmp(const UChar *ucs1,
/external/icu/icu4c/source/common/unicode/
Dustring.h559 u_strncmp(const UChar *ucs1,
/external/icu/icu4c/source/common/
Dlocdispnames.cpp548 if(patLen==0 || (patLen==defaultPatLen && !u_strncmp(pattern, defaultPattern, patLen))) { in uloc_getDisplayName()

12