Home
last modified time | relevance | path

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

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
DbtGenericPoolAllocator.cpp126 size_t alloc_pos = allocate_from_free_nodes(element_count); in allocate() local
128 if(alloc_pos != BT_UINT_MAX) in allocate()
130 return get_element_data(alloc_pos); in allocate()
133 alloc_pos = allocate_from_pool(element_count); in allocate()
135 if(alloc_pos == BT_UINT_MAX) return NULL; // not space in allocate()
136 return get_element_data(alloc_pos); in allocate()