Lines Matching refs:ht_value
106 char *ht_value; member
290 table[i].ht_value = malloc(max_value + 1); in init_hash()
293 if (table[i].ht_value == NULL) { in init_hash()
296 free(table[j].ht_value); in init_hash()
299 *(table[i].ht_value) = '\0'; in init_hash()
310 free(table[i].ht_value); in free_hash()
395 hosthash[ix].ht_value, MAXHOSTNAMELEN); in gethname()
396 hosthash[ix].ht_length = strlen(hosthash[ix].ht_value); in gethname()
398 hosthash[ix].ht_length = strlcpy(hosthash[ix].ht_value, in gethname()
407 len = prefix_len + strlcpy(p, hosthash[ix].ht_value, l); in gethname()
447 l = snprintf(uidhash[ix].ht_value, USERNAMELEN, in getuname()
450 l = strlcpy(uidhash[ix].ht_value, pw.pw_name, in getuname()
458 (void) memcpy(p, uidhash[ix].ht_value, l); in getuname()
476 snprintf(gidhash[ix].ht_value, GIDNAMELEN, in getuname()
480 strlcpy(gidhash[ix].ht_value, in getuname()
490 (void) memcpy(p, gidhash[ix].ht_value, l); in getuname()