Home
last modified time | relevance | path

Searched refs:PyByteArray_GET_SIZE (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Objects/
Dbytearrayobject.c211 return PyByteArray_GET_SIZE(self); in PyByteArray_Size()
428 i += PyByteArray_GET_SIZE(self); in bytearray_subscript()
439 PyByteArray_GET_SIZE(self), in bytearray_subscript()
599 i += PyByteArray_GET_SIZE(self); in bytearray_ass_subscript()
623 PyByteArray_GET_SIZE(self), in bytearray_ass_subscript()
713 if (cur + step >= (size_t)PyByteArray_GET_SIZE(self)) in bytearray_ass_subscript()
714 lim = PyByteArray_GET_SIZE(self) - cur - 1; in bytearray_ass_subscript()
721 if (cur < (size_t)PyByteArray_GET_SIZE(self)) { in bytearray_ass_subscript()
724 PyByteArray_GET_SIZE(self) - cur); in bytearray_ass_subscript()
727 PyByteArray_GET_SIZE(self) - slicelen) < 0) in bytearray_ass_subscript()
[all …]
/external/python/cpython2/Include/
Dbytearrayobject.h50 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self)) macro
/external/python/cpython2/Modules/_io/
Diobase.c533 old_size = PyByteArray_GET_SIZE(buffer); in iobase_readline()
543 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in iobase_readline()
548 PyByteArray_GET_SIZE(buffer)); in iobase_readline()
/external/python/cpython2/Doc/c-api/
Dbytearray.rst85 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
/external/python/cpython2/Modules/
D_testcapimodule.c1518 size = PyByteArray_GET_SIZE(buffer); in getargs_es_hash()
1542 size = PyByteArray_GET_SIZE(buffer); in getargs_et_hash()
D_ssl.c2571 size = PyByteArray_GET_SIZE(password); in _pwinfo_set()
/external/python/cpython2/Python/
Dbltinmodule.c1528 size = PyByteArray_GET_SIZE(obj); in builtin_ord()