/frameworks/base/core/java/com/android/internal/util/ |
IndentingPrintWriter.java | 104 int lineStart = offset; 113 super.write(buf, lineStart, lineEnd - lineStart); 114 lineStart = lineEnd; 125 mCurrentLength = lineEnd - lineStart; 129 super.write(buf, lineStart, lineEnd - lineStart); 132 lineStart = lineEnd; 138 if (lineStart != lineEnd) { 140 super.write(buf, lineStart, lineEnd - lineStart) [all...] |
/external/llvm/tools/llvm-cov/ |
CoverageSummaryInfo.cpp | 38 unsigned LineStart = std::numeric_limits<unsigned>::max(); 43 LineStart = std::min(LineStart, CR.LineStart); 46 unsigned LineCount = LineEnd - LineStart + 1; 57 LineCount -= CR.LineEnd - CR.LineStart + 1; 60 for (unsigned I = CR.LineStart; I <= CR.LineEnd; ++I) 61 ExecutionCounts[I - LineStart] = ExecutionCount;
|
/build/blueprint/ |
ninja_writer.go | 50 var lineStart, lastSplitPoint int 63 line = strings.TrimRightFunc(comment[lineStart:i], unicode.IsSpace) 66 case (i-lineStart > maxLineLen) && (lastSplitPoint > lineStart): 69 line = strings.TrimSpace(comment[lineStart:lastSplitPoint]) 79 lineStart = lastSplitPoint 83 if lineStart != len(comment) { 84 line := strings.TrimSpace(comment[lineStart:])
|
/external/smali/util/src/main/java/org/jf/util/ |
StringWrapper.java | 59 int lineStart = 0; 66 output = addString(output, str.substring(lineStart, i), arrayIndex++); 67 lineStart = i+1; 68 } else if (i - lineStart == maxWidth) { 69 output = addString(output, str.substring(lineStart, i), arrayIndex++); 70 lineStart = i; 73 if (lineStart != i || i == 0) { 74 output = addString(output, str.substring(lineStart), arrayIndex++, output.length+1);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
AutoExpand.py | 24 curline = self.text.get("insert linestart", "insert lineend") 44 curline = self.text.get("insert linestart", "insert lineend") 79 line = self.text.get("insert linestart", "insert")
|
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
AutoExpand.py | 24 curline = self.text.get("insert linestart", "insert lineend") 44 curline = self.text.get("insert linestart", "insert lineend") 79 line = self.text.get("insert linestart", "insert")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
AutoExpand.py | 24 curline = self.text.get("insert linestart", "insert lineend") 44 curline = self.text.get("insert linestart", "insert lineend") 79 line = self.text.get("insert linestart", "insert")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
AutoExpand.py | 24 curline = self.text.get("insert linestart", "insert lineend") 44 curline = self.text.get("insert linestart", "insert lineend") 79 line = self.text.get("insert linestart", "insert")
|
/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/llvm/include/llvm/ProfileData/ |
CoverageMapping.h | 165 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; 169 unsigned LineStart, unsigned ColumnStart, 172 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), 176 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, 178 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, 183 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, 185 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, 191 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, 193 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart [all...] |
/external/llvm/lib/Support/ |
SourceMgr.cpp | 155 const char *LineStart = Loc.getPointer(); 157 while (LineStart != BufStart && LineStart[-1] != '\n' && 158 LineStart[-1] != '\r') 159 --LineStart; 166 LineStr = std::string(LineStart, LineEnd); 175 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) 179 if (R.Start.getPointer() < LineStart) 180 R.Start = SMLoc::getFromPointer(LineStart); 186 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cbiditst.h | 69 int32_t lineStart, lineLimit;
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
LabelFlowAnalyzer.java | 59 Label lineStart = null; 103 lineStart = start; 199 if (lineStart != null) { 200 LabelInfo.setMethodInvocationLine(lineStart);
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
RbnfDemo.java | 482 int lineStart = 0; 488 while (lineStart < txt.length()) { 489 maxLineEnd = txt.indexOf('\n', lineStart); 493 lineStart, tempLineEnd)) < width) { 497 if (lineStart >= lineEnd) { 505 g.drawString(txt.substring(lineStart, lineEnd), 0, penY); 508 lineStart = lineEnd; 509 if (lineStart < txt.length() && txt.charAt(lineStart) == '\n') 510 ++lineStart; [all...] |
/external/llvm/lib/ProfileData/ |
CoverageMappingWriter.cpp | 173 assert(I->LineStart >= PrevLineStart); 174 encodeULEB128(I->LineStart - PrevLineStart, OS); 176 assert(I->LineEnd >= I->LineStart); 177 encodeULEB128(I->LineEnd - I->LineStart, OS); 179 PrevLineStart = I->LineStart;
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 122 int lineStart = staticLayout.getLineStart(line); 124 Log.i("StaticLayoutLineBreakingTest", "Line " + line + " [" + lineStart + ".." + 125 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); 143 int lineStart = staticLayout.getLineStart(line); 147 assertEquals("Line start for first line", 0, lineStart); 149 assertEquals("Line start for line " + line, breaks[line - 1], lineStart); 171 int lineStart = staticLayout.getLineStart(line); 175 assertEquals("Line start for first line", 0, lineStart); 177 assertEquals("Line start for line " + line, breaks[line - 1], lineStart);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
TestBidi.java | 47 int lineStart; 65 lineStart = test.lineStart; 66 if (lineStart == -1) { 70 bidiLine = bidi.setLine(lineStart, test.lineLimit); 71 logln("Bidi.setLine(" + lineStart + ", " + test.lineLimit 75 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); 77 errln("Bidi.setLine(" + lineStart + ", " + test.lineLimit 82 bidiLine = bidi.createLineBidi(lineStart, test.lineLimit); 83 logln("Bidi.createLineBidi(" + lineStart + ", " + test.lineLimi [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestBidi.java | 43 int lineStart; 61 lineStart = test.lineStart; 62 if (lineStart == -1) { 66 bidiLine = bidi.setLine(lineStart, test.lineLimit); 67 logln("Bidi.setLine(" + lineStart + ", " + test.lineLimit 71 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); 73 errln("Bidi.setLine(" + lineStart + ", " + test.lineLimit 78 bidiLine = bidi.createLineBidi(lineStart, test.lineLimit); 79 logln("Bidi.createLineBidi(" + lineStart + ", " + test.lineLimi [all...] |
/external/libvncserver/libvncserver/ |
selbox.c | 84 int lineStart,lineEnd; 95 lineStart = m->pageH-delta; 97 rfbDoCopyRect(m->screen,m->x1,m->y1,m->x2,m->y1+lineStart*m->textH, 100 lineStart = 0; 107 lineStart = 0; 111 for(delta=lineStart;delta<lineEnd;delta++)
|
/system/core/liblog/ |
event_tag_map.c | 265 int tagNum, lineStart, lineNum; 279 lineStart = 1; 284 lineStart = 1; 286 } else if (lineStart) { 289 lineStart = 0; 301 /* leave lineStart==1 */
|
/external/llvm/include/llvm/ExecutionEngine/ |
JITEventListener.h | 37 struct LineStart { 50 std::vector<LineStart> LineStarts;
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
DebugInfoItem.java | 55 int lineStart = reader.readSmallUleb128(); 56 out.annotateTo(reader.getOffset(), "line_start = %d", lineStart); 76 int lineNumber = lineStart;
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/ |
LinkAccessibilityHelper.java | 180 final int lineStart = layout.getLineForOffset(spanStart); 182 layout.getLineBounds(lineStart, outRect); 184 if (lineEnd == lineStart) {
|
/packages/apps/Settings/src/com/android/settings/widget/ |
LinkAccessibilityHelper.java | 156 final int lineStart = layout.getLineForOffset(spanStart); 158 layout.getLineBounds(lineStart, outRect); 160 if (lineEnd == lineStart) {
|
/frameworks/base/core/java/android/text/ |
Layout.java | 757 int lineStart = getLineStart(line); 759 if (offset == lineStart || offset == lineEnd) { 761 int runIndex = offset == lineStart ? 0 : runs.length - 2; 765 offset -= lineStart; 789 int lineStart = getLineStart(line); 791 int start = lineStart + runs[i]; 815 int lineStart = getLineStart(line); 817 int start = lineStart + runs[i]; 829 int lineStart = getLineStart(line); 835 int start = lineStart + runs[i] 1501 int linestart = getLineStart(line); local [all...] |