Home
last modified time | relevance | path

Searched refs:seplen (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Objects/stringlib/
Djoin.h11 Py_ssize_t seplen = STRINGLIB_LEN(sep); in STRINGLIB() local
96 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()
/third_party/python/Lib/asyncio/
Dstreams.py538 seplen = len(sep)
545 del self._buffer[:e.consumed + seplen]
572 seplen = len(separator)
573 if seplen == 0:
607 if buflen - offset >= seplen:
616 offset = buflen + 1 - seplen
638 chunk = self._buffer[:isep + seplen]
639 del self._buffer[:isep + seplen]
/third_party/python/Python/
Dpystrhex.c15 Py_ssize_t seplen = PyObject_Length((PyObject*)sep); in _Py_strhex_impl() local
16 if (seplen < 0) { in _Py_strhex_impl()
19 if (seplen != 1) { in _Py_strhex_impl()
/third_party/uboot/u-boot-2020.01/common/
Dcommand.c357 int i, j, k, len, seplen, argc; in cmd_auto_complete() local
401 seplen = 0; in cmd_auto_complete()
411 seplen = 1; in cmd_auto_complete()
426 k = len + seplen; in cmd_auto_complete()
437 for (i = 0; i < seplen; i++) in cmd_auto_complete()
/third_party/python/Objects/
Dbytesobject.c1866 Py_ssize_t seplen; in do_xstrip() local
1872 seplen = vsep.len; in do_xstrip()
1876 while (i < len && memchr(sep, Py_CHARMASK(s[i]), seplen)) { in do_xstrip()
1885 } while (j >= i && memchr(sep, Py_CHARMASK(s[j]), seplen)); in do_xstrip()
Dunicodeobject.c10125 Py_ssize_t seplen; in _PyUnicode_JoinArray() local
10148 seplen = 0; in _PyUnicode_JoinArray()
10158 seplen = 1; in _PyUnicode_JoinArray()
10172 seplen = PyUnicode_GET_LENGTH(separator); in _PyUnicode_JoinArray()
10208 add_sz += seplen; in _PyUnicode_JoinArray()
10234 if (seplen != 0) in _PyUnicode_JoinArray()
10244 if (i && seplen != 0) { in _PyUnicode_JoinArray()
10247 kind * seplen); in _PyUnicode_JoinArray()
10248 res_data += kind * seplen; in _PyUnicode_JoinArray()
10268 if (i && seplen != 0) { in _PyUnicode_JoinArray()
[all …]