Home
last modified time | relevance | path

Searched refs:u_strcmp (Results 1 – 25 of 69) sorted by relevance

123

/external/icu/icu4c/source/test/cintltst/
Dcmsgtst.c141 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
173 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
225 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
308 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
339 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
364 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
436 if(u_strcmp(result, expected)==0) in TestNewFormatAndParseAPI()
451 if(value!=7 && u_strcmp(str,ret)!=0) in TestNewFormatAndParseAPI()
462 if(u_strcmp(myDateFormat(def1, d), myDateFormat(def1, d1))==0) in TestNewFormatAndParseAPI()
532 else if(u_strcmp(result, expected)==0) in TestSampleFormatAndParseWithError()
[all …]
Dcnmdptst.c95 if(u_strcmp(unewp, unewpat) != 0) in TestPatterns()
109 if (u_strcmp(str, unum) != 0) in TestPatterns()
150 if(u_strcmp(str, res) != 0) in TestQuotes()
179 if(u_strcmp(str, res) != 0) in TestQuotes()
283 if(u_strcmp(str, uvalfor) != 0) in TestExponential()
313 if(u_strcmp(str, ulvalfor) != 0) in TestExponential()
380 if (u_strcmp(str, res) !=0) log_data_err("FAIL: Expected $1,234.56\n"); in TestCurrencySign()
401 if (u_strcmp(str, res) != 0) log_data_err("FAIL: Expected -$1,234.56\n"); in TestCurrencySign()
447 if (u_strcmp(str, res) != 0){ in TestCurrency()
532 if (u_strcmp(str, res) != 0){ in TestCurrencyObject()
[all …]
Dcnumtst.c300 if(u_strcmp(result, temp1)==0) in TestNumberFormat()
332 if(result && u_strcmp(result, temp1)==0) in TestNumberFormat()
384 if (result && u_strcmp(result, temp1)==0) { in TestNumberFormat()
413 if (u_strcmp(temp2, temp)==0) { in TestNumberFormat()
527 if(u_strcmp(result, temp1)!=0) in TestNumberFormat()
596 if(U_FAILURE(status) || u_strcmp(temp1, temp2) != 0) in TestNumberFormat()
627 if(u_strcmp(result, temp1) != 0) { in TestNumberFormat()
686 if(u_strcmp(suffix,temp)!=0) in TestNumberFormat()
707 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
723 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
[all …]
Dcustrtst.c185 if(u_strcmp(temp,dataTable[i][j])!=0) in TestStringFunctions()
189 if(u_strcmp(dataTable[0][0], dataTable[1][1])==0) in TestStringFunctions()
199 if(u_strcmp(temp,dataTable[i+2][j])!=0) in TestStringFunctions()
221 if(u_strcmp(u_strncat(temp,dataTable[i+2][j],k),dataTable[i][j])!=0) in TestStringFunctions()
249 if(u_strcmp(temp, dataTable[i][j])!=0) in TestStringFunctions()
364 if (u_strcmp(ptr, currTokenBuf) != 0) { in TestStringFunctions()
408 if (ptr == NULL || u_strcmp(ptr, temp) != 0) { in TestStringFunctions()
461 r2=u_strcmp(strings[i], strings[i+1]); in TestStringFunctions()
473 if(_SIGN(r1)!=_SIGN(u_strcmp(strings[i], strings[i+1]))) { in TestStringFunctions()
993 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy()
[all …]
Dcdtrgtst.c110 if(u_strcmp(rt, todayS)!=0) { in Test4029195()
190 else if(u_strcmp(gotdate, expdate) !=0){ in Test4056591()
266 if( u_strcmp(formatted,str)!=0) { in aux917()
430 if (u_strcmp(result, result2)!=0){ in Test4073003()
498 if (u_strcmp(result, temp)!=0){ in Test714()
585 } else if ( u_strcmp(dmyGnText, patTextPtr->text) != 0 ) { in Test_GEec()
Dcstrtest.c204 if(u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
220 if(u_strcmp(us, variantUChars)!=0) { in TestInvariant()
261 … } else if(length!=UPRV_LENGTHOF(invariantUChars)-1 || u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
Dcurrtest.c175 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
182 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
189 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
Dcdattst.c188 if(u_strcmp(result, temp)==0) in TestDateFormat()
205 if(u_strcmp(result, temp)==0) { in TestDateFormat()
226 if(u_strcmp(fmtted, temp)==0) { in TestDateFormat()
249 if(u_strcmp(myDateFormat(def, d1),temp)!=0) in TestDateFormat()
300 if(u_strcmp(result, temp)!=0) in TestDateFormat()
353 if(u_strcmp(myNumformat(numformat1, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
363 if(u_strcmp(myNumformat(adoptNF, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
372 if(u_strcmp(myNumformat(numformat1, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
663 if(u_strcmp(result, pattern)==0) in TestSymbols()
739 if(u_strcmp(result, pattern)==0) in TestSymbols()
[all …]
Dcdtdptst.c185 if (u_strcmp(f, str) !=0) in tryPat994()
281 if(u_strcmp(out1, out2) !=0) in TestCzechMonths459()
291 if(u_strcmp(myDateFormat(fmt, july), myDateFormat(fmt, d) ) !=0) in TestCzechMonths459()
Dutransts.c545 if (0 == u_strcmp(buf, exp)) { in TestFilter()
768 if (0 == u_strcmp(buf, to)) { in _expect()
790 if (0 == u_strcmp(buf, to)) { in _expect()
812 if (0 == u_strcmp(xrep.text, to)) { in _expect()
836 if (0 == u_strcmp(xrep.text, to)) { in _expect()
Dcloctst.c584 if (0 != u_strcmp(expected, dataTable[LANG3][i])) { in TestSimpleResourceInfo()
592 if (0 != u_strcmp(expected, dataTable[CTRY3][i])) { in TestSimpleResourceInfo()
756 if(u_strcmp(buffer,expectBuffer)) { in TestDisplayNames()
925 if (u_strcmp(u"iw", uloc) == 0) { in TestGetAvailableLocalesByType()
928 if (u_strcmp(u"he", uloc) == 0) { in TestGetAvailableLocalesByType()
1127 if (0 !=u_strcmp(testLang,expectedLang)) { in doTestDisplayNames()
1131 if (0 != u_strcmp(testScript,expectedScript)) { in doTestDisplayNames()
1135 if (0 != u_strcmp(testCtry,expectedCtry)) { in doTestDisplayNames()
1139 if (0 != u_strcmp(testVar,expectedVar)) { in doTestDisplayNames()
1143 if(0 != u_strcmp(testName, expectedName)) { in doTestDisplayNames()
[all …]
Dcldrtest.c205 if (u_strcmp(rootStr, localeStr) != 0) { in TestKeyInRootRecursive()
403 } else if (u_strcmp(string, rootString) == 0) { in TestKeyInRootRecursive()
605 if (fromBundleStr && toBundleStr && u_strcmp(fromBundleStr, toBundleStr) != 0) in compareArrays()
1282 } else if (u_strcmp(pattern, enExpectPat) != 0) { in TestLocaleDisplayPattern()
1289 } else if (u_strcmp(separator, enExpectSep) != 0) { in TestLocaleDisplayPattern()
1303 } else if (u_strcmp(pattern, zhExpectPat) != 0) { in TestLocaleDisplayPattern()
1310 } else if (u_strcmp(separator, zhExpectSep) != 0) { in TestLocaleDisplayPattern()
1378 …} else if (u_strcmp(quoteStart,itemPtr->quoteStart)!=0 || u_strcmp(quoteEnd,itemPtr->quoteEnd)!=0)… in TestDelimiters()
Deurocreg.c174 if (u_strcmp(euroString, euroBack)) in isEuroAware()
Dcposxtst.c92 if (u_strcmp(ustr, exp) != 0) { in TestMessageCatalog()
Dutexttst.c239 i = u_strcmp(uString, buf); in TestAPI()
253 i = u_strcmp(uString2Ptr, buf); in TestAPI()
Dcpluralrulestest.c94 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
113 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
Dcbiditransformtst.c136 if (u_strcmp(expectedTxt, destTxt)) { in logResultsForDir()
256 if (u_strcmp(expected, dest)) { in verifyResultsForAllOpt()
Dccaltst.c250 if (u_strcmp(zone2, EUROPE_PARIS) != 0) { in TestCalendar()
258 if (u_strcmp(zone1, zone2) != 0) { in TestCalendar()
288 if (u_strcmp(AMERICA_LOS_ANGELES, canonicalID) != 0) { in TestCalendar()
398 if(u_strcmp(tzdname, result)==0){ in TestCalendar()
407 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
413 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
419 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
569 if(u_strcmp(myDateFormat(datdef, d1), myDateFormat(datdef, d2))!=0) in TestGetSetDateAPI()
630 } else if (u_strcmp(id, fgGMTID) != 0) { in TestGetSetDateAPI()
653 } else if (u_strcmp(id, tzID) != 0) { in TestGetSetDateAPI()
[all …]
Dusrchtst.c1065 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
1075 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
1090 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
1155 if (u_strcmp(text, temp) != 0) { in TestText()
1165 if (u_strcmp(text, temp) != 0) { in TestText()
1179 if (u_strcmp(text, temp) != 0) { in TestText()
2129 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2139 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2156 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2204 if (u_strcmp(text, temp) != 0) { in TestTextCanonical()
[all …]
/external/icu/icu4c/source/test/iotest/
Dstrtst.c227 if (u_strcmp(myUString, uStringBuf)) { in TestString()
233 if (u_strcmp(myUString+10, uStringBuf)) { in TestString()
268 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
293 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
728 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
737 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
Dtrnstst.c209 if(u_strcmp(compare, ubuf)) in TestTranslitFileOut()
298 if(u_strcmp(compare, ubuf)) in TestTranslitStringOut()
Dfiletst.c518 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
563 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
673 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsLineCount()
743 if (u_strcmp(buffer, testUStr[lineIdx]) != 0) { in TestfgetsNewLineHandling()
788 if (u_strcmp(returnedUCharBuffer, expectedBuffer) != 0) { in TestLineCount()
802 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestLineCount()
1474 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1501 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1538 if (u_strcmp(TEST_STR, myUString) != 0) { in TestUnicodeFormat()
Diotest.cpp299 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
328 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
526 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenScanf()
688 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintfPrecision()
/external/sfntly/cpp/src/test/
Dname_editing_test.cc86 EXPECT_EQ(u_strcmp(name, new_name), 0); in TestChangeOneName()
135 EXPECT_EQ(u_strcmp(name, original_name), 0); in TestModifyNameTableAndRevert()
/external/icu/icu4c/source/i18n/
Dnumber_compact.cpp138 if (u_strcmp(pattern, static_cast<const UChar *>(output[i])) == 0) { in getUniquePatterns()
188 if (u_strcmp(patternString, u"0") == 0) { in put()
311 if (u_strcmp(patternString, info.patternString) == 0) { in processQuantity()

123