/aosp_15_r20/external/pigweed/pw_multibuf/ |
H A D | simple_allocator_test.cc | 32 SimpleAllocator simple_allocator(data_area, meta_alloc); in TEST() local 33 std::optional<MultiBuf> buf = simple_allocator.Allocate(kArbitraryBufferSize); in TEST() 41 SimpleAllocator simple_allocator(data_area, meta_alloc); in TEST() local 43 simple_allocator.AllocateContiguous(kArbitraryBufferSize); in TEST() 52 SimpleAllocator simple_allocator(data_area, meta_alloc); in TEST() local 54 simple_allocator.AllocateContiguous(kArbitraryBufferSize / 2); in TEST() 60 simple_allocator.AllocateContiguous(kArbitraryBufferSize / 2); in TEST() 69 SimpleAllocator simple_allocator(data_area, meta_alloc); in TEST() local 71 simple_allocator.Allocate(kArbitraryBufferSize + 1); in TEST() 74 simple_allocator.Allocate(kArbitraryBufferSize + 1); in TEST() [all …]
|
H A D | BUILD.bazel | 142 name = "simple_allocator", 143 srcs = ["simple_allocator.cc"], 144 hdrs = ["public/pw_multibuf/simple_allocator.h"], 158 ":simple_allocator", 218 ":simple_allocator", 248 "public/pw_multibuf/simple_allocator.h",
|
H A D | BUILD.gn | 133 pw_source_set("simple_allocator") { 135 public = [ "public/pw_multibuf/simple_allocator.h" ] 136 sources = [ "simple_allocator.cc" ] 148 ":simple_allocator", 198 ":simple_allocator",
|
H A D | CMakeLists.txt | 143 pw_add_library(pw_multibuf.simple_allocator STATIC 145 public/pw_multibuf/simple_allocator.h 154 simple_allocator.cc 161 pw_multibuf.simple_allocator 228 pw_multibuf.simple_allocator
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/ |
H A D | elk_ir_allocator.h | 38 class simple_allocator { 40 simple_allocator() : in simple_allocator() function 45 simple_allocator(const simple_allocator &) = delete; 47 ~simple_allocator() in ~simple_allocator() 53 simple_allocator & operator=(const simple_allocator &) = delete;
|
H A D | elk_vec4_live_variables.h | 107 const simple_allocator &alloc; 116 var_from_reg(const simple_allocator &alloc, const src_reg ®, 130 var_from_reg(const simple_allocator &alloc, const dst_reg ®,
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/container/test/ |
D | dummy_test_allocator.hpp | 51 class simple_allocator class 56 simple_allocator() in simple_allocator() function in boost::container::test::simple_allocator 60 simple_allocator(const simple_allocator<U> &) in simple_allocator() function in boost::container::test::simple_allocator 69 friend bool operator==(const simple_allocator &, const simple_allocator &) in operator ==() argument 72 friend bool operator!=(const simple_allocator &, const simple_allocator &) in operator !=() argument
|
D | explicit_inst_string_test.cpp | 22 typedef test::simple_allocator<char> SimpleCharAllocator; 24 typedef test::simple_allocator<SimpleString> SimpleStringAllocator; 25 typedef test::simple_allocator<wchar_t> SimpleWCharAllocator; 27 typedef test::simple_allocator<SimpleWString> SimpleWStringAllocator;
|
D | explicit_inst_flat_set_test.cpp | 49 …, stable_vector<test::movable_and_copyable_int, test::simple_allocator<test::movable_and_copyable_… 55 … , deque<test::movable_and_copyable_int, test::simple_allocator< test::movable_and_copyable_int > >
|
D | tree_test.cpp | 36 , test::simple_allocator<pair_t> 60 , test::simple_allocator<test::movable_and_copyable_int>
|
D | flat_tree_test.cpp | 36 , test::simple_allocator<pair_t> 64 , test::simple_allocator<test::movable_and_copyable_int>
|
D | explicit_inst_stable_vector_test.cpp | 31 test::simple_allocator<test::movable_and_copyable_int> >;
|
D | explicit_inst_slist_test.cpp | 33 , test::simple_allocator<test::movable_and_copyable_int> >;
|
D | explicit_inst_deque_test.cpp | 33 , test::simple_allocator<test::movable_and_copyable_int> >;
|
D | explicit_inst_small_vector_test.cpp | 43 , test::simple_allocator<test::movable_and_copyable_int> >;
|
D | explicit_inst_set_test.cpp | 39 , test::simple_allocator<test::movable_and_copyable_int>
|
D | explicit_inst_map_test.cpp | 42 , test::simple_allocator< pair_t >
|
D | explicit_inst_vector_test.cpp | 55 , test::simple_allocator<test::movable_and_copyable_int> >;
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/ |
H A D | brw_ir_allocator.h | 38 class simple_allocator { 40 simple_allocator() : in simple_allocator() function 45 ~simple_allocator() in ~simple_allocator()
|
/aosp_15_r20/external/pigweed/pw_channel/ |
H A D | channel_test.cc | 327 SimpleAllocator simple_allocator(data_area, meta_alloc); in TEST() local 329 simple_allocator.Allocate(kReadDataSize); in TEST() 377 SimpleAllocator simple_allocator(data_area, meta_alloc); in TEST() local 378 TestDatagramWriter write_channel(simple_allocator); in TEST() 471 SimpleAllocator simple_allocator(data_area, meta_alloc); in TEST() local 474 const TestDatagramWriter datagram_channel(simple_allocator); in TEST()
|
H A D | CMakeLists.txt | 47 pw_multibuf.simple_allocator 70 pw_multibuf.simple_allocator
|
H A D | BUILD.bazel | 49 "//pw_multibuf:simple_allocator", 74 "//pw_multibuf:simple_allocator",
|
H A D | BUILD.gn | 67 "$dir_pw_multibuf:simple_allocator", 188 "$dir_pw_multibuf:simple_allocator",
|
/aosp_15_r20/external/crosvm/devices/src/virtio/ |
H A D | virtio_pci_device.rs | 1172 let mut simple_allocator = SimpleAllocator::new(0); in configure_io_bars() localVariable 1173 allocate_io_bars(self, |size, _, _| simple_allocator.alloc(size, size)).map(|_| ()) in configure_io_bars() 1179 let mut simple_allocator = SimpleAllocator::new(CAPABILITY_BAR_SIZE); in configure_device_bars() localVariable 1180 allocate_device_bars(self, |size, _, _| simple_allocator.alloc(size, size)).map(|_| ()) in configure_device_bars() 1545 let mut simple_allocator = super::SimpleAllocator::new(0); in allocate_aligned_address() localVariable 1547 assert_eq!(simple_allocator.alloc(0x20, 0x80).unwrap(), 0); in allocate_aligned_address() 1549 assert_eq!(simple_allocator.alloc(0x40, 0x40).unwrap(), 0x40); in allocate_aligned_address() 1551 assert_eq!(simple_allocator.alloc(0x88, 0x80).unwrap(), 0x80); in allocate_aligned_address() 1553 assert_eq!(simple_allocator.alloc(0x30, 0x80).unwrap(), 0x180); in allocate_aligned_address()
|
/aosp_15_r20/external/pigweed/pw_system/ |
H A D | CMakeLists.txt | 392 pw_multibuf.simple_allocator 410 pw_multibuf.simple_allocator
|