• Home
  • Raw
  • Download

Lines Matching refs:sep_obj

13507 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()
13550 assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj))); in PyUnicode_Partition()
13559 PyUnicode_RPartition(PyObject *str_obj, PyObject *sep_obj) in PyUnicode_RPartition() argument
13566 if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0) in PyUnicode_RPartition()
13570 kind2 = PyUnicode_KIND(sep_obj); in PyUnicode_RPartition()
13572 len2 = PyUnicode_GET_LENGTH(sep_obj); in PyUnicode_RPartition()
13578 buf2 = PyUnicode_DATA(sep_obj); in PyUnicode_RPartition()
13587 if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj)) in PyUnicode_RPartition()
13588 out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_RPartition()
13590 out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_RPartition()
13593 out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_RPartition()
13596 out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2); in PyUnicode_RPartition()
13602 assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj))); in PyUnicode_RPartition()