Searched defs:formatted (Results 1 - 18 of 18) sorted by relevance

/external/oprofile/libutil++/
H A Dstring_manip.cpp130 string formatted = os.str(); local
131 if (is_prefix(formatted, "100."))
132 formatted.erase(formatted.size() - 1);
133 return formatted;
/external/chromium/base/
H A Dstring_util_unittest.cc878 string16 formatted = local
882 EXPECT_EQ(formatted, ASCIIToUTF16("9aa,8bb,7cc,6dd,5ee,4ff,3gg,2hh,1ii"));
893 string16 formatted = local
897 EXPECT_EQ(formatted, ASCIIToUTF16("9aa,8bb,7cc,d,e,f,9ag,8bh,7ci"));
912 std::string formatted = local
916 EXPECT_EQ(formatted, "9aa,8bb,7cc,6dd,5ee,4ff,3gg,2hh,1ii");
H A Dstring_util.cc846 OutStringType formatted; variable
847 formatted.reserve(format_string.length() + sub_length);
858 formatted.push_back('$');
866 static_cast<int>(formatted.size()));
874 formatted.append(subst.at(index));
878 formatted.push_back(*i);
887 return formatted;
/external/icu4c/test/cintltst/
H A Dudatpg_test.c228 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 Dcdtrgtst.c243 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 Ddtptngts.cpp741 UnicodeString formatted; local
742 formatted = formatter.format(Calendar::getNow(), formatted, status);
744 formatted.remove();
747 formatted = formatter.format(testDate, formatted, status);
749 if ( formatted != expectedResult ) {
751 errln(UnicodeString(" Got: ")+ formatted + UnicodeString(" Expected: ") + expectedResult);
H A Dmsfmrgts.cpp704 UnicodeString formatted; local
705 formatted = prefix + "YES";
709 //Object[] objs = mf.parse(formatted, new ParsePosition(0));
712 objs = mf->parse(formatted, pp, count);
715 log(" \"" + formatted + "\" parsed as ");
844 logln(" (incorrectly formatted string)");
848 logln(" (correctly formatted string)");
923 // can be used in that case and will be formatted as a single one.
H A Ddtfmrgts.cpp317 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);
556 US locale a string formatted according to mm/dd/yy and parses it
H A Dnumrgts.cpp1380 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);
2035 errln(UnicodeString("") + d1 + UnicodeString(" x \"") + df->toPattern(temp) + "\" is formatted as \"" + f1 + '"');
2038 errln(UnicodeString("") + d2 + UnicodeString(" x \"") + df->toPattern(temp) + "\" is formatted as \"" + f2 + '"');
2080 logln(UnicodeString("The number ") + dbl + " formatted to " + s);
H A Ddtfmttst.cpp627 UnicodeString formatted; ((Format*)fmt)->format(o, formatted, status); local
628 logln((UnicodeString)"Formatted string: " + formatted);
629 if (!(formatted == str)) errln((UnicodeString)"FAIL: Expected " + str);
3377 errln((UnicodeString)"FAIL: Improper formatted date: " + strf);
3380 errln((UnicodeString)"FAIL: Improper formatted date: " + strl);
3385 errln((UnicodeString)"FAIL: Improper formatted date: " + strm );
3389 errln((UnicodeString)"FAIL: Improper formatted date: " + strs);
3534 UnicodeString formatted; local
3535 formatter->format(date1, formatted);
[all...]
H A Dnumfmtst.cpp2438 // We should be able to round-trip the formatted string =>
2476 // We should be able to round-trip the formatted string =>
2849 // Parsing the formatted text will be out-of-range for an int64, however.
3039 // currency number to be formatted,
3217 // currency amount to be formatted,
3218 // currency ISO code to be formatted,
3314 // currency amount to be formatted,
3315 // currency ISO code to be formatted,
5964 UnicodeString formatted = ctou(DATA[i]); local
5970 numFmt->parseCurrency(formatted, parseResul
5986 UnicodeString formatted = ctou(WRONG_DATA[i]); local
[all...]
/external/v8/src/
H A Dstring-stream.cc157 EmbeddedVector<char, 24> formatted; local
158 int length = OS::SNPrintF(formatted, temp.start(), value);
159 Add(Vector<const char>(formatted.start(), length));
164 EmbeddedVector<char, 28> formatted; local
165 OS::SNPrintF(formatted, temp.start(), value);
166 Add(formatted.start());
171 EmbeddedVector<char, 20> formatted; local
172 OS::SNPrintF(formatted, temp.start(), value);
173 Add(formatted.start());
/external/chromium/net/base/
H A Dnet_util_unittest.cc1639 string16 formatted = FormatUrl( local
1642 EXPECT_EQ(WideToUTF16(tests[i].output), formatted) << tests[i].description;
1650 string16 formatted = FormatUrl( local
1657 L"/%E3%82%B0/?q=%E3%82%B0#\x30B0"), formatted);
1659 formatted.substr(parsed.username.begin, parsed.username.len));
1661 formatted.substr(parsed.password.begin, parsed.password.len));
1663 formatted.substr(parsed.host.begin, parsed.host.len));
1665 formatted.substr(parsed.port.begin, parsed.port.len));
1667 formatted.substr(parsed.path.begin, parsed.path.len));
1669 formatted
[all...]
/external/dexmaker/lib/
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/extensions/ junit/framework/ junit/runner/ junit/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.junit_3.8.2.v3_8_2_v20100427-1100/
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit3.8.2/ junit/awtui/ junit/extensions/ junit/framework/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 372 milliseconds