Home
last modified time | relevance | path

Searched refs:PyBytesObject (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Objects/clinic/
H A Dbytesobject.c.h15 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 *sel
[all...]
H A Dcodeobject.c.h177 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 *)arg in code_replace()
[all...]
/third_party/python/Objects/
H A Dbytesobject.c21 class bytes "PyBytesObject *" "&PyBytes_Type"
30 Using PyBytesObject_SIZE instead of sizeof(PyBytesObject) saves
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 *o in PyBytes_FromString()
[all...]
H A Dcodeobject.c1888 co_code: PyBytesObject(c_default="NULL") = None
1897 co_linetable: PyBytesObject(c_default="(PyBytesObject *)self->co_linetable") = None
1898 co_exceptiontable: PyBytesObject(c_default="(PyBytesObject *)self->co_exceptiontable") = None
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/Include/cpython/
H A Dbytesobject.h15 } PyBytesObject; typedef
33 (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
44 PyBytesObject *self = _PyBytes_CAST(op); in PyBytes_GET_SIZE()
51 /* _PyBytes_Join(sep, x) is like sep.join(x). sep must be PyBytesObject*,
/third_party/python/PC/clinic/
H A D_testconsole.c.h18 PyBytesObject *s);
28 PyBytesObject *s; in _testconsole_write_input()
39 s = (PyBytesObject *)args[1]; in _testconsole_write_input()
/third_party/python/Include/internal/
H A Dpycore_global_objects.h37 PyBytesObject bytes_empty;
39 PyBytesObject ob;
/third_party/python/Modules/clinic/
H A D_testclinic.c.h64 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/Objects/stringlib/
H A Dstringdefs.h11 #define STRINGLIB_OBJECT PyBytesObject
/third_party/python/PC/
H A D_testconsole.c42 s: PyBytesObject
49 PyBytesObject *s) in _testconsole_write_input_impl()
/third_party/python/Modules/
H A D_testclinic.c119 a: PyBytesObject
125 bytes_object_converter_impl(PyObject *module, PyBytesObject *a) in bytes_object_converter_impl()
130 "argument a is not a PyBytesObject"); in bytes_object_converter_impl()
619 void *bytes_obj_buf = ((PyBytesObject *)bytes_obj)->ob_sval; in bytes_from_buffer()

Completed in 12 milliseconds