Lines Matching refs:fieldobj
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()
895 if (fieldobj == NULL) in output_markup()
899 tmp = do_conversion(fieldobj, conversion); in output_markup()
904 Py_DECREF(fieldobj); in output_markup()
905 fieldobj = tmp; in output_markup()
926 if (render_field(fieldobj, actual_format_spec, output) == 0) in output_markup()
932 Py_XDECREF(fieldobj); in output_markup()