Home
last modified time | relevance | path

Searched refs:_fmt (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/email/
Dgenerator.py326 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/
Dclock.h125 #define SCMI_CLOCK_DESCRIBE_RATES_NUM_RATES_FLAGS(_count, _fmt, _rem_rates) \ argument
130 (((_fmt) << SCMI_CLOCK_DESCRIBE_RATES_FORMAT_POS) & \
/external/ethtool/
Dfec.c11 #define FIELD(_name, _fmt, ...) \ argument
12 printf(" %-47.47s " _fmt "\n", _name, ##__VA_ARGS__)
Ddsa.c11 #define FIELD(_name, _fmt, ...) \ argument
12 printf(" %-36.36s " _fmt "\n", _name, ##__VA_ARGS__)
/external/python/cpython3/Lib/email/
Dgenerator.py378 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__.py415 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/
DloggingTools.py71 self.default_format = self._fmt
80 if self._fmt != fmt:
81 self._fmt = fmt
/external/python/cpython2/Lib/logging/
D__init__.py400 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/
Dtest_logging.py3808 …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/
Dkmsmodeview.py83 self._fmt = fmt
88 super().set_text(self._fmt.format(val))
/external/autotest/client/common_lib/
Dlogging_manager.py405 self._fmt = base_formatter._fmt.replace('%(message)s',
/external/virglrenderer/src/gallium/auxiliary/util/
Du_debug.h137 #define debug_print_format(_msg, _fmt) ((void)0) argument
/external/mesa3d/src/intel/vulkan/
Danv_formats.c411 #undef _fmt
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py2318 self._fmt = fmt
2321 cipher_name = self._fmt.format(cipher=cipher, mode=mode).lower()