Home
last modified time | relevance | path

Searched refs:view_a (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Modules/
D_operator.c844 Py_buffer view_a; in _operator__compare_digest_impl() local
855 if (PyObject_GetBuffer(a, &view_a, PyBUF_SIMPLE) == -1) { in _operator__compare_digest_impl()
858 if (view_a.ndim > 1) { in _operator__compare_digest_impl()
861 PyBuffer_Release(&view_a); in _operator__compare_digest_impl()
866 PyBuffer_Release(&view_a); in _operator__compare_digest_impl()
872 PyBuffer_Release(&view_a); in _operator__compare_digest_impl()
877 rc = _tscmp((const unsigned char*)view_a.buf, in _operator__compare_digest_impl()
879 view_a.len, in _operator__compare_digest_impl()
882 PyBuffer_Release(&view_a); in _operator__compare_digest_impl()
D_hashopenssl.c1995 Py_buffer view_a; in _hashlib_compare_digest_impl() local
2006 if (PyObject_GetBuffer(a, &view_a, PyBUF_SIMPLE) == -1) { in _hashlib_compare_digest_impl()
2009 if (view_a.ndim > 1) { in _hashlib_compare_digest_impl()
2012 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl()
2017 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl()
2023 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl()
2028 rc = _tscmp((const unsigned char*)view_a.buf, in _hashlib_compare_digest_impl()
2030 view_a.len, in _hashlib_compare_digest_impl()
2033 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl()