Searched refs:PyByteArray_AS_STRING (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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() 220 return PyByteArray_AS_STRING(self); in PyByteArray_AsString() 452 char *source_buf = PyByteArray_AS_STRING(self); in bytearray_subscript() 949 start = PyByteArray_AS_STRING(self); in bytearray_repr() 1114 #define STRINGLIB_STR PyByteArray_AS_STRING 1163 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal() 1167 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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() 220 return PyByteArray_AS_STRING(self); in PyByteArray_AsString() 452 char *source_buf = PyByteArray_AS_STRING(self); in bytearray_subscript() 943 start = PyByteArray_AS_STRING(self); in bytearray_repr() 1110 #define STRINGLIB_STR PyByteArray_AS_STRING 1159 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal() 1163 PyByteArray_AS_STRING(self), PyByteArray_GET_SIZE(self), in bytearray_find_internal() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | bytearrayobject.h | 47 #define PyByteArray_AS_STRING(self) \ macro
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | bytearrayobject.h | 47 #define PyByteArray_AS_STRING(self) \ macro
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
D | iobase.c | 521 memcpy(PyByteArray_AS_STRING(buffer) + old_size, in iobase_readline() 526 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in iobase_readline() 530 result = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(buffer), in iobase_readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
D | iobase.c | 533 memcpy(PyByteArray_AS_STRING(buffer) + old_size, in iobase_readline() 538 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in iobase_readline() 542 result = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(buffer), in iobase_readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | bltinmodule.c | 1519 ord = (long)((unsigned char)*PyByteArray_AS_STRING(obj)); in builtin_ord()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | bltinmodule.c | 1511 ord = (long)((unsigned char)*PyByteArray_AS_STRING(obj)); in builtin_ord()
|