Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c189 char line_buf[N_LINES][N_CHARS]; in print_mesg() local
212 (void) sprintf(line_buf[i], " "); in print_mesg()
214 sizes[i] = strlen(line_buf[i]); in print_mesg()
218 (void) snprintf(line_buf[i], N_CHARS, in print_mesg()
222 sizes[i] = strlen(line_buf[i]); in print_mesg()
248 (void) snprintf(line_buf[i], N_CHARS, in print_mesg()
251 sizes[i] = strlen(line_buf[i]); in print_mesg()
255 (void) snprintf(line_buf[i], N_CHARS, "talk: respond with: talk %s@%s", in print_mesg()
258 sizes[i] = strlen(line_buf[i]); in print_mesg()
262 (void) sprintf(line_buf[i], " "); in print_mesg()
[all …]
/titanic_41/usr/src/cmd/datadm/
H A Ddatadm.c831 datadm_parse_line(char *line_buf, char *tokens[], int *token_count) in datadm_parse_line() argument
838 len = strlen(line_buf); in datadm_parse_line()
839 if (line_buf[len - 1] != '\n') { in datadm_parse_line()
847 if (len >= 2 && line_buf[0] == '#') { 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()
[all …]
/titanic_41/usr/src/lib/libpkg/common/
H A Disdir.c329 char line_buf[LINE_MAX]; in _InitRemoteFstypes() local
371 while (fgets(line_buf, sizeof (line_buf), fp) != NULL) { in _InitRemoteFstypes()
381 (void) sscanf(line_buf, format, buf); in _InitRemoteFstypes()
/titanic_41/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c621 char line_buf[LINE_LEN]; in dapli_process_fake_ibds() local
642 (void) fgets(line_buf, LINE_LEN, fp); in dapli_process_fake_ibds()
643 sscanf(line_buf, "%s %llx %llx", host_buf, &prefix, &guid); in dapli_process_fake_ibds()
644 (void) sprintf(line_buf, "%s-ib%d", localhost, count + 1); in dapli_process_fake_ibds()
645 if (strncmp(line_buf, host_buf, strlen(line_buf)) == 0) { in dapli_process_fake_ibds()
/titanic_41/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()
3906 fget_line_at(struct line_buf *line, int n, FILE *fp) in fget_line_at()
3940 filedbmline_comment(struct line_buf *line, FILE *etcf, int *lineno, in filedbmline_comment()
4000 filedbmline_plus(struct line_buf *line, FILE *etcf, int *lineno, in filedbmline_plus()
4093 struct line_buf line; in addfile()
/titanic_41/usr/src/cmd/fs.d/
H A Ddf.c418 char line_buf[LINEBUF_SIZE]; in init_remote_fs() local
427 while (fgets(line_buf, sizeof (line_buf), fp) != NULL) { in init_remote_fs()
430 (void) sscanf(line_buf, "%s", buf); in init_remote_fs()
/titanic_41/usr/src/cmd/find/
H A Dfind.c1871 char line_buf[LINEBUF_SIZE]; in init_remote_fs() local
1882 while (fgets(line_buf, sizeof (line_buf), fp) != NULL) { in init_remote_fs()
1886 (void) sscanf(line_buf, "%s", buf); in init_remote_fs()
/titanic_41/usr/src/cmd/svc/svcs/
H A Dsvcs.c1969 char *line_buf, *cp; in print_header() local
1971 line_buf = safe_malloc(line_sz); in print_header()
1972 cp = line_buf; in print_header()
1987 (void) puts(line_buf); in print_header()
1989 free(line_buf); in print_header()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c5213 unsigned char *line_buf = base_buf + scanline * y; in testvbe_func() local
5217 unsigned char *buf = line_buf + bpp * x; in testvbe_func()