Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/cintltst/
Dulistfmttest.c76 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
89 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
102 … if (ulenActual != ulenExpected || u_strncmp(ubufActual, ubufExpected, ulenExpected) != 0) { in TestUListFmt()
Dcreststn.c434 if(u_strncmp(srcFromRes,uSrc,len)!=0){ in TestDecodedBundle()
620 if(got==NULL || u_strncmp(expectedEscaped,got,expectedLen)!=0 || expectedLen != len){ in TestNewTypes()
698 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
732 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
1931 if(strncmp(key, "tag", 3) == 0 && u_strncmp(value, base, u_strlen(base)) == 0){ in testTag()
2223 if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2228 if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2242 } else if(seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2256 if(U_FAILURE(status) || seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
2269 if(U_FAILURE(status) || seqLen != strLen || u_strncmp(sequence, string, seqLen) != 0) { in TestResourceLevelAliasing()
[all …]
Dudatpg_test.c214 if ( namePtr == NULL || u_strncmp(appItemNameDataPtr->name, namePtr, nameLength) != 0 ) { in TestUsage()
422 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
Dcustrtst.c201 if(u_strncmp(dataTable[i][j],dataTable[i+2][j],k)!=0) in TestStringFunctions()
204 if(u_strncmp(dataTable[0][0], dataTable[1][1], 7)==0) in TestStringFunctions()
227 if(u_strncmp(temp, dataTable[i][j],k)!=0) in TestStringFunctions()
235 if(u_strncmp(temp, dataTable[i][j],k-1)!=0) in TestStringFunctions()
251 if(u_strncmp(temp, dataTable[i][j], k)!=0) in TestStringFunctions()
987 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.c305 } else if ( ulen != uelen || u_strncmp(ubuf,uebuf,uelen) != 0 || in TestFPos_SkelWithSeconds()
Dcdtdptst.c342 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) in TestQuotePattern161()
Dccaltst.c2382 } else if (len != u_strlen(winEastern) || u_strncmp(winID, winEastern, len) != 0) { in TestGetWindowsTimeZoneID()
2391 } else if (len != u_strlen(winEastern) || u_strncmp(winID, winEastern, len) != 0) { in TestGetWindowsTimeZoneID()
2416 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2425 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2434 } else if (len != u_strlen(tzTronto) || u_strncmp(tzID, tzTronto, len) != 0) { in TestGetTimeZoneIDByWindowsID()
Dcloctst.c755 } else if(u_strncmp(result, expected, len)) { in TestDisplayNames()
2219 if(u_strncmp(displayKeyword, testCases[i].displayKeyword, displayKeywordLen)!=0){ in TestDisplayKeywords()
2302 … if(u_strncmp(displayKeywordValue, testCases[i].displayKeywordValue, displayKeywordValueLen)!=0){ in TestDisplayKeywordValues()
2355 … if(u_strncmp(displayKeywordValue, expected[keywordCount], displayKeywordValueLen)!=0){ in TestDisplayKeywordValues()
3148 if(u_strncmp(oldCountry,newCountry,oldCountryLen)!=0){ in TestDisplayName()
3154 if(u_strncmp(oldLang,newLang,oldLangLen)){ in TestDisplayName()
Duenumtst.c371 if(u_strncmp(ustr,buf,len)) { in verifyEnumeration()
Dncnvtst.c766 …if (U_FAILURE(err) || (int32_t)(pivBeg - pivotBuffer) != 2 || u_strncmp(pivotBuffer, expected, 2) … in TestRegressionUTF8()
871 …if (U_FAILURE(err) || (int32_t)(pivBeg - pivotBuffer) != 2 || u_strncmp(pivotBuffer, expected, 2) … in TestRegressionUTF32()
903 …if (U_FAILURE(err) || (int32_t)(pivBeg - pivotBuffer) != 2 || u_strncmp(pivotBuffer, expected, 2) … in TestRegressionUTF32()
Dcnumtst.c2470 if (ulenRes != ulenExp || u_strncmp(ubufResult, ubufExpected, ulenExp) != 0) { in TestCurrencyIsoPluralFormat()
2540 if (ulenRes != ulenExp || u_strncmp(ubufResult, ubufExpected, ulenExp) != 0) { in TestContext()
2849 } else if (ugetlen != uexplen || u_strncmp(uget, uexp, uexplen) != 0) { in TestVariousStylesAndAttributes()
Didnatest.c694 if(u_strncmp(input[i], dest, srcLen)!=0){ in TestJB4475()
Dreapits.c357 TEST_ASSERT(u_strncmp(resultPat, pat, 3) == 0); in TestRegexCAPI()
1533 TEST_ASSERT(u_strncmp(resultPat, pat, 3) == 0); in TestUTextAPI()
Dnccbtst.c2738 if(u_strncmp(errChars,start,errLen)!=0){ in testConvertFromUnicode()
/external/icu/icu4c/source/test/intltest/
Dtestidna.cpp1033 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1034 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1070 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1071 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1108 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1109 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
1143 if( u_strncmp(even,expected,expectedLen) != 0 || in testChaining()
1144 u_strncmp(odd,expected,expectedLen) !=0 ){ in testChaining()
Dtsmthred.cpp245 } else if(u_strncmp(dst,dst_old,UPRV_LENGTHOF(dst))) { in doTailTest()
262 } else if(u_strncmp(dst,dst_new,UPRV_LENGTHOF(dst))) { in doTailTest()
/external/icu/icu4c/source/test/iotest/
Dfiletst.c867 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
887 if (u_strncmp(strBadConversion, testBuf, u_strlen(strBadConversion)) != 0) { in TestCodepage()
900 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
908 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
Dstrtst.c240 if (u_strncmp(myUString, uStringBuf, 10) || uStringBuf[10] != 1 || retVal != 10) { in TestString()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp436 || u_strncmp(fStr,buf,trial) ) { in warmup()
560 || u_strncmp(fStr,buf,trial) ) { in warmup()
/external/icu/icu4c/source/common/unicode/
Dustring.h567 u_strncmp(const UChar *ucs1,
Durename.h382 #define u_strncmp U_ICU_ENTRY_POINT_RENAME(u_strncmp) macro
/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp514 …if (U_SUCCESS(tempStatus) && resStrLen >= patItem1Len && u_strncmp(resStr,patItem1,patItem1Len)==0… in loadDates()
/external/icu/icu4c/source/common/
Dlocdispnames.cpp546 if(patLen==0 || (patLen==defaultPatLen && !u_strncmp(pattern, defaultPattern, patLen))) { in uloc_getDisplayName()
Dustring.cpp939 u_strncmp(const UChar *s1, in u_strncmp() function

12