/art/tools/ahat/src/ |
Summarizer.java | 37 DocString formatted = new DocString(); local 39 formatted.append("null"); 40 return formatted; 45 formatted.append(DocString.added("new ")); 50 formatted.append(DocString.removed("del ")); 55 formatted.append("unreachable "); 60 formatted.append("root "); 73 formatted.append(linkText); 76 formatted.appendLink(objTarget, linkText); 82 formatted.appendFormat(" \"%s", stringValue) [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DontCareFieldPosition.java | 38 public void formatted(Format.Field attr, Object value, int start, 41 public void formatted(int fieldID, Format.Field attr, Object value,
|
CharacterIteratorFieldDelegate.java | 38 * Array of AttributeStrings. Whenever <code>formatted</code> is invoked 40 * attributedStrings. Subsequent invocations of <code>formatted</code> 56 public void formatted(Format.Field attr, Object value, int start, int end, method in class:CharacterIteratorFieldDelegate 95 public void formatted(int fieldID, Format.Field attr, Object value, method in class:CharacterIteratorFieldDelegate 97 formatted(attr, value, start, end, buffer); method 102 * to iterate over the resulting formatted String.
|
/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())) { 124 * Generate the formatted number by ignoring all non-dialable chars and stick the cursor to the 131 String formatted = null; local 140 formatted = getFormattedNumber(lastNonSeparator, hasCursor); 150 formatted = getFormattedNumber(lastNonSeparator, hasCursor); 152 return formatted; [all...] |
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
MethodSignatureFormatterTest.java | 54 String formatted = new MethodSignatureFormatter(compilationRule.getTypes()).format(method); local 58 assertThat(formatted).contains("@Singleton"); 59 assertThat(formatted).doesNotContain("@javax.inject.Singleton"); // maybe more importantly 60 assertThat(formatted) 63 assertThat(formatted).contains(" String "); // return type compressed 64 assertThat(formatted).contains("int, ImmutableList<Boolean>)"); // parameters compressed.
|
/tools/tradefederation/core/tests/src/com/android/tradefed/profiler/ |
MetricOutputDataTest.java | 49 String formatted = mOutputUtil.mMetrics.toString(); local 50 Assert.assertEquals(expected, formatted); 62 String formatted = mOutputUtil.mMetrics.toString(); local 63 Assert.assertEquals(expected, formatted);
|
/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);
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
PhoneDataItem.java | 88 * Returns the formatted phone number (if already computed using {@link 93 final String formatted = getFormattedPhoneNumber(); local 94 if (formatted != null) { 95 return formatted;
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
PhoneDataItem.java | 64 * Returns the formatted phone number (if already computed using {@link 69 final String formatted = getFormattedPhoneNumber(); local 70 if (formatted != null) { 71 return formatted;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
ICUDurationTest.java | 177 String formatted; local 180 formatted = df.formatDurationFromNow(4096); 182 if(!expect.equals(formatted)) { 183 errln("Expected " + expect + " but got " + formatted); 185 logln("format duration -> " + formatted); 188 formatted = df.formatDurationFromNowTo(new Date(0)); 192 if(!expect.equals(formatted)) { 193 errln("Expected " + expect + " but got " + formatted); 195 logln("format date -> " + formatted); 198 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
ICUDurationTest.java | 176 String formatted; local 179 formatted = df.formatDurationFromNow(4096); 181 if(!expect.equals(formatted)) { 182 errln("Expected " + expect + " but got " + formatted); 184 logln("format duration -> " + formatted); 187 formatted = df.formatDurationFromNowTo(new Date(0)); 191 if(!expect.equals(formatted)) { 192 errln("Expected " + expect + " but got " + formatted); 194 logln("format date -> " + formatted); 197 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()) [all...] |
/external/junit/src/main/java/org/junit/ |
Assert.java | 179 String formatted = "Values should be different. "; local 181 formatted = message + ". "; 184 formatted += "Actual: " + actual; 185 fail(formatted); 751 String formatted = ""; local 753 formatted = message + " "; 755 fail(formatted + "expected null, but was:<" + actual + ">"); 815 String formatted = ""; local 817 formatted = message + " "; 819 fail(formatted + "expected not same") 824 String formatted = ""; local 838 String formatted = ""; local [all...] |
/external/walt/ios/WALT/ |
WALTLogger.m | 48 NSString *formatted = [[NSString alloc] initWithFormat:format arguments:args]; 49 [_buffer appendString:formatted];
|
/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
|
/art/test/021-string2/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+">";
|
/art/test/082-inline-execute/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/testng/src/main/java/org/testng/ |
AssertJUnit.java | 348 String formatted = ""; local 350 formatted = message + " "; 352 fail(formatted + "expected not same"); 356 String formatted = ""; local 358 formatted = message + " "; 360 fail(formatted + "expected same:<" + expected + "> was not:<" + actual + ">"); 368 String formatted = ""; local 370 formatted = message + " "; 373 return formatted + "expected:<" + expected + "> but was:<" + actual + ">";
|
/frameworks/base/legacy-test/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+">";
|
/sdk/find_java2/src/ |
utils.cpp | 90 CString formatted;
local 93 formatted.FormatV(text, ap);
97 MessageBox(NULL, formatted, gAppName, MB_OK | MB_ICONINFORMATION);
126 CString formatted;
local 129 formatted.FormatV(description, ap);
133 formatted.Append(_T("\r\n"));
134 formatted.Append(error);
137 _ftprintf(stderr, _T("%s\n"), (LPCTSTR) formatted);
141 MessageBox(NULL, formatted, name, MB_OK | MB_ICONERROR);
|
/external/curl/docs/cmdline-opts/ |
oauth2-bearer.d | 9 The Bearer Token and user name are formatted according to RFC 6750.
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
FormattedStringModel.java | 35 * All formatted strings that are cached for performance are accessed via this model. 44 * Caches formatted numbers in the current locale padded with zeroes to requested lengths. 46 * The second level of the cache maps an integer to a formatted String in the current locale. 68 * @return the {@code value} formatted as a String in the current locale 83 * @return the {@code value} formatted as a String in the current locale and padded to the 101 * @return the {@code value} formatted as a String in the current locale and padded to the 118 // Look up the cached formatted value using the value. 119 String formatted = valueCache.get(value); local 120 if (formatted == null) { 122 formatted = String.format(Locale.getDefault(), sign + "%0" + length + "d", value) [all...] |
/external/junit/src/main/java/junit/framework/ |
Assert.java | 319 String formatted = (message != null) ? message + " " : ""; local 320 fail(formatted + "expected not same"); 324 String formatted = (message != null) ? message + " " : ""; local 325 fail(formatted + "expected same:<" + expected + "> was not:<" + actual + ">"); 333 String formatted = ""; local 335 formatted = message + " "; 337 return formatted + "expected:<" + expected + "> but was:<" + actual + ">";
|