Home
last modified time | relevance | path

Searched defs:format_spec (Results 1 – 25 of 50) 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.py950 def strftime(self, format_spec): argument
1260 def strftime(self, format_spec): argument
1914 def strftime(self, format_spec): argument
/external/python/parse_type/parse_type/
Dparse_util.py53 def format_spec(self): member in Field
78 def make_format(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.h498 render_field(PyObject *fieldobj, SubString *format_spec, _PyUnicodeWriter *writer) in render_field()
552 parse_field(SubString *str, SubString *field_name, SubString *format_spec, in parse_field()
675 SubString *format_spec, Py_UCS4 *conversion, in MarkupIterator_next()
804 output_markup(SubString *field_name, SubString *format_spec, in output_markup()
875 SubString format_spec; in do_markup() local
1002 SubString format_spec; in formatteriter_next() local
/external/python/cpython3/Python/
Dformatter_unicode.c165 parse_internal_render_format_spec(PyObject *format_spec, in parse_internal_render_format_spec()
1424 PyObject *format_spec, in _PyUnicode_FormatAdvancedWriter()
1460 PyObject *format_spec, in _PyLong_FormatAdvancedWriter()
1522 PyObject *format_spec, in _PyFloat_FormatAdvancedWriter()
1561 PyObject *format_spec, in _PyComplex_FormatAdvancedWriter()
/external/python/markupsafe/src/markupsafe/
D__init__.py181 def __html_format__(self, format_spec): argument
222 def format_field(self, value, format_spec): argument
/external/python/cpython3/Objects/clinic/
Dtypeobject.c.h200 PyObject *format_spec; in object___format__() local
Dlongobject.c.h74 PyObject *format_spec; in int___format__() local
Dfloatobject.c.h375 PyObject *format_spec; in float___format__() local
/external/python/markupsafe/tests/
Dtest_markupsafe.py122 def __html_format__(self, format_spec): argument
/external/python/cpython3/Lib/
Dstring.py234 def format_field(self, value, format_spec): argument
Denum.py649 def __format__(self, format_spec): argument
/external/python/cpython3/Lib/test/
Dtest_unicode.py1008 def __format__(self, format_spec): argument
1014 def __format__(self, format_spec): argument
1018 def __format__(self, format_spec): argument
Dtest_string.py126 def format_field(self, value, format_spec): argument
Dtest_builtin.py1620 def __format__(self, format_spec): argument
1629 def __format__(self, format_spec): argument
1662 def __format__(self, format_spec): argument
/external/python/enum34/enum/
D__init__.py689 def __format__(self, format_spec): argument
/external/python/cpython3/Python/clinic/
Dbltinmodule.c.h95 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/Parser/pegen/
Dparse_string.c545 expr_ty format_spec = NULL; /* Optional format specifier. */ in fstring_find_expr() local

12