Home
last modified time | relevance | path

Searched refs:line_buf (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/libexec/talkd/
H A Dannounce.c100 char line_buf[N_LINES][N_CHARS]; in print_mesg() local
111 (void)snprintf(line_buf[i], N_CHARS, " "); in print_mesg()
112 sizes[i] = strlen(line_buf[i]); in print_mesg()
115 (void)snprintf(line_buf[i], N_CHARS, in print_mesg()
120 sizes[i] = strlen(line_buf[i]); in print_mesg()
126 (void)snprintf(line_buf[i], N_CHARS, in print_mesg()
128 sizes[i] = strlen(line_buf[i]); in print_mesg()
133 sizes[i] = strlen(line_buf[i]); in print_mesg()
136 (void)snprintf(line_buf[i], N_CHARS, " "); in print_mesg()
137 sizes[i] = strlen(line_buf[i]); in print_mesg()
[all …]
/freebsd-13.1/usr.sbin/config/
H A Dmain.c321 if (line_buf == NULL) { in init_line_buf()
323 if (line_buf == NULL) { in init_line_buf()
327 sbuf_clear(line_buf); in init_line_buf()
334 if (sbuf_finish(line_buf) != 0) { in get_line_buf()
338 return sbuf_data(line_buf); in get_line_buf()
372 sbuf_putc(line_buf, ch); in get_word()
380 sbuf_putc(line_buf, ch); in get_word()
435 sbuf_putc(line_buf, '\\'); in get_quoted_word()
436 sbuf_putc(line_buf, ch); in get_quoted_word()
440 sbuf_putc(line_buf, ch); in get_quoted_word()
[all …]
/freebsd-13.1/contrib/ntp/libntp/
H A Dntp_lineedit.c166 char line_buf[MAXEDITLINE]; in ntp_readline() local
215 line = fgets(line_buf, sizeof(line_buf), stdin); in ntp_readline()
/freebsd-13.1/sys/netinet/tcp_stacks/
H A Dsack_filter.c635 char line_buf[10][256]; in main() local
679 sprintf(line_buf[line_buf_at], "%s", buffer); in main()
692 fprintf(out, "%s", line_buf[ii]); in main()
714 memset(line_buf, 0, sizeof(line_buf)); in main()
/freebsd-13.1/contrib/bc/src/
H A Dvm.c928 bc_vec_empty(&vm.line_buf);
936 s = bc_read_line(&vm.line_buf, ">>> ");
938 } while (!(s) && !vm.eof && vm.line_buf.len < 1);
940 good = (vm.line_buf.len > 1);
943 if (good) bc_vec_concat(&vm.buffer, vm.line_buf.v);
968 bc_vec_init(&vm.line_buf, sizeof(uchar), BC_DTOR_NONE);
1030 bc_vec_free(&vm.line_buf);
/freebsd-13.1/sys/dev/smartpqi/
H A Dsmartpqi_request.c529 char line_buf[LINE_BUF_LEN]; in pqisrc_print_buffer() local
541 line_len += snprintf(line_buf + line_len, (LINE_BUF_LEN - line_len), "%02d ", ii); in pqisrc_print_buffer()
545 DBG_NOTE("%15.15s:[ %s ]\n", "header", line_buf); in pqisrc_print_buffer()
551 memset(line_buf, 0, LINE_BUF_LEN); in pqisrc_print_buffer()
556 line_len += snprintf(line_buf + line_len, (LINE_BUF_LEN - line_len), "%02x ", this_char); in pqisrc_print_buffer()
562 DBG_NOTE("%15.15s:[ %s ]\n", msg, line_buf); in pqisrc_print_buffer()
/freebsd-13.1/contrib/diff/src/
H A Dcmp.c463 char line_buf[INT_BUFSIZE_BOUND (off_t)]; in cmp() local
465 char const *line_num = offtostr (line_number, line_buf); in cmp()
/freebsd-13.1/contrib/bc/include/
H A Dvm.h387 BcVec line_buf; member
/freebsd-13.1/contrib/ofed/opensm/opensm/
H A Dosm_torus.c1026 char *line_buf = NULL; in parse_config() local
1050 llen = getline(&line_buf, &line_buf_sz, fp); in parse_config()
1056 keyword = strtok(line_buf, parse_sep); in parse_config()
1127 if (line_buf) in parse_config()
1128 free(line_buf); in parse_config()