Lines Matching defs:eol

356 /* Quickly determine whether there is a eol char in CHUNK.
357 * (mainly copy-n-paste from eol.c#svn_eol__find_eol_start).
403 /* check for eol, and count */
496 /* Back up to the last eol sequence (\n, \r\n or \r) */
501 /* Slide one byte forward, to point past the eol sequence */
606 /* Count an extra line for the last line not ending in an eol. */
621 /* check for eol, and count */
710 /* Slide forward until we find an eol sequence to add the rest of the line
721 /* Slide one or two more bytes, to point past the eol. */
866 char *eol;
920 eol = svn_eol__find_eol_start(curp, endp - curp);
921 if (eol)
923 had_cr = (*eol == '\r');
924 eol++;
925 /* If we have the whole eol sequence in the chunk... */
926 if (!(had_cr && eol == endp))
929 if (had_cr && *eol == '\n')
930 eol++;
937 eol = endp;
982 eol = curp;
984 ++eol;
989 length = eol - curp;
991 file->curp = eol;
1186 /* Id for the --ignore-eol-style option, which doesn't have a short name. */
1194 { "ignore-eol-style", SVN_DIFF__OPT_IGNORE_EOL_STYLE, 0, NULL },
1431 char *eol;
1489 eol = svn_eol__find_eol_start(curp, length);
1491 if (eol != NULL)
1495 had_cr = (*eol == '\r');
1496 eol++;
1497 len = (apr_size_t)(eol - curp);
1501 if (had_cr && *eol == '\n')
1503 ++eol;
1519 baton->curp[idx] = eol;
2089 char *eol;
2102 eol = svn_eol__find_eol_start(curp, endp - curp);
2103 if (!eol)
2104 eol = endp;
2107 svn_boolean_t had_cr = (*eol == '\r');
2108 eol++;
2109 if (had_cr && eol != endp && *eol == '\n')
2110 eol++;
2115 len = eol - curp;
2121 baton->curp[idx] = eol;
2338 const char *eol;
2391 /* Check what eol marker we should use for conflict markers.
2392 We use the eol marker of the modified file and fall back on the
2393 platform's eol marker if that file doesn't contain any newlines. */
2394 eol = svn_eol__detect_eol(baton.buffer[1], baton.endp[1] - baton.buffer[1],
2396 if (! eol)
2397 eol = APR_EOL_STR;
2398 baton.marker_eol = eol;