Home
last modified time | relevance | path

Searched refs:other_bytes (Results 1 – 4 of 4) sorted by relevance

/external/python/cffi/c/
Dminibuffer.h167 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/
Dbytearrayobject.c1012 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/
Dx509.py398 other_bytes = other.public_bytes(serialization.Encoding.DER)
399 return self_bytes == other_bytes
/external/python/cpython2/Objects/
Dbytearrayobject.c1043 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()