HomeSort by relevance Sort by last modified time
    Searched refs:lineEnd (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /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);
  /external/qemu/android/utils/
property_file.c 41 const char* lineEnd = (const char*)memchr(p, '\n', end - p);
42 if (!lineEnd) {
43 lineEnd = end;
46 p = lineEnd + 1;
50 if (lineEnd > line && lineEnd[-1] == '\r')
51 lineEnd--;
54 while (line < lineEnd && isspace(line[0]))
58 if (lineEnd == line || line[0] == '#')
63 (const char*)memchr(name, '=', lineEnd - name)
    [all...]
  /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...]
  /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;
  /external/icu/icu4c/source/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...]
  /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)
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 123 int lineEnd = staticLayout.getLineEnd(line);
125 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd));
144 int lineEnd = staticLayout.getLineEnd(line);
153 assertEquals("Line end for last line", source.length(), lineEnd);
155 assertEquals("Line end for line " + line, breaks[line], lineEnd);
172 int lineEnd = staticLayout.getLineEnd(line);
181 assertEquals("Line end for last line", source.length(), lineEnd);
183 assertEquals("Line end for line " + line, breaks[line], lineEnd);
  /libcore/luni/src/main/java/libcore/io/
StrictLineReader.java 166 int lineEnd = (i != pos && buf[i - 1] == CR) ? i - 1 : i;
167 String res = new String(buf, pos, lineEnd - pos, charset);
  /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);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
ContentSearchUtils.cpp 68 unsigned lineEnd = endings->at(lineNumber);
69 String line = text.substring(start, lineEnd - start);
77 start = lineEnd + 1;
  /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 697 int lineEnd = getLineEnd(line);
698 if (offset == lineStart || offset == lineEnd) {
744 int lineEnd = getLineEnd(line);
751 if (limit > lineEnd) {
752 limit = lineEnd;
777 if (limit > lineEnd) {
778 limit = lineEnd;
1382 int lineend = getLineEnd(line); local
    [all...]
  /frameworks/base/core/java/android/text/method/
ScrollingMovementMethod.java 74 protected boolean lineEnd(TextView widget, Spannable buffer) {
ArrowKeyMovementMethod.java 188 protected boolean lineEnd(TextView widget, Spannable buffer) {
222 return lineEnd(widget, buffer);
BaseMovementMethod.java 183 return lineEnd(widget, buffer);
360 protected boolean lineEnd(TextView widget, Spannable buffer) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
StackScrollState.java 210 float lineEnd = state.yTranslation + state.height / 2;
212 boolean startIsAboveNext = nextState.yTranslation > lineEnd;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CursorAnchorInfoUtils.java 143 final int lineEnd = layout.getLineEnd(line);
145 final int offsetEnd = Math.min(lineEnd, composingTextEnd);
  /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;
AndroidContentAssist.java 279 int lineEnd = nodeValue.indexOf('\n', relativeOffset);
280 if (lineEnd == -1) {
281 lineEnd = nodeValue.length();
283 return lineEnd - relativeOffset;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
HyperlinksTest.java 298 int lineEnd = lineEndInfo.getOffset() + lineEndInfo.getLength();
299 String text = document.get(lineStart, lineEnd - lineStart);
  /external/chromium_org/third_party/d3/src/
d3.js     [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
VisualRefactoring.java     [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
EclipseLintClient.java 617 int lineEnd = startOffset;
618 while (lineEnd < endOffset) {
620 char c = doc.getChar(lineEnd);
622 endOffset = lineEnd;
632 lineEnd++;
    [all...]
  /external/glide/third_party/disklrucache/
disklrucache-2.0.2.jar 

Completed in 867 milliseconds

1 2 3 4 5