Home
last modified time | relevance | path

Searched refs:expStr (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcdtdptst.c313 const char* expStr = "04/13/1999 at 10:42:28 AM "; in TestQuotePattern161() local
340 exp=(UChar*)malloc(sizeof(UChar) * (strlen(expStr) + 1) ); in TestQuotePattern161()
341 u_uastrcpy(exp, expStr); in TestQuotePattern161()
344 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) in TestQuotePattern161()
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp1174 UnicodeString expStr; in Test4182066() local
1176 expStr.append("null"); in Test4182066()
1179 ((DateFormat*)&dispFmt)->format(expected, expStr); in Test4182066()
1182 + ", expected " + expStr + "\n"); in Test4182066()
Dnumfmtst.cpp1803 UnicodeString expStr("\\U00010000\\U00010000\\U00010000\\U000100000", ""); in TestSurrogateSupport() local
1804 expStr = expStr.unescape(); in TestSurrogateSupport()
1806 int32_t(0), expStr, status); in TestSurrogateSupport()
1835 expStr = UnicodeString("\\U00010001decimal\\U00010002\\U00010005\\U00010000", ""); in TestSurrogateSupport()
1836 expStr = expStr.unescape(); in TestSurrogateSupport()
1839 1.25, expStr, status); in TestSurrogateSupport()
1846 expStr = UnicodeString(" minus 20money separator00 units of money in your bank account", ""); in TestSurrogateSupport()
1849 int32_t(-20), expStr, status); in TestSurrogateSupport()
1854expStr = UnicodeString(" minus You've lost minus 2000decimal00 percent of your money today", ""); in TestSurrogateSupport()
1857 int32_t(-20), expStr, status); in TestSurrogateSupport()
Dmeasfmttest.cpp1985 UnicodeString expStr(UnicodeString(expected).unescape()); in helperTestManyLocaleDurations() local
1986 if (buffer != expStr) { in helperTestManyLocaleDurations()
1987 …ale " + UnicodeString(localeID) + ", width " + width + ", expected \"" + expStr + "\", got \"" + b… in helperTestManyLocaleDurations()
2098 UnicodeString expStr(UnicodeString(expected).unescape()); in helperTestDisplayName() local
2099 if (dnam != expStr) { in helperTestDisplayName()
2101 … unit->getType(), unit->getSubtype(), localeID, (int)width, CStr(expStr)(), CStr(dnam)()); in helperTestDisplayName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java844 String expStr = ""; in Test4182066() local
846 expStr += "null"; in Test4182066()
849 expStr = ((DateFormat) dispFmt).format(expected); in Test4182066()
851 out += "FAIL: " + str + " => " + actStr + ", expected " + expStr + "\n"; in Test4182066()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java847 String expStr = ""; in Test4182066() local
849 expStr += "null"; in Test4182066()
852 expStr = ((DateFormat) dispFmt).format(expected); in Test4182066()
854 out += "FAIL: " + str + " => " + actStr + ", expected " + expStr + "\n"; in Test4182066()
/external/libxml2/
Dxmlregexp.c359 static int xmlRegStrEqualWildcard(const xmlChar *expStr, const xmlChar *valStr);
3651 xmlRegStrEqualWildcard(const xmlChar *expStr, const xmlChar *valStr) { in xmlRegStrEqualWildcard() argument
3652 if (expStr == valStr) return(1); in xmlRegStrEqualWildcard()
3653 if (expStr == NULL) return(0); in xmlRegStrEqualWildcard()
3659 if (*expStr != *valStr) { in xmlRegStrEqualWildcard()
3665 valStr = expStr; in xmlRegStrEqualWildcard()
3666 expStr = tmp; in xmlRegStrEqualWildcard()
3668 if ((*valStr != 0) && (*expStr != 0) && (*expStr++ == '*')) { in xmlRegStrEqualWildcard()
3678 expStr++; in xmlRegStrEqualWildcard()
3681 if (*expStr != 0) in xmlRegStrEqualWildcard()