Searched refs:input_chars (Results 1 – 1 of 1) sorted by relevance
75 Py_ssize_t input_chars; in ascii_escape_unicode() local82 input_chars = PyUnicode_GET_SIZE(pystr); in ascii_escape_unicode()85 output_size = 2 + (MIN_EXPANSION * 4) + input_chars; in ascii_escape_unicode()93 for (i = 0; i < input_chars; i++) { in ascii_escape_unicode()104 if (output_size > 2 + (input_chars * MAX_EXPANSION)) { in ascii_escape_unicode()105 output_size = 2 + (input_chars * MAX_EXPANSION); in ascii_escape_unicode()123 Py_ssize_t input_chars; in ascii_escape_str() local130 input_chars = PyString_GET_SIZE(pystr); in ascii_escape_str()133 output_size = 2 + (MIN_EXPANSION * 4) + input_chars; in ascii_escape_str()141 for (i = 0; i < input_chars; i++) { in ascii_escape_str()[all …]