Searched refs:PyObject_AsCharBuffer (Results 1 – 19 of 19) 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/cpython3/Doc/c-api/ |
D | objbuffer.rst | 21 .. c:function:: int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_le…
|
/external/python/cpython2/Objects/ |
D | stringobject.c | 1480 else if (PyObject_AsCharBuffer(subobj, &sub, &n)) in string_split() 1507 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_partition() 1538 else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) in string_rpartition() 1579 else if (PyObject_AsCharBuffer(subobj, &sub, &n)) in string_rsplit() 1733 else if (PyObject_AsCharBuffer(subobj, &sub, &sub_len)) in string_find_internal() 2150 else if (PyObject_AsCharBuffer(sub_obj, &sub, &sub_len)) in string_count() 2241 else if (PyObject_AsCharBuffer(tableobj, &table, &tablen)) in string_translate() 2262 else if (PyObject_AsCharBuffer(delobj, &del_table, &dellen)) in string_translate() 2836 else if (PyObject_AsCharBuffer(from, &from_s, &from_len)) in string_replace() 2848 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 1666 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) { 1774 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) {
|
D | fileobject.c | 1864 if (PyObject_AsCharBuffer(text, &s, &n)) in file_write() 1967 res = PyObject_AsCharBuffer(v, &buffer, &len); in file_writelines()
|
D | floatobject.c | 205 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/cpython3/Include/ |
D | abstract.h | 471 PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
|
/external/python/cpython3/PC/ |
D | python3.def | 444 PyObject_AsCharBuffer=python37.PyObject_AsCharBuffer
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 266 if (PyObject_AsCharBuffer(nameobj, &name, &namelen) < 0) in fileio_init()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1543 PyObject_AsCharBuffer:int::: 1544 PyObject_AsCharBuffer:PyObject*:obj:0: 1545 PyObject_AsCharBuffer:const char**:buffer:: 1546 PyObject_AsCharBuffer:Py_ssize_t*:buffer_len::
|
/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()
|
/external/python/cpython3/Objects/ |
D | abstract.c | 311 PyObject_AsCharBuffer(PyObject *obj, in PyObject_AsCharBuffer() function
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 26 Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and
|
/external/python/cpython3/Misc/ |
D | HISTORY | 959 - Issue #22896: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
|