/external/autotest/server/site_tests/telemetry_Crosperf/ |
D | telemetry_Crosperf.py | 71 format_string = ('python %s/tools/perf/fetch_benchmark_deps.py %s') 72 command = format_string % (chrome_root_dir, test_name) 152 format_string = ('python %s --browser=system ' 154 command = format_string % (os.path.join(CLIENT_CHROME_ROOT, 160 format_string = ('python %s --browser=cros-chrome --remote=%s ' 163 command = format_string % (os.path.join(_find_chrome_root_dir(),
|
/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()
|
D | locale.py | 224 def format_string(f, val, grouping=False): function
|
/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'}),
|
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'), 208 self.assertEqual(fmt.format(arg='test', format_string="-{arg}-"),
|
D | test_unicode.py | 651 format_string = u"%.{}f".format(sys.maxsize + 1) 653 result = format_string % 2.34 658 format_string = u"%.{}f".format(INT_MAX + 1) 660 result = format_string % 2.34 663 format_string = u"%{}f".format(sys.maxsize + 1) 665 result = format_string % 2.34 1604 format_string = u".{}f".format(sys.maxsize + 1) 1606 result = format(2.34, format_string) 1609 format_string = u"{}f".format(sys.maxsize + 1) 1611 result = format(2.34, format_string) [all …]
|
/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/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/libchrome/base/strings/ |
D | string_util.cc | 886 const FormatStringType& format_string, in DoReplaceStringPlaceholders() argument 897 formatted.reserve(format_string.length() + sub_length); in DoReplaceStringPlaceholders() 900 for (auto i = format_string.begin(); i != format_string.end(); ++i) { in DoReplaceStringPlaceholders() 902 if (i + 1 != format_string.end()) { in DoReplaceStringPlaceholders() 905 while (i != format_string.end() && '$' == *i) { in DoReplaceStringPlaceholders() 940 string16 ReplaceStringPlaceholders(const string16& format_string, in ReplaceStringPlaceholders() argument 943 return DoReplaceStringPlaceholders(format_string, subst, offsets); in ReplaceStringPlaceholders() 946 std::string ReplaceStringPlaceholders(const StringPiece& format_string, in ReplaceStringPlaceholders() argument 949 return DoReplaceStringPlaceholders(format_string, subst, offsets); in ReplaceStringPlaceholders() 952 string16 ReplaceStringPlaceholders(const string16& format_string, in ReplaceStringPlaceholders() argument [all …]
|
D | string_util.h | 451 const string16& format_string, 456 const StringPiece& format_string, 461 BASE_EXPORT string16 ReplaceStringPlaceholders(const string16& format_string,
|
/external/toybox/toys/posix/ |
D | date.c | 164 char *setdate = *toys.optargs, *format_string = "%a %b %e %H:%M:%S %Z %Y"; in date_main() local 192 format_string = toys.optargs[0]+1; in date_main() 227 puts_time(format_string, &tm); 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/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))
|
/external/libnl/python/netlink/ |
D | util.py | 144 def nl(self, format_string=''): argument 145 return '\n' + self._indent + self.format(format_string)
|
/external/autotest/server/cros/ |
D | telemetry_runner.py | 448 format_string = ('python %s/tools/perf/fetch_benchmark_deps.py %s') 449 command = format_string % (self._telemetry_path, test_name)
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | gl_apitemp.py | 79 t_string = t_string + comma + p.format_string()
|
D | typeexpr.py | 270 def format_string(self): member in type_expression
|
D | gl_XML.py | 589 def format_string(self): member in gl_parameter 593 return self.type_expr.format_string()
|
/external/bison/build-aux/ |
D | gitlog-to-changelog | 223 my $format_string = '%s%n%b%n'; 235 'format=s' => \$format_string, 254 '--pretty=format:%H:%ct %an <%ae>%n%n'.$format_string, @ARGV);
|
/external/autotest/tko/ |
D | parse.py | 134 format_string = "%-12s %-20s %-12s %-10s %s" 135 return format_string % (jobname, kernel, testname, status, reason)
|
/external/autotest/client/common_lib/ |
D | utils.py | 448 format_string = "" 450 format_string += "%-" + str(length) + "s " 451 format_string += "\n" 455 matrix_str += format_string % header 457 matrix_str += format_string % tuple(row)
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_processing_unittest.cc | 1803 std::string format_string; in VerifyDebugDumpTest() local 1806 format_string = "_int"; in VerifyDebugDumpTest() 1809 format_string = "_float"; in VerifyDebugDumpTest() 1813 test::OutputPath(), std::string("ref") + format_string + "_aecdump"); in VerifyDebugDumpTest() 1815 test::OutputPath(), std::string("out") + format_string + "_aecdump"); in VerifyDebugDumpTest()
|