| /third_party/python/Objects/clinic/ |
| D | bytesobject.c.h | 15 bytes___bytes___impl(PyBytesObject *self); 18 bytes___bytes__(PyBytesObject *self, PyObject *Py_UNUSED(ignored)) in bytes___bytes__() 41 bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); 44 bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_split() 103 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep); 106 bytes_partition(PyBytesObject *self, PyObject *arg) in bytes_partition() 146 bytes_rpartition_impl(PyBytesObject *self, Py_buffer *sep); 149 bytes_rpartition(PyBytesObject *self, PyObject *arg) in bytes_rpartition() 192 bytes_rsplit_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); 195 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_rsplit() [all …]
|
| D | codeobject.c.h | 177 int co_firstlineno, PyBytesObject *co_code, 182 PyBytesObject *co_linetable, 183 PyBytesObject *co_exceptiontable); 200 PyBytesObject *co_code = NULL; in code_replace() 209 PyBytesObject *co_linetable = (PyBytesObject *)self->co_linetable; in code_replace() 210 PyBytesObject *co_exceptiontable = (PyBytesObject *)self->co_exceptiontable; in code_replace() 287 co_code = (PyBytesObject *)args[7]; in code_replace() 386 co_linetable = (PyBytesObject *)args[16]; in code_replace() 395 co_exceptiontable = (PyBytesObject *)args[17]; in code_replace()
|
| /third_party/python/Objects/ |
| D | bytesobject.c | 33 #define PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1) 42 ((PyBytesObject *)&(CHARACTERS[ch])); 86 PyBytesObject *op; in _PyBytes_FromSize() 101 op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size); in _PyBytes_FromSize() 103 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in _PyBytes_FromSize() 121 PyBytesObject *op; in PyBytes_FromStringAndSize() 136 op = (PyBytesObject *)_PyBytes_FromSize(size, 0); in PyBytes_FromStringAndSize() 150 PyBytesObject *op; in PyBytes_FromString() 170 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in PyBytes_FromString() 1231 return ((PyBytesObject *)op)->ob_sval; in PyBytes_AsString() [all …]
|
| D | codeobject.c | 1907 int co_firstlineno, PyBytesObject *co_code, in code_replace_impl() 1912 PyBytesObject *co_linetable, in code_replace_impl() 1913 PyBytesObject *co_exceptiontable) in code_replace_impl() 1939 co_code = (PyBytesObject *)code; in code_replace_impl()
|
| /third_party/python/PC/clinic/ |
| D | _testconsole.c.h | 18 PyBytesObject *s); 28 PyBytesObject *s; in _testconsole_write_input() 39 s = (PyBytesObject *)args[1]; in _testconsole_write_input()
|
| /third_party/python/Include/cpython/ |
| D | bytesobject.h | 15 } PyBytesObject; typedef 33 (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op)) 44 PyBytesObject *self = _PyBytes_CAST(op); in PyBytes_GET_SIZE()
|
| /third_party/python/Include/internal/ |
| D | pycore_global_objects.h | 37 PyBytesObject bytes_empty; 39 PyBytesObject ob;
|
| /third_party/python/Objects/stringlib/ |
| D | stringdefs.h | 11 #define STRINGLIB_OBJECT PyBytesObject
|
| /third_party/python/PC/ |
| D | _testconsole.c | 49 PyBytesObject *s) in _testconsole_write_input_impl()
|
| /third_party/python/Doc/c-api/ |
| D | code.rst | 85 Returns a strong reference to a :c:type:`PyBytesObject` representing the 89 This ``PyBytesObject`` may be created on-demand by the interpreter and does
|
| D | bytes.rst | 14 .. c:type:: PyBytesObject
|
| D | arg.rst | 145 ``S`` (:class:`bytes`) [PyBytesObject \*]
|
| D | unicode.rst | 852 *result* must be a :c:expr:`PyBytesObject*` which must be released when it is
|
| /third_party/python/Modules/ |
| D | _testclinic.c | 125 bytes_object_converter_impl(PyObject *module, PyBytesObject *a) in bytes_object_converter_impl() 619 void *bytes_obj_buf = ((PyBytesObject *)bytes_obj)->ob_sval; in bytes_from_buffer()
|
| /third_party/python/Lib/test/ |
| D | clinic.test | 249 a: PyBytesObject 263 test_PyBytesObject_converter_impl(PyObject *module, PyBytesObject *a); 269 PyBytesObject *a; 275 a = (PyBytesObject *)arg; 283 test_PyBytesObject_converter_impl(PyObject *module, PyBytesObject *a) 3144 co_lnotab: PyBytesObject(c_default="(PyBytesObject *)self->co_lnotab") = None 3157 test_keyword_only_parameter_impl(PyObject *module, PyBytesObject *co_lnotab); 3167 PyBytesObject *co_lnotab = (PyBytesObject *)self->co_lnotab; 3180 co_lnotab = (PyBytesObject *)args[0]; 3189 test_keyword_only_parameter_impl(PyObject *module, PyBytesObject *co_lnotab)
|
| /third_party/python/Misc/ |
| D | gdbinit | 61 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
|
| D | NEWS | 3377 ``PyBytesObject.ob_shash`` for bytes subclasses. 4038 - bpo-46864: Deprecate ``PyBytesObject.ob_shash``. It will be removed in
|
| /third_party/python/Modules/clinic/ |
| D | _testclinic.c.h | 64 bytes_object_converter_impl(PyObject *module, PyBytesObject *a); 70 PyBytesObject *a; in bytes_object_converter() 76 a = (PyBytesObject *)arg; in bytes_object_converter()
|
| /third_party/python/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`,
|
| D | 3.11.rst | 2584 * Deprecate the ``ob_shash`` member of the :c:type:`PyBytesObject`. Use :c:func:`PyObject_Hash` ins…
|
| /third_party/python/Doc/howto/ |
| D | clinic.rst | 848 ``'S'`` ``PyBytesObject``
|