Lines Matching defs:buf2
340 char buf1[MAX_STRING], buf2[MAX_STRING];
375 dump_numeric(n2, buf2);
379 (void) printf("\t%s: %s, %s.\n", name, buf1, buf2);
401 dump_string(s2, buf2);
402 if (strcmp(buf1, buf2))
403 (void) printf("\t%s: %s, %s.\n", name, buf1, buf2);
606 char buf2[MAX_TERMINFO_LENGTH];
634 (void) strncpy(buf2, sp, len);
635 buf2[len] = '\0';
637 if (_nc_capcmp(cp, buf2))
685 (void) strcpy(buf2, (sp[next] == 'h') ? "ECMA+" : "ECMA-");
690 expansion = lookup_params(std_modes, buf2, buf3);
702 (void) strcpy(buf2, (sp[next] == 'h') ? "DEC+" : "DEC-");
707 expansion = lookup_params(private_modes, buf2, buf3);
718 (void) strcpy(buf2, "SGR:");
723 expansion = lookup_params(ecma_highlights, buf2, buf3);
730 (void) strcpy(buf2, "SGR:");
731 strcat(buf2, ecma_highlights[0].to);
732 expansion = buf2;
742 (void) sprintf(buf2, "1;%dr", tp_lines);
743 len = strlen(buf2);
744 if (strncmp(buf2, sp + csi, len) == 0)
753 (void) sprintf(buf2, "%d;1H", tp_lines);
754 len = strlen(buf2);
755 if (strncmp(buf2, sp + csi, len) == 0) {
758 (void) sprintf(buf2, "%dH", tp_lines);
759 len = strlen(buf2);
760 if (strncmp(buf2, sp + csi, len) == 0) {
773 buf2[0] = *sp;
774 buf2[1] = '\0';
775 fputs(TIC_EXPAND(buf2), stdout);