Lines Matching refs:kMemoryAlign
138 static size_t getAllocationAlignment() { return kMemoryAlign; } in getAllocationAlignment()
158 static const int kMemoryAlign; member in android::SimpleBestFitAllocator
278 const int SimpleBestFitAllocator::kMemoryAlign = 32; member in android::SimpleBestFitAllocator
285 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()
391 cur->start*kMemoryAlign, cur->size*kMemoryAlign); in dealloc()
415 freed->start * kMemoryAlign, freed->size * kMemoryAlign); in dealloc()
465 i, cur, int(cur->start*kMemoryAlign), in dump_l()
466 int(cur->size*kMemoryAlign), in dump_l()
473 size += cur->size*kMemoryAlign; in dump_l()