Home
last modified time | relevance | path

Searched refs:input_chars (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_json.c202 Py_ssize_t input_chars; in ascii_escape_unicode() local
210 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() local
267 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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_json.c202 Py_ssize_t input_chars; in ascii_escape_unicode() local
210 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() local
267 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 …]