Lines Matching refs:malloc
558 buf = malloc(bufsiz);
719 buf = malloc(bufsiz);
888 he = malloc(sizeof(*he));
892 he->h_addr_list = malloc(sizeof(char *) * (addresses));
904 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
927 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
947 he->h_aliases = malloc(sizeof(char *) * (names));
960 *npp = malloc(len);
971 he->h_name = malloc(strlen((he1 != NULL) ?
1014 he = malloc(sizeof(*he));
1044 he->h_aliases = malloc(sizeof(char *) * (addr->naliases + 1));
1057 he->h_addr_list = malloc(sizeof(char *) * 2);
1060 he->h_addr_list[0] = malloc(he->h_length);
1091 he = malloc(sizeof(*he));
1121 he->h_aliases = malloc(sizeof(char *) * (name->naliases + 1));
1134 he->h_addr_list = malloc(sizeof(char *) * (name->naddrs + 1));
1140 he->h_addr_list[i] = malloc(he->h_length);