Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dpartition.h13 PyObject* sep_obj, in stringlib_partition() argument
47 Py_INCREF(sep_obj); in stringlib_partition()
48 PyTuple_SET_ITEM(out, 1, sep_obj); in stringlib_partition()
63 PyObject* sep_obj, in stringlib_rpartition() argument
97 Py_INCREF(sep_obj); in stringlib_rpartition()
98 PyTuple_SET_ITEM(out, 1, sep_obj); in stringlib_rpartition()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dpartition.h13 PyObject* sep_obj, in stringlib_partition() argument
47 Py_INCREF(sep_obj); in stringlib_partition()
48 PyTuple_SET_ITEM(out, 1, sep_obj); in stringlib_partition()
63 PyObject* sep_obj, in stringlib_rpartition() argument
97 Py_INCREF(sep_obj); in stringlib_rpartition()
98 PyTuple_SET_ITEM(out, 1, sep_obj); in stringlib_rpartition()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstringobject.c1471 string_partition(PyStringObject *self, PyObject *sep_obj) in string_partition() argument
1476 if (PyString_Check(sep_obj)) { in string_partition()
1477 sep = PyString_AS_STRING(sep_obj); in string_partition()
1478 sep_len = PyString_GET_SIZE(sep_obj); in string_partition()
1481 else if (PyUnicode_Check(sep_obj)) in string_partition()
1482 return PyUnicode_Partition((PyObject *) self, 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()
1502 string_rpartition(PyStringObject *self, PyObject *sep_obj) in string_rpartition() argument
1507 if (PyString_Check(sep_obj)) { in string_rpartition()
[all …]
Dunicodeobject.c7388 PyObject* sep_obj; in PyUnicode_Partition() local
7394 sep_obj = PyUnicode_FromObject(sep_in); in PyUnicode_Partition()
7395 if (!sep_obj) { in PyUnicode_Partition()
7402 sep_obj, PyUnicode_AS_UNICODE(sep_obj), PyUnicode_GET_SIZE(sep_obj) in PyUnicode_Partition()
7405 Py_DECREF(sep_obj); in PyUnicode_Partition()
7416 PyObject* sep_obj; in PyUnicode_RPartition() local
7422 sep_obj = PyUnicode_FromObject(sep_in); in PyUnicode_RPartition()
7423 if (!sep_obj) { in PyUnicode_RPartition()
7430 sep_obj, PyUnicode_AS_UNICODE(sep_obj), PyUnicode_GET_SIZE(sep_obj) in PyUnicode_RPartition()
7433 Py_DECREF(sep_obj); in PyUnicode_RPartition()
Dbytearrayobject.c2097 bytearray_partition(PyByteArrayObject *self, PyObject *sep_obj) in bytearray_partition() argument
2101 bytesep = PyByteArray_FromObject(sep_obj); in bytearray_partition()
2125 bytearray_rpartition(PyByteArrayObject *self, PyObject *sep_obj) in bytearray_rpartition() argument
2129 bytesep = PyByteArray_FromObject(sep_obj); in bytearray_rpartition()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstringobject.c1488 string_partition(PyStringObject *self, PyObject *sep_obj) in string_partition() argument
1493 if (PyString_Check(sep_obj)) { in string_partition()
1494 sep = PyString_AS_STRING(sep_obj); in string_partition()
1495 sep_len = PyString_GET_SIZE(sep_obj); in string_partition()
1498 else if (PyUnicode_Check(sep_obj)) in string_partition()
1499 return PyUnicode_Partition((PyObject *) self, 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()
1519 string_rpartition(PyStringObject *self, PyObject *sep_obj) in string_rpartition() argument
1524 if (PyString_Check(sep_obj)) { in string_rpartition()
[all …]
Dunicodeobject.c7496 PyObject* sep_obj; in PyUnicode_Partition() local
7502 sep_obj = PyUnicode_FromObject(sep_in); in PyUnicode_Partition()
7503 if (!sep_obj) { in PyUnicode_Partition()
7510 sep_obj, PyUnicode_AS_UNICODE(sep_obj), PyUnicode_GET_SIZE(sep_obj) in PyUnicode_Partition()
7513 Py_DECREF(sep_obj); in PyUnicode_Partition()
7524 PyObject* sep_obj; in PyUnicode_RPartition() local
7530 sep_obj = PyUnicode_FromObject(sep_in); in PyUnicode_RPartition()
7531 if (!sep_obj) { in PyUnicode_RPartition()
7538 sep_obj, PyUnicode_AS_UNICODE(sep_obj), PyUnicode_GET_SIZE(sep_obj) in PyUnicode_RPartition()
7541 Py_DECREF(sep_obj); in PyUnicode_RPartition()
Dbytearrayobject.c2101 bytearray_partition(PyByteArrayObject *self, PyObject *sep_obj) in bytearray_partition() argument
2105 bytesep = PyByteArray_FromObject(sep_obj); in bytearray_partition()
2129 bytearray_rpartition(PyByteArrayObject *self, PyObject *sep_obj) in bytearray_rpartition() argument
2133 bytesep = PyByteArray_FromObject(sep_obj); in bytearray_rpartition()