Home
last modified time | relevance | path

Searched refs:line_buffer (Results 1 – 24 of 24) sorted by relevance

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Ddict_thash.c74 VSTRING *line_buffer = 0; /* DICT_THASH_OPEN_RETURN() */ in dict_thash_open() local
87 if (line_buffer != 0) \ in dict_thash_open()
88 vstring_free(line_buffer); \ in dict_thash_open()
121 if (line_buffer == 0) in dict_thash_open()
122 line_buffer = vstring_alloc(100); in dict_thash_open()
124 while (readllines(line_buffer, fp, &last_line, &lineno)) { in dict_thash_open()
131 && allascii(STR(line_buffer)) == 0 in dict_thash_open()
132 && valid_utf8_string(STR(line_buffer), LEN(line_buffer)) == 0) { in dict_thash_open()
135 VSTREAM_PATH(fp), lineno, STR(line_buffer)); in dict_thash_open()
143 for (value = STR(line_buffer); *value; value++) { in dict_thash_open()
[all …]
H A Ddict_cidr.c259 VSTRING *line_buffer = 0; in dict_cidr_open() local
276 if (line_buffer != 0) \ in dict_cidr_open()
277 vstring_free(line_buffer); \ in dict_cidr_open()
300 line_buffer = vstring_alloc(100); in dict_cidr_open()
317 while (readllines(line_buffer, map_fp, &last_line, &lineno)) { in dict_cidr_open()
319 vstring_str(line_buffer), lineno, in dict_cidr_open()
H A Ddict_regexp.c756 VSTRING *line_buffer = 0; in dict_regexp_open() local
772 if (line_buffer != 0) \ in dict_regexp_open()
773 vstring_free(line_buffer); \ in dict_regexp_open()
798 line_buffer = vstring_alloc(100); in dict_regexp_open()
816 while (readllines(line_buffer, map_fp, &last_line, &lineno)) { in dict_regexp_open()
817 p = vstring_str(line_buffer); in dict_regexp_open()
H A Ddict_pcre.c1008 VSTRING *line_buffer = 0; in dict_pcre_open() local
1025 if (line_buffer != 0) \ in dict_pcre_open()
1026 vstring_free(line_buffer); \ in dict_pcre_open()
1049 line_buffer = vstring_alloc(100); in dict_pcre_open()
1074 while (readllines(line_buffer, map_fp, &last_line, &lineno)) { in dict_pcre_open()
1075 p = vstring_str(line_buffer); in dict_pcre_open()
/netbsd-src/external/gpl2/texinfo/dist/info/
H A Dnodemenu.c54 static char *line_buffer = (char *)NULL; in format_node_info() local
56 if (!line_buffer) in format_node_info()
57 line_buffer = (char *)xmalloc (1000); in format_node_info()
71 sprintf (line_buffer, "* %s::", node->nodename); in format_node_info()
87 sprintf (line_buffer, "* (%s)%s::", file, node->nodename); in format_node_info()
90 len = pad_to (36, line_buffer); in format_node_info()
99 sprintf (line_buffer + len, "%d", lines); in format_node_info()
102 len = pad_to (44, line_buffer); in format_node_info()
103 sprintf (line_buffer + len, "%ld", node->nodelen); in format_node_info()
107 len = pad_to (51, line_buffer); in format_node_info()
[all …]
H A Dindices.c652 char *line_buffer; variable
658 line_buffer = (char *)xmalloc (500);
666 sprintf (line_buffer, "* %s [%s]: ",
668 len = pad_to (40, line_buffer);
669 sprintf (line_buffer + len, "(%s)%s.",
671 printf_to_message_buffer ("%s\n", line_buffer, NULL, NULL);
673 free (line_buffer);
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Dfold_addr.c111 VSTRING *line_buffer = vstring_alloc(1); in main() local
118 while (vstring_fgets_nonl(line_buffer, VSTREAM_IN)) { in main()
119 vstream_printf("> %s\n", STR(line_buffer)); in main()
120 cmd = argv_split(STR(line_buffer), CHARS_SPACE); in main()
169 vstring_free(line_buffer); in main()
/netbsd-src/external/ibm-public/postfix/dist/src/postmap/
H A Dpostmap.c397 VSTRING *line_buffer; in postmap() local
409 line_buffer = vstring_alloc(100); in postmap()
486 while (readllines(line_buffer, source_fp, &last_line, &lineno)) { in postmap()
493 && !allascii(STR(line_buffer)) in postmap()
494 && !valid_utf8_string(STR(line_buffer), LEN(line_buffer))) { in postmap()
497 VSTREAM_PATH(source_fp), lineno, STR(line_buffer)); in postmap()
505 for (value = STR(line_buffer); *value; value++) { in postmap()
519 VSTREAM_PATH(source_fp), lineno, STR(line_buffer)); in postmap()
534 key = STR(line_buffer); in postmap()
587 vstring_free(line_buffer); in postmap()
/netbsd-src/external/ibm-public/postfix/dist/src/postalias/
H A Dpostalias.c298 VSTRING *line_buffer; in postalias() local
314 line_buffer = vstring_alloc(100); in postalias()
391 while (readllines(line_buffer, source_fp, &last_line, &lineno)) { in postalias()
397 && !allascii(STR(line_buffer)) in postalias()
398 && !valid_utf8_string(STR(line_buffer), LEN(line_buffer))) { in postalias()
401 VSTREAM_PATH(source_fp), lineno, STR(line_buffer)); in postalias()
410 if ((tok_list = tok822_scan(STR(line_buffer), (TOK822 **) 0)) == 0) in postalias()
511 vstring_free(line_buffer); in postalias()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dobjdump.c2577 char *line_buffer, in jump_info_visualize_address() argument
2584 memset (line_buffer, ' ', len); in jump_info_visualize_address()
2617 if (line_buffer[i] == ' ') in jump_info_visualize_address()
2619 line_buffer[i] = '-'; in jump_info_visualize_address()
2623 if (line_buffer[i] == ' ') in jump_info_visualize_address()
2625 line_buffer[i] = '-'; in jump_info_visualize_address()
2628 else if (line_buffer[i] == '>') in jump_info_visualize_address()
2630 line_buffer[i] = 'X'; in jump_info_visualize_address()
2634 if (line_buffer[offset] == ' ') in jump_info_visualize_address()
2637 line_buffer[offset] = in jump_info_visualize_address()
[all …]
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dobjdump.c2827 char *line_buffer, in jump_info_visualize_address() argument
2834 memset (line_buffer, ' ', len); in jump_info_visualize_address()
2867 if (line_buffer[i] == ' ') in jump_info_visualize_address()
2869 line_buffer[i] = '-'; in jump_info_visualize_address()
2873 if (line_buffer[i] == ' ') in jump_info_visualize_address()
2875 line_buffer[i] = '-'; in jump_info_visualize_address()
2878 else if (line_buffer[i] == '>') in jump_info_visualize_address()
2880 line_buffer[i] = 'X'; in jump_info_visualize_address()
2884 if (line_buffer[offset] == ' ') in jump_info_visualize_address()
2887 line_buffer[offset] = in jump_info_visualize_address()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dlist_read.c155 if (dtp->u.p.line_buffer == NULL) in free_line()
158 free (dtp->u.p.line_buffer); in free_line()
159 dtp->u.p.line_buffer = NULL; in free_line()
187 c = dtp->u.p.line_buffer[dtp->u.p.line_buffer_pos]; in check_buffers()
190 dtp->u.p.line_buffer[dtp->u.p.line_buffer_pos] = '\0'; in check_buffers()
796 if (dtp->u.p.line_buffer == NULL) in l_push_char()
797 dtp->u.p.line_buffer = xcalloc (SCRATCH_SIZE, 1); in l_push_char()
799 dtp->u.p.line_buffer[dtp->u.p.line_buffer_pos++] = c; in l_push_char()
H A Dio.h562 char *line_buffer; member
/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/
H A Dlist_read.c154 if (dtp->u.p.line_buffer == NULL) in free_line()
157 free (dtp->u.p.line_buffer); in free_line()
158 dtp->u.p.line_buffer = NULL; in free_line()
186 c = dtp->u.p.line_buffer[dtp->u.p.line_buffer_pos]; in check_buffers()
189 dtp->u.p.line_buffer[dtp->u.p.line_buffer_pos] = '\0'; in check_buffers()
795 if (dtp->u.p.line_buffer == NULL) in l_push_char()
796 dtp->u.p.line_buffer = xcalloc (SCRATCH_SIZE, 1); in l_push_char()
798 dtp->u.p.line_buffer[dtp->u.p.line_buffer_pos++] = c; in l_push_char()
H A Dio.h566 char *line_buffer; member
/netbsd-src/external/gpl3/gcc/dist/libgfortran/
H A DChangeLog-20061112 * io/list_read.c (read_logical): Free line_buffer and free saved.
1464 * io/io.h: Add flag for reading from line_buffer.
1467 (free_line): New function to free line_buffer memory.
1468 (next_char): Added feature to read from line_buffer.
H A DChangeLog-2014767 line_buffer_pos for line_buffer look ahead.
H A DChangeLog-20092343 usage of u.p.line_buffer.
2349 (formatted_transfer_scalar): Don't use u.p.line_buffer, use
H A DChangeLog-2007245 * io/list_read.c (read_character): Use line_buffer to scan ahead for
H A DChangeLog-20081848 reset the index into line_buffer, aka item_count.
H A DChangeLog-2005399 skips, pending_spaces, scratch, line_buffer, advance_status,
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-20147206 * completer.c (complete_line): Make "line_buffer" const.
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-20147206 * completer.c (complete_line): Make "line_buffer" const.
/netbsd-src/external/gpl3/binutils/dist/
H A DChangeLog.git105097 Free ui::line_buffer
105098 A ui initializes its line_buffer, but never calls buffer_free on it.