Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 6 of 6) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dfallback_malloc.ipp16 // A small, simple heap manager based (loosely) on
17 // the startup heap manager from FreeBSD, optimized for space.
24 // as two byte offsets within the heap, rather than (4 or 8 byte) pointers.
54 char heap [ HEAP_SIZE ];
60 heap_offset next_node; // offset into heap
64 …tic const heap_node *list_end = (heap_node *) ( &heap [ HEAP_SIZE ] ); // one past the end of th…
68 { return (heap_node *) ( heap + ( offset * sizeof (heap_node))); }
71 …{ return static_cast<heap_offset>(static_cast<size_t>(((char *) ptr ) - heap) / sizeof (heap_node…
74 freelist = (heap_node *) heap;
84 { return ptr >= heap && ptr < ( heap + HEAP_SIZE ); }
Dcxa_vector.cpp149 st_heap_block2 heap ( dealloc, heap_block ); in __cxa_vec_new2() local
159 heap.release (); // We're good! in __cxa_vec_new2()
178 st_heap_block3 heap ( dealloc, heap_block, heap_size ); in __cxa_vec_new3() local
188 heap.release (); // We're good! in __cxa_vec_new3()
334 st_heap_block2 heap ( dealloc, heap_block ); in __cxa_vec_delete2() local
357 st_heap_block3 heap ( dealloc, heap_block, heap_block_size ); in __cxa_vec_delete3() local
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Dtest_fallback_malloc.pass.cpp176 std::cout << "fallback_malloc ( 32 ) --> " << (unsigned long) (p - heap) << std::endl; in main()
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk217 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp)
218 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap)
219 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp)
220 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until)
221 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp)
222 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap)
223 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/nothing_to_do)
224 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp)
225 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap)
226 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp)
[all …]
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk226 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp)
227 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap)
228 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp)
229 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until)
230 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp)
231 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap)
232 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/nothing_to_do)
233 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp)
234 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap)
235 $(call gen-test, algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp)
[all …]
/ndk/sources/host-tools/make-3.81/
DChangeLog388 garbage happened to be on the heap.