Lines Matching refs:PyUnicode_READ

175         Py_UCS4 c = PyUnicode_READ(kind, input, i);  in ascii_escape_unicode()
204 Py_UCS4 c = PyUnicode_READ(kind, input, i); in ascii_escape_unicode()
242 Py_UCS4 c = PyUnicode_READ(kind, input, i); in escape_unicode()
272 Py_UCS4 c = PyUnicode_READ(kind, input, i); \ in escape_unicode()
415 d = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
458 c = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
488 Py_UCS4 digit = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
507 PyUnicode_READ(kind, buf, next++) == '\\' && in scanstring_unicode()
508 PyUnicode_READ(kind, buf, next++) == 'u') { in scanstring_unicode()
513 Py_UCS4 digit = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
706 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind,str, idx))) idx++; in _parse_object_unicode()
709 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '}') { in _parse_object_unicode()
714 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != '"') { in _parse_object_unicode()
731 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
732 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ':') { in _parse_object_unicode()
737 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
765 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
768 if (idx <= end_idx && PyUnicode_READ(kind, str, idx) == '}') in _parse_object_unicode()
770 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ',') { in _parse_object_unicode()
777 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_object_unicode()
831 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_array_unicode()
834 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ']') { in _parse_array_unicode()
849 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_array_unicode()
852 if (idx <= end_idx && PyUnicode_READ(kind, str, idx) == ']') in _parse_array_unicode()
854 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ',') { in _parse_array_unicode()
861 while (idx <= end_idx && IS_WHITESPACE(PyUnicode_READ(kind, str, idx))) idx++; in _parse_array_unicode()
866 if (idx > end_idx || PyUnicode_READ(kind, str, idx) != ']') { in _parse_array_unicode()
932 if (PyUnicode_READ(kind, str, idx) == '-') { in _match_number_unicode()
941 if (PyUnicode_READ(kind, str, idx) >= '1' && PyUnicode_READ(kind, str, idx) <= '9') { in _match_number_unicode()
943 …while (idx <= end_idx && PyUnicode_READ(kind, str, idx) >= '0' && PyUnicode_READ(kind, str, idx) <… in _match_number_unicode()
946 else if (PyUnicode_READ(kind, str, idx) == '0') { in _match_number_unicode()
956 …if (idx < end_idx && PyUnicode_READ(kind, str, idx) == '.' && PyUnicode_READ(kind, str, idx + 1) >… in _match_number_unicode()
959 …while (idx <= end_idx && PyUnicode_READ(kind, str, idx) >= '0' && PyUnicode_READ(kind, str, idx) <… in _match_number_unicode()
963 …if (idx < end_idx && (PyUnicode_READ(kind, str, idx) == 'e' || PyUnicode_READ(kind, str, idx) == '… in _match_number_unicode()
968 …if (idx < end_idx && (PyUnicode_READ(kind, str, idx) == '-' || PyUnicode_READ(kind, str, idx) == '… in _match_number_unicode()
971 …while (idx <= end_idx && PyUnicode_READ(kind, str, idx) >= '0' && PyUnicode_READ(kind, str, idx) <… in _match_number_unicode()
974 … if (PyUnicode_READ(kind, str, idx - 1) >= '0' && PyUnicode_READ(kind, str, idx - 1) <= '9') { in _match_number_unicode()
1009 buf[i] = (char) PyUnicode_READ(kind, str, i + start); in _match_number_unicode()
1052 switch (PyUnicode_READ(kind, str, idx)) { in scan_once_unicode()
1074 … ((idx + 3 < length) && PyUnicode_READ(kind, str, idx + 1) == 'u' && PyUnicode_READ(kind, str, idx… in scan_once_unicode()
1081 … ((idx + 3 < length) && PyUnicode_READ(kind, str, idx + 1) == 'r' && PyUnicode_READ(kind, str, idx… in scan_once_unicode()
1088 if ((idx + 4 < length) && PyUnicode_READ(kind, str, idx + 1) == 'a' && in scan_once_unicode()
1089 PyUnicode_READ(kind, str, idx + 2) == 'l' && in scan_once_unicode()
1090 PyUnicode_READ(kind, str, idx + 3) == 's' && in scan_once_unicode()
1091 PyUnicode_READ(kind, str, idx + 4) == 'e') { in scan_once_unicode()
1098 if ((idx + 2 < length) && PyUnicode_READ(kind, str, idx + 1) == 'a' && in scan_once_unicode()
1099 PyUnicode_READ(kind, str, idx + 2) == 'N') { in scan_once_unicode()
1105 if ((idx + 7 < length) && PyUnicode_READ(kind, str, idx + 1) == 'n' && in scan_once_unicode()
1106 PyUnicode_READ(kind, str, idx + 2) == 'f' && in scan_once_unicode()
1107 PyUnicode_READ(kind, str, idx + 3) == 'i' && in scan_once_unicode()
1108 PyUnicode_READ(kind, str, idx + 4) == 'n' && in scan_once_unicode()
1109 PyUnicode_READ(kind, str, idx + 5) == 'i' && in scan_once_unicode()
1110 PyUnicode_READ(kind, str, idx + 6) == 't' && in scan_once_unicode()
1111 PyUnicode_READ(kind, str, idx + 7) == 'y') { in scan_once_unicode()
1117 if ((idx + 8 < length) && PyUnicode_READ(kind, str, idx + 1) == 'I' && in scan_once_unicode()
1118 PyUnicode_READ(kind, str, idx + 2) == 'n' && in scan_once_unicode()
1119 PyUnicode_READ(kind, str, idx + 3) == 'f' && in scan_once_unicode()
1120 PyUnicode_READ(kind, str, idx + 4) == 'i' && in scan_once_unicode()
1121 PyUnicode_READ(kind, str, idx + 5) == 'n' && in scan_once_unicode()
1122 PyUnicode_READ(kind, str, idx + 6) == 'i' && in scan_once_unicode()
1123 PyUnicode_READ(kind, str, idx + 7) == 't' && in scan_once_unicode()
1124 PyUnicode_READ(kind, str, idx + 8) == 'y') { in scan_once_unicode()