Lines Matching refs:buff
131 LookupWord _ANSI_ARGS_((char *buff));
536 LookupWord(buff)
537 char *buff;
548 for (p = buff; *p; p++) {
554 if (strcmp(buff, "am") == 0 || strcmp(buff, "a.m.") == 0) {
558 if (strcmp(buff, "pm") == 0 || strcmp(buff, "p.m.") == 0) {
566 if (strlen(buff) == 3) {
568 } else if (strlen(buff) == 4 && buff[3] == '.') {
570 buff[3] = '\0';
577 if (strncmp(buff, tp->name, 3) == 0) {
581 } else if (strcmp(buff, tp->name) == 0) {
588 if (strcmp(buff, tp->name) == 0) {
595 if (strcmp(buff, tp->name) == 0) {
604 i = strlen(buff) - 1;
605 if (buff[i] == 's') {
606 buff[i] = '\0';
608 if (strcmp(buff, tp->name) == 0) {
616 if (strcmp(buff, tp->name) == 0) {
625 if (buff[1] == '\0' && isalpha(UCHAR(*buff))) {
627 if (strcmp(buff, tp->name) == 0) {
637 for (i = 0, p = q = buff; *q; q++)
646 if (strcmp(buff, tp->name) == 0) {
662 char buff[20];
693 for (p = buff; isalpha(c = *TclDateInput++) || c == '.'; ) {
694 if (p < &buff[sizeof buff - 1]) {
700 return LookupWord(buff);