/external/chromium/third_party/icu/source/test/cintltst/ |
H A D | udatpg_test.c | 226 UChar pattern[40], formatted[40]; local 335 formattedCapacity = (int32_t)(sizeof(formatted)/sizeof((formatted)[0])); 336 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity, 341 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, 343 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) {
|
H A D | cdtrgtst.c | 242 UChar* formatted=NULL; local 261 formatted = myFormatit(fmt, d1); 262 if( u_strcmp(formatted,str)!=0) { 263 log_err("Fail: Want %s Got: %s\n", austrdup(str), austrdup(formatted) ); 357 US locale a string formatted according to mm/dd/yy and parses it
|
/external/chromium/third_party/icu/source/test/intltest/ |
H A D | dtptngts.cpp | 689 UnicodeString formatted; local 690 formatted = formatter.format(Calendar::getNow(), formatted, status); 692 formatted.remove(); 695 formatted = formatter.format(testDate, formatted, status); 697 if ( formatted != expectedResult ) { 699 errln(UnicodeString(" Got: ")+ formatted + UnicodeString(" Expected: ") + expectedResult);
|
H A D | msfmrgts.cpp | 701 UnicodeString formatted; local 702 formatted = prefix + "YES"; 706 //Object[] objs = mf.parse(formatted, new ParsePosition(0)); 709 objs = mf->parse(formatted, pp, count); 712 log(" \"" + formatted + "\" parsed as "); 841 logln(" (incorrectly formatted string)"); 845 logln(" (correctly formatted string)");
|
H A D | dtfmrgts.cpp | 317 UnicodeString formatted; local 319 formatted = fmt->format( o, formatted, poss, status ); 321 logln( "Formatted string: " + formatted ); 322 if( formatted != str) 323 errln("Fail: Want " + str + " Got " + formatted); 554 US locale a string formatted according to mm/dd/yy and parses it
|
H A D | numfmtst.cpp | 2167 // We should be able to round-trip the formatted string => 2205 // We should be able to round-trip the formatted string => 2698 // currency number to be formatted, 2874 // currency amount to be formatted, 2875 // currency ISO code to be formatted, 2979 // currency amount to be formatted, 2980 // currency ISO code to be formatted, 5718 UnicodeString formatted = ctou(DATA[i]); local 5723 numFmt->parse(formatted, parseResult, status); 5727 errln("wrong parsing, " + formatted); 5739 UnicodeString formatted = ctou(WRONG_DATA[i]); local [all...] |
H A D | numrgts.cpp | 1380 UnicodeString formatted; local 1383 fmt->format(num, formatted, field); 1462 errln(UnicodeString("") + d1 + " is formatted as " + buffer); 1466 errln(UnicodeString("") + d2 + " is formatted as " + buffer); 1593 errln(/*d + */UnicodeString(" is formatted as ") + buffer); 2028 errln(UnicodeString("") + d1 + UnicodeString(" x \"") + df->toPattern(temp) + "\" is formatted as \"" + f1 + '"'); 2031 errln(UnicodeString("") + d2 + UnicodeString(" x \"") + df->toPattern(temp) + "\" is formatted as \"" + f2 + '"'); 2073 logln(UnicodeString("The number ") + dbl + " formatted to " + s);
|
H A D | dtfmttst.cpp | 580 UnicodeString formatted; ((Format*)fmt)->format(o, formatted, status); local 581 logln((UnicodeString)"Formatted string: " + formatted); 582 if (!(formatted == str)) errln((UnicodeString)"FAIL: Expected " + str);
|
/external/icu4c/test/cintltst/ |
H A D | udatpg_test.c | 228 UChar pattern[40], formatted[40]; local 337 formattedCapacity = (int32_t)(sizeof(formatted)/sizeof((formatted)[0])); 338 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity, 343 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, 345 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) {
|
H A D | cdtrgtst.c | 243 UChar* formatted=NULL; local 262 formatted = myFormatit(fmt, d1); 263 if( u_strcmp(formatted,str)!=0) { 264 log_err("Fail: Want %s Got: %s\n", austrdup(str), austrdup(formatted) ); 358 US locale a string formatted according to mm/dd/yy and parses it
|
/external/icu4c/test/intltest/ |
H A D | dtptngts.cpp | 690 UnicodeString formatted; local 691 formatted = formatter.format(Calendar::getNow(), formatted, status); 693 formatted.remove(); 696 formatted = formatter.format(testDate, formatted, status); 698 if ( formatted != expectedResult ) { 700 errln(UnicodeString(" Got: ")+ formatted + UnicodeString(" Expected: ") + expectedResult);
|
H A D | msfmrgts.cpp | 702 UnicodeString formatted; local 703 formatted = prefix + "YES"; 707 //Object[] objs = mf.parse(formatted, new ParsePosition(0)); 710 objs = mf->parse(formatted, pp, count); 713 log(" \"" + formatted + "\" parsed as "); 842 logln(" (incorrectly formatted string)"); 846 logln(" (correctly formatted string)");
|
H A D | dtfmrgts.cpp | 317 UnicodeString formatted; local 319 formatted = fmt->format( o, formatted, poss, status ); 321 logln( "Formatted string: " + formatted ); 322 if( formatted != str) 323 errln("Fail: Want " + str + " Got " + formatted); 554 US locale a string formatted according to mm/dd/yy and parses it
|
H A D | numrgts.cpp | 1380 UnicodeString formatted; local 1383 fmt->format(num, formatted, field); 1462 errln(UnicodeString("") + d1 + " is formatted as " + buffer); 1466 errln(UnicodeString("") + d2 + " is formatted as " + buffer); 1593 errln(/*d + */UnicodeString(" is formatted as ") + buffer); 2029 errln(UnicodeString("") + d1 + UnicodeString(" x \"") + df->toPattern(temp) + "\" is formatted as \"" + f1 + '"'); 2032 errln(UnicodeString("") + d2 + UnicodeString(" x \"") + df->toPattern(temp) + "\" is formatted as \"" + f2 + '"'); 2074 logln(UnicodeString("The number ") + dbl + " formatted to " + s);
|
H A D | dtfmttst.cpp | 615 UnicodeString formatted; ((Format*)fmt)->format(o, formatted, status); local 616 logln((UnicodeString)"Formatted string: " + formatted); 617 if (!(formatted == str)) errln((UnicodeString)"FAIL: Expected " + str);
|
H A D | numfmtst.cpp | 2173 // We should be able to round-trip the formatted string => 2211 // We should be able to round-trip the formatted string => 2577 // Parsing the formatted text will be out-of-range for an int64, however. 2720 // currency number to be formatted, 2895 // currency amount to be formatted, 2896 // currency ISO code to be formatted, 3001 // currency amount to be formatted, 3002 // currency ISO code to be formatted, 5740 UnicodeString formatted = ctou(DATA[i]); local 5745 numFmt->parse(formatted, parseResul 5761 UnicodeString formatted = ctou(WRONG_DATA[i]); local [all...] |
/external/v8/src/ |
H A D | string-stream.cc | 158 EmbeddedVector<char, 24> formatted; local 159 int length = OS::SNPrintF(formatted, temp.start(), value); 160 Add(Vector<const char>(formatted.start(), length)); 165 EmbeddedVector<char, 28> formatted; local 166 OS::SNPrintF(formatted, temp.start(), value); 167 Add(formatted.start()); 172 EmbeddedVector<char, 20> formatted; local 173 OS::SNPrintF(formatted, temp.start(), value); 174 Add(formatted.start());
|
/external/chromium/base/ |
H A D | string_util_unittest.cc | 1252 string16 formatted = local 1256 EXPECT_EQ(formatted, ASCIIToUTF16("9aa,8bb,7cc,6dd,5ee,4ff,3gg,2hh,1ii")); 1267 string16 formatted = local 1271 EXPECT_EQ(formatted, ASCIIToUTF16("9aa,8bb,7cc,d,e,f,9ag,8bh,7ci")); 1286 std::string formatted = local 1290 EXPECT_EQ(formatted, "9aa,8bb,7cc,6dd,5ee,4ff,3gg,2hh,1ii");
|
/external/chromium/net/base/ |
H A D | net_util_unittest.cc | 1364 std::wstring formatted = net::FormatUrl( local 1367 EXPECT_EQ(tests[i].output, formatted) << tests[i].description; 1375 std::wstring formatted = net::FormatUrl( local 1380 L"/%E3%82%B0/?q=%E3%82%B0#\x30B0", formatted); 1382 formatted.substr(parsed.username.begin, parsed.username.len)); 1384 formatted.substr(parsed.password.begin, parsed.password.len)); 1386 formatted.substr(parsed.host.begin, parsed.host.len)); 1387 EXPECT_EQ(L"8080", formatted.substr(parsed.port.begin, parsed.port.len)); 1389 formatted.substr(parsed.path.begin, parsed.path.len)); 1391 formatted [all...] |