Searched refs:Malloc (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/tools/tools/bootparttest/
H A Dstub.c34 Malloc(size_t size, const char *file, int line) function
/freebsd-11-stable/stand/libsa/
H A Dzalloc_malloc.c54 Malloc(size_t bytes, const char *file, int line) function
132 if ((res = Malloc(bytes, file, line)) != NULL) {
154 if ((res = Malloc(size, file, line)) != NULL) {
H A Dstand.h431 void *Malloc(size_t, const char *, int);
437 #define malloc(x) Malloc(x, __FILE__, __LINE__)
442 #define malloc(x) Malloc(x, NULL, 0)
/freebsd-11-stable/usr.sbin/ctm/ctm/
H A Dctm.c94 if (NULL == (nfilter = Malloc(sizeof(struct CTM_Filter)))) {
150 Buffer = (u_char *)Malloc(BUFSIZ + strlen(SUBSUFF) +1);
154 Buffer = (u_char *)Malloc(strlen(basedir)+ BUFSIZ + strlen(SUBSUFF) +1);
H A Dctm_input.c86 u_char *p = Malloc(u_chars+1);
H A Dctm.h71 #define Malloc malloc macro
/freebsd-11-stable/sbin/fsck_ffs/
H A Dsetup.c456 sblk.b_un.b_buf = Malloc(SBLOCKSIZE);
457 asblk.b_un.b_buf = Malloc(SBLOCKSIZE);
486 fsrbuf = Malloc(secsize);
522 (fsrbuf = Malloc(secsize)) == NULL ||
556 (fsrbuf = Malloc(secsize)) == NULL ||
H A Dfsck.h378 Malloc(size_t size) function
H A Dfsutil.c176 * Malloc buffers and set up cache.
186 bufp = Malloc((unsigned int)sblock.fs_bsize);
196 bp = (struct bufarea *)Malloc(sizeof(struct bufarea));
197 bufp = Malloc((unsigned int)sblock.fs_bsize);
H A Dinode.c431 if ((inobuf.b_un.b_buf = Malloc((unsigned)inobufsize)) == NULL)
464 Malloc(sizeof(*inp) + (blks - 1) * sizeof(ufs2_daddr_t));
H A Dpass1.c536 new = (struct dups *)Malloc(sizeof(struct dups));
H A Dsuj.c167 a = Malloc(n);
200 disk = Malloc(sizeof(*disk));
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRMemoryMap.h53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/
H A DLLVMUserExpression.cpp305 m_materialized_address = m_execution_unit_sp->Malloc(
329 m_stack_frame_bottom = m_execution_unit_sp->Malloc(
H A DIRInterpreter.cpp309 lldb::addr_t data_address = Malloc(value->getType());
365 lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) { function in class:InterpreterStackFrame
378 lldb::addr_t Malloc(llvm::Type *type) { function in class:InterpreterStackFrame
381 return Malloc(m_target_data.getTypeAllocSize(type),
417 lldb::addr_t data_address = Malloc(value->getType());
823 lldb::addr_t R = frame.Malloc(T);
832 lldb::addr_t P = frame.Malloc(Tptr);
H A DMaterializer.cpp69 lldb::addr_t mem = map.Malloc(
546 m_temporary_allocation = map.Malloc(
806 m_temporary_allocation = map.Malloc(
H A DIRExecutionUnit.cpp56 Malloc(size, 8, lldb::ePermissionsWritable | lldb::ePermissionsReadable,
1149 Malloc(record.m_size, record.m_alignment, record.m_permissions,
H A DIRMemoryMap.cpp288 lldb::addr_t IRMemoryMap::Malloc(size_t size, uint8_t alignment, function in class:IRMemoryMap
302 // FIXME: Malloc(0) should either return an invalid address or assert, in
421 "IRMemoryMap::Malloc (%" PRIu64 ", 0x%" PRIx64 ", 0x%" PRIx64
/freebsd-11-stable/sys/kern/
H A Dsubr_unit.c92 #define Malloc(foo) malloc(foo, M_UNIT, M_WAITOK | M_ZERO) macro
119 #define Malloc(foo) _Malloc(foo, __LINE__) macro
352 uh = Malloc(sizeof *uh);
739 p1 = Malloc(sizeof(struct unr));
740 p2 = Malloc(sizeof(struct unr));
873 p1 = Malloc(sizeof(struct unr));
874 p2 = Malloc(sizeof(struct unr));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dchunk.h55 Malloc = 0,
H A Dcombined.h331 Origin != Chunk::Origin::Malloc))
356 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
377 if (UNLIKELY(OldHeader.Origin != Chunk::Origin::Malloc))
379 OldHeader.Origin, Chunk::Origin::Malloc);
416 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1199 auto *Malloc = dyn_cast<CallInst>(Memset->getArgOperand(0));
1200 if (!Malloc || !Malloc->hasOneUse())
1204 Function *InnerCallee = Malloc->getCalledFunction();
1214 if (Memset->getArgOperand(2) != Malloc->getArgOperand(0))
1219 B.SetInsertPoint(Malloc->getParent(), ++Malloc->getIterator());
1220 const DataLayout &DL = Malloc->getModule()->getDataLayout();
1223 Malloc->getArgOperand(0),
1224 Malloc
[all...]
H A DBuildLibCalls.cpp1280 FunctionCallee Malloc = M->getOrInsertFunction(MallocName, B.getInt8PtrTy(), local
1283 CallInst *CI = B.CreateCall(Malloc, Num, MallocName);
1286 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts()))
/freebsd-11-stable/stand/efi/boot1/
H A Dboot1.c59 * Provide Malloc / Free backed by EFIs AllocatePool / FreePool which ensures
64 Malloc(size_t len, const char *file __unused, int line __unused) function
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1553 // If this is a fixed size array, transform the Malloc to be an alloc of
1562 Instruction *Malloc =
1565 Instruction *Cast = new BitCastInst(Malloc, CI->getType(), "tmp", CI);
1568 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc))
1571 CI = cast<CallInst>(Malloc);

Completed in 400 milliseconds

12