Home
last modified time | relevance | path

Searched refs:Malloc (Results 1 – 25 of 42) sorted by relevance

12

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/benchmarks/
H A Dmalloc_benchmark.cpp37 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
42 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
80 Ptr = Allocator->allocate(1 << SizeLog2, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
88 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc32 Product, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT, true));
36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
76 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
142 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
144 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
228 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
H A Dchunk.h56 Malloc = 0, enumerator
H A Dcombined.h578 Origin != Chunk::Origin::Malloc)
610 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
638 if (UNLIKELY(OldHeader.OriginOrWasZeroed != Chunk::Origin::Malloc))
641 Chunk::Origin::Malloc);
687 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
/openbsd-src/gnu/usr.bin/perl/win32/
H A Dvmem.h103 void* Malloc(size_t size);
163 void* VMem::Malloc(size_t size) in Malloc() function
184 return Malloc(size); in Realloc()
420 void* Malloc(size_t size);
602 void* VMem::Malloc(size_t size) in Malloc() function
760 return Malloc(size); in Realloc()
818 if((ptr = (PBLOCK)Malloc(size)) != NULL) { in Realloc()
H A Dvdir.h177 ptr = dirTableA[index] = (char*)pMem->Malloc(length+2); in SetDirA()
190 dirTableW[index] = (WCHAR*)pMem->Malloc((length+1)*2); in SetDirA()
249 ptr = dirTableW[index] = (WCHAR*)pMem->Malloc((length+2)*2); in SetDirW()
262 dirTableA[index] = (char*)pMem->Malloc(length+1); in SetDirW()
H A Dperlhost.h59 inline void* Malloc(size_t size) { return m_pVMem->Malloc(size); }; in Malloc() function
65 void* lpVoid = Malloc(count); in Calloc()
83 result = m_pVMemShared->Malloc(size); in MallocShared()
117 inline void* MallocParse(size_t size) { return m_pVMemParse->Malloc(size); }; in MallocParse()
293 return IPERL2HOST(piPerl)->Malloc(size); in PerlMemMalloc()
2368 m_lppEnvList[m_dwEnvCount] = (char*)Malloc(length * sizeof(char)); in Clearenv()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1824 auto *Malloc = const_cast<CallInst *>(dyn_cast<CallInst>(DefUO)); in tryFoldIntoCalloc() local
1825 if (!Malloc) in tryFoldIntoCalloc()
1827 auto *InnerCallee = Malloc->getCalledFunction(); in tryFoldIntoCalloc()
1835 auto shouldCreateCalloc = [](CallInst *Malloc, CallInst *Memset) { in tryFoldIntoCalloc() argument
1838 auto *MallocBB = Malloc->getParent(), in tryFoldIntoCalloc()
1854 if (Malloc->getOperand(0) != MemSet->getLength()) in tryFoldIntoCalloc()
1856 if (!shouldCreateCalloc(Malloc, MemSet) || in tryFoldIntoCalloc()
1857 !DT.dominates(Malloc, MemSet) || in tryFoldIntoCalloc()
1858 !memoryIsNotModifiedBetween(Malloc, MemSet, BatchAA, DL, &DT)) in tryFoldIntoCalloc()
1860 IRBuilder<> IRB(Malloc); in tryFoldIntoCalloc()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Expression/
H A DLLVMUserExpression.cpp316 m_materialized_address = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
340 m_stack_frame_bottom = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
H A DIRInterpreter.cpp339 lldb::addr_t data_address = Malloc(value->getType()); in MakeArgument()
394 lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) { in Malloc() function in InterpreterStackFrame
407 lldb::addr_t Malloc(llvm::Type *type) { in Malloc() function in InterpreterStackFrame
410 return Malloc(m_target_data.getTypeAllocSize(type), in Malloc()
446 lldb::addr_t data_address = Malloc(value->getType()); in ResolveValue()
878 lldb::addr_t R = frame.Malloc(T); in Interpret()
887 lldb::addr_t P = frame.Malloc(Tptr); in Interpret()
H A DMaterializer.cpp80 lldb::addr_t mem = map.Malloc( in MakeAllocation()
559 m_temporary_allocation = map.Malloc( in Materialize()
957 m_temporary_allocation = map.Malloc( in Materialize()
H A DIRExecutionUnit.cpp61 Malloc(size, 8, lldb::ePermissionsWritable | lldb::ePermissionsReadable, in WriteNow()
1071 Malloc(record.m_size, record.m_alignment, record.m_permissions, in CommitOneAllocation()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp63 Malloc, enumerator
76 case MallocFamily::Malloc: in mangledNameForMallocFamily()
137 …ibFunc_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}},
138 …ibFunc_dunder_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}},
139 …ibFunc_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}},
140 …ibFunc_dunder_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}},
/openbsd-src/sbin/fsck_ffs/
H A Dpass1.c279 zlnp = Malloc(sizeof *zlnp); in checkinode()
371 new = Malloc(sizeof(struct dups)); in pass1check()
H A Dfsck.h278 void *Malloc(size_t);
H A Dinode.c372 (inodebuf = Malloc((unsigned)inobufsize)) == NULL) in setinodebuf()
403 inp = Malloc(sizeof(*inp) + (blks ? blks - 1 : 0) * sizeof(daddr_t)); in cacheino()
H A Dutilities.c684 Malloc(size_t size) in Malloc() function
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dchunk_test.cpp44 OldHeader.OriginOrWasZeroed = scudo::Chunk::Origin::Malloc; in TEST()
H A Dwrappers_c_test.cpp45 TEST(ScudoWrappersCDeathTest, Malloc) { in TEST() argument
/openbsd-src/gnu/llvm/lldb/include/lldb/Expression/
H A DIRMemoryMap.h53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_flags.inc63 // Malloc / free bisection. Only tag malloc and free calls when a hash of
/openbsd-src/gnu/usr.bin/perl/
H A DREADME.irix71 =head2 Malloc in Irix
/openbsd-src/gnu/llvm/llvm/docs/HistoricalNotes/
H A D2003-06-25-Reoptimizer1.txt107 away that a single pc-relative branch would not work.) Malloc() or
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperl584delta.pod30 =head2 Malloc wrapping
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1909 FunctionCallee Malloc = getOrInsertLibFunc(M, *TLI, LibFunc_malloc, in emitMalloc() local
1912 CallInst *CI = B.CreateCall(Malloc, Num, MallocName); in emitMalloc()
1915 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts())) in emitMalloc()

12