Lines Matching refs:count
138 int outfd, count, loop; in script_main() local
165 count = safe_read(pty, buf, COMMON_BUFSIZE); in script_main()
166 if (count <= 0 && errno != EAGAIN) { in script_main()
170 if (count > 0) { in script_main()
177 fprintf(timing_fp, "%f %u\n", newtime - oldtime, count); in script_main()
180 full_write(STDOUT_FILENO, buf, count); in script_main()
181 full_write(outfd, buf, count); in script_main()
189 count = safe_read(STDIN_FILENO, buf, COMMON_BUFSIZE); in script_main()
190 if (count <= 0) { in script_main()
195 full_write(pty, buf, count); in script_main()
208 while (--loop && (count = safe_read(pty, buf, COMMON_BUFSIZE)) > 0) { in script_main()
209 full_write(STDOUT_FILENO, buf, count); in script_main()
210 full_write(outfd, buf, count); in script_main()