HomeSort by relevance Sort by last modified time
    Searched defs:fmt (Results 126 - 150 of 475) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/icu/icu4c/source/test/cintltst/
currtest.c 159 UNumberFormat *fmt = unum_open(UNUM_CURRENCY, NULL, 0, "hu_HU", NULL, &status); local
170 unum_formatDouble(fmt, 123.456, buffer, sizeof(buffer)/sizeof(buffer[0]), NULL, &status);
176 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 2);
177 unum_formatDouble(fmt, 123.456, buffer, sizeof(buffer)/sizeof(buffer[0]), NULL, &status);
183 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 3);
184 unum_formatDouble(fmt, 123.456, buffer, sizeof(buffer)/sizeof(buffer[0]), NULL, &status);
189 unum_close(fmt);
  /external/icu/icu4c/source/test/intltest/
calcasts.cpp 176 DateFormat *fmt = DateFormat::createDateInstance(DateFormat::kFull, Locale("ar_JO@calendar=islamic-civil")); local
177 if (fmt == NULL) {
183 fmt->setTimeZone(*TimeZone::getGMT());
184 fmt->format((UDate)2486076.5, result);
189 delete fmt;
callimts.cpp 52 CalendarLimitTest::test(UDate millis, icu::Calendar* cal, icu::DateFormat* fmt)
60 fmt->format(millis, theDate);
61 UDate dt = fmt->parse(theDate, status);
102 DateFormat *fmt = DateFormat::createDateTimeInstance(); local
103 if(!fmt || !cal) {
104 dataerrln("can't open cal and/or fmt");
107 fmt->adoptCalendar(cal);
108 ((SimpleDateFormat*) fmt)->applyPattern("HH:mm:ss.SSS Z, EEEE, MMMM d, yyyy G");
119 test(m, cal, fmt);
123 test(m, cal, fmt);
    [all...]
dcfmapts.cpp 811 UnicodeString fmt; local
812 fmt.remove();
813 assertEquals("Format 1234", "1234", df->format(1234, fmt));
815 fmt.remove();
816 assertEquals("Format 1234", "1234", df->format(1234, fmt));
818 fmt.remove();
819 assertEquals("Format 1234 w/ grouping", "1,234", df->format(1234, fmt));
dtfmapts.cpp 328 NumberFormat *fmt = NumberFormat::createInstance(status); local
329 if (fmt) {
330 fmt->format(numObj, str, status);
331 fmt->format(numObj, str, fpos, status);
332 delete fmt;
342 DecimalFormat fmt(status);
345 fmt.format(numObj, str, status);
346 fmt.format(numObj, str, fpos, status);
348 fmt.format(2.71828, str);
349 fmt.format((int32_t)1234567, str)
    [all...]
tfsmalls.cpp 90 DecimalFormat* fmt = (DecimalFormat*) NumberFormat::createInstance(status); local
95 fmt->setDecimalSeparatorAlwaysShown(TRUE);
104 //ToCharString(fmt->format(doubleNum[i], buf, pos), fmtText);
105 UnicodeString res = fmt->format(doubleNum[i], buf, pos);
112 delete fmt;
  /external/icu/icu4c/source/test/perf/DateFmtPerf/
DateFmtPerf.h 174 DateFormat *fmt; local
175 fmt = DateFormat::createDateTimeInstance(
188 fmt->setCalendar(*cal);
192 fmt->format(date, str, status2);
201 delete fmt;
259 NumberFormat *fmt = NumberFormat::createInstance(loc, status); local
268 fmt->parse(str, result, status);
276 fmt->format(result, str, status);
282 delete fmt; // Release the storage used by the formatter
  /external/iproute2/misc/
lnstat.c 174 char fmt[12]; local
177 snprintf(fmt, sizeof(fmt)-1, "%%%u.%us|", width, width);
179 snprintf(th.hdr[0]+ofs, width+2, fmt,
185 snprintf(th.hdr[h]+ofs, width+2, fmt, "");
188 snprintf(th.hdr[h]+ofs, width+2, fmt, cname);
  /external/libedit/src/
keymacro.c 590 static const char fmt[] = "%-15s-> %s\n"; local
599 (void) fprintf(el->el_outfile, fmt,
607 (void) fprintf(el->el_outfile, fmt,
623 (void) fprintf(el->el_outfile, fmt, ct_encode_string(key,
  /external/libnl/lib/route/
tc.c 216 char *unit, fmt[64]; local
218 strcpy(fmt, " %7.2f %s %10u %10u %10u %10u %10u\n");
226 fmt[11] = '9';
228 nl_dump_line(p, fmt, res, unit,
237 strcpy(fmt, " %7.2f %s/s%9u pps");
240 fmt[11] = '9';
242 nl_dump_line(p, fmt, res, unit, g->tc_stats[RTNL_TC_RATE_PPS]);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
code-reading.c 103 const char *fmt; local
107 fmt = "%s -d --start-address=0x%"PRIx64" --stop-address=0x%"PRIx64" %s";
108 ret = snprintf(cmd, sizeof(cmd), fmt, "objdump", addr, addr + len,
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
hists.c 94 static int perf_gtk__hpp_color_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \
204 struct perf_hpp_fmt *fmt; local
224 perf_hpp__for_each_format(fmt)
245 perf_hpp__for_each_format(fmt) {
246 fmt->header(fmt, &hpp);
296 perf_hpp__for_each_format(fmt) {
297 if (fmt->color)
298 fmt->color(fmt, &hpp, h)
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/stdio/
hist.c 321 struct perf_hpp_fmt *fmt; local
329 perf_hpp__for_each_format(fmt) {
340 if (perf_hpp__use_color() && fmt->color)
341 ret = fmt->color(fmt, hpp, he);
343 ret = fmt->entry(fmt, hpp, he);
378 struct perf_hpp_fmt *fmt; local
403 perf_hpp__for_each_format(fmt) {
409 fmt->header(fmt, &dummy_hpp)
    [all...]
  /external/lldb/source/Core/
RegisterValue.cpp 49 const char *fmt = format_string.GetData(); local
54 s->Printf (fmt, reg_info->name);
59 s->Printf (fmt, reg_info->alt_name);
70 s->Printf (fmt, reg_info->alt_name);
76 s->Printf (fmt, reg_info->name);
    [all...]
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_vbo.c 270 enum pipe_format fmt = ve->src_format; local
272 so->element[i].state = nv30_vtxfmt(pipe->screen, fmt)->hw;
274 switch (util_format_get_nr_components(fmt)) {
275 case 1: fmt = PIPE_FORMAT_R32_FLOAT; break;
276 case 2: fmt = PIPE_FORMAT_R32G32_FLOAT; break;
277 case 3: fmt = PIPE_FORMAT_R32G32B32_FLOAT; break;
278 case 4: fmt = PIPE_FORMAT_R32G32B32A32_FLOAT; break;
283 so->element[i].state = nv30_vtxfmt(pipe->screen, fmt)->hw;
296 transkey.element[j].output_format = fmt;
298 transkey.output_stride += (util_format_get_stride(fmt, 1) + 3) & ~3
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_vbo.c 75 enum pipe_format fmt = ve->src_format; local
78 so->element[i].state = nv50_format_table[fmt].vtx;
81 switch (util_format_get_nr_components(fmt)) {
82 case 1: fmt = PIPE_FORMAT_R32_FLOAT; break;
83 case 2: fmt = PIPE_FORMAT_R32G32_FLOAT; break;
84 case 3: fmt = PIPE_FORMAT_R32G32B32_FLOAT; break;
85 case 4: fmt = PIPE_FORMAT_R32G32B32A32_FLOAT; break;
90 so->element[i].state = nv50_format_table[fmt].vtx;
95 size = util_format_get_blocksize(fmt);
108 transkey.element[j].output_format = fmt;
    [all...]
  /external/mesa3d/src/gallium/state_trackers/egl/common/
egl_g3d.c 393 const EGLint *fmt = candidates; local
399 while (*fmt) {
400 EGLint i, n = *fmt++;
404 if (screen->is_format_supported(screen, fmt[i],
406 formats[count++] = fmt[i];
411 fmt += n;
  /external/mesa3d/src/gallium/state_trackers/egl/x11/
native_ximage.c 298 enum pipe_format fmt; local
305 fmt = PIPE_FORMAT_B8G8R8A8_UNORM;
308 fmt = PIPE_FORMAT_B8G8R8X8_UNORM;
311 fmt = PIPE_FORMAT_B5G6R5_UNORM;
314 fmt = PIPE_FORMAT_NONE;
318 return fmt;
331 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); local
334 if (fmt != PIPE_FORMAT_NONE) {
336 if (xdpy->configs[i].base.color_format == fmt) {
354 enum pipe_format fmt; local
457 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
vg_context.c 68 enum pipe_format *fmt; local
70 for (fmt = formats; *fmt != PIPE_FORMAT_NONE; fmt++) {
71 if (screen->is_format_supported(screen, *fmt,
76 ctx->ds_format = *fmt;
  /external/mesa3d/src/mesa/main/
framebuffer.c 518 const gl_format fmt = rb->Format; local
528 fb->Visual.redBits = _mesa_get_format_bits(fmt, GL_RED_BITS);
529 fb->Visual.greenBits = _mesa_get_format_bits(fmt, GL_GREEN_BITS);
530 fb->Visual.blueBits = _mesa_get_format_bits(fmt, GL_BLUE_BITS);
531 fb->Visual.alphaBits = _mesa_get_format_bits(fmt, GL_ALPHA_BITS);
534 if (_mesa_get_format_color_encoding(fmt) == GL_SRGB)
545 const gl_format fmt = rb->Format; local
547 if (_mesa_get_format_datatype(fmt) == GL_FLOAT) {
557 const gl_format fmt = rb->Format; local
559 fb->Visual.depthBits = _mesa_get_format_bits(fmt, GL_DEPTH_BITS)
565 const gl_format fmt = rb->Format; local
573 const gl_format fmt = rb->Format; local
    [all...]
  /external/pixman/test/
blitters-test.c 29 pixman_format_code_t fmt; local
38 fmt = allowed_formats[prng_rand_n (n)];
42 stride = (width * PIXMAN_FORMAT_BPP (fmt) + 7) / 8 +
60 img = pixman_image_create_bits (fmt, width, height, buf, stride);
62 if (PIXMAN_FORMAT_TYPE (fmt) == PIXMAN_TYPE_COLOR)
64 pixman_image_set_indexed (img, &(rgb_palette[PIXMAN_FORMAT_BPP (fmt)]));
66 else if (PIXMAN_FORMAT_TYPE (fmt) == PIXMAN_TYPE_GRAY)
68 pixman_image_set_indexed (img, &(y_palette[PIXMAN_FORMAT_BPP (fmt)]));
76 if (used_fmt) *used_fmt = fmt;
84 pixman_format_code_t fmt)
    [all...]
  /external/stlport/src/
time_facets.cpp 465 const char * fmt = _Locale_d_fmt(time); local
468 while (*fmt != 0 && *fmt != '%') ++fmt;
469 if (*fmt == 0)
471 first = *++fmt;
472 while (*fmt != 0 && *fmt != '%') ++fmt;
473 if (*fmt == 0
    [all...]
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 670 int fmt = -1; local
672 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt));
673 EXPECT_EQ(fmts[i], fmt);
  /hardware/libhardware/tests/camera2/
CameraStreamFixture.h 59 char fmt[100]; local
61 ANDROID_SCALER_AVAILABLE_FORMATS, p.mFormat, fmt, sizeof(fmt));
65 *os << "Format name: " << fmt << ", "; local
  /hardware/samsung_slsi/exynos5/include/
s5p_fimc_v4l2.h 114 unsigned int fmt; member in struct:yuv_fmt_list

Completed in 3841 milliseconds

1 2 3 4 56 7 8 91011>>