Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_block_allocator_test.cpp56 struct test_struct_larger { struct
95 LinkerTypeAllocator<test_struct_larger> allocator; in TEST()
97 test_struct_larger* ptr1 = allocator.alloc(); in TEST()
98 test_struct_larger* ptr2 = allocator.alloc(); in TEST()
108 size_t n = kPageSize/sizeof(test_struct_larger) + 1 - 2; in TEST()
114 test_struct_larger* ptr_to_free = allocator.alloc(); in TEST()
120 LinkerTypeAllocator<test_struct_larger> allocator; in protect_all()
123 size_t n = kPageSize/sizeof(test_struct_larger) - 1; in protect_all()
124 test_struct_larger* page1_ptr = allocator.alloc(); in protect_all()
130 test_struct_larger* page2_ptr = allocator.alloc(); in protect_all()