Searched refs:buffer_protocol (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_stl_binders.cpp59 py::bind_vector<std::vector<unsigned int>>(m, "VectorInt", py::buffer_protocol());
90 py::bind_vector<std::vector<unsigned char>>(m, "VectorUChar", py::buffer_protocol());
94 py::bind_vector<std::vector<VUndeclStruct>>(m, "VectorUndeclStruct", py::buffer_protocol());
105 py::bind_vector<std::vector<VStruct>>(m, "VectorStruct", py::buffer_protocol());
H A Dtest_buffers.cpp78 py::class_<Matrix>(m, "Matrix", py::buffer_protocol())
138 py::class_<Buffer>(m, "Buffer", py::buffer_protocol())
158 py::class_<ConstBuffer>(m, "ConstBuffer", py::buffer_protocol())
164 py::class_<DerivedBuffer>(m, "DerivedBuffer", py::buffer_protocol())
/gem5/ext/pybind11/include/pybind11/
H A Dattr.h54 struct buffer_protocol { }; struct
203 : multiple_inheritance(false), dynamic_attr(false), buffer_protocol(false),
249 bool buffer_protocol : 1; member in struct:type_record
420 struct process_attribute<buffer_protocol> : process_attribute_default<buffer_protocol> {
421 static void init(const buffer_protocol &, type_record *r) { r->buffer_protocol = true; }
H A Dstl_bind.h373 enable_if_t<detail::any_of<std::is_same<Args, buffer_protocol>...>::value>
407 enable_if_t<!detail::any_of<std::is_same<Args, buffer_protocol>...>::value> vector_buffer(Class_&) {}
426 // Declare the buffer interface if a buffer_protocol() is passed in
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h463 /// buffer_protocol: Fill in the view as specified by flags.
499 /// buffer_protocol: Release the resources of the buffer.
602 if (rec.buffer_protocol)

Completed in 22 milliseconds