Searched refs:view_b (Results 1 – 3 of 3) sorted by relevance
320 Py_buffer view_b; in compare_digest() local340 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()
832 Py_buffer view_b; in _operator__compare_digest_impl() local852 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()
1907 Py_buffer view_b; in _hashlib_compare_digest_impl() local1927 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()