Searched refs:AllocAlignmentInteger (Results 1 – 6 of 6) sorted by relevance
83 typedef unsigned long long AllocAlignmentInteger; typedef117 const AllocAlignmentInteger* type = static_cast<const AllocAlignmentInteger*>(p) - 1; in fastMallocMatchValidationType()122 inline AllocAlignmentInteger* fastMallocMatchValidationValue(void* p) in fastMallocMatchValidationValue()124 …return reinterpret_cast<AllocAlignmentInteger*>(static_cast<char*>(p) - sizeof(AllocAlignmentInteg… in fastMallocMatchValidationValue()130 AllocAlignmentInteger* type = static_cast<AllocAlignmentInteger*>(p) - 1; in setFastMallocMatchValidationType()131 *type = static_cast<AllocAlignmentInteger>(allocType); in setFastMallocMatchValidationType()
94 typedef unsigned long long AllocAlignmentInteger; typedef127 const AllocAlignmentInteger* type = static_cast<const AllocAlignmentInteger*>(p) - 1; in fastMallocMatchValidationType()132 inline AllocAlignmentInteger* fastMallocMatchValidationValue(void* p) in fastMallocMatchValidationValue()134 …return reinterpret_cast<AllocAlignmentInteger*>(static_cast<char*>(p) - sizeof(AllocAlignmentInteg… in fastMallocMatchValidationValue()140 AllocAlignmentInteger* type = static_cast<AllocAlignmentInteger*>(p) - 1; in setFastMallocMatchValidationType()141 *type = static_cast<AllocAlignmentInteger>(allocType); in setFastMallocMatchValidationType()
208 AllocAlignmentInteger* size;250 void* p = fastMalloc(sizeof(AllocAlignmentInteger) + (sizeof(T) * count));251 ArraySize<T> a = { static_cast<AllocAlignmentInteger*>(p) };270 void* p = fastMalloc(sizeof(AllocAlignmentInteger) + (sizeof(T) * count));271 ArraySize<T> a = { static_cast<AllocAlignmentInteger*>(p) };
214 …if (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= n) // If overflow would… in tryFastMalloc()217 void* result = malloc(n + sizeof(AllocAlignmentInteger)); in tryFastMalloc()221 *static_cast<AllocAlignmentInteger*>(result) = Internal::AllocTypeMalloc; in tryFastMalloc()222 result = static_cast<AllocAlignmentInteger*>(result) + 1; in tryFastMalloc()261 …ze) != n_elements || (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= totalB… in tryFastCalloc()264 totalBytes += sizeof(AllocAlignmentInteger); in tryFastCalloc()270 *static_cast<AllocAlignmentInteger*>(result) = Internal::AllocTypeMalloc; in tryFastCalloc()271 result = static_cast<AllocAlignmentInteger*>(result) + 1; in tryFastCalloc()311 AllocAlignmentInteger* header = Internal::fastMallocMatchValidationValue(p); in fastFree()326 …if (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= n) // If overflow would… in tryFastRealloc()[all …]
112 …return (size + sizeof(WTF::AllocAlignmentInteger) - 1) & ~(sizeof(WTF::AllocAlignmentInteger) - 1); in alignSize()
3156 "= static_cast<AllocAlignmentInteger*>(old_ptr) + 1".