Lines Matching refs:oname
519 add_name(char *oname, int onamelen, char *nname)
536 indx = st_hash(oname, onamelen, N_TAB_SZ);
541 while ((pt != NULL) && (strcmp(oname, pt->oname) != 0))
565 if ((pt->oname = strdup(oname)) != NULL) {
571 (void)free((char *)pt->oname);
583 * new name (oname is the link to name)
587 sub_name(char *oname, int *onamelen, size_t onamesize)
597 indx = st_hash(oname, *onamelen, N_TAB_SZ);
605 if (strcmp(oname, pt->oname) == 0) {
608 * and return (we know that oname has enough space)
610 *onamelen = strlcpy(oname, pt->nname, onamesize);