Home
last modified time | relevance | path

Searched refs:u_strcmp (Results 1 – 25 of 62) 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()
222 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
305 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
336 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
361 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
433 if(u_strcmp(result, expected)==0) in TestNewFormatAndParseAPI()
448 if(value!=7 && u_strcmp(str,ret)!=0) in TestNewFormatAndParseAPI()
459 if(u_strcmp(myDateFormat(def1, d), myDateFormat(def1, d1))==0) in TestNewFormatAndParseAPI()
527 else if(u_strcmp(result, expected)==0) in TestSampleFormatAndParseWithError()
[all …]
Dcnmdptst.c97 if(u_strcmp(unewp, unewpat) != 0) in TestPatterns()
111 if (u_strcmp(str, unum) != 0) in TestPatterns()
152 if(u_strcmp(str, res) != 0) in TestQuotes()
181 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()
513 if (u_strcmp(str, res) != 0){ in TestCurrencyPreEuro()
[all …]
Dcnumtst.c281 if(u_strcmp(result, temp1)==0) in TestNumberFormat()
313 if(result && u_strcmp(result, temp1)==0) in TestNumberFormat()
365 if (result && u_strcmp(result, temp1)==0) { in TestNumberFormat()
394 if (u_strcmp(temp2, temp)==0) { in TestNumberFormat()
508 if(u_strcmp(result, temp1)!=0) in TestNumberFormat()
577 if(U_FAILURE(status) || u_strcmp(temp1, temp2) != 0) in TestNumberFormat()
608 if(u_strcmp(result, temp1) != 0) { in TestNumberFormat()
667 if(u_strcmp(suffix,temp)!=0) in TestNumberFormat()
688 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
704 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
[all …]
Dcdtrgtst.c110 if(u_strcmp(rt, todayS)!=0) { in Test4029195()
189 else if(u_strcmp(gotdate, expdate) !=0){ in Test4056591()
265 if( u_strcmp(formatted,str)!=0) { in aux917()
429 if (u_strcmp(result, result2)!=0){ in Test4073003()
497 if (u_strcmp(result, temp)!=0){ in Test714()
584 } else if ( u_strcmp(dmyGnText, patTextPtr->text) != 0 ) { in Test_GEec()
Dcstrtest.c198 if(u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
214 if(u_strcmp(us, variantUChars)!=0) { in TestInvariant()
255 … } else if(length!=UPRV_LENGTHOF(invariantUChars)-1 || u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
Dcustrtst.c181 if(u_strcmp(temp,dataTable[i][j])!=0) in TestStringFunctions()
185 if(u_strcmp(dataTable[0][0], dataTable[1][1])==0) in TestStringFunctions()
195 if(u_strcmp(temp,dataTable[i+2][j])!=0) in TestStringFunctions()
217 if(u_strcmp(u_strncat(temp,dataTable[i+2][j],k),dataTable[i][j])!=0) in TestStringFunctions()
245 if(u_strcmp(temp, dataTable[i][j])!=0) in TestStringFunctions()
360 if (u_strcmp(ptr, currTokenBuf) != 0) { in TestStringFunctions()
404 if (ptr == NULL || u_strcmp(ptr, temp) != 0) { in TestStringFunctions()
457 r2=u_strcmp(strings[i], strings[i+1]); in TestStringFunctions()
469 if(_SIGN(r1)!=_SIGN(u_strcmp(strings[i], strings[i+1]))) { in TestStringFunctions()
979 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy()
[all …]
Dcdattst.c184 if(u_strcmp(result, temp)==0) in TestDateFormat()
201 if(u_strcmp(result, temp)==0) in TestDateFormat()
217 if(u_strcmp(fmtted, temp)==0) { in TestDateFormat()
240 if(u_strcmp(myDateFormat(def, d1),temp)!=0) in TestDateFormat()
291 if(u_strcmp(result, temp)!=0) in TestDateFormat()
344 if(u_strcmp(myNumformat(numformat1, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
354 if(u_strcmp(myNumformat(adoptNF, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
363 if(u_strcmp(myNumformat(numformat1, num), myNumformat(numformat2, num)) !=0) in TestDateFormat()
654 if(u_strcmp(result, pattern)==0) in TestSymbols()
730 if(u_strcmp(result, pattern)==0) in TestSymbols()
[all …]
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()
Dcpluralrulestest.c88 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
107 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
Dcdtdptst.c185 if (u_strcmp(f, str) !=0) in tryPat994()
280 if(u_strcmp(out1, out2) !=0) in TestCzechMonths459()
290 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()
Deurocreg.c174 if (u_strcmp(euroString, euroBack)) in isEuroAware()
Dutexttst.c235 i = u_strcmp(uString, buf); in TestAPI()
249 i = u_strcmp(uString2Ptr, buf); in TestAPI()
Dcposxtst.c92 if (u_strcmp(ustr, exp) != 0) { in TestMessageCatalog()
Dcloctst.c559 if (0 != u_strcmp(expected, dataTable[LANG3][i])) { in TestSimpleResourceInfo()
567 if (0 != u_strcmp(expected, dataTable[CTRY3][i])) { in TestSimpleResourceInfo()
721 if(u_strcmp(buffer,expectBuffer)) { in TestDisplayNames()
1001 if (0 !=u_strcmp(testLang,expectedLang)) { in doTestDisplayNames()
1005 if (0 != u_strcmp(testScript,expectedScript)) { in doTestDisplayNames()
1009 if (0 != u_strcmp(testCtry,expectedCtry)) { in doTestDisplayNames()
1013 if (0 != u_strcmp(testVar,expectedVar)) { in doTestDisplayNames()
1017 if(0 != u_strcmp(testName, expectedName)) { in doTestDisplayNames()
1079 if ( U_FAILURE(status) || u_strcmp(getName, expectRegionName) != 0 ) { in TestDisplayNameBrackets()
1085 if ( U_FAILURE(status) || u_strcmp(getName, expectLocaleName) != 0 ) { in TestDisplayNameBrackets()
[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()
1277 } else if (u_strcmp(pattern, enExpectPat) != 0) { in TestLocaleDisplayPattern()
1284 } else if (u_strcmp(separator, enExpectSep) != 0) { in TestLocaleDisplayPattern()
1298 } else if (u_strcmp(pattern, zhExpectPat) != 0) { in TestLocaleDisplayPattern()
1305 } else if (u_strcmp(separator, zhExpectSep) != 0) { in TestLocaleDisplayPattern()
Dcbiditransformtst.c136 if (u_strcmp(expectedTxt, destTxt)) { in logResultsForDir()
256 if (u_strcmp(expected, dest)) { in verifyResultsForAllOpt()
Dccaltst.c246 if (u_strcmp(zone2, EUROPE_PARIS) != 0) { in TestCalendar()
273 if (u_strcmp(AMERICA_LOS_ANGELES, canonicalID) != 0) { in TestCalendar()
378 if(u_strcmp(tzdname, result)==0){ in TestCalendar()
387 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
393 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
399 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
545 if(u_strcmp(myDateFormat(datdef, d1), myDateFormat(datdef, d2))!=0) in TestGetSetDateAPI()
606 } else if (u_strcmp(id, fgGMTID) != 0) { in TestGetSetDateAPI()
629 } else if (u_strcmp(id, tzID) != 0) { in TestGetSetDateAPI()
694 if(u_strcmp(myDateFormat(datdef, d1), temp)==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()
725 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
734 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
Dfiletst.c490 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
535 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
645 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsLineCount()
715 if (u_strcmp(buffer, testUStr[lineIdx]) != 0) { in TestfgetsNewLineHandling()
760 if (u_strcmp(returnedUCharBuffer, expectedBuffer) != 0) { in TestLineCount()
774 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestLineCount()
1444 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1471 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1508 if (u_strcmp(TEST_STR, myUString) != 0) { in TestUnicodeFormat()
Dtrnstst.c209 if(u_strcmp(compare, ubuf)) in TestTranslitFileOut()
298 if(u_strcmp(compare, ubuf)) in TestTranslitStringOut()
Diotest.cpp299 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
328 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
489 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenScanf()
651 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintfPrecision()
/external/icu/icu4c/source/i18n/
Dnumber_compact.cpp137 if (u_strcmp(pattern, static_cast<const UChar *>(output[i])) == 0) { in getUniquePatterns()
182 if (u_strcmp(patternString, u"0") == 0) { in put()
300 if (u_strcmp(patternString, info.patternString) == 0) { in processQuantity()
/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()

123