/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 …]
|
/external/python/cpython2/Lib/test/ |
D | test_str.py | 44 format_string = "%.{}f".format(INT_MAX + 1) 49 format_string = "%{}f".format(sys.maxsize + 1) 128 def test(value, format, expected): argument 130 self.assertEqual(value.__format__(format), expected) 131 self.assertEqual(value.__format__(format + 's'), expected) 160 self.assertEqual(''.format(), '') 161 self.assertEqual('a'.format(), 'a') 162 self.assertEqual('ab'.format(), 'ab') 163 self.assertEqual('a{{'.format(), 'a{') 164 self.assertEqual('a}}'.format(), 'a}') [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 | 119 comment = colorspace_channels_map[format.colorspace][i] 125 for format in formats: 127 print 'util_format_%s_description = {' % (format.short_name(),) 128 print " %s," % (format.name,) 129 print " \"%s\"," % (format.name,) 130 print " \"%s\"," % (format.short_name(),) 131 …print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_siz… 132 print " %s," % (layout_map(format.layout),) 133 print " %u,\t/* nr_channels */" % (format.nr_channels(),) 134 print " %s,\t/* is_array */" % (bool_map(format.is_array()),) [all …]
|
D | u_format.h | 140 enum pipe_format format; member 414 util_format_description(enum pipe_format format); 422 util_format_name(enum pipe_format format) in util_format_name() argument 424 const struct util_format_description *desc = util_format_description(format); in util_format_name() 435 util_format_short_name(enum pipe_format format) in util_format_short_name() argument 437 const struct util_format_description *desc = util_format_description(format); in util_format_short_name() 451 util_format_is_plain(enum pipe_format format) in util_format_is_plain() argument 453 const struct util_format_description *desc = util_format_description(format); in util_format_is_plain() 455 if (!format) { in util_format_is_plain() 463 util_format_is_compressed(enum pipe_format format) in util_format_is_compressed() argument [all …]
|
D | u_format_pack.py | 52 def print_channels(format, func): argument 53 if format.nr_channels() <= 1: 54 func(format.le_channels, format.le_swizzles) 57 func(format.be_channels, format.be_swizzles) 59 func(format.le_channels, format.le_swizzles) 62 def generate_format_type(format): argument 65 assert format.layout == PLAIN 108 print 'union util_format_%s {' % format.short_name() 110 if format.block_size() in (8, 16, 32, 64): 111 print ' uint%u_t value;' % (format.block_size(),) [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/mesa3d/src/mesa/main/ |
D | formats.c | 83 _mesa_get_format_info(mesa_format format) in _mesa_get_format_info() argument 85 const struct gl_format_info *info = &format_info[format]; in _mesa_get_format_info() 87 assert(info->Name == format); in _mesa_get_format_info() 94 _mesa_get_format_name(mesa_format format) in _mesa_get_format_name() argument 96 const struct gl_format_info *info = _mesa_get_format_info(format); in _mesa_get_format_name() 110 _mesa_get_format_bytes(mesa_format format) in _mesa_get_format_bytes() argument 112 if (_mesa_format_is_mesa_array_format(format)) { in _mesa_get_format_bytes() 113 return _mesa_array_format_get_type_size(format) * in _mesa_get_format_bytes() 114 _mesa_array_format_get_num_channels(format); in _mesa_get_format_bytes() 117 const struct gl_format_info *info = _mesa_get_format_info(format); in _mesa_get_format_bytes() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | vk_format_utils.h | 140 VK_LAYER_EXPORT bool FormatIsDepthOrStencil(VkFormat format); 141 VK_LAYER_EXPORT bool FormatIsDepthAndStencil(VkFormat format); 142 VK_LAYER_EXPORT bool FormatIsDepthOnly(VkFormat format); 143 VK_LAYER_EXPORT bool FormatIsStencilOnly(VkFormat format); 144 VK_LAYER_EXPORT bool FormatIsCompressed_ETC2_EAC(VkFormat format); 145 VK_LAYER_EXPORT bool FormatIsCompressed_ASTC_LDR(VkFormat format); 146 VK_LAYER_EXPORT bool FormatIsCompressed_BC(VkFormat format); 147 VK_LAYER_EXPORT bool FormatIsCompressed_PVRTC(VkFormat format); 148 VK_LAYER_EXPORT bool FormatIsSinglePlane_422(VkFormat format); 149 VK_LAYER_EXPORT bool FormatIsNorm(VkFormat format); [all …]
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_format.h | 147 enum pipe_format format; member 239 util_format_description(enum pipe_format format); 247 util_format_name(enum pipe_format format) in util_format_name() argument 249 const struct util_format_description *desc = util_format_description(format); in util_format_name() 260 util_format_short_name(enum pipe_format format) in util_format_short_name() argument 262 const struct util_format_description *desc = util_format_description(format); in util_format_short_name() 276 util_format_is_plain(enum pipe_format format) in util_format_is_plain() argument 278 const struct util_format_description *desc = util_format_description(format); in util_format_is_plain() 280 if (!format) { in util_format_is_plain() 288 util_format_is_compressed(enum pipe_format format) in util_format_is_compressed() argument [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_format.h | 96 bool FormatFromString(const string& format_str, TensorFormat* format); 101 FilterTensorFormat* format); 104 string ToString(TensorFormat format); 107 string ToString(FilterTensorFormat format); 111 inline int GetTensorSpatialDims(int num_dims, TensorFormat format) { in GetTensorSpatialDims() argument 112 switch (format) { in GetTensorSpatialDims() 126 inline int GetFilterTensorSpatialDims(int num_dims, FilterTensorFormat format) { in GetFilterTensorSpatialDims() argument 127 if (format == FORMAT_OIHW_VECT_I) { in GetFilterTensorSpatialDims() 137 TensorFormat format) { in GetTensorDimsFromSpatialDims() argument 138 switch (format) { in GetTensorDimsFromSpatialDims() [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/skia/src/ports/ |
D | SkImageGeneratorWIC.cpp | 98 WICPixelFormatGUID format; in MakeFromEncodedWIC() local 99 hr = imageSource->GetPixelFormat(&format); in MakeFromEncodedWIC() 110 if (GUID_WICPixelFormat16bppBGR555 == format || in MakeFromEncodedWIC() 111 GUID_WICPixelFormat16bppBGR565 == format || in MakeFromEncodedWIC() 112 GUID_WICPixelFormat32bppBGR101010 == format || in MakeFromEncodedWIC() 113 GUID_WICPixelFormatBlackWhite == format || in MakeFromEncodedWIC() 114 GUID_WICPixelFormat2bppGray == format || in MakeFromEncodedWIC() 115 GUID_WICPixelFormat4bppGray == format || in MakeFromEncodedWIC() 116 GUID_WICPixelFormat8bppGray == format || in MakeFromEncodedWIC() 117 GUID_WICPixelFormat16bppGray == format || in MakeFromEncodedWIC() [all …]
|
/external/skqp/src/ports/ |
D | SkImageGeneratorWIC.cpp | 98 WICPixelFormatGUID format; in MakeFromEncodedWIC() local 99 hr = imageSource->GetPixelFormat(&format); in MakeFromEncodedWIC() 110 if (GUID_WICPixelFormat16bppBGR555 == format || in MakeFromEncodedWIC() 111 GUID_WICPixelFormat16bppBGR565 == format || in MakeFromEncodedWIC() 112 GUID_WICPixelFormat32bppBGR101010 == format || in MakeFromEncodedWIC() 113 GUID_WICPixelFormatBlackWhite == format || in MakeFromEncodedWIC() 114 GUID_WICPixelFormat2bppGray == format || in MakeFromEncodedWIC() 115 GUID_WICPixelFormat4bppGray == format || in MakeFromEncodedWIC() 116 GUID_WICPixelFormat8bppGray == format || in MakeFromEncodedWIC() 117 GUID_WICPixelFormat16bppGray == format || in MakeFromEncodedWIC() [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/deqp/external/vulkancts/mustpass/1.0.0/ |
D | vk-default.txt | 7494 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_never 7495 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_less 7496 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_equal 7497 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_less_or_equal 7498 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_greater 7499 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_not_equal 7500 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_greater_or_equal 7501 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_always 7502 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_zero.comp_never 7503 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_zero.comp_less [all …]
|
/external/deqp/external/vulkancts/mustpass/1.0.0/src/ |
D | master.txt | 7494 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_never 7495 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_less 7496 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_equal 7497 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_less_or_equal 7498 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_greater 7499 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_not_equal 7500 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_greater_or_equal 7501 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_always 7502 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_zero.comp_never 7503 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_zero.comp_less [all …]
|
/external/deqp/android/cts/nyc/src/ |
D | vk-master.txt | 5029 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_never 5030 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_less 5031 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_equal 5032 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_less_or_equal 5033 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_greater 5034 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_not_equal 5035 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_greater_or_equal 5036 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_keep.comp_always 5037 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_zero.comp_never 5038 dEQP-VK.pipeline.stencil.format.s8_uint.states.fail_keep.pass_keep.dfail_zero.comp_less [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/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | Strftime.java | 22 public static String format(String format, final Date date, Locale locale, TimeZone zone) { in format() argument 42 public String format(String format) { in format() argument 43 formatter.applyPattern(format); in format() 44 return formatter.format(date); in format() 61 for (int i = 0; i < format.length(); i++) { in format() 62 Character c = format.charAt(i); in format() 79 formatter.format("EEE"), in format() 88 formatter.format("EEEE"), in format() 97 formatter.format("MMM"), in format() 106 formatter.format("MMMM"), in format() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | vk_format_table.py | 78 def print_channels(format, func): argument 79 if format.nr_channels() <= 1: 80 func(format.le_channels, format.le_swizzles) 83 func(format.be_channels, format.be_swizzles) 85 func(format.le_channels, format.le_swizzles) 121 comment = colorspace_channels_map[format.colorspace][i] 127 for format in formats: 129 print 'vk_format_%s_description = {' % (format.short_name(),) 130 print " %s," % (format.name,) 131 print " \"%s\"," % (format.name,) [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 …]
|