Lines Matching refs:buf_size
113 while ((nr = fread(buf, 1, buf_size, stdin)) > 0) { in open_patch_file()
592 strlcpy(buf, " \n", buf_size); in another_hunk()
746 strlcpy(buf + 1, " \n", buf_size - 1); in another_hunk()
951 snprintf(buf, buf_size, "*** %ld,%ld ****\n", p_first, in another_hunk()
959 snprintf(buf, buf_size, "--- %ld,%ld ----\n", p_newfirst, in another_hunk()
977 strlcpy(buf, " \n", buf_size); in another_hunk()
1112 snprintf(buf, buf_size, "*** %ld,%ld\n", p_first, in another_hunk()
1152 snprintf(buf, buf_size, "--- %ld,%ld\n", min, max); in another_hunk()
1228 if (len + 1 > buf_size) { in pgets()
1229 while (len + 1 > buf_size) in pgets()
1230 buf_size *= 2; in pgets()
1232 buf = malloc(buf_size); in pgets()
1466 snprintf(buf, buf_size, "%s%s%s", _PATH_RED, in do_ed_script()