Lines Matching defs:hp
5888 char **hp;
5908 hp = hesiod_resolve(HesiodContext, np, map->map_file);
5910 hp = hes_resolve(np, map->map_file);
5920 hp = hesiod_resolve(HesiodContext, name, map->map_file);
5922 hp = hes_resolve(name, map->map_file);
5926 if (hp == NULL || *hp == NULL)
5942 if (hp != NULL)
5943 hesiod_free_list(HesiodContext, hp);
5947 if (hp == NULL || hp[0] == NULL)
5974 return map_rewrite(map, hp[0], strlen(hp[0]), av);
8028 struct hostent *hp = NULL;
8277 hp = sm_gethostbyname(at, addr.sa.sa_family);
8278 if (hp == NULL)
8284 addr.sa.sa_family = hp->h_addrtype;
8285 switch (hp->h_addrtype)
8290 hp->h_addr, INADDRSZ);
8300 hp->h_addr, IN6ADDRSZ);
8309 map->map_mname, at, hp->h_addrtype);
8311 freehostent(hp);
8337 if (hp != NULL)
8338 freehostent(hp);
8357 if (hp != NULL && hp->h_addr_list[addrno] != NULL)
8364 hp->h_addr_list[addrno++],
8372 hp->h_addr_list[addrno++],
8381 hp->h_addrtype);
8383 freehostent(hp);
8396 if (hp != NULL)
8397 freehostent(hp);
8402 if (hp != NULL)
8404 freehostent(hp);
8405 hp = NULL;