Searched refs:PyObject_AsCharBuffer (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Doc/c-api/ |
D | objbuffer.rst | 16 .. c:function:: int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_le…
|
/external/python/cpython2/Objects/ |
D | stringobject.c | 1474 else if (PyObject_AsCharBuffer(subobj, &sub, &n)) in string_split() 1501 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_partition() 1532 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_rpartition() 1573 else if (PyObject_AsCharBuffer(subobj, &sub, &n)) in string_rsplit() 1727 else if (PyObject_AsCharBuffer(subobj, &sub, &sub_len)) in string_find_internal() 2144 else if (PyObject_AsCharBuffer(sub_obj, &sub, &sub_len)) in string_count() 2235 else if (PyObject_AsCharBuffer(tableobj, &table, &tablen)) in string_translate() 2256 else if (PyObject_AsCharBuffer(delobj, &del_table, &dellen)) in string_translate() 2839 else if (PyObject_AsCharBuffer(from, &from_s, &from_len)) in string_replace() 2851 else if (PyObject_AsCharBuffer(to, &to_s, &to_len)) in string_replace() [all …]
|
D | abstract.c | 245 PyObject_AsCharBuffer(PyObject *obj, in PyObject_AsCharBuffer() function 1669 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) { 1777 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) {
|
D | fileobject.c | 1843 if (PyObject_AsCharBuffer(text, &s, &n)) in file_write() 1946 res = PyObject_AsCharBuffer(v, &buffer, &len); in file_writelines()
|
D | floatobject.c | 206 else if (!PyObject_AsCharBuffer(v, &s, &len)) { in PyFloat_FromString()
|
D | unicodeobject.c | 1213 else if (PyObject_AsCharBuffer(obj, &s, &len)) { in PyUnicode_FromEncodedObject()
|
/external/python/cpython2/Modules/_sqlite/ |
D | statement.c | 186 if (PyObject_AsCharBuffer(parameter, &buffer, &buflen) == 0) { in pysqlite_statement_bind_parameter()
|
D | connection.c | 567 if (PyObject_AsCharBuffer(py_val, &buffer, &buflen) != 0) { in _pysqlite_set_result()
|
/external/python/cpython2/Include/ |
D | abstract.h | 476 PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 240 if (PyObject_AsCharBuffer(nameobj, &name, &namelen) < 0) in fileio_init()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 126 "PyObject_AsCharBuffer"
|
/external/python/cpython2/Modules/ |
D | bz2module.c | 948 if (PyObject_AsCharBuffer(v, &buffer, &len)) { in BZ2File_writelines()
|