/external/icu/icu4c/source/test/testdata/ |
D | dcfmtest.txt | 20 # format pattern round-mode "decimal number" "expected formatted result" 44 format 0.0000E0 default "1234.01" "1.2340E3" 46 format 00 default "1234" "1234" 47 format 00 default ".01" "00" 48 format 00 default "1" "01" 49 format 00 default "1.9" "02" 51 format #.# default "12.34" "12.3" 53 format @@@ default "12.3456" "12.3" 54 format @@@ default "123456" "123000" 55 format @@@ default ".00123456" "0.00123" [all …]
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUM_FMT.c | 45 struct v4l2_fmtdesc format; in do_enumerate_formats() local 51 memset(&format, 0xff, sizeof(format)); in do_enumerate_formats() 52 format.index = i; in do_enumerate_formats() 53 format.type = type; in do_enumerate_formats() 55 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in do_enumerate_formats() 63 CU_ASSERT_EQUAL(format.index, i); in do_enumerate_formats() 67 CU_ASSERT(0 < strlen((char *)format.description)); in do_enumerate_formats() 69 ((char *)format.description, in do_enumerate_formats() 70 sizeof(format.description))); in do_enumerate_formats() 73 CU_ASSERT_EQUAL(format.reserved[0], 0); in do_enumerate_formats() [all …]
|
D | test_VIDIOC_FMT.c | 190 struct v4l2_format format; in do_get_formats() local 194 memset(&format, 0xff, sizeof(format)); in do_get_formats() 195 format.type = type; in do_get_formats() 197 ret_get = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in do_get_formats() 204 CU_ASSERT_EQUAL(format.type, type); in do_get_formats() 206 switch (format.type) { in do_get_formats() 219 format.type, in do_get_formats() 220 format.fmt.pix.width, in do_get_formats() 221 format.fmt.pix.height, in do_get_formats() 222 format.fmt.pix.pixelformat, in do_get_formats() [all …]
|
/external/fmtlib/test/ |
D | format-test.cc | 74 using fmt::format; 523 EXPECT_EQ("{", format("{{")); in TEST() 524 EXPECT_EQ("before {", format("before {{")); in TEST() 525 EXPECT_EQ("{ after", format("{{ after")); in TEST() 526 EXPECT_EQ("before { after", format("before {{ after")); in TEST() 528 EXPECT_EQ("}", format("}}")); in TEST() 529 EXPECT_EQ("before }", format("before }}")); in TEST() 530 EXPECT_EQ("} after", format("}} after")); in TEST() 531 EXPECT_EQ("before } after", format("before }} after")); in TEST() 533 EXPECT_EQ("{}", format("{{}}")); in TEST() [all …]
|
/external/clang/unittests/Format/ |
D | FormatTestSelective.cpp | 18 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 …]
|
D | FormatTest.cpp | 23 namespace format { namespace 36 std::string format(llvm::StringRef Code, in format() function in clang::format::__anon4a65ed390111::FormatTest 70 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); in verifyFormat() 76 format(test::messUp(Code), Style, IC_ExpectIncomplete)); in verifyIncompleteFormat() 91 format(Code, Style, IC_DoNotCheck); in verifyNoCrash() 110 EXPECT_EQ(";", format(";")); in TEST_F() 114 EXPECT_EQ("int i;", format(" int i;")); in TEST_F() 115 EXPECT_EQ("\nint i;", format(" \n\t \v \f int i;")); in TEST_F() 116 EXPECT_EQ("int i;\nint j;", format(" int i; int j;")); in TEST_F() 117 EXPECT_EQ("int i;\nint j;", format(" int i;\n int j;")); in TEST_F() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_table.py | 97 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 …]
|
D | u_format_pack.py | 43 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 …]
|
D | u_format.h | 137 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/ |
D | lp_tile_soa.py | 48 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/ |
D | sediff.py | 123 format='%(asctime)s|%(levelname)s|%(name)s|%(message)s') 125 logging.basicConfig(level=logging.INFO, format='%(message)s') 127 logging.basicConfig(level=logging.WARNING, format='%(message)s') 135 print("Policy Properties ({0} Modified)".format(len(diff.modified_properties))) 139 print(" * {0} +{1} -{2}".format(name, added, removed)) 145 print("Commons ({0} Added, {1} Removed, {2} Modified)".format( 148 print(" Added Commons: {0}".format(len(diff.added_commons))) 150 print(" + {0}".format(c)) 152 print(" Removed Commons: {0}".format(len(diff.removed_commons))) 154 print(" - {0}".format(c)) [all …]
|
/external/deqp/external/vulkancts/mustpass/1.0.0/src/ |
D | master.txt | 3365 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_repl_dfail_inv_comp_not_equal_b… 3366 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_inv_comp_not_equal_b… 3367 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_wrap_pass_decw_dfail_wrap_comp_less_back_… 3368 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_inv_pass_incc_dfail_keep_comp_greater_or_… 3369 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_wrap_comp_equal_back… 3370 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_repl_pass_inv_dfail_repl_comp_always_back… 3371 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_zero_pass_incc_dfail_decc_comp_not_equal_… 3372 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_incc_comp_greater_or… 3373 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_zero_dfail_keep_comp_equal_back… 3374 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_keep_pass_wrap_dfail_decw_comp_less_or_eq… [all …]
|
/external/deqp/external/vulkancts/mustpass/1.0.0/ |
D | vk-default.txt | 4417 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_repl_dfail_inv_comp_not_equal_b… 4418 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_inv_comp_not_equal_b… 4419 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_wrap_pass_decw_dfail_wrap_comp_less_back_… 4420 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_inv_pass_incc_dfail_keep_comp_greater_or_… 4421 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_wrap_comp_equal_back… 4422 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_repl_pass_inv_dfail_repl_comp_always_back… 4423 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_zero_pass_incc_dfail_decc_comp_not_equal_… 4424 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_incc_comp_greater_or… 4425 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_zero_dfail_keep_comp_equal_back… 4426 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_keep_pass_wrap_dfail_decw_comp_less_or_eq… [all …]
|
/external/skia/src/ports/ |
D | SkImageGeneratorWIC.cpp | 70 WICPixelFormatGUID format; in NewFromEncodedWIC() local 71 hr = imageSource->GetPixelFormat(&format); in NewFromEncodedWIC() 82 if (GUID_WICPixelFormat16bppBGR555 == format || in NewFromEncodedWIC() 83 GUID_WICPixelFormat16bppBGR565 == format || in NewFromEncodedWIC() 84 GUID_WICPixelFormat32bppBGR101010 == format || in NewFromEncodedWIC() 85 GUID_WICPixelFormatBlackWhite == format || in NewFromEncodedWIC() 86 GUID_WICPixelFormat2bppGray == format || in NewFromEncodedWIC() 87 GUID_WICPixelFormat4bppGray == format || in NewFromEncodedWIC() 88 GUID_WICPixelFormat8bppGray == format || in NewFromEncodedWIC() 89 GUID_WICPixelFormat16bppGray == format || in NewFromEncodedWIC() [all …]
|
/external/e2fsprogs/intl/ |
D | printf.c | 80 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/deqp/android/cts/nyc/ |
D | vk-master.txt | 4424 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_repl_dfail_inv_comp_not_equal_b… 4425 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_inv_comp_not_equal_b… 4426 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_wrap_pass_decw_dfail_wrap_comp_less_back_… 4427 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_inv_pass_incc_dfail_keep_comp_greater_or_… 4428 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_wrap_comp_equal_back… 4429 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_repl_pass_inv_dfail_repl_comp_always_back… 4430 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_zero_pass_incc_dfail_decc_comp_not_equal_… 4431 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_incc_comp_greater_or… 4432 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_zero_dfail_keep_comp_equal_back… 4433 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_keep_pass_wrap_dfail_decw_comp_less_or_eq… [all …]
|
/external/deqp/android/cts/nyc/src/ |
D | vk-master.txt | 3372 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_repl_dfail_inv_comp_not_equal_b… 3373 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_inv_comp_not_equal_b… 3374 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_wrap_pass_decw_dfail_wrap_comp_less_back_… 3375 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_inv_pass_incc_dfail_keep_comp_greater_or_… 3376 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_wrap_comp_equal_back… 3377 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_repl_pass_inv_dfail_repl_comp_always_back… 3378 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_zero_pass_incc_dfail_decc_comp_not_equal_… 3379 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_incc_pass_keep_dfail_incc_comp_greater_or… 3380 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_decc_pass_zero_dfail_keep_comp_equal_back… 3381 dEQP-VK.pipeline.stencil.format.s8_uint.states.front_fail_keep_pass_wrap_dfail_decw_comp_less_or_eq… [all …]
|
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/ |
D | SubstituteLogger.java | 61 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 …]
|
/external/libcups/cups/ |
D | snprintf.c | 31 const char *format, /* I - printf-style format string */ in _cups_vsnprintf() argument 58 while (*format) in _cups_vsnprintf() 60 if (*format == '%') in _cups_vsnprintf() 63 *tptr++ = *format++; in _cups_vsnprintf() 65 if (*format == '%') in _cups_vsnprintf() 67 if (bufptr && bufptr < bufend) *bufptr++ = *format; in _cups_vsnprintf() 69 format ++; in _cups_vsnprintf() 72 else if (strchr(" -+#\'", *format)) in _cups_vsnprintf() 74 *tptr++ = *format; in _cups_vsnprintf() 75 sign = *format++; in _cups_vsnprintf() [all …]
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/ |
D | LoggerWrapper.java | 96 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/ |
D | attr-format.c | 5 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/ |
D | videoadapter_unittest.cc | 200 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/ |
D | trio.h | 80 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/ |
D | stringprintf.cc | 30 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/ |
D | JCLLoggerAdapter.java | 87 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 …]
|