Lines Matching refs:buff
1719 LookupWord(buff) in LookupWord() argument
1720 char *buff; in LookupWord()
1729 for (p = buff; *p; p++)
1733 if (strcmp(buff, "am") == 0 || strcmp(buff, "a.m.") == 0) {
1737 if (strcmp(buff, "pm") == 0 || strcmp(buff, "p.m.") == 0) {
1743 if (strlen(buff) == 3)
1745 else if (strlen(buff) == 4 && buff[3] == '.') {
1747 buff[3] = '\0';
1754 if (strncmp(buff, tp->name, 3) == 0) {
1759 else if (strcmp(buff, tp->name) == 0) {
1766 if (strcmp(buff, tp->name) == 0) {
1771 if (strcmp(buff, "dst") == 0)
1775 if (strcmp(buff, tp->name) == 0) {
1781 i = strlen(buff) - 1;
1782 if (buff[i] == 's') {
1783 buff[i] = '\0';
1785 if (strcmp(buff, tp->name) == 0) {
1789 buff[i] = 's'; /* Put back for "this" in OtherTable. */
1793 if (strcmp(buff, tp->name) == 0) {
1799 if (buff[1] == '\0' && isalpha(*buff)) {
1801 if (strcmp(buff, tp->name) == 0) {
1808 for (i = 0, p = q = buff; *q; q++)
1816 if (strcmp(buff, tp->name) == 0) {
1830 char buff[20]; in yylex() local
1855 for (p = buff; isalpha(c = *yyInput++) || c == '.'; ) in yylex()
1856 if (p < &buff[sizeof buff - 1]) in yylex()
1860 return LookupWord(buff); in yylex()
1997 char buff[128]; local
2002 while (gets(buff) && buff[0]) {
2003 d = get_date(buff);