Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c186 char line_buf[N_LINES][N_CHARS]; in print_mesg() local
209 (void) sprintf(line_buf[i], " "); in print_mesg()
211 sizes[i] = strlen(line_buf[i]); in print_mesg()
215 (void) snprintf(line_buf[i], N_CHARS, in print_mesg()
219 sizes[i] = strlen(line_buf[i]); in print_mesg()
245 (void) snprintf(line_buf[i], N_CHARS, in print_mesg()
248 sizes[i] = strlen(line_buf[i]); in print_mesg()
255 sizes[i] = strlen(line_buf[i]); in print_mesg()
259 (void) sprintf(line_buf[i], " "); in print_mesg()
261 sizes[i] = strlen(line_buf[i]); in print_mesg()
[all …]
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c838 len = strlen(line_buf); in datadm_parse_line()
852 line_buf[len - 1] = '\0'; in datadm_parse_line()
868 if (line_buf[i] != '\"') { in datadm_parse_line()
881 if (!isspace(line_buf[i])) { in datadm_parse_line()
889 line_buf[i] = '\0'; in datadm_parse_line()
897 if (isspace(line_buf[i])) { in datadm_parse_line()
900 start = &line_buf[i]; in datadm_parse_line()
1007 char line_buf[DATADM_LINESZ]; in datadm_parse_sp_conf() local
1100 char line_buf[DATADM_LINESZ]; in datadm_parse_dat_conf() local
1145 cmnt_len = strlen(line_buf); in datadm_parse_dat_conf()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c330 char line_buf[LINE_MAX]; in _InitRemoteFstypes() local
370 while (fgets(line_buf, sizeof (line_buf), fp) != NULL) { in _InitRemoteFstypes()
380 (void) sscanf(line_buf, format, buf); in _InitRemoteFstypes()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c622 char line_buf[LINE_LEN]; in dapli_process_fake_ibds() local
643 (void) fgets(line_buf, LINE_LEN, fp); in dapli_process_fake_ibds()
644 sscanf(line_buf, "%s %llx %llx", host_buf, &prefix, &guid); in dapli_process_fake_ibds()
645 (void) sprintf(line_buf, "%s-ib%d", localhost, count + 1); in dapli_process_fake_ibds()
646 if (strncmp(line_buf, host_buf, strlen(line_buf)) == 0) { in dapli_process_fake_ibds()
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.h59 struct line_buf { struct
H A Dldapaddent.c225 line_buf_expand(struct line_buf *line) in line_buf_expand()
238 line_buf_init(struct line_buf *line) in line_buf_init()
3908 fget_line_at(struct line_buf *line, int n, FILE *fp) in fget_line_at()
3942 filedbmline_comment(struct line_buf *line, FILE *etcf, int *lineno, in filedbmline_comment()
4002 filedbmline_plus(struct line_buf *line, FILE *etcf, int *lineno, in filedbmline_plus()
4095 struct line_buf line; in addfile()
/illumos-gate/usr/src/cmd/fs.d/
H A Ddf.c424 char line_buf[LINEBUF_SIZE]; in init_remote_fs() local
433 while (fgets(line_buf, sizeof (line_buf), fp) != NULL) { in init_remote_fs()
436 (void) sscanf(line_buf, "%s", buf); in init_remote_fs()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1882 char line_buf[LINEBUF_SIZE]; in init_remote_fs() local
1893 while (fgets(line_buf, sizeof (line_buf), fp) != NULL) { in init_remote_fs()
1897 (void) sscanf(line_buf, "%s", buf); in init_remote_fs()
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c1960 char *line_buf, *cp; in print_header() local
1962 line_buf = safe_malloc(line_sz); in print_header()
1963 cp = line_buf; in print_header()
1978 (void) puts(line_buf); in print_header()
1980 free(line_buf); in print_header()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c5272 unsigned char *line_buf = base_buf + scanline * y; in testvbe_func() local
5276 unsigned char *buf = line_buf + bpp * x; in testvbe_func()