Searched refs:ChunkMetadata (Results 1 – 3 of 3) sorted by relevance
28 struct ChunkMetadata { struct42 sizeof(ChunkMetadata), SizeClassMap, kRegionSizeLog, ByteMap>49 sizeof(ChunkMetadata), DefaultSizeClassMap> PrimaryAllocator;67 static ChunkMetadata *Metadata(const void *p) { in Metadata()68 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()73 ChunkMetadata *m = Metadata(p); in RegisterAllocation()83 ChunkMetadata *m = Metadata(p); in RegisterDeallocation()132 ChunkMetadata *m = Metadata(p); in GetMallocUsableSize()159 ChunkMetadata *m = Metadata(reinterpret_cast<void *>(chunk)); in PointsIntoChunk()180 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated; in allocated()[all …]
56 static ChunkMetadata *Metadata(const void *p) { in Metadata()57 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()62 ChunkMetadata *m = Metadata(p); in RegisterAllocation()72 ChunkMetadata *m = Metadata(p); in RegisterDeallocation()142 ChunkMetadata *m = Metadata(p); in GetMallocUsableSize()254 ChunkMetadata *m = Metadata(reinterpret_cast<void *>(chunk)); in PointsIntoChunk()275 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated; in allocated()279 return reinterpret_cast<ChunkMetadata *>(metadata_)->tag; in tag()283 reinterpret_cast<ChunkMetadata *>(metadata_)->tag = value; in set_tag()287 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size()[all …]
40 struct ChunkMetadata { struct58 static const uptr kMetadataSize = sizeof(ChunkMetadata); argument86 static const uptr kMetadataSize = sizeof(ChunkMetadata);