Lines Matching defs:value
765 format_string_internal(PyObject *value, const InternalFormatSpec *format,
775 assert(PyUnicode_IS_READY(value));
776 len = PyUnicode_GET_LENGTH(value);
818 return _PyUnicodeWriter_WriteStr(writer, value);
832 if (PyUnicode_MAX_CHAR_VALUE(value) > maxchar) {
833 Py_UCS4 valmaxchar = _PyUnicode_FindMaxChar(value, 0, len);
849 value, 0, len);
864 format_long_internal(PyObject *value, const InternalFormatSpec *format,
919 x = PyLong_AsLong(value);
972 && PyLong_CheckExact(value))
975 return _PyLong_FormatWriter(writer, value, base, format->alternate);
984 tmp = _PyLong_Format(value, base);
1042 format_float_internal(PyObject *value,
1093 val = PyFloat_AsDouble(value);
1191 format_complex_internal(PyObject *value,
1258 re = PyComplex_RealAsDouble(value);
1261 im = PyComplex_ImagAsDouble(value);