Lines Matching refs:bufsz
114 while (getline(&buf, &bufsz, stdin) != -1) in open_patch_file()
274 if (getline(&buf, &bufsz, pfp) == -1) { in intuit_diff_type()
439 ret = getline(&buf, &bufsz, pfp); in skip_to()
547 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
557 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
709 strlcpy(buf + 1, " \n", bufsz - 1); in another_hunk()
875 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
918 snprintf(buf, bufsz, "*** %ld,%ld ****\n", p_first, in another_hunk()
926 snprintf(buf, bufsz, "--- %ld,%ld ----\n", p_newfirst, in another_hunk()
939 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
944 strlcpy(buf, " \n", bufsz); in another_hunk()
1043 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
1082 snprintf(buf, bufsz, "*** %ld,%ld\n", p_first, in another_hunk()
1091 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
1113 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
1122 snprintf(buf, bufsz, "--- %ld,%ld\n", min, max); in another_hunk()
1130 ret = pgetline(&buf, &bufsz, pfp); in another_hunk()
1197 if (buf != s && strlcpy(buf, s, bufsz) >= bufsz) in pgetline()
1416 snprintf(buf, bufsz, "%s -S%s %s", _PATH_ED, in do_ed_script()
1422 if (pgetline(&buf, &bufsz, pfp) == -1) { in do_ed_script()
1441 pgetline(&buf, &bufsz, pfp) == -1) in do_ed_script()
1447 while (pgetline(&buf, &bufsz, pfp) != -1) { in do_ed_script()