Searched refs:buffer_protocol (Results 1 - 5 of 5) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_stl_binders.cpp | 59 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 D | test_buffers.cpp | 78 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 D | attr.h | 54 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 D | stl_bind.h | 373 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 D | class.h | 463 /// 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 7 milliseconds