Searched refs:Allocate (Results 1 - 25 of 57) sorted by relevance

123

/macosx-10.10/llvmCore-3425.0.34/unittests/Support/
H A DAllocatorTest.cpp21 int *a = (int*)Alloc.Allocate(sizeof(int), 0);
22 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0);
23 int *c = (int*)Alloc.Allocate(sizeof(int), 0);
35 // Allocate enough bytes to create three slabs.
38 Alloc.Allocate(3000, 0);
40 Alloc.Allocate(3000, 0);
42 Alloc.Allocate(3000, 0);
46 // Allocate enough bytes to create two slabs, reset the allocator, and do it
50 Alloc.Allocate(3000, 0);
52 Alloc.Allocate(300
112 virtual MemSlab *Allocate(size_t Size) { function in class:__anon10825::MockSlabAllocator
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/
H A DAllocator.h36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } function in class:llvm::MallocAllocator
39 T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); } function in class:llvm::MallocAllocator
42 T *Allocate(size_t Num) { function in class:llvm::MallocAllocator
67 virtual MemSlab *Allocate(size_t Size) = 0;
82 virtual MemSlab *Allocate(size_t Size) LLVM_OVERRIDE;
94 /// SlabSize - Allocate data into slabs of this size unless we get an
128 /// StartNewSlab - Allocate a new slab and move the bump pointers over into
148 /// Allocate - Allocate space at the specified alignment.
150 void *Allocate(size_
155 T *Allocate() { function in class:llvm::BumpPtrAllocator
162 T *Allocate(size_t Num) { function in class:llvm::BumpPtrAllocator
169 T *Allocate(size_t Num, size_t Alignment) { function in class:llvm::BumpPtrAllocator
219 T *Allocate(size_t num = 1) { function in class:llvm::SpecificBumpPtrAllocator
[all...]
H A DRecyclingAllocator.h40 /// Allocate - Return a pointer to storage for an object of type
44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } function in class:llvm::RecyclingAllocator
46 T *Allocate() { return Base.Allocate(Allocator); } function in class:llvm::RecyclingAllocator
63 return Allocator.Allocate();
H A DRecycler.h91 SubClass *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
98 static_cast<SubClass *>(Allocator.Allocate(Size, Align));
102 T *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
103 return Allocate<T>(Allocator);
H A DPredIteratorCache.h51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DAllocator.cpp44 /// StartNewSlab - Allocate a new slab and move the bump pointers over into
53 MemSlab *NewSlab = Allocator.Allocate(SlabSize);
87 /// Allocate - Allocate space at the specified alignment.
89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { function in class:llvm::BumpPtrAllocator
99 // Allocate the aligned space, going forwards from CurPtr.
111 MemSlab *NewSlab = Allocator.Allocate(PaddedSize);
169 MemSlab *MallocSlabAllocator::Allocate(size_t Size) { function in class:llvm::MallocSlabAllocator
170 MemSlab *Slab = (MemSlab*)Allocator.Allocate(Size, 0);
/macosx-10.10/llvmCore-3425.0.34/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp142 // Allocate common symbols
190 // Allocate memory for the section
245 unsigned Allocate; local
253 Allocate = DataSize + StubBufSize;
255 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID)
256 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID);
275 << " Allocate: " << Allocate local
283 Allocate = 0;
290 << " Allocate local
[all...]
/macosx-10.10/OpenAL-54/Source/OpenAL/
H A DoalRingBuffer.h62 void Allocate(UInt32 bytesPerFrame, UInt32 capacityFrames);
H A DoalRingBuffer.cpp37 Allocate(bytesPerFrame, capacityFrames);
45 void OALRingBuffer::Allocate(UInt32 bytesPerFrame, UInt32 capacityFrames) function in class:OALRingBuffer
H A DoalCaptureMixer.cpp64 mRingBuffer->Allocate(mRequestedFormat.mBytesPerFrame, kMaxFramesPerSlice);
/macosx-10.10/llvmCore-3425.0.34/include/llvm/MC/
H A DMCContext.h324 void *Allocate(unsigned Size, unsigned Align = 8) { function in class:llvm::MCContext
325 return Allocator.Allocate(Size, Align);
364 return C.Allocate(Bytes, Alignment);
398 return C.Allocate(Bytes, Alignment);
/macosx-10.10/IOFireWireFamily-456/IOFireWireLib.CFPlugInProj/
H A DIOFireWireLibDCLCommandPool.cpp145 TraditionalDCLCommandPool::Allocate( function in class:IOFireWireLib::TraditionalDCLCommandPool
214 DCLTransferPacket* newDCL = (DCLTransferPacket*) Allocate( sizeof(DCLTransferPacket) ) ;
243 DCLTransferBuffer* newDCL = (DCLTransferBuffer*) Allocate( sizeof(DCLTransferBuffer) ) ;
336 DCLCallProc* newDCL = (DCLCallProc*) Allocate(sizeof(DCLCallProc)) ;
356 DCLLabel* newDCL = (DCLLabel*) Allocate(sizeof(DCLLabel)) ;
375 DCLJump* newDCL = (DCLJump*) Allocate( sizeof(DCLJump)) ;
396 DCLSetTagSyncBits* newDCL = (DCLSetTagSyncBits*) Allocate(sizeof(DCLSetTagSyncBits)) ;
418 DCLUpdateDCLList* newDCL = (DCLUpdateDCLList*) Allocate(sizeof(DCLUpdateDCLList)) ;
439 DCLPtrTimeStamp* newDCL = (DCLPtrTimeStamp*) Allocate(sizeof(DCLPtrTimeStamp)) ;
633 return IOFireWireIUnknown::InterfaceMap<TraditionalDCLCommandPoolCOM>::GetThis(self)->Allocate(inSiz
[all...]
H A DIOFireWireLibDCLCommandPool.h62 DCLCommand* Allocate( IOByteCount size ) ;
/macosx-10.10/JavaScriptCore-7600.1.17/jit/
H A DJITStubsMSVC64.asm34 ; Allocate space for all 4 parameter registers, and align stack pointer to 16 bytes boundary by allocating another 8 bytes.
/macosx-10.10/llvmCore-3425.0.34/lib/ExecutionEngine/JIT/
H A DJITMemoryManager.cpp273 virtual MemSlab *Allocate(size_t Size);
321 /// DefaultSlabSize - Allocate data into slabs of this size unless we get
377 // Allocate the entire memory block.
432 /// allocateSpace - Allocate a memory block of the given size. This method
450 /// allocateStub - Allocate memory for a function stub.
453 return (uint8_t*)StubAllocator.Allocate(StubSize, Alignment);
456 /// allocateGlobal - Allocate memory for a global.
458 return (uint8_t*)DataAllocator.Allocate(Size, Alignment);
461 /// allocateCodeSection - Allocate memory for a code section.
495 // Allocate th
581 MemSlab *JITSlabAllocator::Allocate(size_t Size) { function in class:JITSlabAllocator
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/
H A DMachineFunction.cpp153 /// CreateMachineInstr - Allocate a new MachineInstr. Use this instead
159 return new (InstructionRecycler.Allocate<MachineInstr>(Allocator))
169 return new (InstructionRecycler.Allocate<MachineInstr>(Allocator))
181 /// CreateMachineBasicBlock - Allocate a new MachineBasicBlock. Use this
186 return new (BasicBlockRecycler.Allocate<MachineBasicBlock>(Allocator))
220 return Allocator.Allocate<MachineMemOperand *>(Num);
232 // Allocate a new array and populate it with the load information.
264 // Allocate a new array and populate it with the store information.
H A DScheduleDAG.cpp451 Allocate(SU->NodeNum, --Id);
546 Allocate(w, i - shift);
551 Allocate(L[j], i - shift);
588 /// Allocate - assign the topological index to the node n.
589 void ScheduleDAGTopologicalSort::Allocate(int n, int index) {
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/src/
H A Dview.cpp984 c4_Row::c4_Row(): c4_RowRef(*Allocate()){}
986 c4_Row::c4_Row(const c4_Row &row_): c4_RowRef(*Allocate()) {
990 c4_Row::c4_Row(const c4_RowRef &rowRef_): c4_RowRef(*Allocate()) {
1039 c4_Cursor c4_Row::Allocate() { function in class:c4_Row
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblunicode/utbm/
H A DREADME82 * Allocate the dynamic storage needed for a search pattern.
/macosx-10.10/OpenSSL098-52/src/demos/engines/rsaref/
H A Dbuild.com67 ; Allocate extra storage at end of vector to allow for expansion.
/macosx-10.10/llvmCore-3425.0.34/lib/MC/
H A DMCContext.cpp304 char *Buf = static_cast<char *>(Allocate(Directory.size()));
317 char *Buf = static_cast<char *>(Allocate(FileName.size()));
/macosx-10.10/llvmCore-3425.0.34/include/llvm/ADT/
H A DImmutableList.h178 L = (ListTy*) A.Allocate<ListTy>();
H A DScopedHashTable.h65 ScopedHashTableVal *New = Allocator.template Allocate<ScopedHashTableVal>();
/macosx-10.10/swig-12/Source/Modules/
H A Dallocate.cxx58 class Allocate:public Dispatcher { class in inherits:Dispatcher
539 Allocate(): function in class:Allocate
952 Allocate *a = new Allocate;
/macosx-10.10/libpcap-48/libpcap/msdos/
H A Dndis_0.asm84 sub sp,&argsSize ;; Allocate space for arguments on the stack

Completed in 331 milliseconds

123