Home
last modified time | relevance | path

Searched refs:view_b (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Doperator.c320 Py_buffer view_b; in compare_digest() local
340 if (PyObject_GetBuffer(b, &view_b, PyBUF_SIMPLE) == -1) { in compare_digest()
344 if (view_b.ndim > 1) { in compare_digest()
348 PyBuffer_Release(&view_b); in compare_digest()
353 (const unsigned char*)view_b.buf, in compare_digest()
355 view_b.len); in compare_digest()
358 PyBuffer_Release(&view_b); in compare_digest()
/external/python/cpython3/Modules/
D_operator.c832 Py_buffer view_b; in _operator__compare_digest_impl() local
852 if (PyObject_GetBuffer(b, &view_b, PyBUF_SIMPLE) == -1) { in _operator__compare_digest_impl()
856 if (view_b.ndim > 1) { in _operator__compare_digest_impl()
860 PyBuffer_Release(&view_b); in _operator__compare_digest_impl()
865 (const unsigned char*)view_b.buf, in _operator__compare_digest_impl()
867 view_b.len); in _operator__compare_digest_impl()
870 PyBuffer_Release(&view_b); in _operator__compare_digest_impl()
D_hashopenssl.c1907 Py_buffer view_b; in _hashlib_compare_digest_impl() local
1927 if (PyObject_GetBuffer(b, &view_b, PyBUF_SIMPLE) == -1) { in _hashlib_compare_digest_impl()
1931 if (view_b.ndim > 1) { in _hashlib_compare_digest_impl()
1935 PyBuffer_Release(&view_b); in _hashlib_compare_digest_impl()
1940 (const unsigned char*)view_b.buf, in _hashlib_compare_digest_impl()
1942 view_b.len); in _hashlib_compare_digest_impl()
1945 PyBuffer_Release(&view_b); in _hashlib_compare_digest_impl()