/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
D | split.h | 57 stringlib_split_whitespace(PyObject* str_obj, in stringlib_split_whitespace() argument 77 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_whitespace() 79 Py_INCREF(str_obj); in stringlib_split_whitespace() 80 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_whitespace() 105 stringlib_split_char(PyObject* str_obj, in stringlib_split_char() argument 129 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_char() 131 Py_INCREF(str_obj); in stringlib_split_char() 132 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_char() 148 stringlib_split(PyObject* str_obj, in stringlib_split() argument 161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_split() [all …]
|
D | partition.h | 11 stringlib_partition(PyObject* str_obj, in stringlib_partition() argument 36 Py_INCREF(str_obj); in stringlib_partition() 37 PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj); in stringlib_partition() 61 stringlib_rpartition(PyObject* str_obj, in stringlib_rpartition() argument 90 Py_INCREF(str_obj); in stringlib_rpartition() 91 PyTuple_SET_ITEM(out, 2, (PyObject*) str_obj); in stringlib_rpartition()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
D | split.h | 57 stringlib_split_whitespace(PyObject* str_obj, in stringlib_split_whitespace() argument 77 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_whitespace() 79 Py_INCREF(str_obj); in stringlib_split_whitespace() 80 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_whitespace() 105 stringlib_split_char(PyObject* str_obj, in stringlib_split_char() argument 129 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in stringlib_split_char() 131 Py_INCREF(str_obj); in stringlib_split_char() 132 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_char() 148 stringlib_split(PyObject* str_obj, in stringlib_split() argument 161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_split() [all …]
|
D | partition.h | 11 stringlib_partition(PyObject* str_obj, in stringlib_partition() argument 36 Py_INCREF(str_obj); in stringlib_partition() 37 PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj); in stringlib_partition() 61 stringlib_rpartition(PyObject* str_obj, in stringlib_rpartition() argument 90 Py_INCREF(str_obj); in stringlib_rpartition() 91 PyTuple_SET_ITEM(out, 2, (PyObject*) str_obj); in stringlib_rpartition()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | unicodeobject.c | 5373 PyUnicodeObject* str_obj; in PyUnicode_Count() local 5376 str_obj = (PyUnicodeObject*) PyUnicode_FromObject(str); in PyUnicode_Count() 5377 if (!str_obj) in PyUnicode_Count() 5381 Py_DECREF(str_obj); in PyUnicode_Count() 5385 ADJUST_INDICES(start, end, str_obj->length); in PyUnicode_Count() 5387 str_obj->str + start, end - start, sub_obj->str, sub_obj->length, in PyUnicode_Count() 5392 Py_DECREF(str_obj); in PyUnicode_Count() 7495 PyObject* str_obj; in PyUnicode_Partition() local 7499 str_obj = PyUnicode_FromObject(str_in); in PyUnicode_Partition() 7500 if (!str_obj) in PyUnicode_Partition() [all …]
|
D | stringobject.c | 1151 string_contains(PyObject *str_obj, PyObject *sub_obj) in string_contains() argument 1156 return PyUnicode_Contains(str_obj, sub_obj); in string_contains() 1166 return stringlib_contains_obj(str_obj, sub_obj); in string_contains()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | unicodeobject.c | 5278 PyUnicodeObject* str_obj; in PyUnicode_Count() local 5281 str_obj = (PyUnicodeObject*) PyUnicode_FromObject(str); in PyUnicode_Count() 5282 if (!str_obj) in PyUnicode_Count() 5286 Py_DECREF(str_obj); in PyUnicode_Count() 5290 ADJUST_INDICES(start, end, str_obj->length); in PyUnicode_Count() 5292 str_obj->str + start, end - start, sub_obj->str, sub_obj->length, in PyUnicode_Count() 5297 Py_DECREF(str_obj); in PyUnicode_Count() 7387 PyObject* str_obj; in PyUnicode_Partition() local 7391 str_obj = PyUnicode_FromObject(str_in); in PyUnicode_Partition() 7392 if (!str_obj) in PyUnicode_Partition() [all …]
|
D | stringobject.c | 1146 string_contains(PyObject *str_obj, PyObject *sub_obj) in string_contains() argument 1151 return PyUnicode_Contains(str_obj, sub_obj); in string_contains() 1161 return stringlib_contains_obj(str_obj, sub_obj); in string_contains()
|