Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 3665) sorted by relevance

12345678910>>...147

/external/icu/icu4c/source/test/testdata/
Ddcfmtest.txt18 # format pattern round-mode "decimal number" "expected formatted result"
42 format 0.0000E0 default "1234.01" "1.2340E3"
44 format 00 default "1234" "1234"
45 format 00 default ".01" "00"
46 format 00 default "1" "01"
47 format 00 default "1.9" "02"
49 format #.# default "12.34" "12.3"
51 format @@@ default "12.3456" "12.3"
52 format @@@ default "123456" "123000"
53 format @@@ default ".00123456" "0.00123"
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_table.py97 for format in formats:
99 print 'util_format_%s_description = {' % (format.short_name(),)
100 print " %s," % (format.name,)
101 print " \"%s\"," % (format.name,)
102 print " \"%s\"," % (format.short_name(),)
103 …print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_siz…
104 print " %s," % (layout_map(format.layout),)
105 print " %u,\t/* nr_channels */" % (format.nr_channels(),)
106 print " %s,\t/* is_array */" % (bool_map(format.is_array()),)
107 print " %s,\t/* is_bitmask */" % (bool_map(format.is_bitmask()),)
[all …]
Du_format_pack.py43 def generate_format_type(format): argument
46 assert format.layout == PLAIN
48 print 'union util_format_%s {' % format.short_name()
50 if format.block_size() in (8, 16, 32, 64):
51 print ' uint%u_t value;' % (format.block_size(),)
54 for channel in format.channels:
59 for channel in format.channels:
102 def bswap_format(format): argument
105 if format.is_bitmask() and not format.is_array() and format.block_size() > 8:
107 print ' pixel.value = util_bswap%u(pixel.value);' % format.block_size()
[all …]
Du_format.h137 enum pipe_format format; member
389 util_format_description(enum pipe_format format);
397 util_format_name(enum pipe_format format) in util_format_name() argument
399 const struct util_format_description *desc = util_format_description(format); in util_format_name()
410 util_format_short_name(enum pipe_format format) in util_format_short_name() argument
412 const struct util_format_description *desc = util_format_description(format); in util_format_short_name()
426 util_format_is_plain(enum pipe_format format) in util_format_is_plain() argument
428 const struct util_format_description *desc = util_format_description(format); in util_format_is_plain()
430 if (!format) { in util_format_is_plain()
438 util_format_is_compressed(enum pipe_format format) in util_format_is_compressed() argument
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tile_soa.py48 def is_format_supported(format): argument
54 if format.name == 'PIPE_FORMAT_R11G11B10_FLOAT':
57 if format.name == 'PIPE_FORMAT_R9G9B9E5_FLOAT':
60 if format.layout != PLAIN:
64 channel = format.channels[i]
70 if format.colorspace not in ('rgb', 'srgb'):
76 def generate_format_read(format, dst_channel, dst_native_type, dst_suffix): argument
79 name = format.short_name()
81 src_native_type = native_type(format)
89 … *src_pixel = (const %s *)(src_row + x0*%u);' % (src_native_type, src_native_type, format.stride())
[all …]
/external/e2fsprogs/intl/
Dprintf.c80 libintl_vfprintf (FILE *stream, const char *format, va_list args) in libintl_vfprintf() argument
82 if (strchr (format, '$') == NULL) in libintl_vfprintf()
83 return vfprintf (stream, format, args); in libintl_vfprintf()
87 char *result = libintl_vasnprintf (NULL, &length, format, args); in libintl_vfprintf()
101 libintl_fprintf (FILE *stream, const char *format, ...) in libintl_fprintf() argument
106 va_start (args, format); in libintl_fprintf()
107 retval = libintl_vfprintf (stream, format, args); in libintl_fprintf()
114 libintl_vprintf (const char *format, va_list args) in libintl_vprintf() argument
116 return libintl_vfprintf (stdout, format, args); in libintl_vprintf()
121 libintl_printf (const char *format, ...) in libintl_printf() argument
[all …]
/external/clang/unittests/Format/
DFormatTest.cpp18 namespace format { namespace
26 std::string format(llvm::StringRef Code, unsigned Offset, unsigned Length, in format() function in clang::format::FormatTest
40 format(llvm::StringRef Code, const FormatStyle &Style = getLLVMStyle()) { in format() function in clang::format::FormatTest
41 return format(Code, 0, Code.size(), Style); in format()
58 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); in verifyFormat()
73 format(Code, Style); in verifyNoCrash()
92 EXPECT_EQ(";", format(";")); in TEST_F()
96 EXPECT_EQ("int i;", format(" int i;")); in TEST_F()
97 EXPECT_EQ("\nint i;", format(" \n\t \v \f int i;")); in TEST_F()
98 EXPECT_EQ("int i;\nint j;", format(" int i; int j;")); in TEST_F()
[all …]
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DSubstituteLogger.java61 public void trace(String format, Object arg) { in trace() argument
62 delegate().trace(format, arg); in trace()
65 public void trace(String format, Object arg1, Object arg2) { in trace() argument
66 delegate().trace(format, arg1, arg2); in trace()
69 public void trace(String format, Object... arguments) { in trace() argument
70 delegate().trace(format, arguments); in trace()
85 public void trace(Marker marker, String format, Object arg) { in trace() argument
86 delegate().trace(marker, format, arg); in trace()
89 public void trace(Marker marker, String format, Object arg1, Object arg2) { in trace() argument
90 delegate().trace(marker, format, arg1, arg2); in trace()
[all …]
DMarkerIgnoringBase.java50 public void trace(Marker marker, String format, Object arg) { in trace() argument
51 trace(format, arg); in trace()
54 public void trace(Marker marker, String format, Object arg1, Object arg2) { in trace() argument
55 trace(format, arg1, arg2); in trace()
58 public void trace(Marker marker, String format, Object... arguments) { in trace() argument
59 trace(format, arguments); in trace()
74 public void debug(Marker marker, String format, Object arg) { in debug() argument
75 debug(format, arg); in debug()
78 public void debug(Marker marker, String format, Object arg1, Object arg2) { in debug() argument
79 debug(format, arg1, arg2); in debug()
[all …]
/external/clang/test/Sema/
Dattr-format.c5 void a(const char *a, ...) __attribute__((format(printf, 1,2))); // no-error
6 void b(const char *a, ...) __attribute__((format(printf, 1,1))); // expected-error {{'format' attri…
7 void c(const char *a, ...) __attribute__((format(printf, 0,2))); // expected-error {{'format' attri…
8 void d(const char *a, int c) __attribute__((format(printf, 1,2))); // expected-error {{format attri…
9 void e(char *str, int c, ...) __attribute__((format(printf, 2,3))); // expected-error {{format argu…
12 void f(xpto c, va_list list) __attribute__((format(printf, 1, 0))); // no-error
13 void g(xpto c) __attribute__((format(printf, 1, 0))); // no-error
15 void y(char *str) __attribute__((format(strftime, 1,0))); // no-error
16 void z(char *str, int c, ...) __attribute__((format(strftime, 1,2))); // expected-error {{strftime …
18 int (*f_ptr)(char*,...) __attribute__((format(printf, 1,2))); // no-error
[all …]
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DLoggerWrapper.java96 public void trace(String format, Object arg) { in trace() argument
101 String formattedMessage = MessageFormatter.format(format, arg).getMessage(); in trace()
104 logger.trace(format, arg); in trace()
111 public void trace(String format, Object arg1, Object arg2) { in trace() argument
116 String formattedMessage = MessageFormatter.format(format, arg1, arg2).getMessage(); in trace()
119 logger.trace(format, arg1, arg2); in trace()
126 public void trace(String format, Object... args) { in trace() argument
131 String formattedMessage = MessageFormatter.arrayFormat(format, args).getMessage(); in trace()
134 logger.trace(format, args); in trace()
168 public void trace(Marker marker, String format, Object arg) { in trace() argument
[all …]
/external/libxml2/
Dtrio.h80 int trio_printf TRIO_PROTO((TRIO_CONST char *format, ...));
81 int trio_vprintf TRIO_PROTO((TRIO_CONST char *format, va_list args));
82 int trio_printfv TRIO_PROTO((TRIO_CONST char *format, void **args));
84 int trio_fprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, ...));
85 int trio_vfprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, va_list args));
86 int trio_fprintfv TRIO_PROTO((FILE *file, TRIO_CONST char *format, void **args));
88 int trio_dprintf TRIO_PROTO((int fd, TRIO_CONST char *format, ...));
89 int trio_vdprintf TRIO_PROTO((int fd, TRIO_CONST char *format, va_list args));
90 int trio_dprintfv TRIO_PROTO((int fd, TRIO_CONST char *format, void **args));
93 TRIO_CONST char *format, ...));
[all …]
/external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/
DJCLLoggerAdapter.java87 public void trace(String format, Object arg) { in trace() argument
89 FormattingTuple ft = MessageFormatter.format(format, arg); in trace()
110 public void trace(String format, Object arg1, Object arg2) { in trace() argument
112 FormattingTuple ft = MessageFormatter.format(format, arg1, arg2); in trace()
129 public void trace(String format, Object... arguments) { in trace() argument
131 FormattingTuple ft = MessageFormatter.arrayFormat(format, arguments); in trace()
183 public void debug(String format, Object arg) { in debug() argument
185 FormattingTuple ft = MessageFormatter.format(format, arg); in debug()
206 public void debug(String format, Object arg1, Object arg2) { in debug() argument
208 FormattingTuple ft = MessageFormatter.format(format, arg1, arg2); in debug()
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/log/
DJettyAwareLogger.java78 public void trace(String format, Object arg) in trace() argument
80 log(null, TRACE, format, new Object[]{arg}, null); in trace()
87 public void trace(String format, Object arg1, Object arg2) in trace() argument
89 log(null, TRACE, format, new Object[]{arg1,arg2}, null); in trace()
96 public void trace(String format, Object[] argArray) in trace() argument
98 log(null, TRACE, format, argArray, null); in trace()
132 public void trace(Marker marker, String format, Object arg) in trace() argument
134 log(marker, TRACE, format, new Object[]{arg}, null); in trace()
141 public void trace(Marker marker, String format, Object arg1, Object arg2) in trace() argument
143 log(marker, TRACE, format, new Object[]{arg1,arg2}, null); in trace()
[all …]
/external/lldb/tools/debugserver/source/
DDNBLog.cpp107 _DNBLogVAPrintf(uint32_t flags, const char *format, va_list args) in _DNBLogVAPrintf() argument
113 g_log_callback(g_log_baton, flags, format, args); in _DNBLogVAPrintf()
117 _DNBLog(uint32_t flags, const char *format, ...) in _DNBLog() argument
120 va_start (args, format); in _DNBLog()
121 _DNBLogVAPrintf(flags, format, args); in _DNBLog()
130 _DNBLogDebug (const char *format, ...) in _DNBLogDebug() argument
135 va_start (args, format); in _DNBLogDebug()
136 _DNBLogVAPrintf(DNBLOG_FLAG_DEBUG, format, args); in _DNBLogDebug()
147 _DNBLogDebugVerbose (const char *format, ...) in _DNBLogDebugVerbose() argument
152 va_start (args, format); in _DNBLogDebugVerbose()
[all …]
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DAndroidLoggerAdapter.java126 public void trace(String format, Object arg) { in trace() argument
127 formatAndLog(Log.VERBOSE, format, arg); in trace()
146 public void trace(String format, Object arg1, Object arg2) { in trace() argument
147 formatAndLog(Log.VERBOSE, format, arg1, arg2); in trace()
164 public void trace(String format, Object... argArray) { in trace() argument
165 formatAndLog(Log.VERBOSE, format, argArray); in trace()
212 public void debug(String format, Object arg) { in debug() argument
213 formatAndLog(Log.DEBUG, format, arg); in debug()
232 public void debug(String format, Object arg1, Object arg2) { in debug() argument
233 formatAndLog(Log.DEBUG, format, arg1, arg2); in debug()
[all …]
/external/slf4j/slf4j-api/src/main/java/org/slf4j/
DLogger.java107 public void trace(String format, Object arg); in trace() argument
121 public void trace(String format, Object arg1, Object arg2); in trace() argument
137 public void trace(String format, Object... arguments); in trace() argument
179 public void trace(Marker marker, String format, Object arg); in trace() argument
192 public void trace(Marker marker, String format, Object arg1, Object arg2); in trace() argument
204 public void trace(Marker marker, String format, Object... argArray); in trace() argument
242 public void debug(String format, Object arg); in debug() argument
255 public void debug(String format, Object arg1, Object arg2); in debug() argument
271 public void debug(String format, Object... arguments); in debug() argument
308 public void debug(Marker marker, String format, Object arg); in debug() argument
[all …]
/external/mesa3d/src/mesa/main/
Dformats.c1537 _mesa_get_format_info(gl_format format) in _mesa_get_format_info() argument
1539 const struct gl_format_info *info = &format_info[format]; in _mesa_get_format_info()
1540 assert(info->Name == format); in _mesa_get_format_info()
1547 _mesa_get_format_name(gl_format format) in _mesa_get_format_name() argument
1549 const struct gl_format_info *info = _mesa_get_format_info(format); in _mesa_get_format_name()
1563 _mesa_get_format_bytes(gl_format format) in _mesa_get_format_bytes() argument
1565 const struct gl_format_info *info = _mesa_get_format_info(format); in _mesa_get_format_bytes()
1568 _mesa_is_format_compressed(format)); in _mesa_get_format_bytes()
1579 _mesa_get_format_bits(gl_format format, GLenum pname) in _mesa_get_format_bits() argument
1581 const struct gl_format_info *info = _mesa_get_format_info(format); in _mesa_get_format_bits()
[all …]
Dglformats.c167 _mesa_components_in_format(GLenum format) in _mesa_components_in_format() argument
169 switch (format) { in _mesa_components_in_format()
224 _mesa_bytes_per_pixel(GLenum format, GLenum type) in _mesa_bytes_per_pixel() argument
226 GLint comps = _mesa_components_in_format(format); in _mesa_bytes_per_pixel()
248 if (format == GL_RGB || format == GL_BGR || in _mesa_bytes_per_pixel()
249 format == GL_RGB_INTEGER_EXT || format == GL_BGR_INTEGER_EXT) in _mesa_bytes_per_pixel()
255 if (format == GL_RGB || format == GL_BGR || in _mesa_bytes_per_pixel()
256 format == GL_RGB_INTEGER_EXT || format == GL_BGR_INTEGER_EXT) in _mesa_bytes_per_pixel()
264 if (format == GL_RGBA || format == GL_BGRA || format == GL_ABGR_EXT || in _mesa_bytes_per_pixel()
265 format == GL_RGBA_INTEGER_EXT || format == GL_BGRA_INTEGER_EXT) in _mesa_bytes_per_pixel()
[all …]
Dglformats.h47 _mesa_components_in_format( GLenum format );
50 _mesa_bytes_per_pixel( GLenum format, GLenum type );
59 _mesa_is_enum_format_integer(GLenum format);
62 _mesa_is_enum_format_or_type_integer(GLenum format, GLenum type);
65 _mesa_is_color_format(GLenum format);
68 _mesa_is_depth_format(GLenum format);
71 _mesa_is_stencil_format(GLenum format);
74 _mesa_is_ycbcr_format(GLenum format);
77 _mesa_is_depthstencil_format(GLenum format);
80 _mesa_is_depth_or_stencil_format(GLenum format);
[all …]
/external/elfutils/src/po/
Delfutils.pot23 #, c-format
38 #, c-format
51 #, c-format
235 "format"
267 #, c-format
439 #, c-format
444 #, c-format
449 #, c-format
454 #, c-format
459 #, c-format
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java190 int format = -1; in uploadTexture() local
196 format = GL_ALPHA; in uploadTexture()
201 format = GL_ALPHA; in uploadTexture()
207 format = GL_RGB; in uploadTexture()
213 format = GL_RGBA; in uploadTexture()
219 format = GL_RGBA; in uploadTexture()
225 format = GL_RGBA; in uploadTexture()
235 format = GL_LUMINANCE_ALPHA; in uploadTexture()
241 format = GL_LUMINANCE_ALPHA; in uploadTexture()
246 format = GL_DEPTH_COMPONENT; in uploadTexture()
[all …]
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jLoggerAdapter.java126 public void trace(String format, Object arg) { in trace() argument
128 FormattingTuple ft = MessageFormatter.format(format, arg); in trace()
149 public void trace(String format, Object arg1, Object arg2) { in trace() argument
151 FormattingTuple ft = MessageFormatter.format(format, arg1, arg2); in trace()
170 public void trace(String format, Object... arguments) { in trace() argument
172 FormattingTuple ft = MessageFormatter.arrayFormat(format, arguments); in trace()
222 public void debug(String format, Object arg) { in debug() argument
224 FormattingTuple ft = MessageFormatter.format(format, arg); in debug()
245 public void debug(String format, Object arg1, Object arg2) { in debug() argument
247 FormattingTuple ft = MessageFormatter.format(format, arg1, arg2); in debug()
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
Di18n.py325 def _get_format(self, key, format): argument
338 if format is None:
339 format = self.store.date_formats.get(key)
341 if format in ('short', 'medium', 'full', 'long', 'iso'):
342 rv = self.store.date_formats.get('%s.%s' % (key, format))
344 format = rv
346 return format
348 def format_date(self, date=None, format=None, rebase=True): argument
369 format = self._get_format('date', format)
374 return dates.format_date(date, format, locale=self.locale)
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DPreconditions.java42 if (opcode.format != expectedFormat) { in checkFormat()
44 String.format("Invalid opcode %s for %s", opcode.name, expectedFormat.name())); in checkFormat()
51 … String.format("Invalid register: v%d. Must be between v0 and v15, inclusive.", register)); in checkNibbleRegister()
59 … String.format("Invalid register: v%d. Must be between v0 and v255, inclusive.", register)); in checkByteRegister()
67 … String.format("Invalid register: v%d. Must be between v0 and v65535, inclusive.", register)); in checkShortRegister()
75 … String.format("Invalid literal value: %d. Must be between -8 and 7, inclusive.", literal)); in checkNibbleLiteral()
83 … String.format("Invalid literal value: %d. Must be between -128 and 127, inclusive.", literal)); in checkByteLiteral()
91 …String.format("Invalid literal value: %d. Must be between -32768 and 32767, inclusive.", literal)); in checkShortLiteral()
99 … String.format("Invalid literal value: %d. Low 16 bits must be zeroed out.", literal)); in checkIntegerHatLiteral()
107 … String.format("Invalid literal value: %d. Low 48 bits must be zeroed out.", literal)); in checkLongHatLiteral()
[all …]

12345678910>>...147