Searched refs:PyBytesObject (Results 1 – 20 of 20) sorted by relevance
/external/python/cpython3/Objects/clinic/ |
D | bytesobject.c.h | 23 bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); 26 bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_split() 61 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep); 64 bytes_partition(PyBytesObject *self, PyObject *arg) in bytes_partition() 100 bytes_rpartition_impl(PyBytesObject *self, Py_buffer *sep); 103 bytes_rpartition(PyBytesObject *self, PyObject *arg) in bytes_rpartition() 142 bytes_rsplit_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); 145 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_rsplit() 190 bytes_strip_impl(PyBytesObject *self, PyObject *bytes); 193 bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_strip() [all …]
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 24 static PyBytesObject *characters[UCHAR_MAX + 1]; 25 static PyBytesObject *nullstring; 33 #define PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1) 64 PyBytesObject *op; in _PyBytes_FromSize() 83 op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size); in _PyBytes_FromSize() 85 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in _PyBytes_FromSize() 103 PyBytesObject *op; in PyBytes_FromStringAndSize() 119 op = (PyBytesObject *)_PyBytes_FromSize(size, 0); in PyBytes_FromStringAndSize() 138 PyBytesObject *op; in PyBytes_FromString() 163 op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + size); in PyBytes_FromString() [all …]
|
D | bytearrayobject.c | 35 *value = Py_CHARMASK(((PyBytesObject*)arg)->ob_sval[0]); in _getbytevalue()
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 24 static PyBytesObject *characters[UCHAR_MAX + 1]; 25 static PyBytesObject *nullstring; 33 #define PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1) 64 PyBytesObject *op; in _PyBytes_FromSize() 83 op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size); in _PyBytes_FromSize() 85 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in _PyBytes_FromSize() 103 PyBytesObject *op; in PyBytes_FromStringAndSize() 119 op = (PyBytesObject *)_PyBytes_FromSize(size, 0); in PyBytes_FromStringAndSize() 138 PyBytesObject *op; in PyBytes_FromString() 163 op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + size); in PyBytes_FromString() [all …]
|
D | bytearrayobject.c | 2020 bytearray_hex(PyBytesObject *self) in bytearray_hex()
|
/external/python/cpython3/PC/clinic/ |
D | _testconsole.c.h | 18 PyBytesObject *s); 27 PyBytesObject *s; in _testconsole_write_input()
|
/external/python/cpython3/Include/ |
D | bytesobject.h | 41 } PyBytesObject; typedef 88 (((PyBytesObject *)(op))->ob_sval))
|
/external/python/cpython3/Objects/stringlib/ |
D | stringdefs.h | 11 #define STRINGLIB_OBJECT PyBytesObject
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 1 #define PyBytesObject PyStringObject macro
|
/external/python/cpython3/PC/ |
D | _testconsole.c | 45 PyBytesObject *s) in _testconsole_write_input_impl()
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 182 a: PyBytesObject 196 test_PyBytesObject_converter_impl(PyObject *module, PyBytesObject *a); 202 PyBytesObject *a; 214 test_PyBytesObject_converter_impl(PyObject *module, PyBytesObject *a)
|
/external/python/cpython3/Misc/ |
D | gdbinit | 55 set $__p = (unsigned char *)((PyBytesObject *)$__co->co_lnotab)->ob_sval
|
D | HISTORY | 15359 - Issue #4445: Replace "sizeof(PyBytesObject)" with 15360 "offsetof(PyBytesObject, ob_sval) + 1" when allocating memory for
|
/external/python/cpython3/Doc/c-api/ |
D | bytes.rst | 14 .. c:type:: PyBytesObject
|
D | arg.rst | 131 ``S`` (:class:`bytes`) [PyBytesObject \*]
|
D | unicode.rst | 841 *result* must be a :c:type:`PyBytesObject*` which must be released when it is
|
/external/python/cpython3/Python/ |
D | marshal.c | 1621 wf.ptr = wf.buf = PyBytes_AS_STRING((PyBytesObject *)wf.str); in PyMarshal_WriteObjectToString() 1632 char *base = PyBytes_AS_STRING((PyBytesObject *)wf.str); in PyMarshal_WriteObjectToString()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 977 to :c:type:`PyBytesObject`. Python 2.6 uses ``#define`` 978 to support using the names :c:func:`PyBytesObject`,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 981 to :c:type:`PyBytesObject`. Python 2.6 uses ``#define`` 982 to support using the names :c:func:`PyBytesObject`,
|
/external/python/cpython3/Doc/howto/ |
D | clinic.rst | 849 ``'S'`` ``PyBytesObject``
|