Searched refs:MALLOC (Results 1 - 25 of 188) sorted by relevance

12345678

/macosx-10.10.1/ksh-23/ksh/src/lib/libast/features/
H A Dvmalloc67 #define MALLOC(n) if(user)return&heap[0];op=hp;hp+=(n+sizeof(HT)-1)/sizeof(HT);return(void*)op;
74 extern void* malloc(unsigned int n) { MALLOC(n); }
75 extern void* _malloc(unsigned int n) { MALLOC(n); }
76 extern void* __malloc(unsigned int n) { MALLOC(n); }
77 extern void* __libc_malloc(unsigned int n) { MALLOC(n); }
83 extern void* malloc(n) unsigned int n; { MALLOC(n); }
84 extern void* _malloc(n) unsigned int n; { MALLOC(n); }
85 extern void* __malloc(n) unsigned int n; { MALLOC(n); }
86 extern void* __libc_malloc(n) unsigned int n; { MALLOC(n); }
/macosx-10.10.1/tcl-105/tcl/tcl/generic/
H A Dregcustom.h40 #define MALLOC(n) ckalloc(n) macro
152 register struct vars *vPtr = (struct vars *) MALLOC(sizeof(struct vars))
H A Dregc_cvec.c49 struct cvec *cv = (struct cvec *) MALLOC(n);
H A Dregguts.h93 #ifndef MALLOC
94 #define MALLOC(n) malloc(n) macro
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A DMacOSStubs.c138 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK);
149 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK);
/macosx-10.10.1/Libc-1044.1.2/stdio/FreeBSD/
H A Dxprintf_private.h83 #define MALLOC(x) xprintf_malloc((x)) macro
88 #define MALLOC(x) malloc((x)) macro
H A Dxprintf_vis.c64 buf = MALLOC(l * 4 + 1);
/macosx-10.10.1/Libc-1044.1.2/stdio/
H A Dxprintf_comp.c64 pc = MALLOC(sizeof(*pc) + strlen(fmt) + 1);
H A Dxprintf_domain.c117 copy = (printf_domain_t)MALLOC(sizeof(*copy));
142 d = (printf_domain_t)MALLOC(sizeof(*d));
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A Dregcustom.h34 #define MALLOC(n) ckalloc(n) macro
H A Dregguts.h97 #ifndef MALLOC
98 #define MALLOC(n) malloc(n) macro
/macosx-10.10.1/xnu-2782.1.97/security/
H A Dmac_base.c487 MALLOC(new_mles, struct mac_label_element **,
491 MALLOC(new_mles[idx], struct mac_label_element *,
495 MALLOC(new_mlls, struct mac_label_listener **,
499 MALLOC(new_mlls[idx], struct mac_label_listener *,
1040 MALLOC(scratch_base, char *, strlen(elementlist)+1, M_MACTEMP, M_WAITOK);
1189 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1198 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
1237 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
1247 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
1286 MALLOC(buffe
[all...]
H A Dmac_socket.c367 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK);
400 MALLOC(elements, char *, mac->m_buflen, M_MACTEMP, M_WAITOK);
408 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
437 MALLOC(elements, char *, mac->m_buflen, M_MACTEMP, M_WAITOK);
445 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
/macosx-10.10.1/tcl-105/tcl_ext/tdom/tdom/generic/
H A Ddomlock.c113 dl = (domlock*)MALLOC(sizeof(domlock));
H A Ddomhtml.c770 tnode->nodeValue = (char*)MALLOC((x - start)+1);
979 tnode->nodeValue = (char*)MALLOC(tnode->valueLength+1);
1059 tnode->nodeValue = (char*)MALLOC((x - start)+1);
1094 MALLOC(sizeof(domProcessingInstructionNode));
1114 pinode->targetValue = (char*)MALLOC(pinode->targetLength);
1126 pinode->dataValue = (char*)MALLOC(pinode->dataLength);
1313 attrnode->nodeValue = (char*)MALLOC(nArgVal+1);
1324 (Tcl_HashTable *) MALLOC (sizeof (Tcl_HashTable));
1425 tnode->nodeValue = (char*)MALLOC((x - start)+1);
H A Dxmlsimple.c431 domActiveNS *activeNS = (domActiveNS*) MALLOC (sizeof(domActiveNS) * activeNSsize);
474 tnode->nodeValue = (char*)MALLOC((x - start)+1);
562 tnode->nodeValue = (char*)MALLOC(tnode->valueLength+1);
642 tnode->nodeValue = (char*)MALLOC((x - start)+1);
697 pinode->targetValue = (char*)MALLOC(pinode->targetLength);
709 pinode->dataValue = (char*)MALLOC(pinode->dataLength);
874 attrnode->nodeValue = (char*)MALLOC(nArgVal+1);
936 attrnode->nodeValue = (char*)MALLOC(nArgVal+1);
H A Ddom.c812 doc->namespaces[doc->nsptr] = (domNS*)MALLOC (sizeof (domNS));
1210 attrnode->nodeValue = (char*)MALLOC(len+1);
1266 info->document->ids = MALLOC (sizeof (Tcl_HashTable));
1313 attrnode->nodeValue = (char*)MALLOC(len+1);
1483 node->nodeValue = (char*)MALLOC(len);
1560 node->nodeValue = (char*)MALLOC(len);
1657 node->targetValue = (char*)MALLOC(len);
1665 node->dataValue = (char*)MALLOC(len);
1718 info->document->unparsedEntities = MALLOC (sizeof (Tcl_HashTable));
1966 info->document->doctype = (domDocInfo*)MALLOC (sizeo
[all...]
/macosx-10.10.1/dcerpc-61/dcerpc/idl_compiler/
H A Dmtsbacke.c209 /* BE_cxt_malloc -- Same interface as MALLOC, if not within a context */
213 /* BE_push_perm_malloc_ctx -- Start new temporary context in which MALLOC */
219 * Type used to add our context header to allocations returned from MALLOC
236 * Current malloc context, initially NULL so normal MALLOC is used
252 return MALLOC (size);
256 return MALLOC (size);
259 new = MALLOC (size + sizeof(malloc_t));
H A Dnidl.h275 #define MALLOC(size) \ macro
/macosx-10.10.1/ntp-92/include/
H A Dparse.h66 #define MALLOC(_X_) (char *)kmem_alloc(_X_) macro
70 #define MALLOC(_X_) (char *)kmem_alloc(_X_, KM_SLEEP) macro
74 #define MALLOC(_X_) malloc(_X_) macro
/macosx-10.10.1/BerkeleyDB-21/db/build_brew/
H A Dbrew_db.h69 #define malloc(a) MALLOC(a)
/macosx-10.10.1/Libc-1044.1.2/gdtoa/FreeBSD/
H A Dgdtoaimp.h113 * #define MALLOC your_malloc, where your_malloc(n) acts like malloc(n)
115 * appropriate. If MALLOC is undefined, malloc will be invoked
118 * recycle memory acquired from MALLOC, #define FREE to be the
126 * suffices to get rid of MALLOC calls except for unusual cases,
283 #ifdef MALLOC
284 extern Char *MALLOC ANSI((size_t));
286 #define MALLOC malloc macro
710 ((_temp) = MALLOC(_maxdigits + (_dplen) + 2)) != NULL) { \
/macosx-10.10.1/tcl-105/tcl_ext/tdom/tdom/extensions/tnc/
H A Dtnc.c429 MALLOC (sizeof (TNC_Content) * emodel->numchildren);
443 MALLOC (sizeof (TNC_Content) * emodel->numchildren);
506 tmodel = (TNC_Content*) MALLOC (sizeof (TNC_Content));
606 entityInfo = (TNC_EntityInfo *) MALLOC (sizeof (TNC_EntityInfo));
753 elemAttInfo = (TNC_ElemAttInfo *) MALLOC (sizeof (TNC_ElemAttInfo));
754 elemAtts = (Tcl_HashTable *) MALLOC (sizeof (Tcl_HashTable));
768 attDecl = (TNC_AttDecl *) MALLOC (sizeof (TNC_AttDecl));
809 (Tcl_HashTable *) MALLOC (sizeof (Tcl_HashTable));
873 (Tcl_HashTable *) MALLOC (sizeof (Tcl_HashTable));
2706 tncdata = (TNC_Data *) MALLOC (sizeo
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dvfs_init.c166 MALLOC(*opv_desc_vector_p, PFIvp*,
444 MALLOC(oidp, struct sysctl_oid *, sizeof(struct sysctl_oid), M_TEMP, M_WAITOK);
577 MALLOC(oidp, struct sysctl_oid *, sizeof(struct sysctl_oid), M_TEMP, M_WAITOK);
596 MALLOC(allocated, struct vfstable *, sizeof(struct vfstable),
/macosx-10.10.1/BerkeleyDB-21/db/dist/brew/
H A Dbrew_db.in69 #define malloc(a) MALLOC(a)

Completed in 192 milliseconds

12345678