Lines Matching full:calloc
343 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
345 error("lookup_emem: calloc");
386 tp->e_bs = (u_char *) calloc(1, nlen + 1);
388 error("lookup_bytestring: calloc");
391 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
393 error("lookup_bytestring: calloc");
434 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
436 error("lookup_nsap: calloc");
462 tp->p_nxt = (struct protoidmem *)calloc(1, sizeof(*tp));
464 error("lookup_protoid: calloc");
1179 /* Return a zero'ed hnamemem struct and cuts down on calloc() overhead */
1189 ptr = (struct hnamemem *)calloc(num, sizeof (*ptr));
1191 error("newhnamemem: calloc");
1199 /* Return a zero'ed h6namemem struct and cuts down on calloc() overhead */
1209 ptr = (struct h6namemem *)calloc(num, sizeof (*ptr));
1211 error("newh6namemem: calloc");