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

/haiku-fatelf/src/bin/bc/dc/
H A Dstring.c144 static char *line_buf = NULL; /* a buffer to build the string in */
145 static size_t buflen = 0; /* the current size of line_buf */
151 if (!line_buf){
154 line_buf = dc_malloc(buflen);
156 p = line_buf;
157 end = line_buf + buflen;
167 ptrdiff_t offset = p - line_buf;
172 line_buf = realloc(line_buf, buflen);
173 if (!line_buf)
143 static char *line_buf = NULL; /* a buffer to build the string in */ variable
[all...]
/haiku-fatelf/src/bin/bash/lib/readline/examples/
H A Dexcallback.c92 char prompt_buf[40], line_buf[256]; variable
170 strcpy(line_buf, rl_line_buffer);
176 rl_insert_text(line_buf);
/haiku-fatelf/src/bin/gdb/readline/examples/
H A Dexcallback.c89 char prompt_buf[40], line_buf[256]; variable
167 strcpy(line_buf, rl_line_buffer);
173 rl_insert_text(line_buf);
/haiku-fatelf/src/bin/coreutils/src/
H A Dnl.c119 static struct linebuffer line_buf;
323 /* Process a regular text line in `line_buf'. */
335 if (1 < line_buf.length || ++blank_lines == blank_join)
347 if (1 < line_buf.length)
356 switch (re_search (current_regex, line_buf.buffer, line_buf.length - 1,
357 0, line_buf.length - 1, NULL))
371 fwrite (line_buf.buffer, sizeof (char), line_buf.length, stdout);
374 /* Return the type of line in `line_buf'
118 static struct linebuffer line_buf; variable in typeref:struct:linebuffer
[all...]
H A Dcat.c61 static char line_buf[LINE_COUNTER_BUF_LEN] = variable
68 /* Position in `line_buf' where printing starts. This will not change
70 static char *line_num_print = line_buf + LINE_COUNTER_BUF_LEN - 8;
72 /* Position of the first digit in `line_buf'. */
73 static char *line_num_start = line_buf + LINE_COUNTER_BUF_LEN - 3;
75 /* Position of the last digit in `line_buf'. */
76 static char *line_num_end = line_buf + LINE_COUNTER_BUF_LEN - 3;
140 if (line_num_start > line_buf)
143 *line_buf = '>';
/haiku-fatelf/src/bin/gdb/gdb/tui/
H A Dtui-stack.c67 char line_buf[50], *pname;
98 sprintf (line_buf, "%d", loc->line_no);
100 strcpy (line_buf, "??");
101 line_width = strlen (line_buf);
193 -line_width, line_width, line_buf);
66 char line_buf[50], *pname; local
/haiku-fatelf/src/bin/diffutils/src/
H A Dcmp.c463 char line_buf[INT_BUFSIZE_BOUND (off_t)];
465 char const *line_num = offtostr (line_number, line_buf);
459 char line_buf[INT_BUFSIZE_BOUND (off_t)]; local
/haiku-fatelf/src/bin/gdb/bfd/
H A Dlibaout.h408 char *line_buf;
406 char *line_buf; member in struct:aoutdata
H A Dpdp11.c2728 if (adata (abfd).line_buf != NULL)
2729 free (adata (abfd).line_buf);
2731 adata (abfd).line_buf = buf = NULL;
2735 adata (abfd).line_buf = buf;
H A Daoutx.h2923 if (adata (abfd).line_buf != NULL)
2924 free (adata (abfd).line_buf);
2927 adata (abfd).line_buf = buf = NULL;
2931 adata (abfd).line_buf = buf;

Completed in 203 milliseconds