Lines Matching refs:calloc
340 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
342 error("lookup_emem: calloc");
383 tp->e_bs = (u_char *) calloc(1, nlen + 1);
385 error("lookup_bytestring: calloc");
388 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
390 error("lookup_bytestring: calloc");
431 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
433 error("lookup_nsap: calloc");
459 tp->p_nxt = (struct protoidmem *)calloc(1, sizeof(*tp));
461 error("lookup_protoid: calloc");
1176 /* Return a zero'ed hnamemem struct and cuts down on calloc() overhead */
1186 ptr = (struct hnamemem *)calloc(num, sizeof (*ptr));
1188 error("newhnamemem: calloc");
1196 /* Return a zero'ed h6namemem struct and cuts down on calloc() overhead */
1206 ptr = (struct h6namemem *)calloc(num, sizeof (*ptr));
1208 error("newh6namemem: calloc");