Searched refs:OSAllocator (Results 1 - 17 of 17) sorted by relevance

/external/webkit/Source/JavaScriptGlue/ForwardingHeaders/wtf/
H A DOSAllocator.h1 #include <JavaScriptCore/OSAllocator.h>
/external/webkit/Source/WebCore/ForwardingHeaders/wtf/
H A DOSAllocator.h1 #include <JavaScriptCore/OSAllocator.h>
/external/webkit/Source/JavaScriptCore/wtf/
H A DOSAllocatorWin.cpp27 #include "OSAllocator.h"
41 void* OSAllocator::reserveUncommitted(size_t bytes, Usage, bool writable, bool executable)
49 void* OSAllocator::reserveAndCommit(size_t bytes, Usage, bool writable, bool executable)
57 void OSAllocator::commit(void* address, size_t bytes, bool writable, bool executable)
64 void OSAllocator::decommit(void* address, size_t bytes)
71 void OSAllocator::releaseDecommitted(void* address, size_t bytes)
H A DPageAllocation.h30 #include <wtf/OSAllocator.h>
99 static PageAllocation allocate(size_t size, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false) argument
102 return PageAllocation(OSAllocator::reserveAndCommit(size, usage, writable, executable), size);
115 OSAllocator::decommitAndRelease(tmp.base(), tmp.size());
H A DPageAllocationAligned.h29 #include <wtf/OSAllocator.h>
44 static PageAllocationAligned allocate(size_t size, size_t alignment, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false);
H A DPageReservation.h85 OSAllocator::commit(start, size, m_writable, m_executable);
96 OSAllocator::decommit(start, size);
104 static PageReservation reserve(size_t size, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false) argument
107 return PageReservation(OSAllocator::reserveUncommitted(size, usage, writable, executable), size, writable, executable);
122 OSAllocator::releaseDecommitted(tmp.base(), tmp.size());
H A DOSAllocator.h35 class OSAllocator { class in namespace:WTF
70 inline void* OSAllocator::reserveAndCommit(size_t reserveSize, size_t commitSize, Usage usage, bool writable, bool executable)
77 inline void OSAllocator::decommitAndRelease(void* releaseBase, size_t releaseSize, void* decommitBase, size_t decommitSize)
92 inline void OSAllocator::decommitAndRelease(void* base, size_t size)
99 using WTF::OSAllocator;
H A DOSAllocatorPosix.cpp27 #include "OSAllocator.h"
36 void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable)
46 void* OSAllocator::reserveAndCommit(size_t bytes, Usage usage, bool writable, bool executable)
89 void OSAllocator::commit(void* address, size_t bytes, bool, bool)
100 void OSAllocator::decommit(void* address, size_t bytes)
114 void OSAllocator::releaseDecommitted(void* address, size_t bytes)
H A DPageAllocationAligned.cpp31 PageAllocationAligned PageAllocationAligned::allocate(size_t size, size_t alignment, OSAllocator::Usage usage, bool writable, bool executable)
41 if (usage != OSAllocator::UnknownUsage)
57 void* reservationBase = OSAllocator::reserveUncommitted(reservationSize, usage, writable, executable);
63 OSAllocator::commit(alignedBase, size, writable, executable);
83 OSAllocator::decommitAndRelease(tmp.m_reservation.base(), tmp.m_reservation.size(), tmp.base(), tmp.size());
H A DOSAllocatorSymbian.cpp28 #include "OSAllocator.h"
40 _LIT(KErrorStringInternalConsistency, "OSAllocator:ConsistencyError");
41 _LIT(KErrorStringChunkCreation, "OSAllocator:ChunkInitError");
42 _LIT(KErrorStringPageSize, "OSAllocator:WrongPageSize");
77 void* OSAllocator::reserveUncommitted(size_t reservationSize, Usage usage, bool , bool executable)
88 void OSAllocator::releaseDecommitted(void* parkedBase, size_t bytes)
97 void OSAllocator::commit(void* address, size_t bytes, bool, bool executable)
105 void OSAllocator::decommit(void* address, size_t bytes)
113 void* OSAllocator::reserveAndCommit(size_t bytes, Usage usage, bool writable, bool executable)
121 // The PageAllocatorSymbian class helps map OSAllocator call
[all...]
/external/webkit/Source/JavaScriptCore/heap/
H A DConservativeRoots.cpp39 JSCell** newRoots = static_cast<JSCell**>(OSAllocator::reserveAndCommit(newCapacity * sizeof(JSCell*)));
42 OSAllocator::decommitAndRelease(m_roots, m_capacity * sizeof(JSCell*));
H A DConservativeRoots.h30 #include <wtf/OSAllocator.h>
75 OSAllocator::decommitAndRelease(m_roots, m_capacity * sizeof(JSCell*));
H A DMarkedBlock.cpp38 PageAllocationAligned allocation = PageAllocationAligned::allocate(blockSize, blockSize, OSAllocator::JSGCHeapPages);
H A DMarkStack.h35 #include <wtf/OSAllocator.h>
105 static void* allocateStack(size_t size) { return OSAllocator::reserveAndCommit(size); }
106 static void releaseStack(void* addr, size_t size) { OSAllocator::decommitAndRelease(addr, size); }
/external/webkit/Source/JavaScriptCore/jit/
H A DExecutableAllocator.cpp54 PageAllocation allocation = PageAllocation::allocate(size, OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true);
H A DExecutableAllocatorFixedVMPool.cpp412 m_reservation = PageReservation::reserve(FixedVMPoolPageTables::size(), OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true);
/external/webkit/Source/JavaScriptCore/interpreter/
H A DRegisterFile.h175 m_reservation = PageReservation::reserve(roundUpAllocationSize(bufferLength, commitSize), OSAllocator::JSVMStackPages);

Completed in 1068 milliseconds