/third_party/rust/crates/bindgen/bindgen/codegen/ |
D | impl_debug.rs | 13 let mut format_string = format!("{} {{{{ ", struct_name); in gen_debug_impl() localVariable 17 format_string.push_str("opaque"); in gen_debug_impl() 21 format_string.push_str("union"); in gen_debug_impl() 31 format_string.push_str(", "); in gen_debug_impl() 34 format_string.push_str(&fstring); in gen_debug_impl() 40 format_string.push_str(" }}"); in gen_debug_impl() 41 tokens.insert(0, quote! { #format_string }); in gen_debug_impl() 91 let mut format_string = String::new(); in impl_debug() localVariable 95 format_string.push_str(", "); in impl_debug() 99 format_string.push_str(&format!("{} : {{:?}}", bitfield_name)); in impl_debug() [all …]
|
/third_party/python/Lib/ |
D | string.py | 160 def format(self, format_string, /, *args, **kwargs): argument 161 return self.vformat(format_string, args, kwargs) 163 def vformat(self, format_string, args, kwargs): argument 165 result, _ = self._vformat(format_string, args, kwargs, used_args, 2) 169 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth, argument 175 self.parse(format_string): 258 def parse(self, format_string): argument 259 return _string.formatter_parser(format_string)
|
D | locale.py | 213 def format_string(f, val, grouping=False, monetary=False): function 347 s1 = format_string("%d", 123456789,1)
|
/third_party/python/Lib/test/ |
D | test_strptime.py | 498 format_string = "%Y %m %d %H %M %S %w %Z" 499 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 500 format_string) 508 format_string = "%Y %H %M %S %w %j %Z" 509 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 510 format_string) 523 format_string = "%Y %m %d %H %S %j %Z" 524 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 525 format_string) 551 format_string = year_week_format + ' ' + weekday_format [all …]
|
D | test_locale.py | 155 func=locale.format_string, **format_opts) 253 self.assertEqual(locale.format_string('%f%%', 1.0), '%f%%' % 1.0) 254 self.assertEqual(locale.format_string('%d %f%%d', (1, 1.0)), 256 self.assertEqual(locale.format_string('%(foo)s %%d', {'foo': 'bar'}), 260 self.assertEqual(locale.format_string('%(foo)s bing.', {'foo': 'bar'}), 262 self.assertEqual(locale.format_string('%(foo)s', {'foo': 'bar'}),
|
D | test_string.py | 48 self.assertEqual(fmt.format("-{format_string}-", format_string='test'), 52 fmt.format(format_string="-{arg}-", arg='test') 148 def parse(self, format_string): argument 149 for field in format_string.split('|'):
|
D | test_unicode.py | 1353 format_string = ".{}f".format(sys.maxsize + 1) 1355 result = format(2.34, format_string) 1358 format_string = "{}f".format(sys.maxsize + 1) 1360 result = format(2.34, format_string) 1363 format_string = "{{{}:.6f}}".format(sys.maxsize + 1) 1365 result = format_string.format(2.34) 1517 format_string = "%.{}f".format(sys.maxsize + 1) 1519 result = format_string % 2.34 1533 format_string = "%.{}f".format(INT_MAX + 1) 1535 result = format_string % 2.34 [all …]
|
/third_party/freetype/include/dlg/ |
D | output.h | 117 const char* format_string, const struct dlg_origin* origin, 129 DLG_API void dlg_generic_outputf_stream(FILE* stream, const char* format_string, 140 DLG_API void dlg_generic_outputf_buf(char* buf, size_t* size, const char* format_string,
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | date.c | 115 char *setdate = *toys.optargs, *format_string = "%a %b %e %H:%M:%S %Z %Y", in date_main() local 149 format_string = toys.optargs[0]+1; in date_main() 162 puts_time(format_string, localtime(&t)); in date_main()
|
/third_party/toybox/toys/posix/ |
D | date.c | 118 char *setdate = *toys.optargs, *format_string = "%a %b %e %H:%M:%S %Z %Y", in date_main() local 152 format_string = toys.optargs[0]+1; in date_main() 165 puts_time(format_string, localtime(&t)); in date_main()
|
/third_party/gn/src/base/strings/ |
D | string_util.cc | 940 const FormatStringType& format_string, in DoReplaceStringPlaceholders() argument 951 formatted.reserve(format_string.length() + sub_length); in DoReplaceStringPlaceholders() 954 for (auto i = format_string.begin(); i != format_string.end(); ++i) { in DoReplaceStringPlaceholders() 956 if (i + 1 != format_string.end()) { in DoReplaceStringPlaceholders() 959 while (i != format_string.end() && '$' == *i) { in DoReplaceStringPlaceholders() 994 const std::u16string& format_string, in ReplaceStringPlaceholders() argument 997 return DoReplaceStringPlaceholders(format_string, subst, offsets); in ReplaceStringPlaceholders() 1000 std::string ReplaceStringPlaceholders(std::string_view format_string, in ReplaceStringPlaceholders() argument 1003 return DoReplaceStringPlaceholders(format_string, subst, offsets); in ReplaceStringPlaceholders() 1006 std::u16string ReplaceStringPlaceholders(const std::u16string& format_string, in ReplaceStringPlaceholders() argument [all …]
|
D | string_util.h | 401 const std::u16string& format_string, 405 std::string ReplaceStringPlaceholders(std::string_view format_string, 410 std::u16string ReplaceStringPlaceholders(const std::u16string& format_string,
|
/third_party/freetype/src/dlg/ |
D | dlg.c | 371 const char* format_string, const struct dlg_origin* origin, const char* string, argument 374 for(const char* it = format_string; *it; it++) { 495 void dlg_generic_outputf_buf(char* buf, size_t* size, const char* format_string, argument 502 dlg_generic_outputf(print_buf, &mbuf, format_string, origin, string, styles); 505 dlg_generic_outputf(print_size, size, format_string, origin, string, styles); 530 void dlg_generic_outputf_stream(FILE* stream, const char* format_string, argument 538 dlg_generic_outputf(print_stream, stream, format_string, origin, string, styles);
|
/third_party/ffmpeg/tests/checkasm/ |
D | vf_colorspace.c | 48 static const char *format_string[] = { variable 96 format_string[fmt], in check_yuv2yuv() 160 format_string[fmt], idepth * 2 + 8)) { in check_yuv2rgb() 241 format_string[fmt], odepth * 2 + 8)) { in check_rgb2yuv()
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamcaudiodec.c | 448 gchar *format_string; in gst_amc_audio_dec_loop() local 456 format_string = gst_amc_format_to_string (format, &err); in gst_amc_audio_dec_loop() 461 GST_DEBUG_OBJECT (self, "Got new output format: %s", format_string); in gst_amc_audio_dec_loop() 462 g_free (format_string); in gst_amc_audio_dec_loop() 827 gchar *format_string; in gst_amc_audio_dec_set_format() local 960 format_string = gst_amc_format_to_string (format, &err); in gst_amc_audio_dec_set_format() 964 GST_STR_NULL (format_string)); in gst_amc_audio_dec_set_format() 965 g_free (format_string); in gst_amc_audio_dec_set_format()
|
D | gstamcvideoenc.c | 1071 gchar *format_string; in gst_amc_video_enc_loop() local 1092 format_string = gst_amc_format_to_string (format, &err); in gst_amc_video_enc_loop() 1097 GST_DEBUG_OBJECT (self, "Got new output format: %s", format_string); in gst_amc_video_enc_loop() 1098 g_free (format_string); in gst_amc_video_enc_loop() 1364 gchar *format_string; in gst_amc_video_enc_set_format() local 1428 format_string = gst_amc_format_to_string (format, &err); in gst_amc_video_enc_set_format() 1432 GST_STR_NULL (format_string)); in gst_amc_video_enc_set_format() 1433 g_free (format_string); in gst_amc_video_enc_set_format()
|
D | gstahcsrc.c | 1781 gchar *format_string = NULL; in gst_ahc_src_getcaps() local 1791 format_string = g_strdup ("NV16"); in gst_ahc_src_getcaps() 1794 format_string = g_strdup ("NV21"); in gst_ahc_src_getcaps() 1800 format_string = g_strdup (gst_video_format_to_string (vformat)); in gst_ahc_src_getcaps() 1803 format_string = g_strdup ("YUY2"); in gst_ahc_src_getcaps() 1806 format_string = g_strdup ("YV12"); in gst_ahc_src_getcaps() 1810 if (format_string) { in gst_ahc_src_getcaps() 1812 "format", G_TYPE_STRING, format_string, NULL); in gst_ahc_src_getcaps() 1813 g_free (format_string); in gst_ahc_src_getcaps()
|
D | gstamcvideodec.c | 1325 gchar *format_string; in gst_amc_video_dec_loop() local 1333 format_string = gst_amc_format_to_string (format, &err); in gst_amc_video_dec_loop() 1338 GST_DEBUG_OBJECT (self, "Got new output format: %s", format_string); in gst_amc_video_dec_loop() 1339 g_free (format_string); in gst_amc_video_dec_loop() 1795 gchar *format_string; in gst_amc_video_dec_set_format() local 2017 format_string = gst_amc_format_to_string (format, &err); in gst_amc_video_dec_set_format() 2021 GST_STR_NULL (format_string)); in gst_amc_video_dec_set_format() 2022 g_free (format_string); in gst_amc_video_dec_set_format()
|
/third_party/skia/third_party/externals/jinja2/ |
D | sandbox.py | 429 def format_string(self, s, args, kwargs, format_func=None): member in SandboxedEnvironment 456 return __self.format_string(fmt, args, kwargs, __obj)
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | sandbox.py | 405 def format_string(self, s, args, kwargs): member in SandboxedEnvironment 421 return __self.format_string(fmt, args, kwargs)
|
/third_party/jinja2/ |
D | sandbox.py | 348 def format_string( member in SandboxedEnvironment 387 return __self.format_string(fmt, args, kwargs, __obj)
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
D | gl_apitemp.py | 78 t_string = t_string + comma + p.format_string()
|
D | typeexpr.py | 269 def format_string(self): member in type_expression
|
D | gl_XML.py | 599 def format_string(self): member in gl_parameter 603 return self.type_expr.format_string()
|
/third_party/python/Doc/library/ |
D | locale.rst | 374 .. function:: format_string(format, val, grouping=False, monetary=False) 393 Please note that this function works like :meth:`format_string` but will 397 For whole format strings, use :func:`format_string`. 400 Use :meth:`format_string` instead.
|