Lines Matching refs:buff
737 LookupWord(buff) in LookupWord() argument
738 char *buff; in LookupWord()
747 for (p = buff; *p; p++)
751 if (strcmp(buff, gettext("am")) == 0 || strcmp(buff, gettext("a.m.")) == 0) {
755 if (strcmp(buff, gettext("pm")) == 0 ||
756 strcmp(buff, gettext("p.m.")) == 0) {
762 if (strlen(buff) == 3)
764 else if (strlen(buff) == 4 && buff[3] == '.') {
766 buff[3] = '\0';
773 if (strncmp(buff, GETTEXT(tp->name), 3) == 0) {
778 else if (strcmp(buff, GETTEXT(tp->name)) == 0) {
785 if (strcmp(buff, GETTEXT(tp->name)) == 0) {
790 if (strcmp(buff, gettext("dst")) == 0)
794 if (strcmp(buff, GETTEXT(tp->name)) == 0) {
800 i = strlen(buff) - 1;
801 if (buff[i] == 's') {
802 buff[i] = '\0';
804 if (strcmp(buff, GETTEXT(tp->name)) == 0) {
808 buff[i] = 's'; /* Put back for "this" in OtherTable. */
812 if (strcmp(buff, GETTEXT(tp->name)) == 0) {
818 for (i = 0, p = q = buff; *q; q++)
826 if (strcmp(buff, GETTEXT(tp->name)) == 0) {
840 char buff[20]; in yylex() local
866 for (p = buff; isalpha((int) (c = *yyInput++)) || c == '.'; ) in yylex()
867 if (p < &buff[sizeof buff - 1]) in yylex()
871 return LookupWord(buff); in yylex()
1071 char buff[128]; local
1076 while (gets(buff) && buff[0]) {
1077 d = get_date(buff, (struct my_timeb *)NULL);