Home
last modified time | relevance | path

Searched refs:sep_obj (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Objects/stringlib/
H A Dpartition.h15 PyObject* sep_obj, in partition()
56 Py_INCREF(sep_obj); in partition()
57 PyTuple_SET_ITEM(out, 1, sep_obj); in partition()
72 PyObject* sep_obj, in rpartition()
113 Py_INCREF(sep_obj); in rpartition()
114 PyTuple_SET_ITEM(out, 1, sep_obj); 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
/third_party/python/Objects/
H A Dunicodeobject.c13192 PyUnicode_Partition(PyObject *str_obj, PyObject *sep_obj) in PyUnicode_Partition() argument
13199 if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0) in PyUnicode_Partition()
13203 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_Partition()
13205 len2 = PyUnicode_GET_LENGTH(sep_obj); in PyUnicode_Partition()
13211 buf2 = PyUnicode_DATA(sep_obj); in PyUnicode_Partition()
13220 if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj)) in PyUnicode_Partition()
13221 out = asciilib_partition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_Partition()
13223 out = ucs1lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_Partition()
13226 out = ucs2lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_Partition()
13229 out = ucs4lib_partition(str_obj, buf1, len1, sep_obj, buf in PyUnicode_Partition()
13244 PyUnicode_RPartition(PyObject *str_obj, PyObject *sep_obj) PyUnicode_RPartition() argument
[all...]

Completed in 18 milliseconds