Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dpartition.h14 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_partition() argument
19 if (sep_len == 0) { in stringlib_partition()
28 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_SEARCH); in stringlib_partition()
49 pos += sep_len; in stringlib_partition()
64 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_rpartition() argument
69 if (sep_len == 0) { in stringlib_rpartition()
78 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rpartition()
99 pos += sep_len; in stringlib_rpartition()
Dsplit.h150 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_split() argument
156 if (sep_len == 0) { in stringlib_split()
160 else if (sep_len == 1) in stringlib_split()
169 pos = fastsearch(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH); in stringlib_split()
174 i = j + sep_len; in stringlib_split()
292 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_rsplit() argument
298 if (sep_len == 0) { in stringlib_rsplit()
302 else if (sep_len == 1) in stringlib_rsplit()
311 pos = fastsearch(str, j, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rsplit()
314 SPLIT_ADD(str, pos + sep_len, j); in stringlib_rsplit()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dpartition.h14 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_partition() argument
19 if (sep_len == 0) { in stringlib_partition()
28 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_SEARCH); in stringlib_partition()
49 pos += sep_len; in stringlib_partition()
64 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_rpartition() argument
69 if (sep_len == 0) { in stringlib_rpartition()
78 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rpartition()
99 pos += sep_len; in stringlib_rpartition()
Dsplit.h150 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_split() argument
156 if (sep_len == 0) { in stringlib_split()
160 else if (sep_len == 1) in stringlib_split()
169 pos = fastsearch(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH); in stringlib_split()
174 i = j + sep_len; in stringlib_split()
292 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_rsplit() argument
298 if (sep_len == 0) { in stringlib_rsplit()
302 else if (sep_len == 1) in stringlib_rsplit()
311 pos = fastsearch(str, j, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rsplit()
314 SPLIT_ADD(str, pos + sep_len, j); in stringlib_rsplit()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstringobject.c1474 Py_ssize_t sep_len; in string_partition() local
1478 sep_len = PyString_GET_SIZE(sep_obj); in string_partition()
1484 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_partition()
1490 sep_obj, sep, sep_len in string_partition()
1505 Py_ssize_t sep_len; in string_rpartition() local
1509 sep_len = PyString_GET_SIZE(sep_obj); in string_rpartition()
1515 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_rpartition()
1521 sep_obj, sep, sep_len in string_rpartition()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstringobject.c1491 Py_ssize_t sep_len; in string_partition() local
1495 sep_len = PyString_GET_SIZE(sep_obj); in string_partition()
1501 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_partition()
1507 sep_obj, sep, sep_len in string_partition()
1522 Py_ssize_t sep_len; in string_rpartition() local
1526 sep_len = PyString_GET_SIZE(sep_obj); in string_rpartition()
1532 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_rpartition()
1538 sep_obj, sep, sep_len in string_rpartition()