Home
last modified time | relevance | path

Searched refs:lineEnd (Results 1 – 8 of 8) sorted by relevance

/external/icu4c/samples/ugrep/
Dugrep.cpp58 int lineEnd; // Index of char following the new line sequence for the current line variable
136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); in main()
380 lineStart = lineEnd = startPos; in nextLine()
383 if (lineEnd >= fileLen) { in nextLine()
386 UChar c = ucharBuf[lineEnd]; in nextLine()
387 lineEnd++; in nextLine()
400 if (lineEnd < fileLen && in nextLine()
401 ucharBuf[lineEnd-1] == 0x0d && in nextLine()
402 ucharBuf[lineEnd] == 0x0a) in nextLine()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/
DScriptText.java21 int lineEnd = text.indexOf('\n', offset); in getLineTextAt() local
22 if (lineEnd == -1) { in getLineTextAt()
23 lineEnd = text.length(); in getLineTextAt()
25 return text.substring(lineStart, lineEnd); in getLineTextAt()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DTextPosition.cpp39 size_t lineEnd = text.find('\n', start); in lineEndings() local
40 if (lineEnd == kNotFound) in lineEndings()
43 result->append(static_cast<unsigned>(lineEnd)); in lineEndings()
44 start = lineEnd + 1; in lineEndings()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DContentProvider.js86 var lineEnd = lineEndings[i];
87 var lineContent = content.substring(lineStart, lineEnd);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DContentSearchUtils.cpp70 unsigned lineEnd = endings->at(lineNumber); in getScriptRegexpMatchesByLines() local
71 String line = text.substring(start, lineEnd - start); in getScriptRegexpMatchesByLines()
79 start = lineEnd + 1; in getScriptRegexpMatchesByLines()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DStrictLineReader.java140 int lineEnd = (i != pos && buf[i - 1] == CR) ? i - 1 : i; in readLine() local
141 String res = new String(buf, pos, lineEnd - pos, charset.name()); in readLine()
/external/google-diff-match-patch/name/fraser/neil/plaintext/
Ddiff_match_patch.java362 int lineEnd = -1; in diff_linesToCharsMunge() local
368 while (lineEnd < text.length() - 1) { in diff_linesToCharsMunge()
369 lineEnd = text.indexOf('\n', lineStart); in diff_linesToCharsMunge()
370 if (lineEnd == -1) { in diff_linesToCharsMunge()
371 lineEnd = text.length() - 1; in diff_linesToCharsMunge()
373 line = text.substring(lineStart, lineEnd + 1); in diff_linesToCharsMunge()
374 lineStart = lineEnd + 1; in diff_linesToCharsMunge()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcodemirror.js3463 cm.extendSelection(lineEnd(cm, cm.getCursor().line));