/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 163 return PyByteArray_GET_SIZE(self); in PyByteArray_Size() 401 i += PyByteArray_GET_SIZE(self); in bytearray_subscript() 415 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript() 547 PyByteArray_GET_SIZE(values)); in bytearray_setslice() 620 i += PyByteArray_GET_SIZE(self); in bytearray_ass_subscript() 646 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript() 710 if (cur + step >= (size_t)PyByteArray_GET_SIZE(self)) in bytearray_ass_subscript() 711 lim = PyByteArray_GET_SIZE(self) - cur - 1; in bytearray_ass_subscript() 718 if (cur < (size_t)PyByteArray_GET_SIZE(self)) { in bytearray_ass_subscript() 721 PyByteArray_GET_SIZE(self) - cur); in bytearray_ass_subscript() [all …]
|
D | bytesobject.c | 488 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter() 541 *plen = PyByteArray_GET_SIZE(v); in format_obj()
|
D | floatobject.c | 190 len = PyByteArray_GET_SIZE(v); in PyFloat_FromString()
|
D | abstract.c | 1487 PyByteArray_GET_SIZE(o), 10); in PyNumber_Long()
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 231 return PyByteArray_GET_SIZE(self); in PyByteArray_Size() 448 i += PyByteArray_GET_SIZE(self); in bytearray_subscript() 461 slicelength = _PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript() 507 PyByteArray_GET_SIZE(values)); in bytearray_setslice() 620 i += PyByteArray_GET_SIZE(self); in bytearray_ass_subscript() 646 slicelen = _PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript() 734 if (cur + step >= (size_t)PyByteArray_GET_SIZE(self)) in bytearray_ass_subscript() 735 lim = PyByteArray_GET_SIZE(self) - cur - 1; in bytearray_ass_subscript() 742 if (cur < (size_t)PyByteArray_GET_SIZE(self)) { in bytearray_ass_subscript() 745 PyByteArray_GET_SIZE(self) - cur); in bytearray_ass_subscript() [all …]
|
D | bytesobject.c | 495 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in byte_converter() 549 *plen = PyByteArray_GET_SIZE(v); in format_obj()
|
/external/python/cpython3/Objects/stringlib/clinic/ |
D | transmogrify.h.h | 99 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_ljust() 160 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_rjust() 221 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { in stringlib_center()
|
/external/python/cpython3/Include/cpython/ |
D | bytearrayobject.h | 18 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self)) macro
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 553 while (limit < 0 || PyByteArray_GET_SIZE(buffer) < limit) { in _io__IOBase_readline_impl() 619 old_size = PyByteArray_GET_SIZE(buffer); in _io__IOBase_readline_impl() 629 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in _io__IOBase_readline_impl() 634 PyByteArray_GET_SIZE(buffer)); in _io__IOBase_readline_impl()
|
/external/python/cpython2/Include/ |
D | bytearrayobject.h | 50 #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self)) macro
|
/external/python/cpython2/Modules/_io/ |
D | iobase.c | 541 old_size = PyByteArray_GET_SIZE(buffer); in iobase_readline() 551 if (PyByteArray_AS_STRING(buffer)[PyByteArray_GET_SIZE(buffer) - 1] == '\n') in iobase_readline() 556 PyByteArray_GET_SIZE(buffer)); in iobase_readline()
|
/external/python/cpython3/PC/clinic/ |
D | msvcrtmodule.c.h | 374 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_putch() 448 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) { in msvcrt_ungetch()
|
/external/python/cpython2/Doc/c-api/ |
D | bytearray.rst | 85 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
|
/external/python/cpython3/Doc/c-api/ |
D | bytearray.rst | 85 .. c:function:: Py_ssize_t PyByteArray_GET_SIZE(PyObject *bytearray)
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 506 else if (PyByteArray_Check(args[0]) && PyByteArray_GET_SIZE(args[0]) == 1) { 519 else if (PyByteArray_Check(args[1]) && PyByteArray_GET_SIZE(args[1]) == 1) { 532 else if (PyByteArray_Check(args[2]) && PyByteArray_GET_SIZE(args[2]) == 1) { 545 else if (PyByteArray_Check(args[3]) && PyByteArray_GET_SIZE(args[3]) == 1) { 558 else if (PyByteArray_Check(args[4]) && PyByteArray_GET_SIZE(args[4]) == 1) { 571 else if (PyByteArray_Check(args[5]) && PyByteArray_GET_SIZE(args[5]) == 1) { 584 else if (PyByteArray_Check(args[6]) && PyByteArray_GET_SIZE(args[6]) == 1) { 597 else if (PyByteArray_Check(args[7]) && PyByteArray_GET_SIZE(args[7]) == 1) { 610 else if (PyByteArray_Check(args[8]) && PyByteArray_GET_SIZE(args[8]) == 1) { 623 else if (PyByteArray_Check(args[9]) && PyByteArray_GET_SIZE(args[9]) == 1) { [all …]
|
/external/python/cpython3/Modules/ |
D | _struct.c | 1806 n = PyByteArray_GET_SIZE(v); in s_pack_internal() 1828 n = PyByteArray_GET_SIZE(v); in s_pack_internal()
|
D | _testcapimodule.c | 1533 size = PyByteArray_GET_SIZE(buffer); in getargs_es_hash() 1556 size = PyByteArray_GET_SIZE(buffer); in getargs_et_hash()
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1528 size = PyByteArray_GET_SIZE(buffer); in getargs_es_hash() 1552 size = PyByteArray_GET_SIZE(buffer); in getargs_et_hash()
|
/external/python/cpython3/Modules/_ctypes/ |
D | cfield.c | 1141 if (PyByteArray_Check(value) && PyByteArray_GET_SIZE(value) == 1) { in c_set()
|
/external/python/cpython3/Parser/ |
D | tokenizer.c | 375 buflen = PyByteArray_GET_SIZE(bufobj); in fp_readl()
|
/external/python/cpython3/Python/ |
D | pythonrun.c | 1319 size = PyByteArray_GET_SIZE(cmd); in _Py_SourceAsString()
|
D | bltinmodule.c | 1783 size = PyByteArray_GET_SIZE(c); in builtin_ord()
|
D | getargs.c | 1159 size = PyByteArray_GET_SIZE(s); in convertsimple()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 97 PyByteArray_GET_SIZE:Py_ssize_t::: 98 PyByteArray_GET_SIZE:PyObject*:bytearray:0:
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 1529 size = PyByteArray_GET_SIZE(obj); in builtin_ord()
|