Home
last modified time | relevance | path

Searched refs:simple_allocator (Results 1 – 25 of 42) sorted by relevance

12

/aosp_15_r20/external/pigweed/pw_multibuf/
H A Dsimple_allocator_test.cc32 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 DBUILD.bazel142 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 DBUILD.gn133 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 DCMakeLists.txt143 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 Delk_ir_allocator.h38 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 Delk_vec4_live_variables.h107 const simple_allocator &alloc;
116 var_from_reg(const simple_allocator &alloc, const src_reg &reg,
130 var_from_reg(const simple_allocator &alloc, const dst_reg &reg,
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/container/test/
Ddummy_test_allocator.hpp51 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
Dexplicit_inst_string_test.cpp22 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;
Dexplicit_inst_flat_set_test.cpp49 …, 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 > >
Dtree_test.cpp36 , test::simple_allocator<pair_t>
60 , test::simple_allocator<test::movable_and_copyable_int>
Dflat_tree_test.cpp36 , test::simple_allocator<pair_t>
64 , test::simple_allocator<test::movable_and_copyable_int>
Dexplicit_inst_stable_vector_test.cpp31 test::simple_allocator<test::movable_and_copyable_int> >;
Dexplicit_inst_slist_test.cpp33 , test::simple_allocator<test::movable_and_copyable_int> >;
Dexplicit_inst_deque_test.cpp33 , test::simple_allocator<test::movable_and_copyable_int> >;
Dexplicit_inst_small_vector_test.cpp43 , test::simple_allocator<test::movable_and_copyable_int> >;
Dexplicit_inst_set_test.cpp39 , test::simple_allocator<test::movable_and_copyable_int>
Dexplicit_inst_map_test.cpp42 , test::simple_allocator< pair_t >
Dexplicit_inst_vector_test.cpp55 , test::simple_allocator<test::movable_and_copyable_int> >;
/aosp_15_r20/external/mesa3d/src/intel/compiler/
H A Dbrw_ir_allocator.h38 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 Dchannel_test.cc327 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 DCMakeLists.txt47 pw_multibuf.simple_allocator
70 pw_multibuf.simple_allocator
H A DBUILD.bazel49 "//pw_multibuf:simple_allocator",
74 "//pw_multibuf:simple_allocator",
H A DBUILD.gn67 "$dir_pw_multibuf:simple_allocator",
188 "$dir_pw_multibuf:simple_allocator",
/aosp_15_r20/external/crosvm/devices/src/virtio/
H A Dvirtio_pci_device.rs1172 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 DCMakeLists.txt392 pw_multibuf.simple_allocator
410 pw_multibuf.simple_allocator

12