Home
last modified time | relevance | path

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

12345678910>>...216

/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/clang/unittests/Format/
DFormatTestSelective.cpp18 namespace format { namespace
23 std::string format(llvm::StringRef Code, unsigned Offset, unsigned Length) { in format() function in clang::format::__anonda8d4d5d0111::FormatTestSelective
41 EXPECT_EQ("int a;\nint b;", format("int a; \nint b;", 0, 0)); in TEST_F()
42 EXPECT_EQ("int a;", format("int a; ", 0, 0)); in TEST_F()
43 EXPECT_EQ("int a;\n", format("int a; \n \n \n ", 0, 0)); in TEST_F()
44 EXPECT_EQ("int a;\nint b; ", format("int a; \nint b; ", 0, 0)); in TEST_F()
51 format("{int b;\n int a;}", 8, 0)); in TEST_F()
55 format("{int b;\n int a;}", 7, 0)); in TEST_F()
61 format("#define A \\\n" in TEST_F()
68 format("#define A \\\n" in TEST_F()
[all …]
DFormatTest.cpp18 namespace format { namespace
31 std::string format(llvm::StringRef Code, in format() function in clang::format::__anon4a65ed390111::FormatTest
65 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); in verifyFormat()
71 format(test::messUp(Code), Style, IC_ExpectIncomplete)); in verifyIncompleteFormat()
86 format(Code, Style, IC_DoNotCheck); in verifyNoCrash()
105 EXPECT_EQ(";", format(";")); in TEST_F()
109 EXPECT_EQ("int i;", format(" int i;")); in TEST_F()
110 EXPECT_EQ("\nint i;", format(" \n\t \v \f int i;")); in TEST_F()
111 EXPECT_EQ("int i;\nint j;", format(" int i; int j;")); in TEST_F()
112 EXPECT_EQ("int i;\nint j;", format(" int i;\n int j;")); in TEST_F()
[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/selinux/prebuilts/bin/
Dsediff.py99 format='%(asctime)s|%(levelname)s|%(name)s|%(message)s')
101 logging.basicConfig(level=logging.INFO, format='%(message)s')
103 logging.basicConfig(level=logging.WARNING, format='%(message)s')
111 print("Policy Properties ({0} Modified)".format(len(diff.modified_properties)))
115 print(" * {0} +{1} -{2}".format(name, added, removed))
121 print("Commons ({0} Added, {1} Removed, {2} Modified)".format(
124 print(" Added Commons: {0}".format(len(diff.added_commons)))
126 print(" + {0}".format(c))
128 print(" Removed Commons: {0}".format(len(diff.removed_commons)))
130 print(" - {0}".format(c))
[all …]
/external/deqp/external/vulkancts/mustpass/1.0.0/
Dvk-default.txt3889 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_repl_dfail_inv_comp_not_equal_b…
3890 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_inv_comp_not_equal_b…
3891 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_wrap_pass_decw_dfail_wrap_comp_less_back_…
3892 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_inv_pass_incc_dfail_keep_comp_greater_or_…
3893 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_wrap_comp_equal_back…
3894 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_repl_pass_inv_dfail_repl_comp_always_back…
3895 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_zero_pass_incc_dfail_decc_comp_not_equal_…
3896 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_incc_comp_greater_or…
3897 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_zero_dfail_keep_comp_equal_back…
3898 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_keep_pass_wrap_dfail_decw_comp_less_or_eq…
[all …]
/external/deqp/android/cts/master/
Dvk-master.txt3893 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_repl_dfail_inv_comp_not_equal_b…
3894 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_inv_comp_not_equal_b…
3895 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_wrap_pass_decw_dfail_wrap_comp_less_back_…
3896 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_inv_pass_incc_dfail_keep_comp_greater_or_…
3897 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_wrap_comp_equal_back…
3898 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_repl_pass_inv_dfail_repl_comp_always_back…
3899 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_zero_pass_incc_dfail_decc_comp_not_equal_…
3900 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_incc_comp_greater_or…
3901 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_zero_dfail_keep_comp_equal_back…
3902 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_keep_pass_wrap_dfail_decw_comp_less_or_eq…
[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/v8/test/intl/number-format/
Dcheck-minimum-fraction-digits.js9 assertEquals("12345.6789", nf.format(12345.6789));
10 assertEquals("12345.678912", nf.format(12345.678912));
11 assertEquals("12345.6700", nf.format(12345.67));
12 assertEquals("12345.67891234", nf.format(12345.6789123421));
16 assertEquals("12345.6789%", nf.format(123.456789));
17 assertEquals("12345.678912%", nf.format(123.45678912));
18 assertEquals("12345.6700%", nf.format(123.4567));
19 assertEquals("12345.67891234%", nf.format(123.456789123421));
23 assertEquals("$54,306.404797", nf.format(54306.4047970));
24 assertEquals("$54,306.4000", nf.format(54306.4));
[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/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/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/webrtc/talk/media/base/
Dvideoadapter_unittest.cc200 VideoFormat format = capturer_->GetSupportedFormats()->at(0); in TEST_F() local
201 format.interval = 0; in TEST_F()
202 adapter_->SetInputFormat(format); in TEST_F()
203 adapter_->SetOutputFormat(format); in TEST_F()
397 VideoFormat format; // with resolution 0x0. in TEST_F() local
398 adapter_->SetOutputFormat(format); in TEST_F()
413 VideoFormat format(640, 400, VideoFormat::FpsToInterval(30), FOURCC_I420); in TEST() local
414 adapter.SetInputFormat(format); in TEST()
416 EXPECT_EQ(format, adapter.input_format()); in TEST()
420 format.height = 400; in TEST()
[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/libchrome/base/strings/
Dstringprintf.cc30 const char* format, in vsnprintfT() argument
32 return base::vsnprintf(buffer, buf_size, format, argptr); in vsnprintfT()
38 const wchar_t* format, in vsnprintfT() argument
40 return base::vswprintf(buffer, buf_size, format, argptr); in vsnprintfT()
48 const typename StringType::value_type* format, in StringAppendVT() argument
61 int result = vsnprintfT(stack_buf, arraysize(stack_buf), format, ap_copy); in StringAppendVT()
103 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy); in StringAppendVT()
116 std::string StringPrintf(const char* format, ...) { in StringPrintf() argument
118 va_start(ap, format); in StringPrintf()
120 StringAppendV(&result, format, ap); in StringPrintf()
[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/avahi/avahi-core/
Dlog.c41 void avahi_log_ap(AvahiLogLevel level, const char*format, va_list ap) { in avahi_log_ap() argument
44 vsnprintf(txt, sizeof(txt), format, ap); in avahi_log_ap()
56 void avahi_log(AvahiLogLevel level, const char*format, ...) { in avahi_log() argument
58 va_start(ap, format); in avahi_log()
59 avahi_log_ap(level, format, ap); in avahi_log()
63 void avahi_log_error(const char*format, ...) { in avahi_log_error() argument
65 va_start(ap, format); in avahi_log_error()
66 avahi_log_ap(AVAHI_LOG_ERROR, format, ap); in avahi_log_error()
70 void avahi_log_warn(const char*format, ...) { in avahi_log_warn() argument
72 va_start(ap, format); in avahi_log_warn()
[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 …]

12345678910>>...216