Lines Matching defs:oname
510 add_name(char *oname, int onamelen, char *nname)
527 indx = st_hash(oname, onamelen, N_TAB_SZ);
532 while ((pt != NULL) && (strcmp(oname, pt->oname) != 0))
556 if ((pt->oname = strdup(oname)) != NULL) {
562 free(pt->oname);
574 * new name (oname is the link to name)
578 sub_name(char *oname, int *onamelen, size_t onamesize)
588 indx = st_hash(oname, *onamelen, N_TAB_SZ);
596 if (strcmp(oname, pt->oname) == 0) {
599 * and return (we know that oname has enough space)
601 *onamelen = l_strncpy(oname, pt->nname, onamesize - 1);
602 oname[*onamelen] = '\0';