/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
ScriptText.java | 21 int lineEnd = text.indexOf('\n', offset); 22 if (lineEnd == -1) { 23 lineEnd = text.length(); 25 return text.substring(lineStart, lineEnd);
|
/frameworks/base/core/java/com/android/internal/util/ |
IndentingPrintWriter.java | 80 int lineEnd = offset; 83 while (lineEnd < bufferEnd) { 84 char ch = buf[lineEnd++]; 88 super.write(buf, lineStart, lineEnd - lineStart); 89 lineStart = lineEnd; 100 mCurrentLength = lineEnd - lineStart; 104 super.write(buf, lineStart, lineEnd - lineStart); 107 lineStart = lineEnd; 113 if (lineStart != lineEnd) { 115 super.write(buf, lineStart, lineEnd - lineStart) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
RstripExtension.py | 25 txt = text.get('%i.0' % cur, '%i.0 lineend' % cur) 27 text.delete('%i.%i' % (cur, cut), '%i.0 lineend' % cur)
|
FormatParagraph.py | 83 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 86 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 93 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 97 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 102 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno)
|
AutoExpand.py | 24 curline = self.text.get("insert linestart", "insert lineend") 44 curline = self.text.get("insert linestart", "insert lineend")
|
OutputWindow.py | 86 line = self.text.get("insert linestart", "insert lineend") 92 "insert -1line lineend")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
RstripExtension.py | 25 txt = text.get('%i.0' % cur, '%i.0 lineend' % cur) 27 text.delete('%i.%i' % (cur, cut), '%i.0 lineend' % cur)
|
FormatParagraph.py | 83 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 86 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 93 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 97 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno) 102 line = text.get("%d.0" % lineno, "%d.0 lineend" % lineno)
|
AutoExpand.py | 24 curline = self.text.get("insert linestart", "insert lineend") 44 curline = self.text.get("insert linestart", "insert lineend")
|
OutputWindow.py | 86 line = self.text.get("insert linestart", "insert lineend") 92 "insert -1line lineend")
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextPosition.cpp | 39 size_t lineEnd = text.find('\n', start); 40 if (lineEnd == kNotFound) 43 result->append(static_cast<unsigned>(lineEnd)); 44 start = lineEnd + 1;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
quopri.py | 59 def write(s, output=output, lineEnd='\n'): 63 output.write(s[:-1] + quote(s[-1]) + lineEnd) 65 output.write(quote(s) + lineEnd) 67 output.write(s + lineEnd) 97 write(thisline[:MAXLINESIZE-1], lineEnd='=\n') 103 write(prevline, lineEnd=stripped)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
quopri.py | 59 def write(s, output=output, lineEnd='\n'): 63 output.write(s[:-1] + quote(s[-1]) + lineEnd) 65 output.write(quote(s) + lineEnd) 67 output.write(s + lineEnd) 97 write(thisline[:MAXLINESIZE-1], lineEnd='=\n') 103 write(prevline, lineEnd=stripped)
|
/external/llvm/lib/Support/ |
SourceMgr.cpp | 178 const char *LineEnd = Loc.getPointer(); 180 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') 181 ++LineEnd; 182 LineStr = std::string(LineStart, LineEnd); 191 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) 197 if (R.End.getPointer() > LineEnd) 198 R.End = SMLoc::getFromPointer(LineEnd); 257 const char *LineEnd = SourceLine.end() [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
ContentProvider.js | 86 var lineEnd = lineEndings[i]; 87 var lineContent = content.substring(lineStart, lineEnd);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
ContentSearchUtils.cpp | 70 unsigned lineEnd = endings->at(lineNumber); 71 String line = text.substring(start, lineEnd - start); 79 start = lineEnd + 1;
|
/external/icu4c/samples/ugrep/ |
ugrep.cpp | 58 int lineEnd; // Index of char following the new line sequence for the current line 136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { 137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); 380 lineStart = lineEnd = startPos; 383 if (lineEnd >= fileLen) { 386 UChar c = ucharBuf[lineEnd]; 387 lineEnd++; 400 if (lineEnd < fileLen && 401 ucharBuf[lineEnd-1] == 0x0d && 402 ucharBuf[lineEnd] == 0x0a) [all...] |
/frameworks/base/core/java/android/text/ |
TextLine.java | 448 int lineEnd = mLen; 452 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1; 457 } else if (cursor == lineEnd) { 466 if (runLimit > lineEnd) { 467 runLimit = lineEnd; 483 if (prevRunLimit > lineEnd) { 484 prevRunLimit = lineEnd; 507 // caret might be == lineEnd. This is generally a space or paragraph 540 if (otherRunLimit > lineEnd) { 541 otherRunLimit = lineEnd; [all...] |
Layout.java | 695 int lineEnd = getLineEnd(line); 696 if (offset == lineStart || offset == lineEnd) { 743 int lineEnd = getLineEnd(line); 750 if (limit > lineEnd) { 751 limit = lineEnd; 776 if (limit > lineEnd) { 777 limit = lineEnd; 1381 int lineend = getLineEnd(line); local [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 127 int lineEnd = staticLayout.getLineEnd(line); 129 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); 148 int lineEnd = staticLayout.getLineEnd(line); 157 assertEquals("Line end for last line", source.length(), lineEnd); 159 assertEquals("Line end for line " + line, breaks[line], lineEnd); 176 int lineEnd = staticLayout.getLineEnd(line); 185 assertEquals("Line end for last line", source.length(), lineEnd); 187 assertEquals("Line end for line " + line, breaks[line], lineEnd);
|
/frameworks/base/core/java/android/text/method/ |
ScrollingMovementMethod.java | 74 protected boolean lineEnd(TextView widget, Spannable buffer) {
|
ArrowKeyMovementMethod.java | 187 protected boolean lineEnd(TextView widget, Spannable buffer) { 221 return lineEnd(widget, buffer);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
AaptParser.java | 714 int lineEnd = lineContents.length()-1; 716 for (; lineEnd >= 0; lineEnd--) { 717 char c = lineContents.charAt(lineEnd); 722 lineEnd++; 723 for (; lineBegin < lineEnd; lineBegin++) { 729 if (lineBegin < lineEnd) { 730 return new Region(lineInfo.getOffset() + lineBegin, lineEnd - lineBegin);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlAutoEditStrategy.java | 320 * @param lineEnd the offset of the end of the line, or the maximum position on the 326 public static int findTextStart(IDocument document, int lineStart, int lineEnd) 328 for (int offset = lineStart; offset < lineEnd; offset++) { 335 return lineEnd;
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
StrictLineReader.java | 140 int lineEnd = (i != pos && buf[i - 1] == CR) ? i - 1 : i; 141 String res = new String(buf, pos, lineEnd - pos, charset.name());
|