Home
last modified time | relevance | path

Searched refs:formatted (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/external/chromium-trace/catapult/devil/docs/
Dmarkdown.md36 Returns markdown-formatted bold text.
39 Returns a markdown-formatted code block in the given language.
45 Returns markdown-formatted heading.
48 Returns markdown-formatted inline code.
51 Returns markdown-formatted italic text.
54 returns a markdown-formatted link.
90 A list of markdown-formatted lines.
104 A list of markdown-formatted lines.
110 Write a markdown-formatted docstring.
113 A list of markdown-formatted lines.
[all …]
/external/junit/src/main/java/org/junit/
DAssert.java179 String formatted = "Values should be different. "; in failEquals() local
181 formatted = message + ". "; in failEquals()
184 formatted += "Actual: " + actual; in failEquals()
185 fail(formatted); in failEquals()
751 String formatted = ""; in failNotNull() local
753 formatted = message + " "; in failNotNull()
755 fail(formatted + "expected null, but was:<" + actual + ">"); in failNotNull()
815 String formatted = ""; in failSame() local
817 formatted = message + " "; in failSame()
819 fail(formatted + "expected not same"); in failSame()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java176 String formatted; in TestBasics() local
179 formatted = df.formatDurationFromNow(4096); in TestBasics()
181 if(!expect.equals(formatted)) { in TestBasics()
182 errln("Expected " + expect + " but got " + formatted); in TestBasics()
184 logln("format duration -> " + formatted); in TestBasics()
187 formatted = df.formatDurationFromNowTo(new Date(0)); in TestBasics()
191 if(!expect.equals(formatted)) { in TestBasics()
192 errln("Expected " + expect + " but got " + formatted); in TestBasics()
194 logln("format date -> " + formatted); in TestBasics()
197 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()); in TestBasics()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DICUDurationTest.java177 String formatted; in TestBasics() local
180 formatted = df.formatDurationFromNow(4096); in TestBasics()
182 if(!expect.equals(formatted)) { in TestBasics()
183 errln("Expected " + expect + " but got " + formatted); in TestBasics()
185 logln("format duration -> " + formatted); in TestBasics()
188 formatted = df.formatDurationFromNowTo(new Date(0)); in TestBasics()
192 if(!expect.equals(formatted)) { in TestBasics()
193 errln("Expected " + expect + " but got " + formatted); in TestBasics()
195 logln("format date -> " + formatted); in TestBasics()
198 formatted = df.formatDurationFrom(1000*3600*24, new Date(0).getTime()); in TestBasics()
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DMethodSignatureFormatterTest.java54 String formatted = new MethodSignatureFormatter(compilationRule.getTypes()).format(method); in methodSignatureTest() local
58 assertThat(formatted).contains("@Singleton"); in methodSignatureTest()
59 assertThat(formatted).doesNotContain("@javax.inject.Singleton"); // maybe more importantly in methodSignatureTest()
60 assertThat(formatted) in methodSignatureTest()
63 assertThat(formatted).contains(" String "); // return type compressed in methodSignatureTest()
64 assertThat(formatted).contains("int, ImmutableList<Boolean>)"); // parameters compressed. in methodSignatureTest()
/external/testng/src/main/java/org/testng/
DAssertJUnit.java348 String formatted = ""; in failSame() local
350 formatted = message + " "; in failSame()
352 fail(formatted + "expected not same"); in failSame()
356 String formatted = ""; in failNotSame() local
358 formatted = message + " "; in failNotSame()
360 fail(formatted + "expected same:<" + expected + "> was not:<" + actual + ">"); in failNotSame()
368 String formatted = ""; in format() local
370 formatted = message + " "; in format()
373 return formatted + "expected:<" + expected + "> but was:<" + actual + ">"; in format()
DFileAssert.java257 String formatted = ""; in failFile() local
259 formatted = message + " "; in failFile()
261 fail(formatted + "expected <" + expected +"> but was <" + toString(path) + ">" in failFile()
272 String formatted = ""; in failSecurity() local
274 formatted = message + " "; in failSecurity()
276 fail(formatted + "expected <" + expected +"> but was <" + toString(path) + ">" in failSecurity()
DAssert.java419 String formatted = ""; in assertNotNull() local
421 formatted = message + " "; in assertNotNull()
423 fail(formatted + "expected object to not be null"); in assertNotNull()
497 String formatted = ""; in failSame() local
499 formatted = message + " "; in failSame()
501 fail(formatted + ASSERT_LEFT2 + expected + ASSERT_MIDDLE + actual + ASSERT_RIGHT); in failSame()
505 String formatted = ""; in failNotSame() local
507 formatted = message + " "; in failNotSame()
509 fail(formatted + ASSERT_LEFT + expected + ASSERT_MIDDLE + actual + ASSERT_RIGHT); in failNotSame()
517 String formatted = ""; in format() local
[all …]
/external/python/cpython2/Lib/
Dlocale.py202 formatted = percent % ((value,) + additional)
204 formatted = percent % value
208 parts = formatted.split('.')
213 formatted = decimal_point.join(parts)
215 formatted = _strip_padding(formatted, seps)
219 formatted, seps = _group(formatted, monetary=monetary)
221 formatted = _strip_padding(formatted, seps)
222 return formatted
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java79 String formatted = formats[style].format(source); in TestBasic() local
81 logln(tests[i] + " => " + formatted); in TestBasic()
85 … TimeUnitAmount result = (TimeUnitAmount) formats[parseStyle].parseObject(formatted); in TestBasic()
87 … errln("No round trip: " + source + " => " + formatted + " => " + result); in TestBasic()
241 String formatted; in TestGreek() local
250 formatted = timeUnitFormat.format(timeUnitAmount); in TestGreek()
257 expected[counter], formatted); in TestGreek()
313 String formatted = format.format(source); in formatParsing() local
315 logln(tests[i] + " => " + formatted); in formatParsing()
317 TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); in formatParsing()
[all …]
DDateTimeGeneratorTest.java258 String formatted = sdf.format(date); in TestBasic() local
259 …EST_DATA) logln("new String[] {\"" + testSkeleton + "\", \"" + Utility.escape(formatted) + "\"},"); in TestBasic()
267 String formatted = sdf.format(date); in TestBasic() local
269 … logln("new String[] {\"" + testSkeleton + "\", \"" + Utility.escape(formatted) + "\"},"); in TestBasic()
270 } else if (!formatted.equals(testFormatted)) { in TestBasic()
271 …Skeleton + "\t generated: " + pattern + "\t expected: " + testFormatted + "\t got: " + formatted); in TestBasic()
275 formatted = sdf.format(date); in TestBasic()
519 String formatted = formatter.format(new Date()); in DayMonthTest() local
520 logln("formatted=" + formatted); in DayMonthTest()
573 String formatted = newFormat.format(testDate); in TestReplacingZoneString() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java80 String formatted = formats[style].format(source); in TestBasic() local
82 logln(tests[i] + " => " + formatted); in TestBasic()
86 … TimeUnitAmount result = (TimeUnitAmount) formats[parseStyle].parseObject(formatted); in TestBasic()
88 … errln("No round trip: " + source + " => " + formatted + " => " + result); in TestBasic()
242 String formatted; in TestGreek() local
251 formatted = timeUnitFormat.format(timeUnitAmount); in TestGreek()
258 expected[counter], formatted); in TestGreek()
314 String formatted = format.format(source); in formatParsing() local
316 logln(tests[i] + " => " + formatted); in formatParsing()
318 TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); in formatParsing()
[all …]
DDateTimeGeneratorTest.java259 String formatted = sdf.format(date); in TestBasic() local
260 …EST_DATA) logln("new String[] {\"" + testSkeleton + "\", \"" + Utility.escape(formatted) + "\"},"); in TestBasic()
268 String formatted = sdf.format(date); in TestBasic() local
270 … logln("new String[] {\"" + testSkeleton + "\", \"" + Utility.escape(formatted) + "\"},"); in TestBasic()
271 } else if (!formatted.equals(testFormatted)) { in TestBasic()
272 …Skeleton + "\t generated: " + pattern + "\t expected: " + testFormatted + "\t got: " + formatted); in TestBasic()
276 formatted = sdf.format(date); in TestBasic()
520 String formatted = formatter.format(new Date()); in DayMonthTest() local
521 logln("formatted=" + formatted); in DayMonthTest()
574 String formatted = newFormat.format(testDate); in TestReplacingZoneString() local
[all …]
DDateIntervalFormatTest.java720 String formatted = dtitvfmt.format(dtitv); in expect() local
721 if ( !formatted.equals(Utility.unescape(expected)) ) { in expect()
722 … + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\tgot: " + formatted + "\n"); in expect()
816 String formatted = dtitvfmt.format(dtitv); in expectUserDII() local
817 if ( !formatted.equals(Utility.unescape(expected)) ) { in expectUserDII()
818 … + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\tgot: " + formatted + "\n"); in expectUserDII()
903 String formatted = dtitvfmt.format(dtitv).toString(); in expectUserCLDR() local
904 if ( !formatted.equals(Utility.unescape(expected)) ) { in expectUserCLDR()
905 … + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\tgot: " + formatted + "\n"); in expectUserCLDR()
/external/junit/src/main/java/junit/framework/
DAssert.java319 String formatted = (message != null) ? message + " " : ""; in failSame() local
320 fail(formatted + "expected not same"); in failSame()
324 String formatted = (message != null) ? message + " " : ""; in failNotSame() local
325 fail(formatted + "expected same:<" + expected + "> was not:<" + actual + ">"); in failNotSame()
333 String formatted = ""; in format() local
335 formatted = message + " "; in format()
337 return formatted + "expected:<" + expected + "> but was:<" + actual + ">"; in format()
/external/python/cpython2/Doc/library/
Dpprint.rst15 If the formatted structures include objects which are not fundamental Python
20 The formatted representation keeps objects on a single line if it can, and
46 formatted representation. The keywords are *indent*, *depth*, and *width*. The
52 the depth of the objects being formatted. The desired output width is
54 structure cannot be formatted within the constrained width, a best effort will
78 Return the formatted representation of *object* as a string. *indent*, *width*
88 Prints the formatted representation of *object* on *stream*, followed by a
113 Determine if the formatted representation of *object* is "readable," or can be
133 id=number>``. The representation is not otherwise formatted.
149 Return the formatted representation of *object*. This takes into account the
[all …]
/external/v8/src/
Dstring-stream.cc141 EmbeddedVector<char, 24> formatted; in Add() local
142 int length = SNPrintF(formatted, temp.start(), value); in Add()
143 Add(Vector<const char>(formatted.start(), length)); in Add()
156 EmbeddedVector<char, 28> formatted; in Add() local
157 SNPrintF(formatted, temp.start(), value); in Add()
158 Add(formatted.start()); in Add()
164 EmbeddedVector<char, 20> formatted; in Add() local
165 SNPrintF(formatted, temp.start(), value); in Add()
166 Add(formatted.start()); in Add()
/external/v8/benchmarks/
Dbase.js127 var formatted = BenchmarkSuite.FormatScore(100 * score);
128 runner.NotifyScore(formatted);
182 var formatted = BenchmarkSuite.FormatScore(100 * score);
183 this.runner.NotifyResult(this.name, formatted);
/external/markdown/tests/misc/
Dpre.txt9 * and this is pre-formatted content
11 * and not formatted as a list
/external/python/cpython2/Demo/tkinter/guido/
DManPage.py195 formatted = 0
197 formatted = 1
203 if not formatted:
211 if formatted:
/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp134 UnicodeString formatted; in testBasic() local
137 formatted = ((Format*)formats[style])->format(formattable, formatted, status); in testBasic()
141 formatted.extract(0, formatted.length(), formatResult, "UTF-8"); in testBasic()
145 ((Format*)formats[style])->parseObject(formatted, result, status); in testBasic()
152 ((Format*)formats[1-style])->parseObject(formatted, result_1, status); in testBasic()
Ddtptngts.cpp808 UnicodeString formatted; in testAPI() local
809 formatted = formatter.format(Calendar::getNow(), formatted, status); in testAPI()
811 formatted.remove(); in testAPI()
814 formatted = formatter.format(testDate, formatted, status); in testAPI()
816 if ( formatted != expectedResult ) { in testAPI()
818 errln(UnicodeString(" Got: ")+ formatted + UnicodeString(" Expected: ") + expectedResult); in testAPI()
/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c254 UChar pattern[40], formatted[40]; in TestBuilder() local
363 formattedCapacity = UPRV_LENGTHOF(formatted); in TestBuilder()
364 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity, in TestBuilder()
369 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, in TestBuilder()
371 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) { in TestBuilder()
/external/vogar/src/vogar/
DConsole.java291 String formatted; in formatElapsedTime() local
294 formatted = String.format("%d days ago", days); in formatElapsedTime()
297 formatted = String.format("%d hours ago", hours); in formatElapsedTime()
299 formatted = "less than an hour ago"; in formatElapsedTime()
303 return colorString(formatted, color); in formatElapsedTime()
/external/walt/ios/WALT/
DWALTLogger.m48 NSString *formatted = [[NSString alloc] initWithFormat:format arguments:args];
49 [_buffer appendString:formatted];

12345678910>>...12