HomeSort by relevance Sort by last modified time
    Searched defs:format (Results 401 - 425 of 4676) sorted by null

<<11121314151617181920>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
TimeUnitTest.java 10 package android.icu.dev.test.format;
48 assertEquals("Test10219", expected[i], tuf.format(new TimeUnitAmount(1.588, TimeUnit.MINUTE)));
84 String formatted = formats[style].format(source);
106 TimeUnitFormat format = new TimeUnitFormat(); local
107 format.setLocale(new ULocale("pt_BR"));
108 formatParsing(format);
109 format = new TimeUnitFormat(new ULocale("de"));
110 formatParsing(format);
111 format = new TimeUnitFormat(new ULocale("ja"));
112 format.setNumberFormat(NumberFormat.getNumberInstance(new ULocale("en")))
    [all...]
  /external/icu/icu4c/source/i18n/
format.cpp 9 * File FORMAT.CPP
21 // This file was generated from the java source file Format.java
45 /* Format class implementation ---------------------------------------------- */
49 #include "unicode/format.h"
55 // class Format
72 Format::Format()
80 Format::~Format()
87 Format::Format(const Format &that
111 Format::format(const Formattable& obj, function in class:Format
127 Format::format(const Formattable& \/* unused obj *\/, function in class:Format
    [all...]
quantityformatter.cpp 115 UnicodeString &QuantityFormatter::format( function in class:QuantityFormatter
135 return format(*pattern, formattedNumber, appendTo, pos, status);
160 decFmt->format(digits, formattedNumber, pos, status);
172 fmt.format(number, formattedNumber, pos, status);
177 UnicodeString &QuantityFormatter::format( function in class:QuantityFormatter
selfmt.cpp 51 SelectFormat::SelectFormat(const SelectFormat& other) : Format(other),
71 SelectFormat::format(const Formattable& obj, function in class:SelectFormat
80 return format(obj.getString(status), appendTo, pos, status);
88 SelectFormat::format(const UnicodeString& keyword, function in class:SelectFormat
154 Format* SelectFormat::clone() const
168 SelectFormat::operator==(const Format& other) const {
172 if (!Format::operator==(other)) {
180 SelectFormat::operator!=(const Format& other) const {
  /external/icu/icu4c/source/test/intltest/
caltztst.cpp 138 // Tries to mimic the Java Date.toString() format.
150 DateFormat* format = getDateFormat(); local
151 if (format == 0)
156 format->format(d, str);
157 releaseDateFormat(format);
166 DateFormat* format = getDateFormat(); local
167 if (format == 0)
172 TimeZone* save = format->getTimeZone().clone();
173 format->setTimeZone(tz)
    [all...]
numfmtspectest.cpp 48 static UnicodeString format(double d, const NumberFormat &fmt) { function
50 fmt.format(d, result);
110 assertEquals("", "34 567,89", format(1234567.89, *nf), TRUE);
111 assertEquals("", "0 034,56", format(34.56, *nf), TRUE);
203 fmt.format(433.22, result);
221 fmt.format(-433.22, result);
240 fmt.format(4.33, result);
266 fmt.format(x, result);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
RelativeDateFormat.java 105 * @see com.ibm.icu.text.DateFormat#format(com.ibm.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition)
108 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, method in class:RelativeDateFormat
149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition);
156 fDateTimeFormat.format(cal, toAppendTo, fieldPosition);
165 fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPosition(0));
167 fDateTimeFormat.format(cal, toAppendTo, fieldPosition);
175 fDateFormat.format(cal, toAppendTo, fieldPosition);
213 private MessageFormat fCombinedFormat; // the {0} {1} format.
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
LocalizedNumberFormatter.java 20 * A NumberFormatter that has a locale associated with it; this means .format() methods are available.
41 * Format the given byte, short, int, or long to a string using the settings specified in the NumberFormatter fluent
45 * The number to format.
51 public FormattedNumber format(long input) { method in class:LocalizedNumberFormatter
52 return format(new DecimalQuantity_DualStorageBCD(input));
56 * Format the given float or double to a string using the settings specified in the NumberFormatter fluent setting
60 * The number to format.
66 public FormattedNumber format(double input) { method in class:LocalizedNumberFormatter
67 return format(new DecimalQuantity_DualStorageBCD(input));
71 * Format the given {@link BigInteger}, {@link BigDecimal}, or other {@link Number} to a string using the se (…)
81 public FormattedNumber format(Number input) { method in class:LocalizedNumberFormatter
100 public FormattedNumber format(Measure input) { method in class:LocalizedNumberFormatter
132 public FormattedNumber format(DecimalQuantity fq) { method in class:LocalizedNumberFormatter
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
ScientificNumberFormatterTest.java 9 package com.ibm.icu.dev.test.format;
35 markup.format(1.23456e-78));
39 superscript.format(1.23456e-78));
50 fmt.format(1.23456e-78));
64 fmt.format(6.02e23));
77 fmt.format(6.02e23));
88 fmt.format(123456.0));
98 fmt.format(123456.0));
SelectFormatUnitTest.java 10 package com.ibm.icu.dev.test.format;
59 assertEquals("should use first occurrence of the 'odd' keyword", "foo", selFmt.format("odd"));
61 assertEquals("should use first occurrence of the 'other' keyword", "bar", selFmt.format("other"));
87 selFmt.format( keywords[i]);
101 * API tests for applyPattern and format
142 log("SelectFormat Unit test: Testing applyPattern() and format() ...");
154 //Format with the keyword array
156 assertEquals("ERROR: SelectFormat Unit test failed in format() with unexpected result", selFmt.format(formatArgs[j]) ,expFormatResult[i][j] );
TimeUnitTest.java 9 package com.ibm.icu.dev.test.format;
45 assertEquals("Test10219", expected[i], tuf.format(new TimeUnitAmount(1.588, TimeUnit.MINUTE)));
81 String formatted = formats[style].format(source);
103 TimeUnitFormat format = new TimeUnitFormat(); local
104 format.setLocale(new ULocale("pt_BR"));
105 formatParsing(format);
106 format = new TimeUnitFormat(new ULocale("de"));
107 formatParsing(format);
108 format = new TimeUnitFormat(new ULocale("ja"));
109 format.setNumberFormat(NumberFormat.getNumberInstance(new ULocale("en")))
    [all...]
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
PercentageColumn.java 83 td.text(format(counter.getCoveredRatio())); method
93 private String format(double ratio) { method in class:PercentageColumn
94 return percentageFormat.format(
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/
XMLDocument.java 14 import static java.lang.String.format;
102 writer.write(format(HEADER_STANDALONE, encoding)); method
104 writer.write(format(HEADER, encoding)); method
107 writer.write(format(DOCTYPE, rootnode, pubId, system)); method
  /external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/other/
GrammarLetterGenerator.java 24 String start = format(i);
28 String end = format(i - 1);
50 private static String format(int i) { method in class:GrammarLetterGenerator
51 return String.format("\"\\u%04x\"", i);
  /external/junit/src/main/java/junit/framework/
Assert.java 329 fail(format(message, expected, actual)); method
332 public static String format(String message, Object expected, Object actual) { method in class:Assert
  /external/libxcam/xcore/
fake_poll_thread.cpp 137 struct v4l2_format format; local
139 _capture_dev->get_format (format) != XCAM_RETURN_NO_ERROR) {
140 XCAM_LOG_ERROR ("Can't init buffer pool without format");
144 info.init(format.fmt.pix.pixelformat,
145 format.fmt.pix.width,
146 format.fmt.pix.height, 0, 0, 0);
  /external/libyuv/files/source/
convert_to_argb.cc 44 uint32 format = CanonicalFourCC(fourcc); local
58 (rotation && format != FOURCC_ARGB) || crop_argb == sample;
82 switch (format) {
174 if (format == FOURCC_YV12) {
211 if (format == FOURCC_YV16) {
231 if (format == FOURCC_YV24) {
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_transfer.c 44 * underlying format. */
46 etna_compute_offset(enum pipe_format format, const struct pipe_box *box,
50 box->y / util_format_get_blockheight(format) * stride +
51 box->x / util_format_get_blockwidth(format) *
52 util_format_get_blocksize(format);
76 * tiling format. Write back the updated buffer contents.
86 if (rsc->layout == ETNA_LAYOUT_TILED && !util_format_is_compressed(rsc->base.format)) {
91 ptrans->stride, util_format_get_blocksize(rsc->base.format));
92 } else { /* non-tiled or compressed format */
93 util_copy_box(mapped, rsc->base.format, res_level->stride
133 enum pipe_format format = prsc->format; local
    [all...]
  /external/mesa3d/src/gallium/drivers/ilo/core/
ilo_state_zs.h 52 enum gen_depth_format format; member in struct:ilo_state_zs_info
  /external/mesa3d/src/gallium/drivers/r300/
r300_transfer.c 67 blit.src.format = src->format;
71 blit.dst.format = dst->format;
114 enum pipe_format format = tex->b.b.format; local
139 r300_is_blit_supported(texture->format))) {
149 base.format = texture->format;
241 box->y / util_format_get_blockheight(format) * trans->transfer.stride
    [all...]
  /external/mesa3d/src/gallium/include/state_tracker/
vdpau_dmabuf.h 66 uint32_t format; member in struct:VdpSurfaceDMABufDesc
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_context.h 41 uint32_t format[2]; member in struct:nv04_context
  /external/mockito/src/main/java/org/mockito/internal/junit/
StubbingArgMismatches.java 16 * Contains stubbing arg mismatches, knows how to format them
31 public void format(String testName, MockitoLogger logger) { method in class:StubbingArgMismatches
  /external/parameter-framework/upstream/test/functional-tests/include/
ConfigFiles.hpp 47 format(mStructureTemplate, {{"type", config.subsystemType},
51 mDomainsFile(format(mDomainsTemplate, {{"domains", config.domains}})),
52 mConfigFile(format(mConfigTemplate, {{"structurePath", mStructureFile.getPath()},
77 std::string format(std::string format, std::map<std::string, std::string> subs) function in class:parameterFramework::ConfigFiles
80 replace(format, '{' + sub.first + '}', sub.second);
82 return format;
  /external/perfetto/tools/ftrace_proto_gen/
main.cc 77 std::string input_path = input_dir + event + std::string("/format");
86 perfetto::FtraceEvent format; local
87 if (!perfetto::ParseFtraceEvent(contents, &format)) {
93 if (!perfetto::GenerateProto(format, &proto)) {
100 std::regex event_regex(format.name + "\\s*=\\s*(\\d+)");
107 format.name.c_str());
112 PrintInodeHandlerMain(format.name, proto);
115 perfetto::SingleEventInfo(format, proto, group, proto_field_id));

Completed in 421 milliseconds

<<11121314151617181920>>