/external/autotest/client/site_tests/camera_V4L2/src/ |
media_v4l2_device.cc | 106 v4l2_format fmt; local 107 if (!GetV4L2Format(&fmt)) 110 fmt.fmt.pix.width = width; 111 fmt.fmt.pix.height = height; 112 fmt.fmt.pix.pixelformat = pixfmt; 113 fmt.fmt.pix.field = V4L2_FIELD_NONE [all...] |
media_v4l2_test.cc | 348 v4l2_format fmt; local 349 if (!device->GetV4L2Format(&fmt)) { 352 if (test_format->width != fmt.fmt.pix.width || 353 test_format->height != fmt.fmt.pix.height || 354 test_format->fourcc != fmt.fmt.pix.pixelformat ||
|
/external/e2fsprogs/misc/ |
dumpe2fs.c | 330 const char *header, *fmt; local 344 header = fmt = "%u\n"; 347 fmt = ", %u"; 350 printf(header ? header : fmt, blk);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 179 SimpleDateFormat fmt = new SimpleDateFormat(dateFormat); local 183 Date d = fmt.parse("01/22/92 04:52:00 GMT", p0);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 191 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG); local 192 fmt.setTimeZone(tz); 195 logln("PASS: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBoundary))); 197 errln("FAIL: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBoundary))); 224 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG); local 225 fmt.setTimeZone(zone); 233 fmt.format(d) + " = " + d.getTime(); [all...] |
/external/icu/icu4c/source/i18n/ |
fmtable.cpp | 912 UFormattable *fmt = (new Formattable())->toUFormattable(); local 914 if( fmt == NULL ) { 917 return fmt; 921 ufmt_close(UFormattable *fmt) { 922 Formattable *obj = Formattable::fromUFormattable(fmt); 928 ufmt_getType(const UFormattable *fmt, UErrorCode *status) { 932 const Formattable *obj = Formattable::fromUFormattable(fmt); 938 ufmt_isNumeric(const UFormattable *fmt) { 939 const Formattable *obj = Formattable::fromUFormattable(fmt); 944 ufmt_getDate(const UFormattable *fmt, UErrorCode *status) [all...] |
nfsubs.cpp | 715 NumberFormat* fmt = NumberFormat::createInstance(status); local 717 fmt->parse(text, result, parsePosition); 719 delete fmt; 1140 NumberFormat* fmt = NULL; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cmsgtst.c | 389 UMessageFormat* fmt = NULL; local 414 fmt = umsg_open(pattern,u_strlen(pattern),"en_US",&parseError,&status); 421 resultLengthOut=umsg_format(fmt ,result, resultlength,&status, d1, str, 7); 444 umsg_parse(fmt, result, u_strlen(result),&count,&status, &d, ret, &value); 466 umsg_close(fmt); [all...] |
/external/icu/icu4c/source/test/intltest/ |
callimts.cpp | 56 CalendarLimitTest::test(UDate millis, icu::Calendar* cal, icu::DateFormat* fmt) 64 fmt->format(millis, theDate); 65 UDate dt = fmt->parse(theDate, status); 106 DateFormat *fmt = DateFormat::createDateTimeInstance(); local 107 if(!fmt || !cal) { 108 dataerrln("can't open cal and/or fmt"); 111 fmt->adoptCalendar(cal); 112 ((SimpleDateFormat*) fmt)->applyPattern("HH:mm:ss.SSS Z, EEEE, MMMM d, yyyy G"); 123 test(m, cal, fmt); 127 test(m, cal, fmt); [all...] |
incaltst.cpp | 417 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=buddhist"), status); local 421 if(!fmt) { 428 fmt->format(aDate, str); 434 UDate otherDate = fmt->parse(expected, status); 437 fmt->format(otherDate, str3); 442 delete fmt; 503 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yy G"), Locale("en_US@calendar=japanese"), status); local 506 if(!fmt) { 513 fmt->format(aDate, str); 519 UDate otherDate = fmt->parse(expected, status) 632 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("y.M.d"), Locale("ja_JP@calendar=japanese"), status); local 672 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("y"), Locale("ja_JP@calendar=japanese"), status); local 836 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale(" en_US@calendar=persian"), status); local [all...] |
msfmrgts.cpp | 161 MessageFormat *fmt = new MessageFormat("{0,choice,0#no files|1#one file|1< {0,number,integer} files}", status); 165 pat = fmt->toPattern(pat); 173 delete fmt; 210 NumberFormat *fmt = 0; local 221 fmt = NumberFormat::createInstance(status); 223 case Formattable::kLong: fmt->format(obj.getLong(), temp); break; 224 case Formattable::kInt64: fmt->format(obj.getInt64(), temp); break; 225 case Formattable::kDouble: fmt->format(obj.getDouble(), temp); break; 236 fmt = NumberFormat::createInstance(status); 238 case Formattable::kLong: fmt->format(obj1.getLong(), temp1); break 290 MessageFormat *fmt = new MessageFormat("There are {0} apples growing on the {1} tree.", status); local 589 ChoiceFormat *fmt = new ChoiceFormat( local 647 ChoiceFormat *fmt = new ChoiceFormat(pattern, status); local 996 MessageFormat *fmt = new MessageFormat("",status); local [all...] |
plurfmts.cpp | 556 const char* fmt = local 565 UnicodeString fmtString(fmt, -1, US_INV); 620 UnicodeString fmt(failures[i], -1, US_INV); 621 PluralFormat pf(fmt, status); 623 errln("expected failure when parsing '" + fmt + "'");
|
tufmtts.cpp | 407 Formattable fmt; local 410 fmt.adoptObject(tamt); 411 str = ((Format *)tfmt)->format(fmt, str, status); 489 Formattable fmt; local 496 fmt.adoptObject(tamt.orphan()); 497 tuf.format(fmt, actual, status);
|
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 179 DateFormat *fmt; local 180 fmt = DateFormat::createDateTimeInstance( 193 fmt->setCalendar(*cal); 197 fmt->format(date, str, status2); 206 delete fmt; 257 DateFormat *fmt; local 260 fmt = DateFormat::createDateTimeInstance( 262 delete fmt; 296 DateFormat *fmt = DateFormat::createDateTimeInstance( local 299 Format *cp = fmt->clone() 584 NumberFormat *fmt = NumberFormat::createInstance(loc, status); local [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
MessageFormat.java | 1234 MessageFormat fmt = new MessageFormat((java.text.MessageFormat)messageFormat.clone()); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 176 SimpleDateFormat fmt = new SimpleDateFormat(dateFormat); local 180 Date d = fmt.parse("01/22/92 04:52:00 GMT", p0);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 188 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG); local 189 fmt.setTimeZone(tz); 192 logln("PASS: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBoundary))); 194 errln("FAIL: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBoundary))); 221 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG); local 222 fmt.setTimeZone(zone); 230 fmt.format(d) + " = " + d.getTime(); [all...] |
/external/libvpx/libvpx/vpx/ |
vpx_image.h | 89 vpx_img_fmt_t fmt; /**< Image Format */ member in struct:vpx_image 150 * \param[in] fmt Format for the image 160 vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, 173 * \param[in] fmt Format for the image 183 vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w,
|
/external/mesa3d/src/amd/addrlib/core/ |
addrelemlib.cpp | 400 ADDR_PIXEL_FORMATINFO fmt; local 403 PixGetDepthCompInfo(format, &fmt); 413 if ((fmt.compBit[i] & 7) || (fmt.compStart[i] & 7)) 418 if (resultBits < fmt.compStart[i] + fmt.compBit[i]) 420 resultBits = fmt.compStart[i] + fmt.compBit[i]; 424 if (fmt.compBit[i] > 11 || fmt.numType[i] >= ADDR_USCALED [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_emit.c | 406 enum a3xx_vtx_fmt fmt = fd3_pipe2vtx(pfmt); local 414 debug_assert(fmt != ~0); 428 A3XX_VFD_DECODE_INSTR_FORMAT(fmt) | [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_emit.c | 413 enum a4xx_vtx_fmt fmt = fd4_pipe2vtx(pfmt); local 422 debug_assert(fmt != ~0); 436 A4XX_VFD_DECODE_INSTR_FORMAT(fmt) |
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_emit.c | 368 enum a5xx_vtx_fmt fmt = fd5_pipe2vtx(pfmt); local 372 debug_assert(fmt != ~0); 381 A5XX_VFD_DECODE_INSTR_FORMAT(fmt) |
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_state.h | 41 unsigned fmt; member in struct:nv30_sampler_state 53 unsigned fmt; member in struct:nv30_sampler_view
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
nvc0_vbo.c | 80 enum pipe_format fmt = ve->src_format; local 83 so->element[i].state = nvc0_vertex_format[fmt].vtx; 86 switch (util_format_get_nr_components(fmt)) { 87 case 1: fmt = PIPE_FORMAT_R32_FLOAT; break; 88 case 2: fmt = PIPE_FORMAT_R32G32_FLOAT; break; 89 case 3: fmt = PIPE_FORMAT_R32G32B32_FLOAT; break; 90 case 4: fmt = PIPE_FORMAT_R32G32B32A32_FLOAT; break; 96 so->element[i].state = nvc0_vertex_format[fmt].vtx; 102 size = util_format_get_blocksize(fmt); 120 ca = util_format_description(fmt)->channel[0].size / 8 [all...] |
/external/ppp/pppd/ |
utils.c | 129 slprintf __V((char *buf, int buflen, char *fmt, ...)) 135 va_start(args, fmt); 139 char *fmt; local 143 fmt = va_arg(args, char *); 145 n = vslprintf(buf, buflen, fmt, args); 156 vslprintf(buf, buflen, fmt, args) 159 char *fmt; 177 for (f = fmt; *f != '%' && *f != 0; ++f) 179 if (f > fmt) { 180 len = f - fmt; 436 char *fmt; local 563 char *fmt; local 688 char *fmt; local 710 char *fmt; local 731 char *fmt; local 751 char *fmt; local 771 char *fmt; local 791 char *fmt; local [all...] |