Searched refs:decimal_length (Results 1 – 2 of 2) sorted by relevance
1744 Py_ssize_t decimal_length, new_length; in unicode_encodedecimal() local1750 decimal_length = length * 10; /* len('') */ in unicode_encodedecimal()1751 decimal = PyBytes_FromStringAndSize(NULL, decimal_length); in unicode_encodedecimal()1764 assert(new_length <= decimal_length); in unicode_encodedecimal()
1952 Py_ssize_t decimal_length, new_length; in unicode_encodedecimal() local1958 decimal_length = length * 7; /* len('€') */ in unicode_encodedecimal()1959 decimal = PyBytes_FromStringAndSize(NULL, decimal_length); in unicode_encodedecimal()1972 assert(new_length <= decimal_length); in unicode_encodedecimal()