Lines Matching refs:syms
566 sym_ston(const struct res_sym *syms, const char *name, int *success) { in sym_ston() argument
567 for (; syms->name != 0; syms++) { in sym_ston()
568 if (strcasecmp (name, syms->name) == 0) { in sym_ston()
571 return (syms->number); in sym_ston()
576 return (syms->number); /* The default value. */ in sym_ston()
580 sym_ntos(const struct res_sym *syms, int number, int *success) { in sym_ntos() argument
583 for (; syms->name != 0; syms++) { in sym_ntos()
584 if (number == syms->number) { in sym_ntos()
587 return (syms->name); in sym_ntos()
598 sym_ntop(const struct res_sym *syms, int number, int *success) { in sym_ntop() argument
601 for (; syms->name != 0; syms++) { in sym_ntop()
602 if (number == syms->number) { in sym_ntop()
605 return (syms->humanname); in sym_ntop()