Home
last modified time | relevance | path

Searched refs:subobj (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstringobject.c1458 PyObject *subobj = Py_None; in string_split() local
1460 if (!PyArg_ParseTuple(args, "|On:split", &subobj, &maxsplit)) in string_split()
1464 if (subobj == Py_None) in string_split()
1466 if (PyString_Check(subobj)) { in string_split()
1467 sub = PyString_AS_STRING(subobj); in string_split()
1468 n = PyString_GET_SIZE(subobj); in string_split()
1471 else if (PyUnicode_Check(subobj)) in string_split()
1472 return PyUnicode_Split((PyObject *)self, subobj, maxsplit); in string_split()
1474 else if (PyObject_AsCharBuffer(subobj, &sub, &n)) in string_split()
1557 PyObject *subobj = Py_None; in string_rsplit() local
[all …]
Dbytearrayobject.c1151 PyObject *subobj; in bytearray_find_internal() local
1157 args, &subobj, &start, &end)) in bytearray_find_internal()
1159 if (_getbuffer(subobj, &subbuf) < 0) in bytearray_find_internal()
1362 PyObject *subobj; in bytearray_startswith() local
1365 if (!stringlib_parse_args_finds("startswith", args, &subobj, &start, &end)) in bytearray_startswith()
1367 if (PyTuple_Check(subobj)) { in bytearray_startswith()
1369 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) { in bytearray_startswith()
1371 PyTuple_GET_ITEM(subobj, i), in bytearray_startswith()
1381 result = _bytearray_tailmatch(self, subobj, start, end, -1); in bytearray_startswith()
1401 PyObject *subobj; in bytearray_endswith() local
[all …]
Dunicodeobject.c7259 PyObject *subobj, in PyUnicode_Replace() argument
7271 str1 = PyUnicode_FromObject(subobj); in PyUnicode_Replace()
7752 PyObject *subobj; in unicode_startswith() local
7758 if (!stringlib_parse_args_finds("startswith", args, &subobj, &start, &end)) in unicode_startswith()
7760 if (PyTuple_Check(subobj)) { in unicode_startswith()
7762 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) { in unicode_startswith()
7764 PyTuple_GET_ITEM(subobj, i)); in unicode_startswith()
7776 substring = (PyUnicodeObject *)PyUnicode_FromObject(subobj); in unicode_startswith()
7780 "unicode, or tuple, not %s", Py_TYPE(subobj)->tp_name); in unicode_startswith()
7801 PyObject *subobj; in unicode_endswith() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstringobject.c1441 PyObject *subobj = Py_None; in string_split() local
1443 if (!PyArg_ParseTuple(args, "|On:split", &subobj, &maxsplit)) in string_split()
1447 if (subobj == Py_None) in string_split()
1449 if (PyString_Check(subobj)) { in string_split()
1450 sub = PyString_AS_STRING(subobj); in string_split()
1451 n = PyString_GET_SIZE(subobj); in string_split()
1454 else if (PyUnicode_Check(subobj)) in string_split()
1455 return PyUnicode_Split((PyObject *)self, subobj, maxsplit); in string_split()
1457 else if (PyObject_AsCharBuffer(subobj, &sub, &n)) in string_split()
1540 PyObject *subobj = Py_None; in string_rsplit() local
[all …]
Dbytearrayobject.c1147 PyObject *subobj; in bytearray_find_internal() local
1153 args, &subobj, &start, &end)) in bytearray_find_internal()
1155 if (_getbuffer(subobj, &subbuf) < 0) in bytearray_find_internal()
1358 PyObject *subobj; in bytearray_startswith() local
1361 if (!stringlib_parse_args_finds("startswith", args, &subobj, &start, &end)) in bytearray_startswith()
1363 if (PyTuple_Check(subobj)) { in bytearray_startswith()
1365 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) { in bytearray_startswith()
1367 PyTuple_GET_ITEM(subobj, i), in bytearray_startswith()
1377 result = _bytearray_tailmatch(self, subobj, start, end, -1); in bytearray_startswith()
1397 PyObject *subobj; in bytearray_endswith() local
[all …]
Dunicodeobject.c7151 PyObject *subobj, in PyUnicode_Replace() argument
7163 str1 = PyUnicode_FromObject(subobj); in PyUnicode_Replace()
7644 PyObject *subobj; in unicode_startswith() local
7650 if (!stringlib_parse_args_finds("startswith", args, &subobj, &start, &end)) in unicode_startswith()
7652 if (PyTuple_Check(subobj)) { in unicode_startswith()
7654 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) { in unicode_startswith()
7656 PyTuple_GET_ITEM(subobj, i)); in unicode_startswith()
7668 substring = (PyUnicodeObject *)PyUnicode_FromObject(subobj); in unicode_startswith()
7672 "unicode, or tuple, not %s", Py_TYPE(subobj)->tp_name); in unicode_startswith()
7693 PyObject *subobj; in unicode_endswith() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dfind.h109 PyObject **subobj, in stringlib_parse_args_finds() argument
137 *subobj = tmp_subobj; in stringlib_parse_args_finds()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dfind.h109 PyObject **subobj, in stringlib_parse_args_finds() argument
137 *subobj = tmp_subobj; in stringlib_parse_args_finds()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcookielib.py1191 for subobj in deepvalues(obj):
1192 yield subobj