HomeSort by relevance Sort by last modified time
    Searched defs:formatted (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/libaddressinput/src/cpp/src/util/
string_util.cc 33 std::string formatted; local
34 formatted.reserve(format_string.length() + sub_length);
44 formatted.push_back('$');
58 formatted.append(subst.at(index));
62 formatted.push_back(*i);
65 return formatted;
  /art/test/021-string2/src/junit/framework/
Assert.java 268 String formatted= ""; local
270 formatted= message+" ";
271 fail(formatted+"expected not same");
275 String formatted= ""; local
277 formatted= message+" ";
278 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">");
286 String formatted= ""; local
288 formatted= message+" ";
289 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
  /art/test/082-inline-execute/src/junit/framework/
Assert.java 268 String formatted= ""; local
270 formatted= message+" ";
271 fail(formatted+"expected not same");
275 String formatted= ""; local
277 formatted= message+" ";
278 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">");
286 String formatted= ""; local
288 formatted= message+" ";
289 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
  /external/chromium_org/chrome/browser/ui/toolbar/
origin_chip_info.cc 214 base::string16 formatted = net::FormatUrl(url.GetOrigin(), languages, local
217 if (StartsWith(formatted, base::ASCIIToUTF16("http://"), false))
218 formatted = formatted.substr(7);
219 else if (StartsWith(formatted, base::ASCIIToUTF16("https://"), false))
220 formatted = formatted.substr(8);
221 else if (StartsWith(formatted, base::ASCIIToUTF16("ftp://"), false))
222 formatted = formatted.substr(6)
    [all...]
  /external/junit/src/junit/framework/
Assert.java 273 String formatted= ""; local
275 formatted= message+" ";
276 fail(formatted+"expected not same");
280 String formatted= ""; local
282 formatted= message+" ";
283 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">");
291 String formatted= ""; local
293 formatted= message+" ";
294 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
ComparisonCompactor.java 82 String formatted= ""; local
84 formatted= message+" ";
85 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
  /external/oprofile/libutil++/
