Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcdtdptst.c318 const char* expStr = "04/13/1999 at 10:42:28 AM "; in TestQuotePattern161() local
344 exp=(UChar*)malloc(sizeof(UChar) * (strlen(expStr) + 1) ); in TestQuotePattern161()
345 u_uastrcpy(exp, expStr); in TestQuotePattern161()
348 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) { in TestQuotePattern161()
/external/cronet/third_party/icu/source/test/cintltst/
Dcdtdptst.c318 const char* expStr = "04/13/1999 at 10:42:28 AM "; in TestQuotePattern161() local
344 exp=(UChar*)malloc(sizeof(UChar) * (strlen(expStr) + 1) ); in TestQuotePattern161()
345 u_uastrcpy(exp, expStr); in TestQuotePattern161()
348 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) { in TestQuotePattern161()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DArrayDeserializationTest.java491 String expStr = String.valueOf(i) + "." + String.valueOf(i % 10);
493 if (!expStr.equals(actStr)) {
494 fail("Entry #"+i+"/"+LEN+"; exp '"+expStr+"', got '"+actStr+"'");
518 String expStr = String.valueOf(i) + "." + String.valueOf(i % 10);
519 assertEquals(expStr, String.valueOf(result[i]));
DDateDeserializationTest.java458 String expStr = "1981-07-13"; in testDateSql() local
459 result = MAPPER.readValue(quote(expStr), java.sql.Date.class); in testDateSql()
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp1149 UnicodeString expStr; in Test4182066() local
1151 expStr.append("null"); in Test4182066()
1154 ((DateFormat*)&dispFmt)->format(expected, expStr); in Test4182066()
1157 + ", expected " + expStr + "\n"); in Test4182066()
Dnumfmtst.cpp1856 UnicodeString expStr("\\U00010000\\U00010000\\U00010000\\U000100000", ""); in TestSurrogateSupport() local
1857 expStr = expStr.unescape(); in TestSurrogateSupport()
1859 int32_t(0), expStr, status); in TestSurrogateSupport()
1888 expStr = UnicodeString("\\U00010001decimal\\U00010002\\U00010005\\U00010000", ""); in TestSurrogateSupport()
1889 expStr = expStr.unescape(); in TestSurrogateSupport()
1892 1.25, expStr, status); in TestSurrogateSupport()
1899 expStr = UnicodeString(" minus 20money separator00 units of money in your bank account", ""); in TestSurrogateSupport()
1902 int32_t(-20), expStr, status); in TestSurrogateSupport()
1907expStr = UnicodeString(" minus You've lost minus 2000decimal00 percent of your money today", ""); in TestSurrogateSupport()
1910 int32_t(-20), expStr, status); in TestSurrogateSupport()
Dmeasfmttest.cpp4340 UnicodeString expStr(UnicodeString(expected).unescape()); in helperTestManyLocaleDurations() local
4341 if (buffer != expStr) { in helperTestManyLocaleDurations()
4342 …ale " + UnicodeString(localeID) + ", width " + width + ", expected \"" + expStr + "\", got \"" + b… in helperTestManyLocaleDurations()
4453 UnicodeString expStr(UnicodeString(expected).unescape()); in helperTestDisplayName() local
4454 if (dnam != expStr) { in helperTestDisplayName()
4456 … unit->getType(), unit->getSubtype(), localeID, (int)width, CStr(expStr)(), CStr(dnam)()); in helperTestDisplayName()
/external/cronet/third_party/icu/source/test/intltest/
Ddtfmrgts.cpp1149 UnicodeString expStr; in Test4182066() local
1151 expStr.append("null"); in Test4182066()
1154 ((DateFormat*)&dispFmt)->format(expected, expStr); in Test4182066()
1157 + ", expected " + expStr + "\n"); in Test4182066()
Dnumfmtst.cpp1856 UnicodeString expStr("\\U00010000\\U00010000\\U00010000\\U000100000", ""); in TestSurrogateSupport() local
1857 expStr = expStr.unescape(); in TestSurrogateSupport()
1859 int32_t(0), expStr, status); in TestSurrogateSupport()
1888 expStr = UnicodeString("\\U00010001decimal\\U00010002\\U00010005\\U00010000", ""); in TestSurrogateSupport()
1889 expStr = expStr.unescape(); in TestSurrogateSupport()
1892 1.25, expStr, status); in TestSurrogateSupport()
1899 expStr = UnicodeString(" minus 20money separator00 units of money in your bank account", ""); in TestSurrogateSupport()
1902 int32_t(-20), expStr, status); in TestSurrogateSupport()
1907expStr = UnicodeString(" minus You've lost minus 2000decimal00 percent of your money today", ""); in TestSurrogateSupport()
1910 int32_t(-20), expStr, status); in TestSurrogateSupport()
Dmeasfmttest.cpp4340 UnicodeString expStr(UnicodeString(expected).unescape()); in helperTestManyLocaleDurations() local
4341 if (buffer != expStr) { in helperTestManyLocaleDurations()
4342 …ale " + UnicodeString(localeID) + ", width " + width + ", expected \"" + expStr + "\", got \"" + b… in helperTestManyLocaleDurations()
4453 UnicodeString expStr(UnicodeString(expected).unescape()); in helperTestDisplayName() local
4454 if (dnam != expStr) { in helperTestDisplayName()
4456 … unit->getType(), unit->getSubtype(), localeID, (int)width, CStr(expStr)(), CStr(dnam)()); in helperTestDisplayName()
/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/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/libxml2/
Dxmlregexp.c362 static int xmlRegStrEqualWildcard(const xmlChar *expStr, const xmlChar *valStr);
3713 xmlRegStrEqualWildcard(const xmlChar *expStr, const xmlChar *valStr) { in xmlRegStrEqualWildcard() argument
3714 if (expStr == valStr) return(1); in xmlRegStrEqualWildcard()
3715 if (expStr == NULL) return(0); in xmlRegStrEqualWildcard()
3721 if (*expStr != *valStr) { in xmlRegStrEqualWildcard()
3727 valStr = expStr; in xmlRegStrEqualWildcard()
3728 expStr = tmp; in xmlRegStrEqualWildcard()
3730 if ((*valStr != 0) && (*expStr != 0) && (*expStr++ == '*')) { in xmlRegStrEqualWildcard()
3740 expStr++; in xmlRegStrEqualWildcard()
3743 if (*expStr != 0) in xmlRegStrEqualWildcard()