Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/test/cintltst/
Dcmsgtst.c139 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
171 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
219 if(u_strcmp(result, testResultStrings[i])==0){ in MessageFormatTest()
302 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
333 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
358 else if(u_strcmp(result, expected)==0) in TestSampleMessageFormat()
430 if(u_strcmp(result, expected)==0) in TestNewFormatAndParseAPI()
445 if(value!=7 && u_strcmp(str,ret)!=0) in TestNewFormatAndParseAPI()
456 if(u_strcmp(myDateFormat(def1, d), myDateFormat(def1, d1))==0) in TestNewFormatAndParseAPI()
524 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.c275 if(u_strcmp(result, temp1)==0) in TestNumberFormat()
307 if(result && u_strcmp(result, temp1)==0) in TestNumberFormat()
359 if (result && u_strcmp(result, temp1)==0) { in TestNumberFormat()
388 if (u_strcmp(temp2, temp)==0) { in TestNumberFormat()
502 if(u_strcmp(result, temp1)!=0) in TestNumberFormat()
571 if(U_FAILURE(status) || u_strcmp(temp1, temp2) != 0) in TestNumberFormat()
602 if(u_strcmp(result, temp1) != 0) { in TestNumberFormat()
661 if(u_strcmp(suffix,temp)!=0) in TestNumberFormat()
682 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
698 if(u_strcmp(prefix, temp)!=0) in TestNumberFormat()
[all …]
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()
427 if (u_strcmp(result, result2)!=0){ in Test4073003()
495 if (u_strcmp(result, temp)!=0){ in Test714()
582 } else if ( u_strcmp(dmyGnText, patTextPtr->text) != 0 ) { in Test_GEec()
Dcstrtest.c196 if(u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
212 if(u_strcmp(us, variantUChars)!=0) { in TestInvariant()
253 … } else if(length!=UPRV_LENGTHOF(invariantUChars)-1 || u_strcmp(us, invariantUChars)!=0) { in TestInvariant()
Dcustrtst.c179 if(u_strcmp(temp,dataTable[i][j])!=0) in TestStringFunctions()
183 if(u_strcmp(dataTable[0][0], dataTable[1][1])==0) in TestStringFunctions()
193 if(u_strcmp(temp,dataTable[i+2][j])!=0) in TestStringFunctions()
215 if(u_strcmp(u_strncat(temp,dataTable[i+2][j],k),dataTable[i][j])!=0) in TestStringFunctions()
243 if(u_strcmp(temp, dataTable[i][j])!=0) in TestStringFunctions()
358 if (u_strcmp(ptr, currTokenBuf) != 0) { in TestStringFunctions()
402 if (ptr == NULL || u_strcmp(ptr, temp) != 0) { in TestStringFunctions()
455 r2=u_strcmp(strings[i], strings[i+1]); in TestStringFunctions()
467 if(_SIGN(r1)!=_SIGN(u_strcmp(strings[i], strings[i+1]))) { in TestStringFunctions()
977 if(u_strcmp(temp, uchars) != 0) { in TestStringCopy()
[all …]
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()
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 …]
Dutransts.c540 if (0 == u_strcmp(buf, exp)) { in TestFilter()
702 if (0 == u_strcmp(buf, to)) { in _expect()
724 if (0 == u_strcmp(buf, to)) { in _expect()
746 if (0 == u_strcmp(xrep.text, to)) { in _expect()
770 if (0 == u_strcmp(xrep.text, to)) { in _expect()
Dcdtdptst.c183 if (u_strcmp(f, str) !=0) in tryPat994()
278 if(u_strcmp(out1, out2) !=0) in TestCzechMonths459()
288 if(u_strcmp(myDateFormat(fmt, july), myDateFormat(fmt, d) ) !=0) in TestCzechMonths459()
Deurocreg.c172 if (u_strcmp(euroString, euroBack)) in isEuroAware()
Dutexttst.c233 i = u_strcmp(uString, buf); in TestAPI()
247 i = u_strcmp(uString2Ptr, buf); in TestAPI()
Dcposxtst.c90 if (u_strcmp(ustr, exp) != 0) { in TestMessageCatalog()
Dcloctst.c552 if (0 != u_strcmp(expected, dataTable[LANG3][i])) { in TestSimpleResourceInfo()
560 if (0 != u_strcmp(expected, dataTable[CTRY3][i])) { in TestSimpleResourceInfo()
714 if(u_strcmp(buffer,expectBuffer)) { in TestDisplayNames()
994 if (0 !=u_strcmp(testLang,expectedLang)) { in doTestDisplayNames()
998 if (0 != u_strcmp(testScript,expectedScript)) { in doTestDisplayNames()
1002 if (0 != u_strcmp(testCtry,expectedCtry)) { in doTestDisplayNames()
1006 if (0 != u_strcmp(testVar,expectedVar)) { in doTestDisplayNames()
1010 if(0 != u_strcmp(testName, expectedName)) { in doTestDisplayNames()
1072 if ( U_FAILURE(status) || u_strcmp(getName, expectRegionName) != 0 ) { in TestDisplayNameBrackets()
1078 if ( U_FAILURE(status) || u_strcmp(getName, expectLocaleName) != 0 ) { in TestDisplayNameBrackets()
[all …]
Dcpluralrulestest.c78 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
Dcldrtest.c201 if (u_strcmp(rootStr, localeStr) != 0) { in TestKeyInRootRecursive()
399 } else if (u_strcmp(string, rootString) == 0) { in TestKeyInRootRecursive()
601 if (fromBundleStr && toBundleStr && u_strcmp(fromBundleStr, toBundleStr) != 0) in compareArrays()
1271 } else if (u_strcmp(pattern, enExpectPat) != 0) { in TestLocaleDisplayPattern()
1278 } else if (u_strcmp(separator, enExpectSep) != 0) { in TestLocaleDisplayPattern()
1292 } else if (u_strcmp(pattern, zhExpectPat) != 0) { in TestLocaleDisplayPattern()
1299 } else if (u_strcmp(separator, zhExpectSep) != 0) { in TestLocaleDisplayPattern()
Dccaltst.c238 if (u_strcmp(zone2, EUROPE_PARIS) != 0) { in TestCalendar()
265 if (u_strcmp(AMERICA_LOS_ANGELES, canonicalID) != 0) { in TestCalendar()
370 if(u_strcmp(tzdname, result)==0){ in TestCalendar()
379 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
385 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
391 if(u_strcmp(tzdname, result) != 0){ in TestCalendar()
537 if(u_strcmp(myDateFormat(datdef, d1), myDateFormat(datdef, d2))!=0) in TestGetSetDateAPI()
598 } else if (u_strcmp(id, fgGMTID) != 0) { in TestGetSetDateAPI()
621 } else if (u_strcmp(id, tzID) != 0) { in TestGetSetDateAPI()
686 if(u_strcmp(myDateFormat(datdef, d1), temp)==0) in TestGetSetDateAPI()
[all …]
Dusrchtst.c1063 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
1073 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
1088 if (u_strcmp(pattern, temp) != 0) { in TestPattern()
1153 if (u_strcmp(text, temp) != 0) { in TestText()
1163 if (u_strcmp(text, temp) != 0) { in TestText()
1177 if (u_strcmp(text, temp) != 0) { in TestText()
2127 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2137 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2154 if (u_strcmp(pattern, temp) != 0) { in TestPatternCanonical()
2202 if (u_strcmp(text, temp) != 0) { in TestTextCanonical()
[all …]
Dcreststn.c130 #define CONFIRM_EQ(actual,expected) if (u_strcmp(expected,actual)==0){ record_pass(); } else { reco…
583 if(u_strcmp(uExpect,str)){ in TestNewTypes()
639 if(str == NULL || u_strcmp(uExpect,str)){ in TestNewTypes()
656 } else if(u_strcmp(my,str) != 0){ in TestNewTypes()
1549 if(u_strcmp(result1, rootVal) !=0 || u_strcmp(result2, te_inVal) !=0 ){ in TestConstruction1()
2134 if(u_strcmp(version, versionStr) != 0){ in TestFallback()
2728 if(U_FAILURE(status) || result == NULL || u_strcmp(result, expResult)) { in TestXPath()
2740 if(U_FAILURE(status) || result == NULL || u_strcmp(result, expResult)) { in TestXPath()
2752 if(U_FAILURE(status) || result == NULL || u_strcmp(result, expResult)) { in TestXPath()
2793 if(U_FAILURE(status) || !result || u_strcmp(result, expected)) { in TestCLDRStyleAliases()
/external/icu/icu4c/source/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()
722 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
731 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
Dtrnstst.c206 if(u_strcmp(compare, ubuf)) in TestTranslitFileOut()
295 if(u_strcmp(compare, ubuf)) in TestTranslitStringOut()
Dfiletst.c487 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
532 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsBuffers()
642 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestfgetsLineCount()
712 if (u_strcmp(buffer, testUStr[lineIdx]) != 0) { in TestfgetsNewLineHandling()
757 if (u_strcmp(returnedUCharBuffer, expectedBuffer) != 0) { in TestLineCount()
771 if (u_strcmp(buffer, expectedBuffer) != 0) { in TestLineCount()
1441 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1468 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
1505 if (u_strcmp(TEST_STR, myUString) != 0) { in TestUnicodeFormat()
Diotest.cpp296 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
325 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
486 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenScanf()
648 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/
Dnumfmt.cpp320 if (!(u_strcmp(fCurrency, other->fCurrency) == 0)) { in operator ==()
343 u_strcmp(fCurrency, other->fCurrency) == 0 && in operator ==()
569 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()
624 if(arg.wasCurrency() && u_strcmp(iso, getCurrency())) { in format()

123