Lines Matching refs:stdin_cnt
1054 ssize_t stdin_cnt = 0; in svlogd_main() local
1147 np = memRchr(lineptr, '\n', stdin_cnt); in svlogd_main()
1149 i = linemax - stdin_cnt; /* avail. bytes at tail */ in svlogd_main()
1151 i = buffer_pread(/*0, */lineptr + stdin_cnt, i); in svlogd_main()
1155 np = memRchr(lineptr + stdin_cnt, '\n', i); in svlogd_main()
1156 stdin_cnt += i; in svlogd_main()
1160 if (stdin_cnt <= 0 && exitasap) in svlogd_main()
1164 linelen = stdin_cnt; in svlogd_main()
1213 stdin_cnt = exitasap ? -1 : buffer_pread(/*0, */lineptr, linemax); in svlogd_main()
1214 if (stdin_cnt <= 0) { /* EOF or error on stdin */ in svlogd_main()
1218 stdin_cnt = 1; in svlogd_main()
1220 linelen = stdin_cnt; in svlogd_main()
1221 np = memRchr(lineptr, '\n', stdin_cnt); in svlogd_main()
1240 stdin_cnt -= linelen; in svlogd_main()
1241 if (stdin_cnt > 0) { in svlogd_main()
1245 np = memRchr(lineptr, '\n', stdin_cnt); in svlogd_main()
1249 memmove((timestamp ? line+26 : line), lineptr, stdin_cnt); in svlogd_main()