Searched refs:line_end (Results 1 - 11 of 11) sorted by relevance

/freebsd-current/contrib/libdiff/lib/
H A Ddiff_atomize_text.c59 off_t line_end = pos; local
66 while (eol == 0 && line_end < end) {
79 line_end++;
88 if (line_end < end)
89 line_end++;
91 if (line_end < end && eol == '\r') {
92 if (fseeko(d->root->f, line_end, SEEK_SET) == -1)
98 line_end++;
110 .len = line_end - pos,
115 pos = line_end;
164 const uint8_t *line_start = pos, *line_end = pos; local
[all...]
/freebsd-current/contrib/libarchive/libarchive_fe/
H A Dline_reader.c50 char *buff, *buff_end, *line_start, *line_end; member in struct:lafe_line_reader
75 lr->line_start = lr->line_end = lr->buff_end = lr->buff = NULL;
84 lr->line_end += strcspn(lr->line_end,
86 *lr->line_end = '\0'; /* Noop if line_end == buff_end */
97 while (lr->line_end < lr->buff_end) {
99 lr->line_start = ++lr->line_end;
121 lr->line_end -= lr->line_start - lr->buff;
139 lr->line_end
[all...]
/freebsd-current/contrib/diff/lib/
H A Dexclude.c204 char line_end)
236 buf[buf_count] = line_end;
237 lim = buf + buf_count + ! (buf_count == 0 || buf[buf_count - 1] == line_end);
241 if (*p == line_end)
245 if (is_space (line_end))
202 add_exclude_file(void (*add_func) (struct exclude *, char const *, int), struct exclude *ex, char const *filename, int options, char line_end) argument
/freebsd-current/crypto/openssl/apps/lib/
H A Dhttp_server.c421 char *key, *value, *line_end = NULL; local
444 line_end = strchr(value, '\r');
445 if (line_end == NULL) {
446 line_end = strchr(value, '\n');
447 if (line_end == NULL) {
454 *line_end = '\0';
/freebsd-current/contrib/wpa/src/eap_server/
H A Dtncs.c1018 char *config, *end, *pos, *line_end; local
1033 for (pos = config; pos < end; pos = line_end + 1) {
1034 line_end = pos;
1035 while (*line_end != '\n' && *line_end != '\r' &&
1036 line_end < end)
1037 line_end++;
1038 *line_end = '\0';
1043 imv = tncs_parse_imv(id++, pos + 4, line_end, &error);
/freebsd-current/contrib/wpa/src/eap_peer/
H A Dtncc.c1070 char *config, *end, *pos, *line_end; local
1084 for (pos = config; pos < end; pos = line_end + 1) {
1085 line_end = pos;
1086 while (*line_end != '\n' && *line_end != '\r' &&
1087 line_end < end)
1088 line_end++;
1089 *line_end = '\0';
1094 imc = tncc_parse_imc(pos + 4, line_end, &error);
/freebsd-current/crypto/openssl/crypto/http/
H A Dhttp_client.c530 char *buf, *key, *value, *line_end = NULL; local
699 line_end = strchr(value, '\r');
700 if (line_end == NULL)
701 line_end = strchr(value, '\n');
702 if (line_end != NULL)
703 *line_end = '\0';
705 if (value != NULL && line_end != NULL) {
729 resp_len = (size_t)strtoul(value, &line_end, 10);
730 if (line_end == value || *line_end !
[all...]
/freebsd-current/contrib/bmake/
H A Dparse.c2370 char *line_end = line; local
2398 line_end = p;
2399 *line_end = '\n';
2405 line_end = p;
2416 commentLineEnd = line_end;
2424 line_end = p;
2429 *out_line_end = line_end;
2521 char *line_end; local
2528 &line, &line_end, &firstBackslash, &commentLineEnd);
2532 if (line == line_end || lin
[all...]
/freebsd-current/usr.bin/dtc/
H A Dinput_buffer.cc1060 int line_end = loc; local
1080 line_end = i;
1085 fwrite(&b.buffer[line_start], line_end-line_start, 1, stderr);
/freebsd-current/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc541 const size_t line_end = output.find('\n', at); local
543 if (line_end == ::std::string::npos) {
547 ret += output.substr(at, line_end + 1 - at);
548 at = line_end + 1;
/freebsd-current/contrib/less/
H A Dsearch.c929 char *line_end = line + line_len; local
972 else if (searchp != line_end)
977 searchp, line_end - searchp, sp, ep, nsp, 1, search_info.search_type));

Completed in 269 milliseconds