Home
last modified time | relevance | path

Searched refs:PyBytesObject (Results 1 – 18 of 18) sorted by relevance

/third_party/python/Objects/clinic/
Dbytesobject.c.h23 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()
85 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep);
88 bytes_partition(PyBytesObject *self, PyObject *arg) in bytes_partition()
128 bytes_rpartition_impl(PyBytesObject *self, Py_buffer *sep);
131 bytes_rpartition(PyBytesObject *self, PyObject *arg) in bytes_rpartition()
174 bytes_rsplit_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit);
177 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_rsplit()
246 bytes_strip_impl(PyBytesObject *self, PyObject *bytes);
249 bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_strip()
[all …]
Dcodeobject.c.h159 int co_firstlineno, PyBytesObject *co_code,
163 PyObject *co_name, PyBytesObject *co_linetable);
180 PyBytesObject *co_code = (PyBytesObject *)self->co_code; in code_replace()
188 PyBytesObject *co_linetable = (PyBytesObject *)self->co_linetable; in code_replace()
265 co_code = (PyBytesObject *)args[7]; in code_replace()
350 co_linetable = (PyBytesObject *)args[15]; in code_replace()
/third_party/python/Objects/
Dbytesobject.c31 #define PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
70 PyBytesObject *op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE); in bytes_create_empty_string_singleton()
109 PyBytesObject *op; in _PyBytes_FromSize()
124 op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size); in _PyBytes_FromSize()
126 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in _PyBytes_FromSize()
141 PyBytesObject *op; in PyBytes_FromStringAndSize()
159 op = (PyBytesObject *)_PyBytes_FromSize(size, 0); in PyBytes_FromStringAndSize()
179 PyBytesObject *op; in PyBytes_FromString()
202 op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size); in PyBytes_FromString()
1242 return ((PyBytesObject *)op)->ob_sval; in PyBytes_AsString()
[all …]
Dcodeobject.c726 int co_firstlineno, PyBytesObject *co_code, in code_replace_impl()
730 PyObject *co_name, PyBytesObject *co_linetable) in code_replace_impl()
/third_party/python/PC/clinic/
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/cpython/
Dbytesobject.h15 } PyBytesObject; typedef
33 (((PyBytesObject *)(op))->ob_sval))
/third_party/python/Objects/stringlib/
Dstringdefs.h11 #define STRINGLIB_OBJECT PyBytesObject
/third_party/python/PC/
D_testconsole.c45 PyBytesObject *s) in _testconsole_write_input_impl()
/third_party/python/Include/internal/
Dpycore_interp.h58 PyBytesObject *characters[256];
/third_party/python/Lib/test/
Dclinic.test249 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)
3159 co_lnotab: PyBytesObject(c_default="(PyBytesObject *)self->co_lnotab") = None
3172 test_keyword_only_parameter_impl(PyObject *module, PyBytesObject *co_lnotab);
3182 PyBytesObject *co_lnotab = (PyBytesObject *)self->co_lnotab;
3195 co_lnotab = (PyBytesObject *)args[0];
3204 test_keyword_only_parameter_impl(PyObject *module, PyBytesObject *co_lnotab)
/third_party/python/Misc/
Dgdbinit61 set $__p = (unsigned char *)((PyBytesObject *)$__co->co_lnotab)->ob_sval
DHISTORY15359 - Issue #4445: Replace "sizeof(PyBytesObject)" with
15360 "offsetof(PyBytesObject, ob_sval) + 1" when allocating memory for
/third_party/python/Doc/c-api/
Dbytes.rst14 .. c:type:: PyBytesObject
Darg.rst129 ``S`` (:class:`bytes`) [PyBytesObject \*]
Dunicode.rst856 *result* must be a :c:type:`PyBytesObject*` which must be released when it is
/third_party/python/Tools/c-analyzer/
DTODO152 Objects/bytesobject.c:characters static PyBytesObject *characters[U…
153 Objects/bytesobject.c:nullstring static PyBytesObject *nullstring
/third_party/python/Doc/whatsnew/
D2.6.rst981 to :c:type:`PyBytesObject`. Python 2.6 uses ``#define``
982 to support using the names :c:func:`PyBytesObject`,
/third_party/python/Doc/howto/
Dclinic.rst849 ``'S'`` ``PyBytesObject``