Home
last modified time | relevance | path

Searched defs:format_spec (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_types.py297 def test(i, format_spec, result): argument
451 def test(i, format_spec, result): argument
590 def test(f, format_spec, result): argument
Dtest_str.py214 def __format__(self, format_spec): argument
221 def __format__(self, format_spec): argument
225 def __format__(self, format_spec): argument
229 def __format__(self, format_spec): argument
Dtest_unicode.py1392 def __format__(self, format_spec): argument
1399 def __format__(self, format_spec): argument
1403 def __format__(self, format_spec): argument
1407 def __format__(self, format_spec): argument
Dtest_builtin.py1463 def __format__(self, format_spec): argument
1472 def __format__(self, format_spec): argument
1482 def __format__(self, format_spec): argument
1491 def __format__(self, format_spec): argument
1525 def __format__(self, format_spec): argument
Dtest_string.py139 def format_field(self, value, format_spec): argument
Dtest_datetime.py910 def strftime(self, format_spec): argument
1220 def strftime(self, format_spec): argument
1874 def strftime(self, format_spec): argument
/external/python/cpython2/Objects/stringlib/
Dformatter.h169 parse_internal_render_format_spec(STRINGLIB_CHAR *format_spec, in parse_internal_render_format_spec()
1307 STRINGLIB_CHAR *format_spec, in FORMAT_STRING()
1344 STRINGLIB_CHAR *format_spec, in format_int_or_long()
1425 STRINGLIB_CHAR *format_spec, in FORMAT_LONG()
1446 STRINGLIB_CHAR *format_spec, in FORMAT_INT()
1457 STRINGLIB_CHAR *format_spec, in FORMAT_FLOAT()
1505 STRINGLIB_CHAR *format_spec, in FORMAT_COMPLEX()
Dstring_format.h560 render_field(PyObject *fieldobj, SubString *format_spec, OutputString *output) in render_field()
635 parse_field(SubString *str, SubString *field_name, SubString *format_spec, in parse_field()
725 SubString *format_spec, STRINGLIB_CHAR *conversion, in MarkupIterator_next()
882 output_markup(SubString *field_name, SubString *format_spec, in output_markup()
954 SubString format_spec; in do_markup() local
1083 SubString format_spec; in formatteriter_next() local
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h491 render_field(PyObject *fieldobj, SubString *format_spec, _PyUnicodeWriter *writer) in render_field()
545 parse_field(SubString *str, SubString *field_name, SubString *format_spec, in parse_field()
668 SubString *format_spec, Py_UCS4 *conversion, in MarkupIterator_next()
797 output_markup(SubString *field_name, SubString *format_spec, in output_markup()
868 SubString format_spec; in do_markup() local
995 SubString format_spec; in formatteriter_next() local
/external/python/cpython3/Python/
Dformatter_unicode.c163 parse_internal_render_format_spec(PyObject *format_spec, in parse_internal_render_format_spec()
1412 PyObject *format_spec, in _PyUnicode_FormatAdvancedWriter()
1448 PyObject *format_spec, in _PyLong_FormatAdvancedWriter()
1511 PyObject *format_spec, in _PyFloat_FormatAdvancedWriter()
1550 PyObject *format_spec, in _PyComplex_FormatAdvancedWriter()
Dbltinmodule.c595 builtin_format_impl(PyObject *module, PyObject *value, PyObject *format_spec) in builtin_format_impl()
/external/python/cpython3/Lib/
Dstring.py259 def format_field(self, value, format_spec): argument
Denum.py564 def __format__(self, format_spec): argument
/external/python/cpython3/Lib/test/
Dtest_string.py127 def format_field(self, value, format_spec): argument
Dtest_builtin.py1389 def __format__(self, format_spec): argument
1398 def __format__(self, format_spec): argument
1431 def __format__(self, format_spec): argument
Dtest_unicode.py984 def __format__(self, format_spec): argument
990 def __format__(self, format_spec): argument
994 def __format__(self, format_spec): argument
Dtest_types.py210 def test(i, format_spec, result): argument
407 def test(f, format_spec, result): argument
Ddatetimetester.py1266 def strftime(self, format_spec): argument
1625 def strftime(self, format_spec): argument
2471 def strftime(self, format_spec): argument
/external/python/cpython3/Python/clinic/
Dbltinmodule.c.h93 PyObject *format_spec = NULL; in builtin_format() local
/external/python/cpython2/Lib/
Dstring.py612 def format_field(self, value, format_spec): argument
/external/python/cpython3/Objects/
Dcomplexobject.c705 PyObject *format_spec; in complex__format__() local
Dfloatobject.c1748 PyObject *format_spec; in float__format__() local
/external/python/cpython2/Objects/
Dcomplexobject.c909 PyObject *format_spec; in complex__format__() local
Dintobject.c1255 PyObject *format_spec; in int__format__() local
Dfloatobject.c1995 PyObject *format_spec; in float__format__() local

12