Home
last modified time | relevance | path

Searched refs:compare_buffer_info (Results 1 – 5 of 5) sorted by relevance

/external/python/pybind11/tests/
Dtest_numpy_dtypes.cpp474 …list.append(py::bool_(py::detail::compare_buffer_info<float>::compare(py::buffer_info(nullptr, siz… in TEST_SUBMODULE()
475 …list.append(py::bool_(py::detail::compare_buffer_info<unsigned>::compare(py::buffer_info(nullptr, … in TEST_SUBMODULE()
476 …list.append(py::bool_(py::detail::compare_buffer_info<long>::compare(py::buffer_info(nullptr, size… in TEST_SUBMODULE()
477 …list.append(py::bool_(py::detail::compare_buffer_info<long>::compare(py::buffer_info(nullptr, size… in TEST_SUBMODULE()
478 …list.append(py::bool_(py::detail::compare_buffer_info<CompareStruct>::compare(py::buffer_info(null… in TEST_SUBMODULE()
Dtest_numpy_dtypes.py431 assert all(m.compare_buffer_info())
/external/python/pybind11/include/pybind11/
Dbuffer_info.h131 template <typename T, typename SFINAE = void> struct compare_buffer_info { struct
137 template <typename T> struct compare_buffer_info<T, detail::enable_if_t<std::is_integral<T>::value>… argument
Dstl_bind.h407 if (!detail::compare_buffer_info<T>::compare(info) || (ssize_t) sizeof(T) != info.itemsize)
Dnumpy.h1005 struct compare_buffer_info<T, detail::enable_if_t<detail::is_pod_struct<T>::value>> {