Home
last modified time | relevance | path

Searched refs:lineDelta (Results 1 – 5 of 5) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDebugWriter.java107 int lineDelta = lineNumber - currentLine; in writeLineNumber() local
113 if (lineDelta < -4 || lineDelta > 10) { in writeLineNumber()
115 lineDelta = 0; in writeLineNumber()
117 if ((lineDelta < 2 && addressDelta > 16) || (lineDelta > 1 && addressDelta > 15)) { in writeLineNumber()
124 writeSpecialOpcode(lineDelta, addressDelta); in writeLineNumber()
146 int lineDelta = line - currentLine; in writeAdvanceLine() local
147 if (lineDelta != 0) { in writeAdvanceLine()
149 writer.writeSleb128(lineDelta); in writeAdvanceLine()
158 private void writeSpecialOpcode(int lineDelta, int addressDelta) throws IOException { in writeSpecialOpcode() argument
159 writer.write((byte)(FIRST_SPECIAL + (addressDelta * LINE_RANGE) + (lineDelta - LINE_BASE))); in writeSpecialOpcode()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DUnicodeEscapeProcessingProvider.java338 void add(int line, int column, int lineDelta, int columnDelta) { in add() argument
339 _deltas.add(new DeltaInfo(line, column, lineDelta, columnDelta)); in add()
428 public DeltaInfo(int line, int column, int lineDelta, in DeltaInfo() argument
431 _lineDelta = lineDelta; in DeltaInfo()
504 int lineDelta = _right.getLine() - _left.getLine(); in update() local
507 if (lineDelta != _lineDelta || columnDelta != _columnDelta) { in update()
508 _mapping.add(_left.getLine(), _left.getColumn(), lineDelta, columnDelta); in update() local
510 _lineDelta = lineDelta; in update()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java241 tempSelection.caret = lineDelta(tempSelection.caret, -1); in keyPressed()
250 tempSelection.caret = lineDelta(tempSelection.caret, +1); in keyPressed()
303 private int lineDelta(int off, int delta) { in lineDelta() method in DumbTextComponent
/external/skia/src/core/
DSkPath.cpp3466 SkVector lineDelta = lineEnd - lineStart; in IsRectContour() local
3467 if (lineDelta.fX && lineDelta.fY) { in IsRectContour()
3470 if (!lineDelta.isFinite()) { in IsRectContour()
3476 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in IsRectContour()
/external/skqp/src/core/
DSkPath.cpp503 SkVector lineDelta = lineEnd - lineStart; in isRectContour() local
504 if (lineDelta.fX && lineDelta.fY) { in isRectContour()
507 if (!lineDelta.isFinite()) { in isRectContour()
513 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in isRectContour()