Searched refs:fieldobj (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | string_format.h | 560 render_field(PyObject *fieldobj, SubString *format_spec, OutputString *output) in render_field() argument 574 if (PyUnicode_CheckExact(fieldobj)) in render_field() 582 if (PyString_CheckExact(fieldobj)) in render_field() 584 else if (PyInt_CheckExact(fieldobj)) in render_field() 586 else if (PyLong_CheckExact(fieldobj)) in render_field() 588 else if (PyFloat_CheckExact(fieldobj)) in render_field() 595 result = formatter(fieldobj, format_spec_start, format_spec_len); in render_field() 605 result = PyObject_Format(fieldobj, format_spec_object); in render_field() 888 PyObject *fieldobj = NULL; in output_markup() local 894 fieldobj = get_field_object(field_name, args, kwargs, auto_number); in output_markup() [all …]
|
/external/python/cpython3/Objects/stringlib/ |
D | unicode_format.h | 493 render_field(PyObject *fieldobj, SubString *format_spec, _PyUnicodeWriter *writer) in render_field() argument 503 if (PyUnicode_CheckExact(fieldobj)) in render_field() 505 else if (PyLong_CheckExact(fieldobj)) in render_field() 507 else if (PyFloat_CheckExact(fieldobj)) in render_field() 509 else if (PyComplex_CheckExact(fieldobj)) in render_field() 515 err = formatter(writer, fieldobj, format_spec->str, in render_field() 531 result = PyObject_Format(fieldobj, format_spec_object); in render_field() 805 PyObject *fieldobj = NULL; in output_markup() local 811 fieldobj = get_field_object(field_name, args, kwargs, auto_number); in output_markup() 812 if (fieldobj == NULL) in output_markup() [all …]
|