| /netbsd-src/external/bsd/libarchive/dist/libarchive_fe/ |
| H A D | line_reader.c | 50 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() 84 lr->line_end += strcspn(lr->line_end, in lafe_line_reader_find_eol() 86 *lr->line_end = '\0'; /* Noop if line_end == buff_end */ in lafe_line_reader_find_eol() 97 while (lr->line_end < lr->buff_end) { in lafe_line_reader_next() 99 lr->line_start = ++lr->line_end; in lafe_line_reader_next() 121 lr->line_end -= lr->line_start - lr->buff; in lafe_line_reader_next() 139 lr->line_end = p + (lr->line_end - lr->buff); in lafe_line_reader_next()
|
| /netbsd-src/external/gpl3/gdb/dist/readline/readline/ |
| H A D | histfile.c | 272 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() 386 if (*line_end == '\n') in read_history_range() 388 p = line_end + 1; in read_history_range() 401 for (line_end = p; line_end < bufend && *line_end != '\n'; line_end++) 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() 409 if (*line_end == '\n') in read_history_range() 412 if (line_end > line_start && line_end[-1] == '\r') in read_history_range() 413 line_end[-1] = '\0'; in read_history_range() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/ |
| H A D | http_server.c | 421 char *key, *value, *line_end = NULL; in http_server_get_asn1_req() local 444 line_end = strchr(value, '\r'); in http_server_get_asn1_req() 445 if (line_end == NULL) { in http_server_get_asn1_req() 446 line_end = strchr(value, '\n'); in http_server_get_asn1_req() 447 if (line_end == NULL) { in http_server_get_asn1_req() 454 *line_end = '\0'; in http_server_get_asn1_req()
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | dwarf2.c | 2606 bfd_byte *line_end; in decode_line_info() local 2631 line_end = file->dwarf_line_buffer + file->dwarf_line_size; in decode_line_info() 2634 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2638 lh.total_length = read_8_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2644 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2648 if (lh.total_length > (size_t) (line_end - line_ptr)) in decode_line_info() 2654 (uint64_t) lh.total_length, (unsigned long) (line_end - line_ptr)); in decode_line_info() 2659 line_end = line_ptr + lh.total_length; in decode_line_info() 2661 lh.version = read_2_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2671 >= line_end) in decode_line_info() [all …]
|
| H A D | ecofflink.c | 361 struct shuffle *line_end; member 480 ainfo->line_end = NULL; in bfd_ecoff_debug_init() 880 if (!add_file_shuffle (ainfo, &ainfo->line, &ainfo->line_end, in bfd_ecoff_debug_accumulate() 1986 unsigned char *line_end; in lookup_line() local 2119 line_end = debug_info->line + fdr_ptr->cbLineOffset + fdr_ptr->cbLine; in lookup_line() 2125 while (line_ptr < line_end) in lookup_line()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | dwarf2.c | 2688 bfd_byte *line_end; in decode_line_info() local 2713 line_end = file->dwarf_line_buffer + file->dwarf_line_size; in decode_line_info() 2716 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2720 lh.total_length = read_8_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2726 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2730 if (lh.total_length > (size_t) (line_end - line_ptr)) in decode_line_info() 2736 (uint64_t) lh.total_length, (unsigned long) (line_end - line_ptr)); in decode_line_info() 2741 line_end = line_ptr + lh.total_length; in decode_line_info() 2743 lh.version = read_2_bytes (abfd, &line_ptr, line_end); in decode_line_info() 2753 >= line_end) in decode_line_info() [all …]
|
| H A D | ecofflink.c | 361 struct shuffle *line_end; member 480 ainfo->line_end = NULL; in bfd_ecoff_debug_init() 880 if (!add_file_shuffle (ainfo, &ainfo->line, &ainfo->line_end, in bfd_ecoff_debug_accumulate() 2046 unsigned char *line_end; in lookup_line() local 2176 line_ptr = line_end = debug_info->line; in lookup_line() 2183 line_end += fdr_ptr->cbLineOffset + fdr_ptr->cbLine; in lookup_line() 2190 while (line_ptr < line_end) in lookup_line()
|
| /netbsd-src/external/gpl2/grep/dist/lib/ |
| H A D | exclude.c | 85 struct exclude *ex, char const *filename, char line_end) in add_exclude_file() argument 121 if (p < lim ? *p == line_end : buf < p && p[-1]) in add_exclude_file()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/http/ |
| H A D | http_client.c | 530 char *buf, *key, *value, *line_end = NULL; in OSSL_HTTP_REQ_CTX_nbio() local 699 line_end = strchr(value, '\r'); in OSSL_HTTP_REQ_CTX_nbio() 700 if (line_end == NULL) in OSSL_HTTP_REQ_CTX_nbio() 701 line_end = strchr(value, '\n'); in OSSL_HTTP_REQ_CTX_nbio() 702 if (line_end != NULL) in OSSL_HTTP_REQ_CTX_nbio() 703 *line_end = '\0'; in OSSL_HTTP_REQ_CTX_nbio() 705 if (value != NULL && line_end != NULL) { in OSSL_HTTP_REQ_CTX_nbio() 729 resp_len = (size_t)strtoul(value, &line_end, 10); in OSSL_HTTP_REQ_CTX_nbio() 730 if (line_end == value || *line_end != '\0') { in OSSL_HTTP_REQ_CTX_nbio()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
| H A D | m-regex.c | 182 static const char line_end[] = "\\)$"; in Gcompile() local 191 strcpy (n + i, match_lines ? line_end : word_end); in Gcompile() 268 static const char line_end[] = ")$"; in compile() local 277 strcpy (n + i, match_lines ? line_end : word_end); in compile()
|
| /netbsd-src/external/gpl2/diffutils/dist/lib/ |
| H A D | exclude.c | 220 char line_end) in add_exclude_file() argument 261 if (p < lim ? *p == line_end : buf < p && p[-1]) in add_exclude_file()
|
| /netbsd-src/usr.bin/make/ |
| H A D | parse.c | 2363 char *line_end = line; in ParseRawLine() 2391 line_end = p; in ParseRawLine() 2392 *line_end = '\n'; in ParseRawLine() 2398 line_end = p; in ParseRawLine() 2409 commentLineEnd = line_end; in ParseRawLine() 2417 line_end = p; in ParseRawLine() 2422 *out_line_end = line_end; in ParseRawLine() 2514 char *line_end; in ReadLowLevelLine() 2521 &line, &line_end, &firstBackslash, &commentLineEnd); in ReadLowLevelLine() 2525 if (line == line_end || lin in ReadLowLevelLine() 2362 char *line_end = line; ParseRawLine() local 2513 char *line_end; ReadLowLevelLine() local [all...] |
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | diagnostic-show-locus.cc | 2967 location_t line_end = linemap_position_for_column (line_table, line_bytes); in test_layout_x_offset_display_utf8() local 2970 if (line_end > LINE_MAP_MAX_LOCATION_WITH_COLS) in test_layout_x_offset_display_utf8() 2973 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_layout_x_offset_display_utf8() 2974 ASSERT_EQ (1, LOCATION_LINE (line_end)); in test_layout_x_offset_display_utf8() 2975 ASSERT_EQ (line_bytes, LOCATION_COLUMN (line_end)); in test_layout_x_offset_display_utf8() 2982 location_compute_display_column (expand_location (line_end), in test_layout_x_offset_display_utf8() 3120 location_t line_end = linemap_position_for_column (line_table, line_bytes); in test_layout_x_offset_display_tab() local 3123 if (line_end > LINE_MAP_MAX_LOCATION_WITH_COLS) in test_layout_x_offset_display_tab() 3136 location_compute_display_column (expand_location (line_end), in test_layout_x_offset_display_tab() 3766 location_t line_end = linemap_position_for_column (line_table, 16); in test_diagnostic_show_locus_one_liner() local [all …]
|
| H A D | input.cc | 674 char *line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line() local 675 if (line_end == NULL) in get_next_line() 684 line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line() 685 if (line_end != NULL) in get_next_line() 687 next_line_start = line_end + 1; in get_next_line() 691 if (line_end == NULL) in get_next_line() 699 line_end = m_data + m_nb_read ; in get_next_line() 707 next_line_start = line_end + 1; in get_next_line() 717 gcc_assert (line_end != NULL); in get_next_line() 719 len = line_end - line_start; in get_next_line() [all …]
|
| H A D | gcov-dump.cc | 324 unsigned line_end = gcov_read_unsigned (); in tag_function() local 327 line_end, column_end); in tag_function()
|
| /netbsd-src/external/gpl2/grep/dist/src/ |
| H A D | search.c | 235 static char const line_end[] = "\\)$"; in Gcompile() local 244 strcpy (n + i, match_lines ? line_end : word_end); in Gcompile() 318 static char const line_end[] = ")$"; in Ecompile() local 327 strcpy (n + i, match_lines ? line_end : word_end); in Ecompile()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | diagnostic-show-locus.c | 2661 location_t line_end = linemap_position_for_column (line_table, line_bytes); in test_layout_x_offset_display_utf8() local 2664 if (line_end > LINE_MAP_MAX_LOCATION_WITH_COLS) in test_layout_x_offset_display_utf8() 2667 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_layout_x_offset_display_utf8() 2668 ASSERT_EQ (1, LOCATION_LINE (line_end)); in test_layout_x_offset_display_utf8() 2669 ASSERT_EQ (line_bytes, LOCATION_COLUMN (line_end)); in test_layout_x_offset_display_utf8() 2675 location_compute_display_column (expand_location (line_end))); in test_layout_x_offset_display_utf8() 3352 location_t line_end = linemap_position_for_column (line_table, 16); in test_diagnostic_show_locus_one_liner() local 3355 if (line_end > LINE_MAP_MAX_LOCATION_WITH_COLS) in test_diagnostic_show_locus_one_liner() 3358 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_diagnostic_show_locus_one_liner() 3359 ASSERT_EQ (1, LOCATION_LINE (line_end)); in test_diagnostic_show_locus_one_liner() [all …]
|
| H A D | gcov-dump.c | 317 unsigned line_end = gcov_read_unsigned (); in tag_function() local 320 line_end, column_end); in tag_function()
|
| H A D | input.c | 536 char *line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line() local 537 if (line_end == NULL) in get_next_line() 546 line_end = (char *) memchr (line_start, '\n', remaining_size); in get_next_line() 547 if (line_end != NULL) in get_next_line() 549 next_line_start = line_end + 1; in get_next_line() 553 if (line_end == NULL) in get_next_line() 561 line_end = c->data + c->nb_read ; in get_next_line() 569 next_line_start = line_end + 1; in get_next_line() 579 gcc_assert (line_end != NULL); in get_next_line() 581 len = line_end - line_start; in get_next_line() [all …]
|
| /netbsd-src/usr.bin/kdump/ |
| H A D | kdump.c | 1170 const unsigned char *line_end; in hexdump_buf() local 1202 line_end = dp + 16; in hexdump_buf() 1203 if (line_end >= datalim) { in hexdump_buf() 1204 line_end = datalim; in hexdump_buf() 1214 dp = line_end; in hexdump_buf() 1229 for (l = 0, bp = bytes, cp = chars; dp < line_end; l++) { in hexdump_buf()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-death-test.cc | 536 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local 538 if (line_end == ::std::string::npos) { in FormatDeathTestOutput() 542 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput() 543 at = line_end + 1; in FormatDeathTestOutput()
|
| /netbsd-src/usr.bin/indent/ |
| H A D | indent.c | 531 const char *dir = lab.s + 1, *line_end = lab.s + lab.len; in process_preprocessing() 532 while (dir < line_end && ch_isblank(*dir)) in process_preprocessing() 535 while (dir + dir_len < line_end && ch_isalpha(dir[dir_len])) in process_preprocessing() 529 const char *dir = lab.s + 1, *line_end = lab.s + lab.len; process_preprocessing() local
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | search.c | 931 char *line_end = line + line_len; in hilite_line() local 974 else if (searchp != line_end) in hilite_line() 979 searchp, line_end - searchp, sp, ep, nsp, 1, search_info.search_type)); in hilite_line()
|
| /netbsd-src/external/gpl3/binutils/dist/gas/ |
| H A D | dwarf2dbg.c | 2445 symbolS *line_end; in out_debug_line() local 2451 line_end = exp.X_add_symbol; in out_debug_line() 2523 symbol_set_value_now (line_end); in out_debug_line()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/ |
| H A D | dwarf2dbg.c | 2431 symbolS *line_end; in out_debug_line() local 2437 line_end = exp.X_add_symbol; in out_debug_line() 2504 symbol_set_value_now (line_end); in out_debug_line()
|