Searched refs:byteslen (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 1807 Py_ssize_t left, right, mysize, byteslen; in bytearray_strip_impl() local 1814 byteslen = 6; in bytearray_strip_impl() 1820 byteslen = vbytes.len; in bytearray_strip_impl() 1824 left = lstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_strip_impl() 1828 right = rstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_strip_impl() 1849 Py_ssize_t left, right, mysize, byteslen; in bytearray_lstrip_impl() local 1856 byteslen = 6; in bytearray_lstrip_impl() 1862 byteslen = vbytes.len; in bytearray_lstrip_impl() 1866 left = lstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_lstrip_impl() 1888 Py_ssize_t right, mysize, byteslen; in bytearray_rstrip_impl() local [all …]
|
/external/python/cpython3/Lib/ |
D | ipaddress.py | 465 byteslen = cls._max_prefixlen // 8 466 details = ip_int.to_bytes(byteslen, 'big')
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 2728 Py_ssize_t hexlen, byteslen, i, j; in bytearray_fromhex() local 2733 byteslen = hexlen/2; /* This overestimates if there are spaces */ in bytearray_fromhex() 2734 newbytes = PyByteArray_FromStringAndSize(NULL, byteslen); in bytearray_fromhex()
|