/aosp_15_r20/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 53 ptr = (void *) PyByteArray_AS_STRING(obj); in bytearray_getbuffer() 98 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject() 166 return PyByteArray_AS_STRING(self); in PyByteArray_AsString() 202 PyByteArray_AS_STRING(self)[size] = '\0'; /* Trailing null */ in PyByteArray_Resize() 228 memcpy(sval, PyByteArray_AS_STRING(self), in PyByteArray_Resize() 314 memcpy(PyByteArray_AS_STRING(self) + size, vo.buf, vo.len); in bytearray_iconcat() 330 const char* buf = PyByteArray_AS_STRING(self); in bytearray_repeat() 354 char* buf = PyByteArray_AS_STRING(self); in bytearray_irepeat() 402 PyByteArray_AS_STRING(self) + start, slicelength); in bytearray_subscript() 405 char *source_buf = PyByteArray_AS_STRING(self); in bytearray_subscript() [all …]
|
D | bytesobject.c | 496 *p = PyByteArray_AS_STRING(arg)[0]; in byte_converter() 537 *pbuf = PyByteArray_AS_STRING(v); in format_obj() 3322 return PyByteArray_AS_STRING(writer->buffer); in _PyBytesWriter_AsString() 3422 dest = PyByteArray_AS_STRING(writer->buffer); in _PyBytesWriter_Resize()
|
D | floatobject.c | 222 s = PyByteArray_AS_STRING(v); in PyFloat_FromString()
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 70 *ptr = (void *)PyByteArray_AS_STRING(self); in bytearray_buffer_getreadbuf() 82 *ptr = (void *)PyByteArray_AS_STRING(self); in bytearray_buffer_getwritebuf() 102 *ptr = PyByteArray_AS_STRING(self); in bytearray_buffer_getcharbuf() 115 ptr = (void *) PyByteArray_AS_STRING(obj); in bytearray_getbuffer() 178 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject() 240 return PyByteArray_AS_STRING(self); in PyByteArray_AsString() 471 char *source_buf = PyByteArray_AS_STRING(self); in bytearray_subscript() 506 values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values), in bytearray_setslice() 922 PyByteArray_AS_STRING(self)[Py_SIZE(self)] = '\0'; in bytearray_init() 971 start = PyByteArray_AS_STRING(self); in bytearray_repr() [all …]
|
D | bytesobject.c | 496 *p = PyByteArray_AS_STRING(arg)[0]; in byte_converter() 548 *pbuf = PyByteArray_AS_STRING(v); in format_obj() 3191 return PyByteArray_AS_STRING(writer->buffer); in _PyBytesWriter_AsString() 3290 dest = PyByteArray_AS_STRING(writer->buffer); in _PyBytesWriter_Resize()
|
/aosp_15_r20/external/python/cpython3/Include/cpython/ |
D | bytearrayobject.h | 20 static inline char* PyByteArray_AS_STRING(PyObject *op) in PyByteArray_AS_STRING() function 29 # define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self)) macro
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/ |
D | bytearrayobject.h | 20 static inline char* PyByteArray_AS_STRING(PyObject *op) in PyByteArray_AS_STRING() function 29 # define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self)) macro
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/ |
D | bytearrayobject.h | 20 static inline char* PyByteArray_AS_STRING(PyObject *op) in PyByteArray_AS_STRING() function 29 # define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self)) macro
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/ |
D | bytearrayobject.h | 20 static inline char* PyByteArray_AS_STRING(PyObject *op) in PyByteArray_AS_STRING() function 29 # define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self)) macro
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/ |
D | bytearrayobject.h | 20 static inline char* PyByteArray_AS_STRING(PyObject *op) in PyByteArray_AS_STRING() function 29 # define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self)) macro
|
/aosp_15_r20/external/python/cpython3/Modules/clinic/ |
D | _testclinic.c.h | 236 a = PyByteArray_AS_STRING(args[0])[0]; in char_converter() 249 b = PyByteArray_AS_STRING(args[1])[0]; in char_converter() 262 c = PyByteArray_AS_STRING(args[2])[0]; in char_converter() 275 d = PyByteArray_AS_STRING(args[3])[0]; in char_converter() 288 e = PyByteArray_AS_STRING(args[4])[0]; in char_converter() 301 f = PyByteArray_AS_STRING(args[5])[0]; in char_converter() 314 g = PyByteArray_AS_STRING(args[6])[0]; in char_converter() 327 h = PyByteArray_AS_STRING(args[7])[0]; in char_converter() 340 i = PyByteArray_AS_STRING(args[8])[0]; in char_converter() 353 j = PyByteArray_AS_STRING(args[9])[0]; in char_converter() [all …]
|
/aosp_15_r20/external/python/cpython3/Objects/stringlib/clinic/ |
D | transmogrify.h.h | 90 fillchar = PyByteArray_AS_STRING(args[1])[0]; in stringlib_ljust() 146 fillchar = PyByteArray_AS_STRING(args[1])[0]; in stringlib_rjust() 202 fillchar = PyByteArray_AS_STRING(args[1])[0]; in stringlib_center()
|
/aosp_15_r20/external/python/cpython2/Modules/_io/ |
D | iobase.c | 546 memcpy(PyByteArray_AS_STRING(buffer) + old_size, in iobase_readline() 551 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in iobase_readline() 555 result = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(buffer), in iobase_readline()
|
/aosp_15_r20/external/python/cpython3/Modules/_io/ |
D | iobase.c | 619 memcpy(PyByteArray_AS_STRING(buffer) + old_size, in _io__IOBase_readline_impl() 624 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in _io__IOBase_readline_impl() 628 result = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(buffer), in _io__IOBase_readline_impl()
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | clinic.test | 502 a = PyByteArray_AS_STRING(args[0])[0]; 515 b = PyByteArray_AS_STRING(args[1])[0]; 528 c = PyByteArray_AS_STRING(args[2])[0]; 541 d = PyByteArray_AS_STRING(args[3])[0]; 554 e = PyByteArray_AS_STRING(args[4])[0]; 567 f = PyByteArray_AS_STRING(args[5])[0]; 580 g = PyByteArray_AS_STRING(args[6])[0]; 593 h = PyByteArray_AS_STRING(args[7])[0]; 606 i = PyByteArray_AS_STRING(args[8])[0]; 619 j = PyByteArray_AS_STRING(args[9])[0]; [all …]
|
/aosp_15_r20/external/python/cpython3/PC/clinic/ |
D | msvcrtmodule.c.h | 345 char_value = PyByteArray_AS_STRING(arg)[0]; in msvcrt_putch() 419 char_value = PyByteArray_AS_STRING(arg)[0]; in msvcrt_ungetch()
|
/aosp_15_r20/external/python/cpython2/Include/ |
D | bytearrayobject.h | 47 #define PyByteArray_AS_STRING(self) \ macro
|
/aosp_15_r20/external/python/cpython2/Doc/c-api/ |
D | bytearray.rst | 80 .. c:function:: char* PyByteArray_AS_STRING(PyObject *bytearray)
|
/aosp_15_r20/external/python/cpython3/Doc/c-api/ |
D | bytearray.rst | 78 .. c:function:: char* PyByteArray_AS_STRING(PyObject *bytearray)
|
/aosp_15_r20/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a3.rst | 71 many places because of the ``PyByteArray_AS_STRING()`` macro returning NULL.
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | _struct.c | 1844 p = PyByteArray_AS_STRING(v); in s_pack_internal() 1866 p = PyByteArray_AS_STRING(v); in s_pack_internal()
|
/aosp_15_r20/external/python/cpython3/Python/ |
D | getargs.c | 860 *p = PyByteArray_AS_STRING(arg)[0]; in convertsimple() 1109 ptr = PyByteArray_AS_STRING(s); in convertsimple()
|
D | pythonrun.c | 1840 str = PyByteArray_AS_STRING(cmd); in _Py_SourceAsString()
|
/aosp_15_r20/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1527 str = PyByteArray_AS_STRING(buffer); in getargs_es_hash() 1551 str = PyByteArray_AS_STRING(buffer); in getargs_et_hash()
|
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/ |
D | cfield.c | 1115 *(char *)ptr = PyByteArray_AS_STRING(value)[0]; in c_set()
|