/external/oss-fuzz/projects/spdlog/fuzz/ |
D | log_fuzzer.cc | 39 const std::string format_string = stream.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput() local 41 spdlog::info(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 42 spdlog::trace(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 43 spdlog::debug(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 44 spdlog::error(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 45 spdlog::warn(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 46 spdlog::critical(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 48 SPDLOG_INFO(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 49 SPDLOG_TRACE(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() 50 SPDLOG_DEBUG(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput() [all …]
|
D | format_fuzzer.cc | 60 const std::string format_string = stream.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput() local 67 spdlog::info(format_string.c_str(), size_arg, int_arg, string_arg); in LLVMFuzzerTestOneInput()
|
/external/rust/crates/bindgen/src/codegen/ |
D | impl_debug.rs | 14 let mut format_string = format!("{} {{{{ ", struct_name); in gen_debug_impl() localVariable 18 format_string.push_str("opaque"); in gen_debug_impl() 22 format_string.push_str("union"); in gen_debug_impl() 32 format_string.push_str(", "); in gen_debug_impl() 35 format_string.push_str(&fstring); in gen_debug_impl() 41 format_string.push_str(" }}"); in gen_debug_impl() 42 tokens.insert(0, quote! { #format_string }); in gen_debug_impl() 92 let mut format_string = String::new(); in impl_debug() localVariable 96 format_string.push_str(", "); in impl_debug() 100 format_string.push_str(&format!("{} : {{:?}}", bitfield_name)); in impl_debug() [all …]
|
/external/llvm-project/lldb/test/API/lang/mixed/ |
D | TestMixedLanguages.py | 25 self.format_string, check=False) 32 self.format_string = m.group(1) 35 …format_string = "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}\`${function.name}{${f… 36 self.runCmd("settings set frame-format %s" % format_string) 38 substrs=[format_string])
|
/external/bsdiff/ |
D | bsdiff_arguments.cc | 174 string format_string = str; in ParseBsdiffFormat() local 175 std::transform(format_string.begin(), format_string.end(), in ParseBsdiffFormat() 176 format_string.begin(), ::tolower); in ParseBsdiffFormat() 177 if (format_string == kLegacyString || format_string == kBsdiff40String) { in ParseBsdiffFormat() 180 } else if (format_string == kBsdf2String) { in ParseBsdiffFormat() 183 } else if (format_string == kEndsleyString) { in ParseBsdiffFormat()
|
/external/pigweed/pw_tokenizer/py/pw_tokenizer/ |
D | decode.py | 281 def parse_format_specifiers(format_string: str) -> Iterable[FormatSpec]: 282 for spec in FormatSpec.FORMAT_SPEC.finditer(format_string): 294 def __init__(self, format_string: str): 296 self.format_string = format_string 297 self.specifiers = tuple(parse_format_specifiers(self.format_string)) 305 return [self.format_string] 310 string_pieces = [self.format_string[:spec_spans[0][0]]] 313 string_pieces.append(self.format_string[end1:start2]) 316 string_pieces.append(self.format_string[spec_spans[-1][1]:]) 380 def decode(format_string: str, [all …]
|
/external/python/cpython3/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)
|
/external/llvm-project/lldb/source/Core/ |
D | DumpRegisterValue.cpp | 31 StreamString format_string; in DumpRegisterValue() local 33 format_string.Printf("%%%us", reg_name_right_align_at); in DumpRegisterValue() 35 format_string.Printf("%%s"); in DumpRegisterValue() 36 std::string fmt = std::string(format_string.GetString()); in DumpRegisterValue()
|
/external/python/cpython2/Lib/ |
D | string.py | 552 format_string, args = args[0], args[1:] # allow the "format_string" keyword be passed 555 format_string = kwargs.pop('format_string') 559 return self.vformat(format_string, args, kwargs) 561 def vformat(self, format_string, args, kwargs): argument 563 result = self._vformat(format_string, args, kwargs, used_args, 2) 567 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth): argument 572 self.parse(format_string): 634 def parse(self, format_string): argument 635 return format_string._formatter_parser()
|
/external/toybox/toys/posix/ |
D | date.c | 135 char *setdate = *toys.optargs, *format_string = "%a %b %e %H:%M:%S %Z %Y", in date_main() local 144 format_string = xstrdup(iso_formats[i]); in date_main() 177 format_string = toys.optargs[0]+1; in date_main() 190 puts_time(format_string, localtime(&t)); in date_main() 197 if (CFG_TOYBOX_FREE && FLAG(I)) free(format_string); in date_main()
|
/external/python/cpython2/Lib/test/ |
D | test_strptime.py | 416 format_string = "%Y %m %d %H %M %S %w %Z" 417 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 418 format_string) 425 format_string = "%Y %H %M %S %w %j %Z" 426 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 427 format_string) 439 format_string = "%Y %m %d %H %S %j %Z" 440 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 441 format_string) 451 format_string = "%%Y %%%s %%w" % directive [all …]
|
D | test_str.py | 44 format_string = "%.{}f".format(INT_MAX + 1) 46 result = format_string % 2.34 49 format_string = "%{}f".format(sys.maxsize + 1) 51 result = format_string % 2.34 393 format_string = ".{}f".format(sys.maxsize + 1) 395 result = format(2.34, format_string) 398 format_string = "{}f".format(sys.maxsize + 1) 400 result = format(2.34, format_string) 403 format_string = "{{{}:.6f}}".format(sys.maxsize + 1) 405 result = format_string.format(2.34)
|
D | test_locale.py | 155 func=locale.format_string, **format_opts) 248 self.assertEqual(locale.format_string('%f%%', 1.0), '%f%%' % 1.0) 249 self.assertEqual(locale.format_string('%d %f%%d', (1, 1.0)), 251 self.assertEqual(locale.format_string('%(foo)s %%d', {'foo': 'bar'}), 255 self.assertEqual(locale.format_string('%(foo)s bing.', {'foo': 'bar'}), 257 self.assertEqual(locale.format_string('%(foo)s', {'foo': 'bar'}),
|
/external/bcc/tools/ |
D | tcplife.py | 432 format_string = "%-5d %-10.10s %s%-15s %-5d %-15s %-5d %5d %5d %.2f" variable 435 format_string = "%-5d %-16.16s %-2s %-26s %-5s %-26s %-5d %6d %6d %.2f" variable 438 format_string = "%d,%s,%s,%s,%s,%s,%d,%d,%d,%.2f" variable 457 print(format_string % (event.pid, event.task.decode('utf-8', 'replace'), 479 print(format_string % (event.pid, event.task.decode('utf-8', 'replace'),
|
D | tcplife.lua | 196 local format_string = "%-5d %-10.10s %s%-15s %-5d %-15s %-5d %5d %5d %.2f" 272 print(string.format(format_string, event_pid, event_task, iv, 311 print(string.format(format_string, event_pid, event_task, iv, 367 format_string = "%-5d %-16.16s %-2s %-26s %-5s %-26s %-5d %6d %6d %.2f" 373 format_string = "%d,%s,%s,%s,%s,%s,%d,%d,%d,%.2f"
|
D | tcpstates.py | 234 format_string = ("%-16x %-5d %-10.10s %s%-15s %-5d %-15s %-5d %-11s " + variable 239 format_string = ("%-16x %-5d %-16.16s %-2s %-26s %-5s %-26s %-5d %-11s " + variable 243 format_string = "%x,%d,%s,%s,%s,%s,%s,%d,%s,%s,%.3f" variable 330 print(format_string % (event.skaddr, event.pid, event.task.decode('utf-8', 'replace'), 355 print(format_string % (event.skaddr, event.pid, event.task.decode('utf-8', 'replace'),
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_message.py | 343 format_string = '<' + ''.join(cls.get_field_formats(get_all=get_all)) 344 return format_string 507 def pack(self, format_string, field_names): argument 518 return array.array('B', struct.pack(format_string, *field_values)) 542 format_string = message_class.get_field_format_string() 544 packet = message.pack(format_string, field_names)
|
D | mbim_data_transfer.py | 478 format_string = '<' + ''.join(cls.get_field_formats()) 479 return format_string 502 format_string = cls.get_field_format_string() 504 return array.array('B', struct.pack(format_string, *field_values))
|
/external/python/cpython3/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 …]
|
/external/autotest/client/cros/cellular/ |
D | cellular_logging.py | 12 def SetupCellularLogging(logger_name, format_string=LOG_FORMAT): argument 24 formatter = logging.Formatter(format_string)
|
/external/python/apitools/apitools/base/protorpclite/ |
D | util.py | 263 format_string = '%Y-%m-%dT%H:%M:%S.%f' 265 format_string = '%Y-%m-%dT%H:%M:%S' 267 decoded_datetime = datetime.datetime.strptime(time_string, format_string)
|
/external/libchrome/base/strings/ |
D | string_util.cc | 1014 const FormatStringType& format_string, in DoReplaceStringPlaceholders() argument 1025 formatted.reserve(format_string.length() + sub_length); in DoReplaceStringPlaceholders() 1028 for (auto i = format_string.begin(); i != format_string.end(); ++i) { in DoReplaceStringPlaceholders() 1030 if (i + 1 != format_string.end()) { in DoReplaceStringPlaceholders() 1033 while (i != format_string.end() && '$' == *i) { in DoReplaceStringPlaceholders() 1067 string16 ReplaceStringPlaceholders(const string16& format_string, in ReplaceStringPlaceholders() argument 1070 return DoReplaceStringPlaceholders(format_string, subst, offsets); in ReplaceStringPlaceholders() 1073 std::string ReplaceStringPlaceholders(StringPiece format_string, in ReplaceStringPlaceholders() argument 1076 return DoReplaceStringPlaceholders(format_string, subst, offsets); in ReplaceStringPlaceholders() 1079 string16 ReplaceStringPlaceholders(const string16& format_string, in ReplaceStringPlaceholders() argument [all …]
|
/external/pigweed/pw_log_tokenized/ |
D | test.cc | 38 const char* format_string = ""; member 52 last_log.format_string = message; in CaptureTokenizerArgs()
|
/external/llvm-project/lldb/test/API/commands/settings/ |
D | TestSettings.py | 120 self.format_string, check=False) 130 self.format_string = m.group(1) 134 …format_string = "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}\`${function.name}{${f… 135 self.runCmd("settings set frame-format %s" % format_string) 139 substrs=[format_string])
|
/external/autotest/client/cros/cellular/mbim_compliance/sequences/ |
D | open_sequence.py | 109 format_string = NtbParameters.get_format_string() 111 *struct.unpack_from('<' + format_string, ntb_parameters))
|