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

/freebsd-10-stable/tools/tools/bootparttest/
H A Dmalloc.c33 Malloc(size_t size, const char *file, int line) function
/freebsd-10-stable/lib/libstand/
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.h384 void *Malloc(size_t, const char *, int);
390 #define malloc(x) Malloc(x, __FILE__, __LINE__)
395 #define malloc(x) Malloc(x, NULL, 0)
/freebsd-10-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-10-stable/contrib/llvm/tools/lldb/include/lldb/Expression/
H A DIRMemoryMap.h52 lldb::addr_t Malloc (size_t size, uint8_t alignment, uint32_t permissions, AllocationPolicy policy, Error &error);
/freebsd-10-stable/sys/kern/
H A Dsubr_unit.c92 #define Malloc(foo) malloc(foo, M_UNIT, M_WAITOK | M_ZERO) macro
114 #define Malloc(foo) _Malloc(foo, __LINE__) macro
332 uh = Malloc(sizeof *uh);
733 p1 = Malloc(sizeof(struct unr));
734 p2 = Malloc(sizeof(struct unr));
868 p1 = Malloc(sizeof(struct unr));
869 p2 = Malloc(sizeof(struct unr));
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Expression/
H A DIRInterpreter.cpp288 lldb::addr_t data_address = Malloc(value->getType());
342 lldb::addr_t Malloc (size_t size, uint8_t byte_alignment) function in class:InterpreterStackFrame
358 return Malloc(m_target_data.getPointerSize(), m_target_data.getPointerPrefAlignment());
361 lldb::addr_t Malloc (llvm::Type *type) function in class:InterpreterStackFrame
365 return Malloc(m_target_data.getTypeAllocSize(type), m_target_data.getPrefTypeAlignment(type));
403 lldb::addr_t data_address = Malloc(value->getType());
767 lldb::addr_t R = frame.Malloc(T);
778 lldb::addr_t P = frame.Malloc(Tptr);
H A DClangUserExpression.cpp670 m_materialized_address = m_execution_unit_ap->Malloc(m_materializer_ap->GetStructByteSize(),
691 m_stack_frame_bottom = m_execution_unit_ap->Malloc(stack_frame_size,
H A DIRExecutionUnit.cpp50 lldb::addr_t allocation_process_addr = Malloc (size,
650 record.m_process_address = Malloc(record.m_size,
H A DMaterializer.cpp85 lldb::addr_t mem = map.Malloc(m_persistent_variable_sp->GetByteSize(),
513 m_temporary_allocation = map.Malloc(data.GetByteSize(), byte_align, lldb::ePermissionsReadable | lldb::ePermissionsWritable, IRMemoryMap::eAllocationPolicyMirror, alloc_error);
752 m_temporary_allocation = map.Malloc(byte_size, byte_align, lldb::ePermissionsReadable | lldb::ePermissionsWritable, IRMemoryMap::eAllocationPolicyMirror, alloc_error);
H A DIRMemoryMap.cpp235 IRMemoryMap::Malloc (size_t size, uint8_t alignment, uint32_t permissions, AllocationPolicy policy, Error &error) function in class:IRMemoryMap
343 log->Printf("IRMemoryMap::Malloc (%" PRIu64 ", 0x%" PRIx64 ", 0x%" PRIx64 ", %s) -> 0x%" PRIx64,
/freebsd-10-stable/sbin/fsck_ffs/
H A Dsetup.c456 sblk.b_un.b_buf = Malloc(SBLOCKSIZE);
457 asblk.b_un.b_buf = Malloc(SBLOCKSIZE);
H A Dfsck.h372 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.c426 if ((inobuf.b_un.b_buf = Malloc((unsigned)inobufsize)) == NULL)
459 Malloc(sizeof(*inp) + (blks - 1) * sizeof(ufs2_daddr_t));
H A Dpass1.c495 new = (struct dups *)Malloc(sizeof(struct dups));
H A Dsuj.c165 a = Malloc(n);
198 disk = Malloc(sizeof(*disk));
/freebsd-10-stable/sys/boot/efi/boot1/
H A Dboot1.c62 * Provide Malloc / Free backed by EFIs AllocatePool / FreePool which ensures
67 Malloc(size_t len, const char *file __unused, int line __unused) function
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DCore.cpp2179 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), local
2182 return wrap(unwrap(B)->Insert(Malloc, Twine(Name)));
2190 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), local
2193 return wrap(unwrap(B)->Insert(Malloc, Twine(Name)));
/freebsd-10-stable/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1539 // If this is a fixed size array, transform the Malloc to be an alloc of
1546 Instruction *Malloc = CallInst::CreateMalloc(CI, IntPtrTy, AllocSTy, local
1549 Instruction *Cast = new BitCastInst(Malloc, CI->getType(), "tmp", CI);
1552 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc))
1555 CI = cast<CallInst>(Malloc);

Completed in 298 milliseconds