Searched refs:view_a (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/ |
D | operator.c | 319 Py_buffer view_a; in compare_digest() local 330 if (PyObject_GetBuffer(a, &view_a, PyBUF_SIMPLE) == -1) { in compare_digest() 333 if (view_a.ndim > 1) { in compare_digest() 336 PyBuffer_Release(&view_a); in compare_digest() 341 PyBuffer_Release(&view_a); in compare_digest() 347 PyBuffer_Release(&view_a); in compare_digest() 352 rc = _tscmp((const unsigned char*)view_a.buf, in compare_digest() 354 view_a.len, in compare_digest() 357 PyBuffer_Release(&view_a); in compare_digest()
|
/external/python/cpython3/Modules/ |
D | _operator.c | 831 Py_buffer view_a; in _operator__compare_digest_impl() local 842 if (PyObject_GetBuffer(a, &view_a, PyBUF_SIMPLE) == -1) { in _operator__compare_digest_impl() 845 if (view_a.ndim > 1) { in _operator__compare_digest_impl() 848 PyBuffer_Release(&view_a); in _operator__compare_digest_impl() 853 PyBuffer_Release(&view_a); in _operator__compare_digest_impl() 859 PyBuffer_Release(&view_a); in _operator__compare_digest_impl() 864 rc = _tscmp((const unsigned char*)view_a.buf, in _operator__compare_digest_impl() 866 view_a.len, in _operator__compare_digest_impl() 869 PyBuffer_Release(&view_a); in _operator__compare_digest_impl()
|
D | _hashopenssl.c | 1906 Py_buffer view_a; in _hashlib_compare_digest_impl() local 1917 if (PyObject_GetBuffer(a, &view_a, PyBUF_SIMPLE) == -1) { in _hashlib_compare_digest_impl() 1920 if (view_a.ndim > 1) { in _hashlib_compare_digest_impl() 1923 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl() 1928 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl() 1934 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl() 1939 rc = _tscmp((const unsigned char*)view_a.buf, in _hashlib_compare_digest_impl() 1941 view_a.len, in _hashlib_compare_digest_impl() 1944 PyBuffer_Release(&view_a); in _hashlib_compare_digest_impl()
|