Searched refs:byteslen (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 1881 Py_ssize_t left, right, mysize, byteslen; in bytearray_strip_impl() local 1888 byteslen = 6; in bytearray_strip_impl() 1894 byteslen = vbytes.len; in bytearray_strip_impl() 1898 left = lstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_strip_impl() 1902 right = rstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_strip_impl() 1923 Py_ssize_t left, right, mysize, byteslen; in bytearray_lstrip_impl() local 1930 byteslen = 6; in bytearray_lstrip_impl() 1936 byteslen = vbytes.len; in bytearray_lstrip_impl() 1940 left = lstrip_helper(myptr, mysize, bytesptr, byteslen); in bytearray_lstrip_impl() 1962 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/ipaddress/ |
D | ipaddress.py | 588 byteslen = cls._max_prefixlen // 8 589 details = _compat_to_bytes(ip_int, 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()
|