Home
last modified time | relevance | path

Searched refs:PyObject_AsCharBuffer (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Doc/c-api/
Dobjbuffer.rst16 .. c:function:: int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_le…
/external/python/cpython3/Doc/c-api/
Dobjbuffer.rst21 .. c:function:: int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_le…
/external/python/cpython2/Objects/
Dstringobject.c1480 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 …]
Dabstract.c245 PyObject_AsCharBuffer(PyObject *obj, in PyObject_AsCharBuffer() function
1666 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) {
1774 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) {
Dfileobject.c1864 if (PyObject_AsCharBuffer(text, &s, &n)) in file_write()
1967 res = PyObject_AsCharBuffer(v, &buffer, &len); in file_writelines()
Dfloatobject.c205 else if (!PyObject_AsCharBuffer(v, &s, &len)) { in PyFloat_FromString()
Dunicodeobject.c1213 else if (PyObject_AsCharBuffer(obj, &s, &len)) { in PyUnicode_FromEncodedObject()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c186 if (PyObject_AsCharBuffer(parameter, &buffer, &buflen) == 0) { in pysqlite_statement_bind_parameter()
Dconnection.c567 if (PyObject_AsCharBuffer(py_val, &buffer, &buflen) != 0) { in _pysqlite_set_result()
/external/python/cpython2/Include/
Dabstract.h476 PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
/external/python/cpython3/Include/
Dabstract.h471 PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
/external/python/cpython3/PC/
Dpython3.def444 PyObject_AsCharBuffer=python37.PyObject_AsCharBuffer
/external/python/cpython2/Modules/_io/
Dfileio.c266 if (PyObject_AsCharBuffer(nameobj, &name, &namelen) < 0) in fileio_init()
/external/python/cpython3/Doc/data/
Drefcounts.dat1543 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/
Dpython27.def126 "PyObject_AsCharBuffer"
/external/python/cpython2/Modules/
Dbz2module.c948 if (PyObject_AsCharBuffer(v, &buffer, &len)) { in BZ2File_writelines()
/external/python/cpython3/Objects/
Dabstract.c311 PyObject_AsCharBuffer(PyObject *obj, in PyObject_AsCharBuffer() function
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst26 Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and
/external/python/cpython3/Misc/
DHISTORY959 - Issue #22896: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer()