Searched refs:lineEnd (Results 1 – 8 of 8) sorted by relevance
/external/icu4c/samples/ugrep/ |
D | ugrep.cpp | 58 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/ |
D | ScriptText.java | 21 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/ |
D | TextPosition.cpp | 39 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/ |
D | ContentProvider.js | 86 var lineEnd = lineEndings[i]; 87 var lineContent = content.substring(lineStart, lineEnd);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | ContentSearchUtils.cpp | 70 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/ |
D | StrictLineReader.java | 140 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/ |
D | diff_match_patch.java | 362 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/ |
D | codemirror.js | 3463 cm.extendSelection(lineEnd(cm, cm.getCursor().line));
|