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

/freebsd-current/tools/tools/bootparttest/
H A Dstub.c32 Malloc(size_t size, const char *file, int line) function
/freebsd-current/stand/libsa/
H A Dzalloc_malloc.c57 Malloc(size_t bytes, const char *file __unused, int line __unused) function
160 if ((res = Malloc(bytes, file, line)) != NULL) {
182 if ((res = Malloc(size, file, line)) != NULL) {
H A Dstand.h459 void *Malloc(size_t, const char *, int);
477 #define malloc(x) Malloc(x, __FILE__, __LINE__)
484 #define malloc(x) Malloc(x, NULL, 0)
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1864 auto *Malloc = const_cast<CallInst *>(dyn_cast<CallInst>(DefUO));
1865 if (!Malloc)
1867 auto *InnerCallee = Malloc->getCalledFunction();
1875 auto *MallocDef = dyn_cast_or_null<MemoryDef>(MSSA.getMemoryAccess(Malloc));
1879 auto shouldCreateCalloc = [](CallInst *Malloc, CallInst *Memset) {
1882 auto *MallocBB = Malloc->getParent(),
1898 if (Malloc->getOperand(0) != MemSet->getLength())
1900 if (!shouldCreateCalloc(Malloc, MemSet) ||
1901 !DT.dominates(Malloc, MemSet) ||
1902 !memoryIsNotModifiedBetween(Malloc, MemSe
[all...]
/freebsd-current/sys/sys/
H A Dmalloc.h296 extern void *Malloc(size_t bytes, const char *file, int line);
301 * Define the simple alloc / free routines in terms of Malloc and
310 void *p = Malloc((size), __FILE__, __LINE__); \
/freebsd-current/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-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dchunk.h56 Malloc = 0,
H A Dcombined.h565 Origin != Chunk::Origin::Malloc)
597 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
625 if (UNLIKELY(Header.OriginOrWasZeroed != Chunk::Origin::Malloc))
628 Chunk::Origin::Malloc);
673 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
/freebsd-current/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
242 iter = Malloc(sizeof(*iter));
492 uh = Malloc(sizeof *uh);
897 p1 = Malloc(sizeof(struct unr));
898 p2 = Malloc(sizeof(struct unr));
1033 p1 = Malloc(sizeof(struct unr));
1034 p2 = Malloc(sizeof(struct unr));
/freebsd-current/contrib/llvm-project/lldb/source/Expression/
H A DLLVMUserExpression.cpp317 m_materialized_address = m_execution_unit_sp->Malloc(
348 m_stack_frame_bottom = m_execution_unit_sp->Malloc(
H A DIRInterpreter.cpp340 lldb::addr_t data_address = Malloc(value->getType());
395 lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) { function in class:InterpreterStackFrame
408 lldb::addr_t Malloc(llvm::Type *type) { function in class:InterpreterStackFrame
411 return Malloc(m_target_data.getTypeAllocSize(type),
447 lldb::addr_t data_address = Malloc(value->getType());
908 lldb::addr_t R = frame.Malloc(T);
917 lldb::addr_t P = frame.Malloc(Tptr);
H A DMaterializer.cpp80 lldb::addr_t mem = map.Malloc(
559 m_temporary_allocation = map.Malloc(
957 m_temporary_allocation = map.Malloc(
H A DIRExecutionUnit.cpp61 Malloc(size, 8, lldb::ePermissionsWritable | lldb::ePermissionsReadable,
1071 Malloc(record.m_size, record.m_alignment, record.m_permissions,
H A DIRMemoryMap.cpp314 lldb::addr_t IRMemoryMap::Malloc(size_t size, uint8_t alignment, function in class:IRMemoryMap
327 // FIXME: Malloc(0) should either return an invalid address or assert, in
446 "IRMemoryMap::Malloc (%" PRIu64 ", 0x%" PRIx64 ", 0x%" PRIx64
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp70 Malloc, member in class:MallocFamily
83 case MallocFamily::Malloc:
152 {LibFunc_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}},
153 {LibFunc_dunder_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}},
154 {LibFunc_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}},
155 {LibFunc_dunder_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}},
/freebsd-current/sbin/fsck_ffs/
H A Dfsck.h417 Malloc(size_t size) function
H A Dpass1.c574 new = (struct dups *)Malloc(sizeof(struct dups));
H A Dfsutil.c175 * Malloc buffers and set up cache.
206 bp = (struct bufarea *)Malloc(sizeof(struct bufarea));
H A Dinode.c1134 Malloc(sizeof(*inp) + (blks - 1) * sizeof(ufs2_daddr_t));
H A Dsuj.c142 a = Malloc(n);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1908 FunctionCallee Malloc = getOrInsertLibFunc(M, *TLI, LibFunc_malloc, local
1911 CallInst *CI = B.CreateCall(Malloc, Num, MallocName);
1914 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts()))

Completed in 146 milliseconds