Lines Matching refs:buff
705 LookupWord(buff) in LookupWord() argument
706 char *buff; in LookupWord()
715 for (p = buff; *p; p++)
719 if (strcmp(buff, "am") == 0 || strcmp(buff, "a.m.") == 0) {
723 if (strcmp(buff, "pm") == 0 || strcmp(buff, "p.m.") == 0) {
729 if (strlen(buff) == 3)
731 else if (strlen(buff) == 4 && buff[3] == '.') {
733 buff[3] = '\0';
740 if (strncmp(buff, tp->name, 3) == 0) {
745 else if (strcmp(buff, tp->name) == 0) {
752 if (strcmp(buff, tp->name) == 0) {
757 if (strcmp(buff, "dst") == 0)
761 if (strcmp(buff, tp->name) == 0) {
767 i = strlen(buff) - 1;
768 if (buff[i] == 's') {
769 buff[i] = '\0';
771 if (strcmp(buff, tp->name) == 0) {
775 buff[i] = 's'; /* Put back for "this" in OtherTable. */
779 if (strcmp(buff, tp->name) == 0) {
785 if (buff[1] == '\0' && isalpha(*buff)) {
787 if (strcmp(buff, tp->name) == 0) {
794 for (i = 0, p = q = buff; *q; q++)
802 if (strcmp(buff, tp->name) == 0) {
816 char buff[20]; in yylex() local
841 for (p = buff; isalpha(c = *yyInput++) || c == '.'; ) in yylex()
842 if (p < &buff[sizeof buff - 1]) in yylex()
846 return LookupWord(buff); in yylex()
983 char buff[128]; local
988 while (gets(buff) && buff[0]) {
989 d = get_date(buff);