| /external/chromium_org/third_party/icu/source/i18n/ |
| plurfmt.cpp | 450 PluralFormat* fmt = (PluralFormat*)&other; local 451 return ((*pluralRules == *(fmt->pluralRules)) && 452 (*numberFormat == *(fmt->numberFormat)));
|
| selfmt.cpp | 384 SelectFormat* fmt = (SelectFormat*)&other; local 385 Hashtable* hashOther = fmt->parsedValuesHash;
|
| udat.cpp | 30 * Verify that fmt is a SimpleDateFormat. Invalid error if not. 31 * @param fmt the UDateFormat, definitely a DateFormat, maybe something else 32 * @param status error code, will be set to failure if there is a familure or the fmt is NULL. 34 static void verifyIsSimpleDateFormat(const UDateFormat* fmt, UErrorCode *status) { 36 dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))==NULL) { 95 DateFormat *fmt; local 101 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, 105 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle, 114 fmt = new SimpleDateFormat(pat, *status); 117 fmt = new SimpleDateFormat(pat, Locale(locale), *status) [all...] |
| umsg.cpp | 70 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status); local 71 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); 72 umsg_close(fmt); 111 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status); local 112 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); 113 umsg_close(fmt); 152 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status); local 154 umsg_vparse(fmt,source,sourceLength,&count,ap,status); 155 umsg_close(fmt); 190 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,error,status) local [all...] |
| /external/chromium_org/third_party/icu/source/test/intltest/ |
| calcasts.cpp | 177 DateFormat *fmt = DateFormat::createDateInstance(DateFormat::kFull, Locale("ar_JO@calendar=islamic-civil")); local 178 if (fmt == NULL) { 184 fmt->setTimeZone(*TimeZone::getGMT()); 185 fmt->format((UDate)2486076.5, result); 190 delete fmt;
|
| callimts.cpp | 52 CalendarLimitTest::test(UDate millis, U_NAMESPACE_QUALIFIER Calendar* cal, U_NAMESPACE_QUALIFIER 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 zzz, EEEE, MMMM d, yyyy G"); 119 test(m, cal, fmt); 123 test(m, cal, fmt); [all...] |
| dtfmapts.cpp | 324 NumberFormat *fmt = NumberFormat::createInstance(status); local 325 if (fmt) { 326 fmt->format(numObj, str, status); 327 fmt->format(numObj, str, fpos, status); 328 delete fmt; 338 DecimalFormat fmt(status); 341 fmt.format(numObj, str, status); 342 fmt.format(numObj, str, fpos, status); 344 fmt.format(2.71828, str); 345 fmt.format((int32_t)1234567, str) [all...] |
| incaltst.cpp | 418 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=buddhist"), status); local 422 if(!fmt) { 429 fmt->format(aDate, str); 435 UDate otherDate = fmt->parse(expected, status); 438 fmt->format(otherDate, str3); 443 delete fmt; 504 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yy G"), Locale("en_US@calendar=japanese"), status); local 507 if(!fmt) { 514 fmt->format(aDate, str); 520 UDate otherDate = fmt->parse(expected, status) 633 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("y.M.d"), Locale("ja_JP@calendar=japanese"), status); local 673 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("y"), Locale("ja_JP@calendar=japanese"), status); local 739 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale(" en_US@calendar=persian"), status); local [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;
|
| tufmtts.cpp | 291 Formattable fmt; local 294 fmt.adoptObject(tamt); 295 str = ((Format *)tfmt)->format(fmt, str, status);
|
| /external/chromium_org/third_party/icu/source/test/perf/DateFmtPerf/ |
| DateFmtPerf.h | 173 DateFormat *fmt; local 174 fmt = DateFormat::createDateTimeInstance( 187 fmt->setCalendar(*cal); 191 fmt->format(date, str, status2); 200 delete fmt; 258 NumberFormat *fmt = NumberFormat::createInstance(loc, status); local 267 fmt->parse(str, result, status); 275 fmt->format(result, str, status); 281 delete fmt; // Release the storage used by the formatter
|
| /external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/deqp/modules/gles2/functional/ |
| es2fTextureFormatTests.cpp | 111 tcu::TextureFormat fmt = glu::mapGLTransferFormat(m_format, m_dataType); local 112 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(fmt); 257 tcu::TextureFormat fmt = glu::mapGLTransferFormat(m_format, m_dataType); local 258 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(fmt);
|
| /external/deqp/modules/gles3/functional/ |
| es3fFboCompletenessTests.cpp | 382 const ImageFormat fmt = { s_formats[i], GL_NONE }; local 390 attachTargetToNew(target, GL_TEXTURE, fmt, 64, 64, builder); 395 rboCfg.internalFormat = fmt;
|
| es3fImplementationLimitTests.cpp | 300 for (vector<GLint>::const_iterator fmt = formats.begin(); fmt != formats.end(); fmt++) 301 m_testCtx.getLog() << TestLog::Message << glu::getCompressedTexFormatStr(*fmt) << TestLog::EndMessage; 309 const deUint32 fmt = s_requiredCompressedTexFormats[ndx]; local 310 const bool found = formatSet.find(fmt) != formatSet.end(); 314 m_testCtx.getLog() << TestLog::Message << "ERROR: " << glu::getCompressedTexFormatStr(fmt) << " is missing!" << TestLog::EndMessage;
|
| /external/deqp/modules/gles31/functional/ |
| es31fTextureFormatTests.cpp | 284 tcu::TextureFormat fmt = glu::mapGLInternalFormat(m_format); local 285 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(fmt); 296 m_texture = new glu::TextureBuffer(m_renderCtx, m_format, m_width * fmt.getPixelSize());
|
| /external/e2fsprogs/lib/quota/ |
| mkquota.c | 53 int quota_file_exists(ext2_filsys fs, int qtype, int fmt) 127 int fmt = QFMT_VFS_V1; local 149 retval = quota_file_create(h, fs, i, fmt);
|
| /external/icu/icu4c/source/common/ |
| utrace.c | 46 const char *fmt; local 50 fmt = gExitFmt; 53 fmt = gExitFmtValue; 56 fmt = gExitFmtStatus; 59 fmt = gExitFmtValueStatus; 62 fmt = gExitFmtPtrStatus; 66 fmt = gExitFmt; 70 (*pTraceExitFunc)(gTraceContext, fnNumber, fmt, args); 78 utrace_data(int32_t fnNumber, int32_t level, const char *fmt, ...) { 81 va_start(args, fmt ); [all...] |
| /external/icu/icu4c/source/i18n/ |
| datefmt.cpp | 104 DateFormat* fmt = (DateFormat*)&other; local 106 return (this == fmt) || 108 fCalendar&&(fCalendar->isEquivalentTo(*fmt->fCalendar)) && 109 (fNumberFormat && *fNumberFormat == *fmt->fNumberFormat) && 110 (fCapitalizationContext == fmt->fCapitalizationContext) );
|
| umsg.cpp | 91 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status); local 92 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); 93 umsg_close(fmt); 132 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status); local 133 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); 134 umsg_close(fmt); 173 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status); local 175 umsg_vparse(fmt,source,sourceLength,&count,ap,status); 176 umsg_close(fmt); 211 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,error,status) local [all...] |