Searched defs:allocate (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/arch-x86/bionic/
H A D__set_tls.cpp37 __LIBC_HIDDEN__ void __init_user_desc(struct user_desc* result, bool allocate, void* base_addr) { argument
38 if (allocate) {
/bionic/linker/
H A Dlinker_allocator.h88 T* allocate(size_t n, const T* hint = nullptr) { function in class:linker_vector_allocator
/bionic/tests/
H A Dpthread_test.cpp62 // As gtest uses pthread keys, we can't allocate exactly PTHREAD_KEYS_MAX
63 // pthread keys, but We should be able to allocate at least this many keys.
94 // be more than we are allowed to allocate now.
1782 void* allocate(size_t size, size_t alignment) { function in class:StrictAlignmentAllocator
1810 allocator.allocate(sizeof(pthread_mutex_t), 4));
1817 allocator.allocate(sizeof(pthread_cond_t), 4));
1824 allocator.allocate(sizeof(pthread_rwlock_t), 4));

Completed in 581 milliseconds