Searched refs:AllocAlignmentInteger (Results 1 - 5 of 5) sorted by relevance

/external/webkit/JavaScriptCore/wtf/wince/
H A DFastMallocWince.h83 typedef unsigned long long AllocAlignmentInteger; typedef in namespace:WTF
117 const AllocAlignmentInteger* type = static_cast<const AllocAlignmentInteger*>(p) - 1;
122 inline AllocAlignmentInteger* fastMallocMatchValidationValue(void* p)
124 return reinterpret_cast<AllocAlignmentInteger*>(static_cast<char*>(p) - sizeof(AllocAlignmentInteger));
130 AllocAlignmentInteger* type = static_cast<AllocAlignmentInteger*>(p) - 1;
131 *type = static_cast<AllocAlignmentInteger>(allocType);
/external/webkit/JavaScriptCore/wtf/
H A DFastMalloc.h94 typedef unsigned long long AllocAlignmentInteger; typedef in namespace:WTF
127 const AllocAlignmentInteger* type = static_cast<const AllocAlignmentInteger*>(p) - 1;
132 inline AllocAlignmentInteger* fastMallocMatchValidationValue(void* p)
134 return reinterpret_cast<AllocAlignmentInteger*>(static_cast<char*>(p) - sizeof(AllocAlignmentInteger));
140 AllocAlignmentInteger* type = static_cast<AllocAlignmentInteger*>(p) - 1;
141 *type = static_cast<AllocAlignmentInteger>(allocType);
H A DFastAllocBase.h202 // AllocAlignmentInteger m_size;
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) };
H A DFastMalloc.cpp214 if (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= n) // If overflow would occur...
217 void* result = malloc(n + sizeof(AllocAlignmentInteger));
221 *static_cast<AllocAlignmentInteger*>(result) = Internal::AllocTypeMalloc;
222 result = static_cast<AllocAlignmentInteger*>(result) + 1;
261 if (n_elements > 1 && element_size && (totalBytes / element_size) != n_elements || (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= totalBytes))
264 totalBytes += sizeof(AllocAlignmentInteger);
270 *static_cast<AllocAlignmentInteger*>(result) = Internal::AllocTypeMalloc;
271 result = static_cast<AllocAlignmentInteger*>(result) + 1;
311 AllocAlignmentInteger* header = Internal::fastMallocMatchValidationValue(p);
326 if (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <
[all...]
/external/webkit/JavaScriptCore/parser/
H A DParserArena.h112 return (size + sizeof(WTF::AllocAlignmentInteger) - 1) & ~(sizeof(WTF::AllocAlignmentInteger) - 1);

Completed in 152 milliseconds