Lines Matching refs:oname
508 add_name(char *oname, int onamelen, char *nname)
525 indx = st_hash(oname, onamelen, N_TAB_SZ);
530 while ((pt != NULL) && (strcmp(oname, pt->oname) != 0))
554 if ((pt->oname = strdup(oname)) != NULL) {
560 free(pt->oname);
572 * new name (oname is the link to name)
576 sub_name(char *oname, int *onamelen, size_t onamesize)
586 indx = st_hash(oname, *onamelen, N_TAB_SZ);
594 if (strcmp(oname, pt->oname) == 0) {
597 * and return (we know that oname has enough space)
599 *onamelen = l_strncpy(oname, pt->nname, onamesize - 1);
600 oname[*onamelen] = '\0';