Searched refs:PyBytesObject (Results 1 – 18 of 18) sorted by relevance
/third_party/python/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() 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 …]
|
D | codeobject.c.h | 159 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/ |
D | bytesobject.c | 31 #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 …]
|
D | codeobject.c | 726 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.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 (((PyBytesObject *)(op))->ob_sval))
|
/third_party/python/Objects/stringlib/ |
D | stringdefs.h | 11 #define STRINGLIB_OBJECT PyBytesObject
|
/third_party/python/PC/ |
D | _testconsole.c | 45 PyBytesObject *s) in _testconsole_write_input_impl()
|
/third_party/python/Include/internal/ |
D | pycore_interp.h | 58 PyBytesObject *characters[256];
|
/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) 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/ |
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
|
/third_party/python/Doc/c-api/ |
D | bytes.rst | 14 .. c:type:: PyBytesObject
|
D | arg.rst | 129 ``S`` (:class:`bytes`) [PyBytesObject \*]
|
D | unicode.rst | 856 *result* must be a :c:type:`PyBytesObject*` which must be released when it is
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 152 Objects/bytesobject.c:characters static PyBytesObject *characters[U… 153 Objects/bytesobject.c:nullstring static PyBytesObject *nullstring
|
/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`,
|
/third_party/python/Doc/howto/ |
D | clinic.rst | 849 ``'S'`` ``PyBytesObject``
|