Home
last modified time | relevance | path

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

/openbsd/src/libexec/talkd/
Dannounce.c91 char line_buf[N_LINES][N_CHARS]; in print_mesg() local
101 (void)snprintf(line_buf[i], N_CHARS, " "); in print_mesg()
102 sizes[i] = strlen(line_buf[i]); in print_mesg()
106 (void)snprintf(line_buf[i], N_CHARS, in print_mesg()
110 (void)snprintf(line_buf[i], N_CHARS, in print_mesg()
113 sizes[i] = strlen(line_buf[i]); in print_mesg()
117 (void)snprintf(line_buf[i], N_CHARS, in print_mesg()
120 sizes[i] = strlen(line_buf[i]); in print_mesg()
123 (void)snprintf(line_buf[i], N_CHARS, "talk: respond with: talk %s@%s", in print_mesg()
125 sizes[i] = strlen(line_buf[i]); in print_mesg()
[all …]
/openbsd/src/gnu/lib/libreadline/examples/
Dexcallback.c89 char prompt_buf[40], line_buf[256]; variable
167 strcpy(line_buf, rl_line_buffer); in change_prompt()
173 rl_insert_text(line_buf); in change_prompt()
/openbsd/src/gnu/usr.bin/binutils/gdb/tui/
Dtui-stack.c66 char line_buf[50], *pname; in tui_make_status_line() local
97 sprintf (line_buf, "%d", loc->line_no); in tui_make_status_line()
99 strcpy (line_buf, "??"); in tui_make_status_line()
100 line_width = strlen (line_buf); in tui_make_status_line()
192 -line_width, line_width, line_buf); in tui_make_status_line()
/openbsd/src/gnu/gcc/gcc/
Dprotoize.c977 static char *line_buf = 0; in unexpand_if_needed() local
982 char *copy_p = line_buf; in unexpand_if_needed()
984 if (line_buf == 0) in unexpand_if_needed()
987 line_buf = xmalloc (line_buf_size); in unexpand_if_needed()
990 copy_p = line_buf; in unexpand_if_needed()
1005 if (copy_p + size - line_buf >= line_buf_size) in unexpand_if_needed()
1007 int offset = copy_p - line_buf; in unexpand_if_needed()
1010 line_buf = xrealloc (line_buf, line_buf_size); in unexpand_if_needed()
1011 copy_p = line_buf + offset; in unexpand_if_needed()
1023 if (copy_p - line_buf == line_buf_size) in unexpand_if_needed()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dprotoize.c1048 static char *line_buf = 0; local
1053 char *copy_p = line_buf;
1055 if (line_buf == 0)
1058 line_buf = (char *) xmalloc (line_buf_size);
1061 copy_p = line_buf;
1076 if (copy_p + size - line_buf >= line_buf_size)
1078 int offset = copy_p - line_buf;
1081 line_buf = (char *) xrealloc (line_buf, line_buf_size);
1082 copy_p = line_buf + offset;
1094 if (copy_p - line_buf == line_buf_size)
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Dlibaout.h404 char *line_buf; member
Dpdp11.c2328 if (adata (abfd).line_buf != NULL) in NAME()
2329 free (adata (abfd).line_buf); in NAME()
2331 adata (abfd).line_buf = buf = NULL; in NAME()
2335 adata (abfd).line_buf = buf; in NAME()
Daoutx.h2737 if (adata (abfd).line_buf != NULL) in NAME()
2738 free (adata (abfd).line_buf); in NAME()
2741 adata (abfd).line_buf = buf = NULL; in NAME()
2745 adata (abfd).line_buf = buf; in NAME()
DChangeLog-94951656 * libaout.h (struct aoutdata): Add line_buf field.
1659 new line_buf field. Remove length restrictions.
/openbsd/src/gnu/usr.bin/binutils/bfd/
Dlibaout.h405 char *line_buf; member
Dpdp11.c2731 if (adata (abfd).line_buf != NULL)
2732 free (adata (abfd).line_buf);
2734 adata (abfd).line_buf = buf = NULL;
2738 adata (abfd).line_buf = buf;
Daoutx.h2917 if (adata (abfd).line_buf != NULL)
2918 free (adata (abfd).line_buf);
2921 adata (abfd).line_buf = buf = NULL;
2925 adata (abfd).line_buf = buf;
DChangeLog-94951656 * libaout.h (struct aoutdata): Add line_buf field.
1659 new line_buf field. Remove length restrictions.