Searched refs:input_chars (Results 1 – 2 of 2) sorted by relevance
202 Py_ssize_t input_chars; in ascii_escape_unicode() local210 input_chars = PyUnicode_GET_SIZE(pystr); in ascii_escape_unicode()214 output_size = 2 + (MIN_EXPANSION * 4) + input_chars; in ascii_escape_unicode()215 max_output_size = 2 + (input_chars * MAX_EXPANSION); in ascii_escape_unicode()223 for (i = 0; i < input_chars; i++) { in ascii_escape_unicode()260 Py_ssize_t input_chars; in ascii_escape_str() local267 input_chars = PyString_GET_SIZE(pystr); in ascii_escape_str()271 for (i = 0; i < input_chars; i++) { in ascii_escape_str()276 for (j = i; j < input_chars; j++) { in ascii_escape_str()281 uni = PyUnicode_DecodeUTF8(input_str, input_chars, "strict"); in ascii_escape_str()[all …]