Searched refs:line_end (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/libarchive/libarchive_fe/ |
| H A D | line_reader.c | 52 char *buff, *buff_end, *line_start, *line_end; member 77 lr->line_start = lr->line_end = lr->buff_end = lr->buff = NULL; in lafe_line_reader() 86 lr->line_end += strcspn(lr->line_end, in lafe_line_reader_find_eol() 88 *lr->line_end = '\0'; /* Noop if line_end == buff_end */ in lafe_line_reader_find_eol() 99 while (lr->line_end < lr->buff_end) { in lafe_line_reader_next() 101 lr->line_start = ++lr->line_end; in lafe_line_reader_next() 123 lr->line_end -= lr->line_start - lr->buff; in lafe_line_reader_next() 141 lr->line_end = p + (lr->line_end - lr->buff); in lafe_line_reader_next()
|
| /freebsd-13.1/contrib/diff/lib/ |
| H A D | exclude.c | 204 char line_end) in add_exclude_file() argument 236 buf[buf_count] = line_end; in add_exclude_file() 237 lim = buf + buf_count + ! (buf_count == 0 || buf[buf_count - 1] == line_end); in add_exclude_file() 241 if (*p == line_end) in add_exclude_file() 245 if (is_space (line_end)) in add_exclude_file()
|
| /freebsd-13.1/contrib/wpa/src/eap_server/ |
| H A D | tncs.c | 1018 char *config, *end, *pos, *line_end; in tncs_read_config() local 1033 for (pos = config; pos < end; pos = line_end + 1) { in tncs_read_config() 1034 line_end = pos; in tncs_read_config() 1035 while (*line_end != '\n' && *line_end != '\r' && in tncs_read_config() 1036 line_end < end) in tncs_read_config() 1037 line_end++; in tncs_read_config() 1038 *line_end = '\0'; in tncs_read_config() 1043 imv = tncs_parse_imv(id++, pos + 4, line_end, &error); in tncs_read_config()
|
| /freebsd-13.1/contrib/wpa/src/eap_peer/ |
| H A D | tncc.c | 1070 char *config, *end, *pos, *line_end; in tncc_read_config() local 1084 for (pos = config; pos < end; pos = line_end + 1) { in tncc_read_config() 1085 line_end = pos; in tncc_read_config() 1086 while (*line_end != '\n' && *line_end != '\r' && in tncc_read_config() 1087 line_end < end) in tncc_read_config() 1088 line_end++; in tncc_read_config() 1089 *line_end = '\0'; in tncc_read_config() 1094 imc = tncc_parse_imc(pos + 4, line_end, &error); in tncc_read_config()
|
| /freebsd-13.1/contrib/bmake/ |
| H A D | parse.c | 2330 char *line_end = line; in ParseRawLine() local 2358 line_end = p; in ParseRawLine() 2359 *line_end = '\n'; in ParseRawLine() 2365 line_end = p; in ParseRawLine() 2376 commentLineEnd = line_end; in ParseRawLine() 2384 line_end = p; in ParseRawLine() 2389 *out_line_end = line_end; in ParseRawLine() 2481 char *line_end; in ReadLowLevelLine() local 2492 if (line == line_end || line == commentLineEnd) { in ReadLowLevelLine() 2500 assert(ch_isspace(*line_end)); in ReadLowLevelLine() [all …]
|
| /freebsd-13.1/usr.bin/dtc/ |
| H A D | input_buffer.cc | 1059 int line_end = loc; in parse_error() local 1079 line_end = i; in parse_error() 1084 fwrite(&b.buffer[line_start], line_end-line_start, 1, stderr); in parse_error()
|
| /freebsd-13.1/contrib/googletest/googletest/src/ |
| H A D | gtest-death-test.cc | 523 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local 525 if (line_end == ::std::string::npos) { in FormatDeathTestOutput() 529 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput() 530 at = line_end + 1; in FormatDeathTestOutput()
|
| /freebsd-13.1/contrib/less/ |
| H A D | search.c | 1003 char *line_end = line + line_len; local 1027 else if (searchp != line_end) 1032 searchp, line_end - searchp, &sp, &ep, 1, search_info.search_type));
|