Lines Matching refs:next
394 Py_ssize_t next /* = begin */;
414 /* Find the end of the string or the next escape */
419 for (next = end; next < len; next++) {
420 d = PyUnicode_READ(kind, buf, next);
425 raise_errmsg("Invalid control character at", pystr, next);
435 PyObject *ret = PyUnicode_Substring(pystr, end, next);
439 *next_end_ptr = next + 1;;
449 if (next != end) {
450 if (_PyUnicodeWriter_WriteSubstring(&writer, pystr, end, next) < 0) {
454 next++;
456 end = next;
459 if (next == len) {
463 c = PyUnicode_READ(kind, buf, next);
466 end = next + 1;
485 next++;
486 end = next + 4;
488 raise_errmsg("Invalid \\uXXXX escape", pystr, next - 1);
492 for (; next < end; next++) {
493 Py_UCS4 digit = PyUnicode_READ(kind, buf, next);
512 PyUnicode_READ(kind, buf, next++) == '\\' &&
513 PyUnicode_READ(kind, buf, next++) == 'u') {
517 for (; next < end; next++) {
518 Py_UCS4 digit = PyUnicode_READ(kind, buf, next);
960 /* if the next char is '.' followed by a digit then read all float digits */
967 /* if the next char is 'e' or 'E' then maybe read the exponent (or backtrack) */