string_manip.cpp 130 string formatted = os.str(); local
131 if (is_prefix(formatted, "100."))
132 formatted.erase(formatted.size() - 1);
133 return formatted;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
PhoneDataItem.java 68 * Returns the formatted phone number (if already computed using {@link
73 final String formatted = getFormattedPhoneNumber(); local
74 if (formatted != null) {
75 return formatted;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
Clock.java 195 SpannableStringBuilder formatted = new SpannableStringBuilder(result); local
197 formatted.delete(magic1, magic2+1);
201 formatted.setSpan(style, magic1, magic2,
204 formatted.delete(magic2, magic2 + 1);
205 formatted.delete(magic1, magic1 + 1);
207 return formatted;
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java 108 String formatted = reformat(s, Selection.getSelectionEnd(s)); local
109 if (formatted != null) {
112 s.replace(0, s.length(), formatted, 0, formatted.length());
115 if (formatted.equals(s.toString())) {
123 * Generate the formatted number by ignoring all non-dialable chars and stick the cursor to the
130 String formatted = null; local
139 formatted = getFormattedNumber(lastNonSeparator, hasCursor);
149 formatted = getFormattedNumber(lastNonSeparator, hasCursor);
151 return formatted;
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
PhoneNumberTestService.java 96 String formatted; local
103 formatted = util.format(pn, format);
107 formatted = "Error: " + e.toString();
110 + ") = " + formatted + " / truncated = " + truncated
  /sdk/find_java/src/source/
utils.cpp 31 CString formatted; local
34 formatted.setv(text, ap);
37 MessageBoxA(NULL, formatted.cstr(), "Android SDK Manager", MB_OK | MB_ICONINFORMATION);
42 CString formatted; local
45 formatted.setv(description, ap);
50 formatted.add("\r\n");
51 formatted.add(error.cstr());
54 fprintf(stderr, "%s\n", formatted.cstr());
56 MessageBox(NULL, formatted.cstr(), "Android SDK Manager - Error", MB_OK | MB_ICONERROR);
  /external/chromium_org/components/autofill/core/browser/
phone_number_i18n.cc 48 // into |formatted_number|. Also, normalizes the formatted number, and writes
246 // The formatted and normalized versions will be set on the first call to
271 base::string16 formatted = whole_number_; local
273 FormatValidatedNumber(*i18n_number_, base::string16(), &formatted, NULL);
275 return formatted;
  /external/junit/src/org/junit/
Assert.java 630 String formatted= ""; local
632 formatted= message + " ";
633 fail(formatted + "expected not same");
638 String formatted= ""; local
640 formatted= message + " ";
641 fail(formatted + "expected same:<" + expected + "> was not:<" + actual
651 String formatted= ""; local
653 formatted= message + " ";
657 return formatted + "expected: "
661 return formatted + "expected:<" + expectedString + "> but was:<
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UnwrapRefactoring.java 217 MultiTextEdit formatted = reformat(rootEdit, XmlFormatStyle.LAYOUT); local
218 if (formatted != null) {
219 rootEdit = formatted;
  /external/chromium_org/net/base/
net_util_icu_unittest.cc 697 base::string16 formatted = FormatUrl( local
700 EXPECT_EQ(WideToUTF16(tests[i].output), formatted) << tests[i].description;
708 base::string16 formatted = FormatUrl( local
715 L"/%E3%82%B0/?q=%E3%82%B0#\x30B0"), formatted);
717 formatted.substr(parsed.username.begin, parsed.username.len));
719 formatted.substr(parsed.password.begin, parsed.password.len));
721 formatted.substr(parsed.host.begin, parsed.host.len));
723 formatted.substr(parsed.port.begin, parsed.port.len));
725 formatted.substr(parsed.path.begin, parsed.path.len));
727 formatted.substr(parsed.query.begin, parsed.query.len))
878 base::string16 formatted = FormatUrl(url, local
899 base::string16 formatted = FormatUrl(url, local
917 base::string16 formatted = FormatUrl(url, local
942 base::string16 formatted = FormatUrl(url, local
    [all...]
  /external/chromium_org/ui/base/l10n/
l10n_util.cc 712 base::string16 formatted = ReplaceStringPlaceholders( local
714 AdjustParagraphDirectionality(&formatted);
716 return formatted;
  /external/chromium_org/base/strings/
string_util_unittest.cc 875 string16 formatted = local
879 EXPECT_EQ(formatted, ASCIIToUTF16("9aa,8bb,7cc,d,e,f,9ag,8bh,7ci"));
894 string16 formatted = local
898 EXPECT_EQ(formatted, ASCIIToUTF16("9aa,8bb,7cc,6dd,5ee,4ff,3gg,2hh,1ii"));
918 string16 formatted = local
939 std::string formatted = local
    [all...]
  /external/chromium_org/chromeos/network/
network_event_log.cc 41 icu::UnicodeString formatted; local
42 formatter.format(static_cast<UDate>(time.ToDoubleT() * 1000), formatted); local
43 base::string16 formatted16(formatted.getBuffer(),
44 static_cast<size_t>(formatted.length()));
49 std::string formatted = IcuFormattedString(time, "yyMMddHHmmss"); local
51 // append '.' + usecs to the end of the formatted string.
53 return base::StringPrintf("%s.%06d", formatted.c_str(), usecs);
61 std::string formatted = IcuFormattedString(time, "HHmmss"); local
64 return base::StringPrintf("%s.%03d", formatted.c_str(), msecs);
  /external/chromium_org/third_party/icu/source/test/cintltst/
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 ) {
  /external/chromium_org/third_party/icu/source/test/intltest/
dtptngts.cpp 487 logln(UnicodeString(" Formatted date:") + rDate);
512 logln(UnicodeString(" Formatted date:") + rDate);
731 UnicodeString formatted; local
    [all...]
msfmrgts.cpp 109 logln("Formatted with one extra param : " + tempBuffer);
128 logln("Formatted with no params : " + tempBuffer);
133 errln("Formatted with arguments > subsitution failed. result = " + tempBuffer);
134 logln("Formatted with extra params : " + tempBuffer);
198 logln("Formatted with 7 : " + tempBuffer);
255 logln("Formatted with null : " + tempBuffer);*/
263 logln("Formatted with params : " + tempBuffer);
268 logln("Formatted with null : " + tempBuffer);
702 UnicodeString formatted; local
703 formatted = prefix + "YES"
    [all...]
  /external/chromium_org/v8/src/
string-stream.cc 131 EmbeddedVector<char, 24> formatted; local
132 int length = SNPrintF(formatted, temp.start(), value);
133 Add(Vector<const char>(formatted.start(), length));
138 EmbeddedVector<char, 28> formatted; local
139 SNPrintF(formatted, temp.start(), value);
140 Add(formatted.start());
145 EmbeddedVector<char, 20> formatted; local
146 SNPrintF(formatted, temp.start(), value);
147 Add(formatted.start());
  /external/icu/icu4c/source/test/cintltst/
udatpg_test.c 251 UChar pattern[40], formatted[40]; local
360 formattedCapacity = (int32_t)(sizeof(formatted)/sizeof((formatted)[0]));
361 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity,
366 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity,
368 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) {
  /external/icu/icu4c/source/test/intltest/
msfmrgts.cpp 106 logln("Formatted with one extra param : " + tempBuffer);
125 logln("Formatted with no params : " + tempBuffer);
130 errln("Formatted with arguments > subsitution failed. result = " + tempBuffer);
131 logln("Formatted with extra params : " + tempBuffer);
200 logln("Formatted with 7 : " + tempBuffer);
257 logln("Formatted with null : " + tempBuffer);*/
265 logln("Formatted with params : " + tempBuffer);
270 logln("Formatted with null : " + tempBuffer);
704 UnicodeString formatted; local
705 formatted = prefix + "YES"
    [all...]

Completed in 2420 milliseconds

1 2 3 4 5