/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/python/cpython3/Lib/ |
D | string.py | 182 format_string, *args = args # allow the "format_string" keyword be passed 185 "argument: 'format_string'") from None 186 return self.vformat(format_string, args, kwargs) 188 def vformat(self, format_string, args, kwargs): argument 190 result, _ = self._vformat(format_string, args, kwargs, used_args, 2) 194 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth, argument 200 self.parse(format_string): 283 def parse(self, format_string): argument 284 return _string.formatter_parser(format_string)
|
/external/python/cpython2/Lib/ |
D | string.py | 552 format_string, args = args[0], args[1:] # allow the "format_string" keyword be passed 554 if 'format_string' in kwargs: 555 format_string = kwargs.pop('format_string') 558 "argument: '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 [all …]
|
/external/autotest/client/cros/cellular/ |
D | cellular_logging.py | 12 def SetupCellularLogging(logger_name, format_string=LOG_FORMAT): argument 16 format_string: The format of the log message this logger prints. 24 formatter = logging.Formatter(format_string)
|
/external/u-boot/doc/ |
D | README.log | 146 log(category, level, format_string, ...) 185 log_arch(level, format_string, ...) - category LOGC_ARCH 186 log_board(level, format_string, ...) - category LOGC_BOARD 187 log_core(level, format_string, ...) - category LOGC_CORE 188 log_dt(level, format_string, ...) - category LOGC_DT 198 logc(level, format_string, ...)
|
/external/autotest/server/site_tests/telemetry_Crosperf/ |
D | telemetry_Crosperf.py | 133 format_string = ('python %s/tools/perf/fetch_benchmark_deps.py %s') 134 command = format_string % (chrome_root_dir, test_name) 217 format_string = ('python %s --browser=system ' 219 command = format_string % (os.path.join(CLIENT_CHROME_ROOT, 225 format_string = ('python %s --browser=cros-chrome --remote=%s ' 228 command = format_string % (os.path.join(_find_chrome_root_dir(),
|
/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 511 @param format_string: The concatenated formats for the fields given in 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)
|
/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) 245 """General tests on locale.format_string""" 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'}),
|
D | test_string.py | 161 def parse(self, format_string): argument 162 for field in format_string.split('|'): 205 self.assertEqual(fmt.format("-{format_string}-", format_string='test'), 207 self.assertRaises(KeyError, fmt.format, "-{format_string}-") 208 self.assertEqual(fmt.format(arg='test', format_string="-{arg}-"),
|
/external/python/cpython3/Lib/test/ |
D | test_strptime.py | 494 format_string = "%Y %m %d %H %M %S %w %Z" 495 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 496 format_string) 503 format_string = "%Y %H %M %S %w %j %Z" 504 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 505 format_string) 517 format_string = "%Y %m %d %H %S %j %Z" 518 result = _strptime._strptime_time(time.strftime(format_string, self.time_tuple), 519 format_string) 545 format_string = year_week_format + ' ' + weekday_format [all …]
|
D | test_locale.py | 153 func=locale.format_string, **format_opts) 248 """General tests on locale.format_string""" 251 self.assertEqual(locale.format_string('%f%%', 1.0), '%f%%' % 1.0) 252 self.assertEqual(locale.format_string('%d %f%%d', (1, 1.0)), 254 self.assertEqual(locale.format_string('%(foo)s %%d', {'foo': 'bar'}), 258 self.assertEqual(locale.format_string('%(foo)s bing.', {'foo': 'bar'}), 260 self.assertEqual(locale.format_string('%(foo)s', {'foo': 'bar'}),
|
D | test_string.py | 48 self.assertEqual(fmt.format("-{format_string}-", format_string='test'), 50 self.assertRaises(KeyError, fmt.format, "-{format_string}-") 51 with self.assertRaisesRegex(TypeError, "format_string"): 52 fmt.format(format_string="-{arg}-", arg='test') 148 def parse(self, format_string): argument 149 for field in format_string.split('|'):
|
/external/google-fruit/extras/benchmark/tables/ |
D | fruit_internal.yml | 7 format_string: "%s bindings" 12 format_string: "%s classes" 17 format_string: "%s"
|
D | fruit_wiki.yml | 7 format_string: "%s bindings" 12 format_string: "%s classes" 17 format_string: "%s"
|
/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/tcpdump/ |
D | funcattrs.h | 114 #define FORMAT_STRING(p) _Printf_format_string_ p macro 116 #define FORMAT_STRING(p) __format_string p macro 119 #define FORMAT_STRING(p) p macro
|
/external/bcc/tools/ |
D | tcpstates.py | 229 format_string = ("%-16x %-5d %-10.10s %s%-15s %-5d %-15s %-5d %-11s " + variable 234 format_string = ("%-16x %-5d %-16.16s %-2s %-26s %-5s %-26s %-5d %-11s " + variable 238 format_string = "%x,%d,%s,%s,%s,%s,%s,%d,%s,%s,%.3f" variable 279 print(format_string % (event.skaddr, event.pid, event.task.decode('utf-8', 'replace'), 302 print(format_string % (event.skaddr, 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"
|
/external/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()
|
/external/autotest/cli/ |
D | query_keyvals | 26 def print_keyvals(keyval, format_string, options): argument 29 print format_string % (key, value)
|
/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/avb/ |
D | avbtool | 1074 FORMAT_STRING = ('!QQ') # tag, num_bytes_following (descriptor header) variable in AvbDescriptor 1085 assert struct.calcsize(self.FORMAT_STRING) == self.SIZE 1089 struct.unpack(self.FORMAT_STRING, data[0:self.SIZE])) 1118 desc = struct.pack(self.FORMAT_STRING, self.tag, nbf_with_padding) 1152 FORMAT_STRING = ('!QQ' # tag, num_bytes_following (descriptor header) variable in AvbPropertyDescriptor 1166 assert struct.calcsize(self.FORMAT_STRING) == self.SIZE 1170 value_size) = struct.unpack(self.FORMAT_STRING, data[0:self.SIZE]) 1203 desc = struct.pack(self.FORMAT_STRING, self.TAG, nbf_with_padding, 1251 FORMAT_STRING = ('!QQ' # tag, num_bytes_following (descriptor header) variable in AvbHashtreeDescriptor 1278 assert struct.calcsize(self.FORMAT_STRING) == self.SIZE [all …]
|
/external/libnl/python/netlink/ |
D | util.py | 144 def nl(self, format_string=''): argument 145 return '\n' + self._indent + self.format(format_string)
|