Home
last modified time | relevance | path

Searched refs:libc_malloc (Results 1 – 14 of 14) sorted by relevance

/onnv-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c146 if ((cfp = libc_malloc(sizeof (struct __nsw_switchconfig_v1))) in _nsw_getoneconfig_v1()
162 if ((lkp = libc_malloc(sizeof (struct __nsw_lookup_v1))) in _nsw_getoneconfig_v1()
340 if ((cfp = libc_malloc(sizeof (struct __nsw_switchconfig))) in _nsw_getoneconfig()
356 if ((lkp = libc_malloc(sizeof (struct __nsw_lookup))) in _nsw_getoneconfig()
858 if ((cp = libc_malloc(sizeof (struct cons_cell_v1))) == NULL) in add_concell_v1()
874 if ((cp = libc_malloc(sizeof (struct cons_cell))) == NULL) in add_concell()
H A Dmon.c259 if ((mon_out = libc_malloc(len + strlen(___Argv[0]) + 15)) in monitor()
301 (ANCHOR *)libc_malloc(sizeof (ANCHOR)); in monitor()
453 p = libc_malloc(GETTHISMUCH); in _mnewblock()
H A Dprivlib.c105 *buf = libc_malloc(sizeof (char *) * na->cnt); in parseninfo()
144 tmp = libc_malloc(sizeof (*tmp)); in __priv_parse_info()
178 tmp->pd_setsort = libc_malloc(tmp->pd_nprivs * in __priv_parse_info()
183 tmparr = libc_malloc(tmp->pd_nprivs * in __priv_parse_info()
327 ip = libc_malloc(realsize); in __priv_getdata()
840 return (libc_malloc(d->pd_setsize)); in __priv_allocset()
H A Dfmtmsg.c472 rtnval = libc_malloc( in getauxsevs()
546 if ((alloced = libc_malloc(strlen(opts) + 1)) == NULL) { in msgverbset()
636 if ((sevspace = libc_malloc(strlen(value) + 1)) != NULL) { in sevstrset()
729 if ((p = libc_malloc(sizeof (struct sevstr))) == NULL) { in addseverity()
H A Dcatopen.c184 p = libc_malloc(sizeof (struct _nl_catd_struct)); in process_nls_path()
309 tmp_catd = libc_malloc(sizeof (struct _nl_catd_struct)); in file_open()
H A Dgetauxv.c68 buf = libc_malloc( in _getaux()
H A Dnss_common.c334 cfg = libc_malloc(NSS_CFG_INCR * sizeof (nss_cfglist_t)); in nss_cfg_init()
341 cfg[i].list = libc_malloc( in nss_cfg_init()
413 if ((next->name = libc_malloc(len)) == NULL) { in nss_cfgcomp_get()
855 libc_malloc(s->p.max_dormant_per_src * in nss_put_backend_u()
882 if ((s = libc_malloc(sizeof (*s))) == 0) { in _nss_db_state_constr()
923 (s->src = libc_malloc(s->max_src * sizeof (*s->src))) == 0) { in _nss_db_state_constr()
1377 if ((contextp = libc_malloc(sizeof (*contextp))) == 0) { in nss_setent_u()
H A Dgetxby_door.c183 nsc_db_buf = (char *)libc_malloc(buflen); in _nsc_init_private_db()
186 nsc_db_list = (char **)libc_malloc(arrlen * sizeof (char *)); in _nsc_init_private_db()
H A Dgtxt.c121 libc_malloc(MINDB * sizeof (struct db_info))) == NULL) { in load_db()
H A Dlocaltime.c943 if ((charsbuf = libc_malloc(TZ_MAX_CHARS)) == NULL) in ltzset_u()
/onnv-gate/usr/src/lib/libc/
H A DREADME94 void *libc_malloc(size_t);
102 without the 'libc_' prefix. lmalloc() and libc_malloc()
108 Memory allocated by libc_malloc(), libc_realloc(), or libc_strdup()
161 * lmalloc or libc_malloc should be used. The memory must
166 releasing point, libc_malloc and libc_free should be used.
168 * As the memory allocated by lmalloc or libc_malloc needs
/onnv-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c345 libc_malloc(size_t size) in libc_malloc() function
391 char *s2 = libc_malloc(strlen(s1) + 1); in libc_strdup()
/onnv-gate/usr/src/lib/libc/inc/
H A Dlibc.h75 extern void *libc_malloc(size_t);
H A Dthr_uberdata.h1215 extern void *libc_malloc(size_t);