Home
last modified time | relevance | path

Searched refs:self_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
185 if (PyObject_GetBuffer(self, &self_bytes, PyBUF_SIMPLE) != 0) { in mb_richcompare()
191 self_size = self_bytes.len; in mb_richcompare()
195 PyBuffer_Release(&self_bytes); in mb_richcompare()
211 cmp = memcmp(self_bytes.buf, other_bytes.buf, minsize); in mb_richcompare()
232 PyBuffer_Release(&self_bytes); in mb_richcompare()
/external/python/cpython3/Objects/
Dbytearrayobject.c1012 Py_buffer self_bytes, other_bytes; in bytearray_richcompare() local
1033 if (PyObject_GetBuffer(self, &self_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare()
1037 self_size = self_bytes.len; in bytearray_richcompare()
1041 PyBuffer_Release(&self_bytes); in bytearray_richcompare()
1048 PyBuffer_Release(&self_bytes); in bytearray_richcompare()
1053 cmp = memcmp(self_bytes.buf, other_bytes.buf, in bytearray_richcompare()
1057 PyBuffer_Release(&self_bytes); in bytearray_richcompare()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dx509.py397 self_bytes = self.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
1069 self_size = _getbuffer(self, &self_bytes); in bytearray_richcompare()
1079 PyBuffer_Release(&self_bytes); in bytearray_richcompare()
1093 cmp = memcmp(self_bytes.buf, other_bytes.buf, minsize); in bytearray_richcompare()
1114 PyBuffer_Release(&self_bytes); in bytearray_richcompare()