Lines Matching refs:AllocType
97 enum AllocType { // Start with an unusual number instead of zero, because zero is common.
116 // the allocation memory which is assigned one of the AllocType
124 // Return the AllocType tag associated with the allocated block p.
125 inline AllocType fastMallocMatchValidationType(const void* p)
128 return static_cast<AllocType>(*type);
131 // Return the address of the AllocType tag associated with the allocated block p.
137 // Set the AllocType tag to be associaged with the allocated block p.
138 inline void setFastMallocMatchValidationType(void* p, AllocType allocType)
141 *type = static_cast<AllocAlignmentInteger>(allocType);
150 inline void fastMallocMatchValidateMalloc(void* p, Internal::AllocType allocType)
155 Internal::setFastMallocMatchValidationType(p, allocType);
159 inline void fastMallocMatchValidateFree(void* p, Internal::AllocType allocType)
164 if (Internal::fastMallocMatchValidationType(p) != allocType)
171 inline void fastMallocMatchValidateMalloc(void*, Internal::AllocType)
175 inline void fastMallocMatchValidateFree(void*, Internal::AllocType)