| /external/icu/icu4c/source/i18n/ |
| udat.cpp | 32 * Verify that fmt is a SimpleDateFormat. Invalid error if not. 33 * @param fmt the UDateFormat, definitely a DateFormat, maybe something else 34 * @param status error code, will be set to failure if there is a familure or the fmt is NULL. 36 static void verifyIsSimpleDateFormat(const UDateFormat* fmt, UErrorCode *status) { 38 dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))==NULL) { 135 DateFormat *fmt; local 140 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status); 141 if(fmt!=NULL) { 142 return (UDateFormat*)fmt; 147 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| cmsgtst.c | 387 UMessageFormat* fmt = NULL; local 412 fmt = umsg_open(pattern,u_strlen(pattern),"en_US",&parseError,&status); 419 resultLengthOut=umsg_format(fmt ,result, resultlength,&status, d1, str, 7); 442 umsg_parse(fmt, result, u_strlen(result),&count,&status, &d, ret, &value); 464 umsg_close(fmt); [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| incaltst.cpp | 415 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=buddhist"), status); local 419 if(!fmt) { 426 fmt->format(aDate, str); 432 UDate otherDate = fmt->parse(expected, status); 435 fmt->format(otherDate, str3); 440 delete fmt; 501 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yy G"), Locale("en_US@calendar=japanese"), status); local 504 if(!fmt) { 511 fmt->format(aDate, str); 517 UDate otherDate = fmt->parse(expected, status) 630 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("y.M.d"), Locale("ja_JP@calendar=japanese"), status); local 670 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("y"), Locale("ja_JP@calendar=japanese"), status); local 834 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale(" en_US@calendar=persian"), status); local [all...] |
| msfmrgts.cpp | 158 MessageFormat *fmt = new MessageFormat("{0,choice,0#no files|1#one file|1< {0,number,integer} files}", status); 162 pat = fmt->toPattern(pat); 170 delete fmt; 207 NumberFormat *fmt = 0; local 218 fmt = NumberFormat::createInstance(status); 220 case Formattable::kLong: fmt->format(obj.getLong(), temp); break; 221 case Formattable::kInt64: fmt->format(obj.getInt64(), temp); break; 222 case Formattable::kDouble: fmt->format(obj.getDouble(), temp); break; 233 fmt = NumberFormat::createInstance(status); 235 case Formattable::kLong: fmt->format(obj1.getLong(), temp1); break 287 MessageFormat *fmt = new MessageFormat("There are {0} apples growing on the {1} tree.", status); local 586 ChoiceFormat *fmt = new ChoiceFormat( local 644 ChoiceFormat *fmt = new ChoiceFormat(pattern, status); local 993 MessageFormat *fmt = new MessageFormat("",status); local [all...] |
| plurfmts.cpp | 554 const char* fmt = local 563 UnicodeString fmtString(fmt, -1, US_INV); 618 UnicodeString fmt(failures[i], -1, US_INV); 619 PluralFormat pf(fmt, status); 621 errln("expected failure when parsing '" + fmt + "'");
|
| tufmtts.cpp | 354 Formattable fmt; local 357 fmt.adoptObject(tamt); 358 str = ((Format *)tfmt)->format(fmt, str, status); 436 Formattable fmt; local 442 fmt.adoptObject(tamt.orphan()); 443 tuf.format(fmt, actual, status);
|
| /external/libvpx/libvpx/vpx/ |
| vpx_image.h | 100 vpx_img_fmt_t fmt; /**< Image Format */ member in struct:vpx_image 162 * \param[in] fmt Format for the image 173 vpx_img_fmt_t fmt, 187 * \param[in] fmt Format for the image 198 vpx_img_fmt_t fmt,
|
| /external/lldb/include/lldb/Utility/ |
| AnsiTerminal.h | 128 std::string fmt; local 134 fmt.append (p, strlen(p)); 138 fmt.append (p, tok_start - p); 147 fmt.append (g_color_tokens[i].value); 153 return fmt;
|
| /external/ltrace/ |
| options.c | 433 const char *fmt = max != 0 local 436 fprintf(stderr, fmt, opt, optarg, min, max);
|
| /external/mesa3d/src/gallium/drivers/nv30/ |
| nv30_state.h | 39 unsigned fmt; member in struct:nv30_sampler_state 51 unsigned fmt; member in struct:nv30_sampler_view
|
| /external/mesa3d/src/gallium/drivers/nvc0/ |
| nvc0_vbo.c | 79 enum pipe_format fmt = ve->src_format; local 82 so->element[i].state = nvc0_format_table[fmt].vtx; 85 switch (util_format_get_nr_components(fmt)) { 86 case 1: fmt = PIPE_FORMAT_R32_FLOAT; break; 87 case 2: fmt = PIPE_FORMAT_R32G32_FLOAT; break; 88 case 3: fmt = PIPE_FORMAT_R32G32B32_FLOAT; break; 89 case 4: fmt = PIPE_FORMAT_R32G32B32A32_FLOAT; break; 94 so->element[i].state = nvc0_format_table[fmt].vtx; 97 size = util_format_get_blocksize(fmt); 115 ca = util_format_description(fmt)->channel[0].size / 8 [all...] |
| /external/mesa3d/src/gallium/state_trackers/egl/android/ |
| native_android.cpp | 117 enum pipe_format fmt; local 121 fmt = PIPE_FORMAT_R8G8B8A8_UNORM; 124 fmt = PIPE_FORMAT_R8G8B8X8_UNORM; 127 fmt = PIPE_FORMAT_R8G8B8_UNORM; 130 fmt = PIPE_FORMAT_B5G6R5_UNORM; 133 fmt = PIPE_FORMAT_B8G8R8A8_UNORM; 136 /* fmt = PIPE_FORMAT_A1B5G5R5_UNORM; */ 138 /* fmt = PIPE_FORMAT_A4B4G4R4_UNORM; */ 141 fmt = PIPE_FORMAT_NONE; 145 return fmt; [all...] |
| /external/mesa3d/src/glsl/ |
| glsl_parser_extras.cpp | 135 GLenum type, GLuint id, const char *fmt, va_list ap) 149 ralloc_vasprintf_append(&state->info_log, fmt, ap); 162 const char *fmt, ...) 169 va_start(ap, fmt); 170 _mesa_glsl_msg(locp, state, type, SHADER_ERROR_UNKNOWN, fmt, ap); 177 const char *fmt, ...) 182 va_start(ap, fmt); 183 _mesa_glsl_msg(locp, state, type, 0, fmt, ap); 419 static const char *const fmt = "extension `%s' unsupported in %s shader"; local 422 _mesa_glsl_error(name_locp, state, fmt, [all...] |
| /external/ppp/pppd/ |
| utils.c | 135 slprintf __V((char *buf, int buflen, char *fmt, ...)) 141 va_start(args, fmt); 145 char *fmt; local 149 fmt = va_arg(args, char *); 151 n = vslprintf(buf, buflen, fmt, args); 162 vslprintf(buf, buflen, fmt, args) 165 char *fmt; 183 for (f = fmt; *f != '%' && *f != 0; ++f) 185 if (f > fmt) { 186 len = f - fmt; 446 char *fmt; local 573 char *fmt; local 725 char *fmt; local 747 char *fmt; local 768 char *fmt; local 788 char *fmt; local 808 char *fmt; local 828 char *fmt; local [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
| SDL_DirectFB_video.c | 905 SDL_PixelFormat *fmt = dst->format; local 910 (color & fmt->Rmask) >> (fmt->Rshift - fmt->Rloss), 911 (color & fmt->Gmask) >> (fmt->Gshift - fmt->Gloss), 912 (color & fmt->Bmask) << (fmt->Bloss - fmt->Bshift), 0xFF) 920 SDL_PixelFormat *fmt = src->format; local [all...] |
| /external/valgrind/main/VEX/priv/ |
| guest_generic_x87.c | 807 UInt fmt = (imm8 >> 0) & 3; // imm8[1:0] data format local 817 && (fmt == 0/*ub*/ || fmt == 2/*sb*/)) { 851 && (fmt == 0/*ub*/ || fmt == 2/*sb*/)) { 889 && (fmt == 0/*ub*/ || fmt == 2/*sb*/)) { 929 && fmt == 0/*ub*/) { 969 && fmt == 2/*sb*/) { 1058 UInt fmt = (imm8 >> 0) & 3; \/\/ imm8[1:0] data format local [all...] |
| /external/valgrind/main/coregrind/ |
| m_libcprint.c | 296 HChar fmt[32]; local 301 VG_(sprintf)(fmt, "%%-%ds", n_buf); 302 // fmt is now "%<n_buf>s" where <d> is 1,2,3... 303 VG_(sprintf)(buf, fmt, "--%"); 323 VG_(sprintf)(fmt, "%%lld.%%0%dlld%%%%", d); 324 // fmt is now "%lld.%0<d>lld%%" where <d> is 1,2,3... 325 VG_(sprintf)(buf, fmt, p1, p2);
|
| /external/valgrind/main/exp-sgcheck/tests/ |
| bad_percentify.c | 565 HChar fmt[32]; local 570 VG_(sprintf)(fmt, "%%-%ds", n_buf); 571 // fmt is now "%<n_buf>s" where <d> is 1,2,3... 572 VG_(sprintf)(buf, fmt, "--%"); 593 VG_(sprintf)(fmt, "%%lld.%%0%dlld%%%%", d); 594 // fmt is now "%lld.%0<d>lld%%" where <d> is 1,2,3... 595 VG_(sprintf)(buf, fmt, p1, p2);
|
| /external/wpa_supplicant_8/src/utils/ |
| wpa_debug.c | 196 * @fmt: printf format string, followed by optional arguments 204 void wpa_printf(int level, const char *fmt, ...) 208 va_start(ap, fmt); 212 ANDROID_LOG_NAME, fmt, ap); local 216 vsyslog(syslog_priority(level), fmt, ap); 222 vfprintf(out_file, fmt, ap); 226 vprintf(fmt, ap); 240 va_start(ap, fmt); 242 vfprintf(wpa_debug_tracing_file, fmt, ap); 595 void wpa_msg(void *ctx, int level, const char *fmt, ... [all...] |
| /frameworks/base/core/jni/ |
| android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 132 ALOGV("%s: Setting buffer count to %d, size to (%dx%d), fmt (0x%x)", __FUNCTION__, 167 ALOGV("%s: Dequeue buffer from %p %dx%d (fmt=%x, size=%x)", 427 int32_t fmt = 0; local 428 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); 434 return fmt;
|
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/ |
| vpx_image.h | 100 vpx_img_fmt_t fmt; /**< Image Format */ member in struct:vpx_image 164 * \param[in] fmt Format for the image 175 vpx_img_fmt_t fmt, 189 * \param[in] fmt Format for the image 200 vpx_img_fmt_t fmt,
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
| ChoiceFormatTest.java | 441 ChoiceFormat fmt = new ChoiceFormat( local 444 assertEquals("NEGATIVE_ONE", fmt.format(Long.MIN_VALUE)); 445 assertEquals("NEGATIVE_ONE", fmt.format(-1)); 446 assertEquals("ZERO", fmt.format(0)); 447 assertEquals("ONE", fmt.format(1)); 448 assertEquals("GREATER_THAN_ONE", fmt.format(Long.MAX_VALUE)); 455 ChoiceFormat fmt = new ChoiceFormat( local 457 assertEquals("NEGATIVE_ONE", fmt.format(Double.NEGATIVE_INFINITY)); 458 assertEquals("NEGATIVE_ONE", fmt.format(-999999999D)); 459 assertEquals("NEGATIVE_ONE", fmt.format(-1.1)) [all...] |
| /libcore/luni/src/test/java/libcore/java/text/ |
| SimpleDateFormatTest.java | 159 private static long parseTime(String fmt, String value) { 160 return parseDate(Locale.ENGLISH, fmt, value).getTime().getTime(); 179 private String formatDate(Locale l, String fmt) { 180 DateFormat dateFormat = new SimpleDateFormat(fmt, l); 185 private static void assertCannotParse(Locale l, String fmt, String value) { 186 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); 189 assertNull("Value " + value + " must not parse in locale " + l + " with format " + fmt, d); 192 private static Calendar parseDate(Locale l, String fmt, String value) { 193 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); 206 String fmt = "yyyy-MM-dd HH:mm:ss.SSS z" local 219 String fmt = "yyyy-MM-dd HH:mm:ss.SSS z"; local [all...] |
| /ndk/sources/host-tools/sed-4.2.1/sed/ |
| fmt.c | 1 /* `L' command implementation for GNU sed, based on GNU fmt 1.22. 18 /* GNU fmt was written by Ross Paterson <rap@doc.ic.ac.uk>. */ 208 fmt (const char *line, const char *line_end, int max_length, FILE *output_file) function
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
| shtypes.h | 104 int fmt; member in struct:_SHELLDETAILS
|