Searched refs:_fmt (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Lib/email/ |
D | generator.py | 326 self._fmt = _FMT 328 self._fmt = fmt 339 print >> self, self._fmt % { 354 _fmt = '%%0%dd' % _width variable 360 boundary = ('=' * 15) + (_fmt % token) + '=='
|
/external/arm-trusted-firmware/drivers/scmi-msg/ |
D | clock.h | 125 #define SCMI_CLOCK_DESCRIBE_RATES_NUM_RATES_FLAGS(_count, _fmt, _rem_rates) \ argument 130 (((_fmt) << SCMI_CLOCK_DESCRIBE_RATES_FORMAT_POS) & \
|
/external/ethtool/ |
D | fec.c | 11 #define FIELD(_name, _fmt, ...) \ argument 12 printf(" %-47.47s " _fmt "\n", _name, ##__VA_ARGS__)
|
D | dsa.c | 11 #define FIELD(_name, _fmt, ...) \ argument 12 printf(" %-36.36s " _fmt "\n", _name, ##__VA_ARGS__)
|
/external/python/cpython3/Lib/email/ |
D | generator.py | 378 boundary = ('=' * 15) + (_fmt % token) + '==' 481 self._fmt = _FMT 483 self._fmt = fmt 494 print(self._fmt % { 509 _fmt = '%%0%dd' % _width variable
|
/external/python/cpython3/Lib/logging/ |
D | __init__.py | 415 self._fmt = fmt or self.default_format 418 return self._fmt.find(self.asctime_search) >= 0 422 if not self.validation_pattern.search(self._fmt): 423 … raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0])) 426 return self._fmt % record.__dict__ 444 return self._fmt.format(**record.__dict__) 450 for _, fieldname, spec, conversion in _str_formatter.parse(self._fmt): 471 self._fmt = fmt or self.default_format 472 self._tpl = Template(self._fmt) 475 fmt = self._fmt [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | loggingTools.py | 71 self.default_format = self._fmt 80 if self._fmt != fmt: 81 self._fmt = fmt
|
/external/python/cpython2/Lib/logging/ |
D | __init__.py | 400 self._fmt = fmt 402 self._fmt = "%(message)s" 450 return self._fmt.find("%(asctime)") >= 0 469 s = self._fmt % record.__dict__ 474 s = self._fmt % record.__dict__
|
/external/python/cpython3/Lib/test/ |
D | test_logging.py | 3808 …self.assertEqual(f._fmt, "%(levelname)-15s - %(message) 5s - %(process)03d - %(module) - %(asctime… 3810 self.assertEqual(f._fmt, "%(asctime)*s - %(asctime)*.3s - %(process)-34.33o") 3812 self.assertEqual(f._fmt, "%(process)#+027.23X") 3814 self.assertEqual(f._fmt, "%(foo)#.*g") 3818 self.assertEqual(f._fmt, "$%{message}%$ - {asctime!a:15} - {customfield['key']}") 3820 self.assertEqual(f._fmt, "{process:.2f} - {custom.f:.4f}") 3822 self.assertEqual(f._fmt, "{customfield!s:#<30}") 3824 self.assertEqual(f._fmt, "{message!r}") 3826 self.assertEqual(f._fmt, "{message!s}") 3828 self.assertEqual(f._fmt, "{message!a}") [all …]
|
/external/libkmsxx/py/tests/ |
D | kmsmodeview.py | 83 self._fmt = fmt 88 super().set_text(self._fmt.format(val))
|
/external/autotest/client/common_lib/ |
D | logging_manager.py | 405 self._fmt = base_formatter._fmt.replace('%(message)s',
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_debug.h | 137 #define debug_print_format(_msg, _fmt) ((void)0) argument
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_formats.c | 411 #undef _fmt
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | backend.py | 2318 self._fmt = fmt 2321 cipher_name = self._fmt.format(cipher=cipher, mode=mode).lower()
|