Home
last modified time | relevance | path

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

123

/external/icu4c/test/cintltst/
Dcmsgtst.c134 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
166 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
214 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
297 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
328 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
353 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
425 if(u_strcmp(result, expected)==0) in TestNewFormatAndParseAPI()
440 if(value!=7 && u_strcmp(str,ret)!=0) in TestNewFormatAndParseAPI()
451 if(u_strcmp(myDateFormat(def1, d), myDateFormat(def1, d1))==0) in TestNewFormatAndParseAPI()
519 else if(u_strcmp(result, expected)==0) in TestSampleFormatAndParseWithError()
[all …]
Dcnmdptst.c94 if(u_strcmp(unewp, unewpat) != 0) in TestPatterns()
108 if (u_strcmp(str, unum) != 0) in TestPatterns()
149 if(u_strcmp(str, res) != 0) in TestQuotes()
178 if(u_strcmp(str, res) != 0) in TestQuotes()
280 if(u_strcmp(str, uvalfor) != 0) in TestExponential()
310 if(u_strcmp(str, ulvalfor) != 0) in TestExponential()
377 if (u_strcmp(str, res) !=0) log_data_err("FAIL: Expected $1,234.56\n"); in TestCurrencySign()
398 if (u_strcmp(str, res) != 0) log_data_err("FAIL: Expected -$1,234.56\n"); in TestCurrencySign()
444 if (u_strcmp(str, res) != 0){ in TestCurrency()
510 if (u_strcmp(str, res) != 0){ in TestCurrencyPreEuro()
[all …]
Dcnumtst.c273 if(u_strcmp(result, temp1)==0) in TestNumberFormat()
305 if(result && u_strcmp(result, temp1)==0) in TestNumberFormat()
358 if (result && u_strcmp(result, temp1)==0) { in TestNumberFormat()
386 if (u_strcmp(temp2, temp)==0) { in TestNumberFormat()
499 if(u_strcmp(result, temp1)!=0) in TestNumberFormat()
568 if(U_FAILURE(status) || u_strcmp(temp1, temp2) != 0) in TestNumberFormat()
599 if(u_strcmp(result, temp1) != 0) { in TestNumberFormat()
658 if(u_strcmp(suffix,temp)!=0) in TestNumberFormat()
679 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
695 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
[all …]
Dcdattst.c172 if(u_strcmp(result, temp)==0) in TestDateFormat()
189 if(u_strcmp(result, temp)==0) in TestDateFormat()
205 if(u_strcmp(fmtted, temp)==0) { in TestDateFormat()
228 if(u_strcmp(myDateFormat(def, d1),temp)!=0) in TestDateFormat()
279 if(u_strcmp(result, temp)!=0) in TestDateFormat()
332 if(u_strcmp(myNumformat(numformat1, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
341 if(u_strcmp(myNumformat(numformat1, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
601 if(u_strcmp(result, pattern)==0) in TestSymbols()
668 if(u_strcmp(result, pattern)==0) in TestSymbols()
711 if(u_strcmp(result, value)!=0) in TestSymbols()
[all …]
Dcstrtest.c198 if(u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
214 if(u_strcmp(us, variantUChars)!=0) { in TestInvariant()
255 } else if(length!=LENGTHOF(invariantUChars)-1 || u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
Dcdtrgtst.c108 if(u_strcmp(rt, todayS)!=0) { in Test4029195()
187 else if(u_strcmp(gotdate, expdate) !=0){ in Test4056591()
263 if( u_strcmp(formatted,str)!=0) { in aux917()
425 if (u_strcmp(result, result2)!=0){ in Test4073003()
492 if (u_strcmp(result, temp)!=0){ in Test714()
578 } else if ( u_strcmp(dmyGnText, patTextPtr->text) != 0 ) { in Test_GEec()
Dcurrtest.c172 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
179 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
186 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
Dutransts.c537 if (0 == u_strcmp(buf, exp)) { in TestFilter()
634 if (0 == u_strcmp(buf, to)) { in _expect()
656 if (0 == u_strcmp(buf, to)) { in _expect()
678 if (0 == u_strcmp(xrep.text, to)) { in _expect()
702 if (0 == u_strcmp(xrep.text, to)) { in _expect()
Dcustrtst.c184 if(u_strcmp(temp,dataTable[i][j])!=0) in TestStringFunctions()
188 if(u_strcmp(dataTable[0][0], dataTable[1][1])==0) in TestStringFunctions()
198 if(u_strcmp(temp,dataTable[i+2][j])!=0) in TestStringFunctions()
220 if(u_strcmp(u_strncat(temp,dataTable[i+2][j],k),dataTable[i][j])!=0) in TestStringFunctions()
248 if(u_strcmp(temp, dataTable[i][j])!=0) in TestStringFunctions()
363 if (u_strcmp(ptr, currTokenBuf) != 0) { in TestStringFunctions()
407 if (ptr == NULL || u_strcmp(ptr, temp) != 0) { in TestStringFunctions()
460 r2=u_strcmp(strings[i], strings[i+1]); in TestStringFunctions()
472 if(_SIGN(r1)!=_SIGN(u_strcmp(strings[i], strings[i+1]))) { in TestStringFunctions()
982 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy()
[all …]
Dcdtdptst.c181 if (u_strcmp(f, str) !=0) in tryPat994()
276 if(u_strcmp(out1, out2) !=0) in TestCzechMonths459()
286 if(u_strcmp(myDateFormat(fmt, july), myDateFormat(fmt, d) ) !=0) in TestCzechMonths459()
Deurocreg.c171 if (u_strcmp(euroString, euroBack)) in isEuroAware()
Dcposxtst.c90 if (u_strcmp(ustr, exp) != 0) { in TestMessageCatalog()
Dusrchtst.c964 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
974 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
989 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
1054 if (u_strcmp(text, temp) != 0) { in TestText()
1064 if (u_strcmp(text, temp) != 0) { in TestText()
1078 if (u_strcmp(text, temp) != 0) { in TestText()
2028 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2038 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2055 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2103 if (u_strcmp(text, temp) != 0) { in TestTextCanonical()
[all …]
Dccaltst.c201 if (u_strcmp(zone2, EUROPE_PARIS) != 0) { in TestCalendar()
228 if (u_strcmp(AMERICA_LOS_ANGELES, canonicalID) != 0) { in TestCalendar()
333 if(u_strcmp(tzdname, result)==0){ in TestCalendar()
342 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
348 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
354 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
496 if(u_strcmp(myDateFormat(datdef, d1), myDateFormat(datdef, d2))!=0) in TestGetSetDateAPI()
578 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
609 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
Dcloctst.c541 if (0 != u_strcmp(expected, dataTable[LANG3][i])) { in TestSimpleResourceInfo()
549 if (0 != u_strcmp(expected, dataTable[CTRY3][i])) { in TestSimpleResourceInfo()
628 if(u_strcmp(buffer,expectBuffer)) { in TestDisplayNames()
841 if (0 !=u_strcmp(testLang,expectedLang)) { in doTestDisplayNames()
845 if (0 != u_strcmp(testScript,expectedScript)) { in doTestDisplayNames()
849 if (0 != u_strcmp(testCtry,expectedCtry)) { in doTestDisplayNames()
853 if (0 != u_strcmp(testVar,expectedVar)) { in doTestDisplayNames()
857 if(0 != u_strcmp(testName, expectedName)) { in doTestDisplayNames()
1098 if (u_strcmp(testLang, expectedLang) != 0) in TestSimpleDisplayNames()
1169 if(u_strcmp(got,displayVar)!=0) { in TestVariantParsing()
[all …]
Dcreststn.c130 #define CONFIRM_EQ(actual,expected) if (u_strcmp(expected,actual)==0){ record_pass(); } else { reco…
592 if(u_strcmp(uExpect,str)){ in TestNewTypes()
648 if(str == NULL || u_strcmp(uExpect,str)){ in TestNewTypes()
665 } else if(u_strcmp(my,str) != 0){ in TestNewTypes()
1554 if(u_strcmp(result1, rootVal) !=0 || u_strcmp(result2, te_inVal) !=0 ){ in TestConstruction1()
2083 if(u_strcmp(version, versionStr) != 0){ in TestFallback()
2682 if(U_FAILURE(status) || result == NULL || u_strcmp(result, expResult)) { in TestXPath()
2694 if(U_FAILURE(status) || result == NULL || u_strcmp(result, expResult)) { in TestXPath()
2706 if(U_FAILURE(status) || result == NULL || u_strcmp(result, expResult)) { in TestXPath()
2747 if(U_FAILURE(status) || !result || u_strcmp(result, expected)) { in TestCLDRStyleAliases()
Dutexttst.c228 i = u_strcmp(uString, buf); in TestAPI()
Dstdnmtst.c248 if (u_strcmp(enumName, testName) != 0 || U_FAILURE(err) in doTestUCharNames()
/external/icu4c/test/iotest/
Dstrtst.c224 if (u_strcmp(myUString, uStringBuf)) { in TestString()
230 if (u_strcmp(myUString+10, uStringBuf)) { in TestString()
265 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
290 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
721 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
730 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
Dfiletst.c481 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
526 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
636 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsLineCount()
706 if (u_strcmp(buffer, testUStr[lineIdx]) != 0) { in TestfgetsNewLineHandling()
751 if (u_strcmp(returnedUCharBuffer, expectedBuffer) != 0) { in TestLineCount()
765 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestLineCount()
1431 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1458 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1495 if (u_strcmp(TEST_STR, myUString) != 0) { in TestUnicodeFormat()
Dtrnstst.c206 if(u_strcmp(compare, ubuf)) in TestTranslitFileOut()
295 if(u_strcmp(compare, ubuf)) in TestTranslitStringOut()
Diotest.cpp295 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
324 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
485 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenScanf()
647 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintfPrecision()
/external/icu4c/i18n/
Dcurrunit.cpp55 u_strcmp(isoCode, c.isoCode) == 0; in operator ==()
Dzonemeta.cpp277 if (u_strcmp(gWorld, region) != 0) { in getCanonicalCountry()
289 if (u_strcmp(gWorld, region) == 0) { in getSingleCountry()
Dnumfmt.cpp267 if (!(u_strcmp(fCurrency, other->fCurrency) == 0)) { in operator ==()
282 u_strcmp(fCurrency, other->fCurrency) == 0))); in operator ==()
395 setCurr = (u_strcmp(curr, save) != 0); in ArgExtractor()

123