Home
last modified time | relevance | path

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

/third_party/python/Objects/stringlib/
Dpartition.h15 PyObject* sep_obj, in STRINGLIB()
56 Py_INCREF(sep_obj); in STRINGLIB()
57 PyTuple_SET_ITEM(out, 1, sep_obj); in STRINGLIB()
72 PyObject* sep_obj, in STRINGLIB()
113 Py_INCREF(sep_obj); in STRINGLIB()
114 PyTuple_SET_ITEM(out, 1, sep_obj); in STRINGLIB()
/third_party/python/Objects/
Dunicodeobject.c13507 PyUnicode_Partition(PyObject *str_obj, PyObject *sep_obj) in PyUnicode_Partition() argument
13514 if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0) in PyUnicode_Partition()
13518 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_Partition()
13520 len2 = PyUnicode_GET_LENGTH(sep_obj); in PyUnicode_Partition()
13526 buf2 = PyUnicode_DATA(sep_obj); in PyUnicode_Partition()
13535 if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj)) in PyUnicode_Partition()
13536 out = asciilib_partition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_Partition()
13538 out = ucs1lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_Partition()
13541 out = ucs2lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_Partition()
13544 out = ucs4lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_Partition()
[all …]