Lines Matching refs:fieldobj
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()
816 tmp = do_conversion(fieldobj, conversion); in output_markup()
821 Py_DECREF(fieldobj); in output_markup()
822 fieldobj = tmp; in output_markup()
842 if (render_field(fieldobj, actual_format_spec, writer) == 0) in output_markup()
848 Py_XDECREF(fieldobj); in output_markup()