Searched refs:other_bytes (Results 1 – 4 of 4) sorted by relevance
/external/python/cffi/c/ |
D | minibuffer.h | 167 Py_buffer self_bytes, other_bytes; in mb_richcompare() local 193 if (PyObject_GetBuffer(other, &other_bytes, PyBUF_SIMPLE) != 0) { in mb_richcompare() 200 other_size = other_bytes.len; in mb_richcompare() 211 cmp = memcmp(self_bytes.buf, other_bytes.buf, minsize); in mb_richcompare() 233 PyBuffer_Release(&other_bytes); in mb_richcompare()
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 1012 Py_buffer self_bytes, other_bytes; in bytearray_richcompare() local 1039 if (PyObject_GetBuffer(other, &other_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare() 1044 other_size = other_bytes.len; in bytearray_richcompare() 1049 PyBuffer_Release(&other_bytes); in bytearray_richcompare() 1053 cmp = memcmp(self_bytes.buf, other_bytes.buf, in bytearray_richcompare() 1058 PyBuffer_Release(&other_bytes); in bytearray_richcompare()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | x509.py | 398 other_bytes = other.public_bytes(serialization.Encoding.DER) 399 return self_bytes == other_bytes
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 1043 Py_buffer self_bytes, other_bytes; in bytearray_richcompare() local 1076 other_size = _getbuffer(other, &other_bytes); in bytearray_richcompare() 1093 cmp = memcmp(self_bytes.buf, other_bytes.buf, minsize); in bytearray_richcompare() 1115 PyBuffer_Release(&other_bytes); in bytearray_richcompare()
|