Searched refs:seplen (Results 1 – 5 of 5) sorted by relevance
11 Py_ssize_t seplen = STRINGLIB_LEN(sep); in STRINGLIB() local96 if (seplen > PY_SSIZE_T_MAX - sz) { in STRINGLIB()101 sz += seplen; in STRINGLIB()123 if (!seplen) { in STRINGLIB()137 memcpy(p, sepstr, seplen); in STRINGLIB()138 p += seplen; in STRINGLIB()
523 seplen = len(sep)530 del self._buffer[:e.consumed + seplen]557 seplen = len(separator)558 if seplen == 0:592 if buflen - offset >= seplen:601 offset = buflen + 1 - seplen623 chunk = self._buffer[:isep + seplen]624 del self._buffer[:isep + seplen]
15 Py_ssize_t seplen = PyObject_Length((PyObject*)sep); in _Py_strhex_impl() local16 if (seplen < 0) { in _Py_strhex_impl()19 if (seplen != 1) { in _Py_strhex_impl()
1881 Py_ssize_t seplen; in do_xstrip() local1887 seplen = vsep.len; in do_xstrip()1891 while (i < len && memchr(sep, Py_CHARMASK(s[i]), seplen)) { in do_xstrip()1900 } while (j >= i && memchr(sep, Py_CHARMASK(s[j]), seplen)); in do_xstrip()
10394 Py_ssize_t seplen; in _PyUnicode_JoinArray() local10417 seplen = 0; in _PyUnicode_JoinArray()10427 seplen = 1; in _PyUnicode_JoinArray()10441 seplen = PyUnicode_GET_LENGTH(separator); in _PyUnicode_JoinArray()10477 add_sz += seplen; in _PyUnicode_JoinArray()10503 if (seplen != 0) in _PyUnicode_JoinArray()10513 if (i && seplen != 0) { in _PyUnicode_JoinArray()10516 kind * seplen); in _PyUnicode_JoinArray()10517 res_data += kind * seplen; in _PyUnicode_JoinArray()10537 if (i && seplen != 0) { in _PyUnicode_JoinArray()[all …]