Home
last modified time | relevance | path

Searched refs:PyObject_AsCharBuffer (Results 1 – 12 of 12) 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/cpython2/Objects/
Dstringobject.c1474 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 …]
Dabstract.c245 PyObject_AsCharBuffer(PyObject *obj, in PyObject_AsCharBuffer() function
1669 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) {
1777 if (!PyObject_AsCharBuffer(o, &buffer, &buffer_len)) {
Dfileobject.c1843 if (PyObject_AsCharBuffer(text, &s, &n)) in file_write()
1946 res = PyObject_AsCharBuffer(v, &buffer, &len); in file_writelines()
Dfloatobject.c206 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/cpython2/Modules/_io/
Dfileio.c240 if (PyObject_AsCharBuffer(nameobj, &name, &namelen) < 0) in fileio_init()
/external/python/cpython2/PC/os2emx/
Dpython27.def126 "PyObject_AsCharBuffer"
/external/python/cpython2/Modules/
Dbz2module.c948 if (PyObject_AsCharBuffer(v, &buffer, &len)) { in BZ2File_writelines()