/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
ScriptText.java | 12 int lineStart = findLineStart(offset); 13 return lineStart == -1 ? -1 : offset - lineStart; 17 int lineStart = findLineStart(offset); 18 if (lineStart == -1) { 25 return text.substring(lineStart, lineEnd);
|
/frameworks/base/core/java/com/android/internal/util/ |
IndentingPrintWriter.java | 79 int lineStart = offset; 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/angle/src/compiler/preprocessor/ |
Tokenizer.h | 33 bool lineStart;
|
Tokenizer.l | 47 yyextra->lineStart = true; \ 109 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER; 314 token->setAtStartOfLine(mContext.lineStart); 315 mContext.lineStart = token->type == '\n';
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
ContentProvider.js | 85 var lineStart = i > 0 ? lineEndings[i - 1] + 1 : 0; 87 var lineContent = content.substring(lineStart, lineEnd);
|
/external/icu4c/samples/ugrep/ |
ugrep.cpp | 57 int lineStart; // Index of first char of the current line in the file buffer 136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { 137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); 380 lineStart = lineEnd = startPos; 435 &ucharBuf[lineStart], // Input to conversion 436 lineEnd-lineStart, // number of UChars to convert
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlAutoEditStrategy.java | 98 int lineStart = findLineStart(doc, offset); 99 int textStart = findTextStart(doc, lineStart, offset); 108 if (textStart > lineStart) { 109 lineIndent = doc.get(lineStart, textStart - lineStart); 319 * @param lineStart the offset of the beginning of the line 326 public static int findTextStart(IDocument document, int lineStart, int lineEnd) 328 for (int offset = lineStart; offset < lineEnd; offset++) { 352 int lineStart = findLineStart(doc, command.offset); 353 int textStart = findTextStart(doc, lineStart, command.offset) [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cbiditst.h | 65 int32_t lineStart, lineLimit;
|
/external/icu4c/test/cintltst/ |
cbiditst.h | 65 int32_t lineStart, lineLimit;
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
StringMsgParser.java | 152 int lineStart = i; 163 int lineLength = i - lineStart; 167 currentLine = new String(msgBuffer, lineStart, lineLength, "UTF-8"); 267 int lineStart = i; 283 currentLine = msgString.substring(lineStart, i); 547 int lineStart = start; 553 buffer.append(header.substring(lineStart, i)); 562 lineStart = i + 1; 565 lineStart = i; 572 buffer.append(header.substring(lineStart, i)) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
DebugInfoBuilder.java | 48 private int lineStart = 0; 80 if (lineStart == 0) { 81 lineStart = line; 157 if (lineStart == 0) { 158 lineStart = 1; 161 currentLine = lineStart; 179 return DebugInfoItem.internDebugInfoItem(dexFile, lineStart, parameterNamesArray, out.toByteArray(),
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
DebugInfoItem.java | 42 private int lineStart; 60 * @param lineStart the initial value for the line number register for the debug info machine 68 int lineStart, 73 this.lineStart = lineStart; 82 * @param lineStart the initial value for the line number register for the debug info machine 91 int lineStart, 95 DebugInfoItem debugInfoItem = new DebugInfoItem(dexFile, lineStart, parameterNames, encodedDebugInfo, 102 lineStart = in.readUnsignedLeb128(); 159 offset += Leb128Utils.unsignedLeb128Size(lineStart); [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 126 int lineStart = staticLayout.getLineStart(line); 128 Log.i("StaticLayoutLineBreakingTest", "Line " + line + " [" + lineStart + ".." + 129 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); 147 int lineStart = staticLayout.getLineStart(line); 151 assertEquals("Line start for first line", 0, lineStart); 153 assertEquals("Line start for line " + line, breaks[line - 1], lineStart); 175 int lineStart = staticLayout.getLineStart(line); 179 assertEquals("Line start for first line", 0, lineStart); 181 assertEquals("Line start for line " + line, breaks[line - 1], lineStart);
|
/system/core/liblog/ |
event_tag_map.c | 264 int tagNum, lineStart, lineNum; 278 lineStart = 1; 283 lineStart = 1; 285 } else if (lineStart) { 288 lineStart = 0; 300 /* leave lineStart==1 */
|
logprint.c | 860 const char *lineStart; 862 lineStart = pm; 867 lineLen = pm - lineStart; 871 strncat(p, lineStart, lineLen);
|
/libcore/luni/src/main/java/java/text/ |
Bidi.java | 373 * @param lineStart 380 * if {@code lineStart < 0}, {@code lineLimit < 0}, {@code 381 * lineStart > lineLimit} or if {@code lineStart} is greater 384 public Bidi createLineBidi(int lineStart, int lineLimit) { 385 if (lineStart < 0 || lineLimit < 0 || lineLimit > length || lineStart > lineLimit) { 386 throw new IllegalArgumentException("Invalid ranges (start=" + lineStart + ", " + 403 if (lineStart == lineLimit) { 406 return new Bidi(ubidi_setLine(parent, lineStart, lineLimit)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
HyperlinksTest.java | 297 int lineStart = document.getLineInformationOfOffset(selection.x).getOffset(); 300 String text = document.get(lineStart, lineEnd - lineStart); 301 int selectionStart = selection.x - lineStart;
|
/frameworks/base/core/java/android/text/ |
Layout.java | 694 int lineStart = getLineStart(line); 696 if (offset == lineStart || offset == lineEnd) { 698 int runIndex = offset == lineStart ? 0 : runs.length - 2; 702 offset -= lineStart; 726 int lineStart = getLineStart(line); 728 int start = lineStart + (runs[i] & RUN_LENGTH_MASK); 742 int lineStart = getLineStart(line); 748 int start = lineStart + runs[i]; 769 if (offset == lineStart) { 774 int start = lineStart + runs[i] 1380 int linestart = getLineStart(line); local 1756 int linestart = getLineStart(line); local [all...] |
TextLine.java | 447 int lineStart = 0; 452 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1; 455 if (cursor == lineStart) { 463 runStart = lineStart + runs[runIndex]; 479 prevRunStart = lineStart + runs[prevRunIndex]; 537 int otherRunStart = lineStart + runs[otherRunIndex]; 585 // the lineStart. 587 newCaret = advance ? lineEnd : lineStart; [all...] |
StaticLayout.java | 714 private void calculateEllipsis(int lineStart, int lineEnd, 731 int len = lineEnd - lineStart; 740 float w = widths[i - 1 + lineStart - widthStart]; 762 float w = widths[i + lineStart - widthStart]; 785 float w = widths[right - 1 + lineStart - widthStart]; 796 float w = widths[left + lineStart - widthStart]; [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3commontoken.h | 132 void * lineStart;
|
/frameworks/base/core/java/android/text/method/ |
ScrollingMovementMethod.java | 69 protected boolean lineStart(TextView widget, Spannable buffer) {
|
ArrowKeyMovementMethod.java | 177 protected boolean lineStart(TextView widget, Spannable buffer) { 216 return lineStart(widget, buffer);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
VisualRefactoring.java | [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
program.c | 231 const GLubyte *lineStart = string; 241 lineStart = p + 1; 246 *col = (pos - lineStart) + 1; 251 len = p - lineStart; 253 memcpy(s, lineStart, len); [all...] |