Searched refs:kMemoryAlign (Results 1 – 4 of 4) sorted by relevance
23 const int SimpleBestFitAllocator::kMemoryAlign = 32; member in SimpleBestFitAllocator49 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in setSize()84 size = (size + kMemoryAlign-1) / kMemoryAlign; in alloc()90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()109 int extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()116 LOGE_IF(((free_chunk->start*kMemoryAlign)&(pagesize-1)), in alloc()126 return (free_chunk->start)*kMemoryAlign; in alloc()133 start = start / kMemoryAlign; in dealloc()139 cur->start*kMemoryAlign, cur->size*kMemoryAlign); in dealloc()158 freed->start * kMemoryAlign, freed->size * kMemoryAlign); in dealloc()
124 static const int kMemoryAlign; variable
123 static const int kMemoryAlign; variable