/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)
|
D | functools.py | 378 format_string = "{module}.{cls}({func}, {args}, {keywords})" 379 return format_string.format(module=self.__class__.__module__,
|
/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/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/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/FreeBSD/contrib/libexecinfo/ |
D | backtrace.c | 85 static ssize_t format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, in format_string() function 141 return format_string(buf, bufsiz, offs, fmt, &dli, addr); in format_address()
|
/third_party/musl/third_party/openbsd/gnu/lib/libexecinfo/ |
D | backtrace.c | 85 static ssize_t format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, in format_string() function 157 return format_string(buf, bufsiz, offs, fmt, &dli, addr); in format_address()
|
/third_party/node/deps/v8/third_party/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/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/mbedtls/scripts/mbedtls_dev/ |
D | bignum_common.py | 184 format_string = "{1:x} {0}" if self.suffix else "{0} {1:x}" 185 self.case_description = format_string.format(
|
/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.
|
D | string.rst | 91 .. method:: format(format_string, /, *args, **kwargs) 101 .. method:: vformat(format_string, args, kwargs) 114 .. method:: parse(format_string) 116 Loop over the format_string and return an iterable of tuples
|