Searched refs:kMemoryAlign (Results 1 – 1 of 1) sorted by relevance
138 static size_t getAllocationAlignment() { return kMemoryAlign; } in getAllocationAlignment()158 static const int kMemoryAlign; member in android::SimpleBestFitAllocator278 const int SimpleBestFitAllocator::kMemoryAlign = 32; member in android::SimpleBestFitAllocator285 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in SimpleBestFitAllocator()331 size = (size + kMemoryAlign-1) / kMemoryAlign; in alloc()339 extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()360 extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()368 ((free_chunk->start*kMemoryAlign)&(pagesize-1)), in alloc()378 return (free_chunk->start)*kMemoryAlign; in alloc()385 start = start / kMemoryAlign; in dealloc()[all …]