Home
last modified time | relevance | path

Searched refs:line_start (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/external/bsd/libarchive/dist/libarchive_fe/
H A Dline_reader.c50 char *buff, *buff_end, *line_start, *line_end; member
75 lr->line_start = lr->line_end = lr->buff_end = lr->buff = NULL; in lafe_line_reader()
93 char *line_start, *p; in lafe_line_reader_next() local
98 line_start = lr->line_start; in lafe_line_reader_next()
99 lr->line_start = ++lr->line_end; in lafe_line_reader_next()
102 if (lr->nullSeparator || line_start[0] != '\0') in lafe_line_reader_next()
103 return (line_start); in lafe_line_reader_next()
108 if (lr->line_start == lr->buff_end) in lafe_line_reader_next()
110 line_start = lr->line_start; in lafe_line_reader_next()
111 lr->line_start = lr->buff_end; in lafe_line_reader_next()
[all …]
/netbsd-src/external/gpl2/texinfo/dist/info/
H A Dmakedoc.c354 long line_start = 0; in process_one_file() local
367 line_start = offset + 1; in process_one_file()
387 line_start = point + 1; in process_one_file()
402 line_start = point + 1; in process_one_file()
419 tag_name = (char *)xmalloc (1 + (offset - line_start)); in process_one_file()
420 strncpy (tag_name, buffer + line_start, offset - line_start); in process_one_file()
421 tag_name[offset - line_start] = '\0'; in process_one_file()
464 line_start = point + 1; in process_one_file()
480 line_start = offset + 1; in process_one_file()
H A Dwindow.c931 char *line_start; in window_adjust_pagetop() local
933 line_start = window->line_starts[line]; in window_adjust_pagetop()
935 if ((line_start - contents) > window->point) in window_adjust_pagetop()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dhistfile.c272 register char *line_start, *line_end, *p; in read_history_range() local
385 for (line_start = line_end = buffer; line_end < bufend && current_line < from; line_end++) in read_history_range()
395 line_start = p; in read_history_range()
403 line_start = (*line_end == '\n') ? line_end + 1 : line_end; in read_history_range()
408 for (line_end = line_start; line_end < bufend; line_end++) in read_history_range()
412 if (line_end > line_start && line_end[-1] == '\r') in read_history_range()
417 if (*line_start) in read_history_range()
419 if (HIST_TIMESTAMP_START(line_start) == 0) in read_history_range()
422 _hs_append_history_line (history_length - 1, line_start); in read_history_range()
424 add_history (line_start); in read_history_range()
[all …]
/netbsd-src/sys/arch/arm/marvell/
H A Darmadaxp.c975 paddr_t line_start = pa & ~ARMADAXP_L2_ALIGN; in armadaxp_sdcache_wbalign_base() local
982 return line_start; /* request is aligned to cache line size */ in armadaxp_sdcache_wbalign_base()
989 L2_WRITE(ARMADAXP_L2_INV_PHYS, line_start); in armadaxp_sdcache_wbalign_base()
993 L2_WRITE(ARMADAXP_L2_WB_PHYS, line_start); in armadaxp_sdcache_wbalign_base()
997 return line_start; in armadaxp_sdcache_wbalign_base()
1003 paddr_t line_start = (pa + sz - 1) & ~ARMADAXP_L2_ALIGN; in armadaxp_sdcache_wbalign_end() local
1011 return line_start; /* request is aligned to cache line size */ in armadaxp_sdcache_wbalign_end()
1018 L2_WRITE(ARMADAXP_L2_INV_PHYS, line_start); in armadaxp_sdcache_wbalign_end()
1022 L2_WRITE(ARMADAXP_L2_WB_PHYS, line_start); in armadaxp_sdcache_wbalign_end()
1025 return line_start; in armadaxp_sdcache_wbalign_end()
/netbsd-src/external/bsd/atf/dist/tools/
H A Dio.cpp296 size_t line_start = 0; in read_one() local
302 line_start = i + 1; in read_one()
309 accum.append(&buffer[line_start]); in read_one()
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dmacro.c100 size_t line_start, more; in buffer_and_nest() local
126 line_start = ptr->len; in buffer_and_nest()
131 size_t i = line_start; in buffer_and_nest()
168 i = line_start; in buffer_and_nest()
172 line_start = i; in buffer_and_nest()
222 ptr->len = line_start; in buffer_and_nest()
237 line_start = ptr->len; in buffer_and_nest()
245 line_start = ptr->len; in buffer_and_nest()
H A Dread.c966 char *line_start; in read_a_source_file() local
971 nul_char = get_symbol_name (& line_start); in read_a_source_file()
990 equals (line_start, in read_a_source_file()
1009 line_label = colon (line_start); in read_a_source_file()
1011 line_label = symbol_create (line_start, in read_a_source_file()
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Dmacro.c118 size_t line_start = ptr->len; in buffer_and_nest() local
150 size_t i = line_start; in buffer_and_nest()
187 i = line_start; in buffer_and_nest()
191 line_start = i; in buffer_and_nest()
241 ptr->len = line_start; in buffer_and_nest()
265 ptr->len = line_start; in buffer_and_nest()
271 line_start = ptr->len; in buffer_and_nest()
H A Dread.c942 char *line_start; in read_a_source_file() local
947 nul_char = get_symbol_name (& line_start); in read_a_source_file()
966 equals (line_start, in read_a_source_file()
985 line_label = colon (line_start); in read_a_source_file()
987 line_label = symbol_create (line_start, in read_a_source_file()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgcov-dump.c315 unsigned line_start = gcov_read_unsigned (); in tag_function() local
319 printf (":%u:%u-%u:%u", line_start, column_start, in tag_function()
H A Dsel-sched-dump.h204 extern void line_start (void);
H A Dinput.c532 char *line_start = c->data + c->line_start_idx; in get_next_line() local
536 char *line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line()
544 line_start = c->data + c->line_start_idx; in get_next_line()
546 line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line()
581 len = line_end - line_start; in get_next_line()
584 *line = line_start; in get_next_line()
H A Dedit-context.c1156 location_t line_start = linemap_position_for_column (line_table, 1); in test_applying_fixits_insert_containing_newline() local
1157 richloc.add_fixit_insert_before (line_start, " break;\n"); in test_applying_fixits_insert_containing_newline()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgcov-dump.cc322 unsigned line_start = gcov_read_unsigned (); in tag_function() local
326 printf (":%u:%u-%u:%u", line_start, column_start, in tag_function()
H A Dsel-sched-dump.h204 extern void line_start (void);
H A Dinput.cc670 char *line_start = m_data + m_line_start_idx; in get_next_line() local
674 char *line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line()
682 line_start = m_data + m_line_start_idx; in get_next_line()
684 line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line()
719 len = line_end - line_start; in get_next_line()
722 *line = line_start; in get_next_line()
H A Dedit-context.cc1162 location_t line_start = linemap_position_for_column (line_table, 1); in test_applying_fixits_insert_containing_newline() local
1163 richloc.add_fixit_insert_before (line_start, " break;\n"); in test_applying_fixits_insert_containing_newline()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-tic54x.h74 tic54x_start_label (line_start, NUL_CHAR, NEXT_CHAR)
H A Dtc-z80.c640 char c, *rest, *line_start; in z80_start_line_hook() local
643 line_start = input_line_pointer; in z80_start_line_hook()
672 if (line_start[-1] == '\n') in z80_start_line_hook()
696 input_line_pointer = line_start; in z80_start_line_hook()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-tic54x.h74 tic54x_start_label (line_start, NUL_CHAR, NEXT_CHAR)
H A Dtc-z80.c640 char c, *rest, *line_start; in z80_start_line_hook() local
643 line_start = input_line_pointer; in z80_start_line_hook()
672 if (line_start[-1] == '\n') in z80_start_line_hook()
696 input_line_pointer = line_start; in z80_start_line_hook()
/netbsd-src/usr.sbin/inetd/
H A Dparse_v2.c338 size_t line_start = line_number; in skip_whitespace() local
350 line_start); in skip_whitespace()
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dlex.cc4950 const unsigned char *line_start = base; in cpp_directive_only_process() local
4978 line_start = pos; in cpp_directive_only_process()
5014 buffer->line_base -= pos - line_start; in cpp_directive_only_process()
5016 _cpp_handle_directive (pfile, line_start + 1 != pos); in cpp_directive_only_process()
5045 pos - line_start); in cpp_directive_only_process()
5065 line_start = pos; in cpp_directive_only_process()
5238 pos - line_start); in cpp_directive_only_process()
5294 line_start = pos; in cpp_directive_only_process()
5341 while (pos > line_start in cpp_directive_only_process()
/netbsd-src/external/gpl2/groff/dist/src/devices/grohtml/
H A Dpost-html.cpp3385 int line_start = TRUE; in remove_courier_tabs() local
3391 line_start = TRUE; in remove_courier_tabs()
3397 if (line_start) { in remove_courier_tabs()
3398 if (line_start && nf && is_courier_until_eol()) { in remove_courier_tabs()
3405 line_start = g->is_br() || (nf && g->is_eol()); in remove_courier_tabs()
3771 int line_start = FALSE; in is_line_start() local
3785 line_start = g->is_col() || g->is_br() || (nf && g->is_eol()); in is_line_start()
3786 } while ((!line_start) && (result)); in is_line_start()

12