Home
last modified time | relevance | path

Searched refs:sep_len (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Objects/stringlib/
H A Dpartition.h16 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in partition()
21 if (sep_len == 0) { in partition()
30 pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_SEARCH); in partition()
58 pos += sep_len; in partition()
73 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in rpartition()
78 if (sep_len == 0) { in rpartition()
87 pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_RSEARCH); in rpartition()
115 pos += sep_len; in rpartition()
13 partition(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, PyObject* sep_obj, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) partition() argument
70 rpartition(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, PyObject* sep_obj, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) rpartition() argument
H A Dsplit.h147 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in split()
153 if (sep_len == 0) { in split()
157 else if (sep_len == 1) in split()
166 pos = FASTSEARCH(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH); in split()
171 i = j + sep_len; in split()
289 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in rsplit()
295 if (sep_len == 0) { in rsplit()
299 else if (sep_len == 1) in rsplit()
308 pos = FASTSEARCH(str, j, sep, sep_len, -1, FAST_RSEARCH); in rsplit()
311 SPLIT_ADD(str, pos + sep_len, in rsplit()
145 split(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, Py_ssize_t maxcount) split() argument
287 rsplit(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, Py_ssize_t maxcount) rsplit() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dasn1_lib.c437 size_t length = 0, sep_len; in STACK_OF() local
443 sep_len = strlen(sep); in STACK_OF()
448 length += sep_len; in STACK_OF()
460 if (i > 0 && sep_len > 0) { in STACK_OF()
461 strncpy(p, sep, sep_len + 1); /* using + 1 to silence gcc warning */ in STACK_OF()
462 p += sep_len; in STACK_OF()
/third_party/openssl/crypto/asn1/
H A Dasn1_lib.c437 size_t length = 0, sep_len; in STACK_OF() local
443 sep_len = strlen(sep); in STACK_OF()
448 length += sep_len; in STACK_OF()
460 if (i > 0 && sep_len > 0) { in STACK_OF()
461 strncpy(p, sep, sep_len + 1); /* using + 1 to silence gcc warning */ in STACK_OF()
462 p += sep_len; in STACK_OF()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
H A Ddbus_new_helpers.c964 size_t sep_len; in wpas_dbus_new_decompose_object_path() local
989 sep_len = os_strlen(sep); in wpas_dbus_new_decompose_object_path()
990 if (os_strncmp(pos, sep, sep_len) != 0 || pos[sep_len] != '/') in wpas_dbus_new_decompose_object_path()
994 *item = pos + sep_len + 1; in wpas_dbus_new_decompose_object_path()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_new_helpers.c964 size_t sep_len; in wpas_dbus_new_decompose_object_path() local
989 sep_len = os_strlen(sep); in wpas_dbus_new_decompose_object_path()
990 if (os_strncmp(pos, sep, sep_len) != 0 || pos[sep_len] != '/') in wpas_dbus_new_decompose_object_path()
994 *item = pos + sep_len + 1; in wpas_dbus_new_decompose_object_path()
/third_party/glfw/deps/
H A Dnuklear.h7343 int sep_len = 0; in nk_text_clamp() local
7356 sep_len = len; in nk_text_clamp()
7374 return (!sep_len) ? len: sep_len; in nk_text_clamp()

Completed in 46 milliseconds