Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 43) sorted by relevance

12

/dalvik/dx/src/com/android/dx/dex/code/
DCatchTable.java96 private final int start; field in CatchTable.Entry
111 public Entry(int start, int end, CatchHandlerList handlers) { in Entry() argument
112 if (start < 0) { in Entry()
116 if (end <= start) { in Entry()
124 this.start = start; in Entry()
132 int hash = (start * 31) + end; in hashCode()
149 if (start < other.start) { in compareTo()
151 } else if (start > other.start) { in compareTo()
170 return start; in getStart()
DStdCatchBuilder.java273 private static CatchTable.Entry makeEntry(BasicBlock start, in makeEntry() argument
280 CodeAddress startAddress = addresses.getLast(start); in makeEntry()
299 private static boolean rangeIsValid(BasicBlock start, BasicBlock end, in rangeIsValid() argument
301 if (start == null) { in rangeIsValid()
310 int startAddress = addresses.getLast(start).getAddress(); in rangeIsValid()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DCatchTable.java97 private final int start; field in CatchTable.Entry
112 public Entry(int start, int end, CatchHandlerList handlers) { in Entry() argument
113 if (start < 0) { in Entry()
117 if (end <= start) { in Entry()
125 this.start = start; in Entry()
133 int hash = (start * 31) + end; in hashCode()
150 if (start < other.start) { in compareTo()
152 } else if (start > other.start) { in compareTo()
171 return start; in getStart()
DStdCatchBuilder.java274 private static CatchTable.Entry makeEntry(BasicBlock start, in makeEntry() argument
281 CodeAddress startAddress = addresses.getLast(start); in makeEntry()
300 private static boolean rangeIsValid(BasicBlock start, BasicBlock end, in rangeIsValid() argument
302 if (start == null) { in rangeIsValid()
311 int startAddress = addresses.getLast(start).getAddress(); in rangeIsValid()
/dalvik/dx/src/com/android/dx/util/
DByteArray.java34 private final int start; field in ByteArray
48 public ByteArray(byte[] bytes, int start, int end) { in ByteArray() argument
53 if (start < 0) { in ByteArray()
57 if (end < start) { in ByteArray()
66 this.start = start; in ByteArray()
67 this.size = end - start; in ByteArray()
96 public ByteArray slice(int start, int end) { in slice() argument
97 checkOffsets(start, end); in slice()
98 return new ByteArray(bytes, start + this.start, end + this.start); in slice()
116 return start + offset; in underlyingOffset()
[all …]
DByteArrayAnnotatedOutput.java488 int start = a.getStart(); in writeAnnotationsTo() local
492 if (leftAt < start) { in writeAnnotationsTo()
494 end = start; in writeAnnotationsTo()
495 start = leftAt; in writeAnnotationsTo()
504 left.write(Hex.dump(data, start, end - start, start, hexCols, 6)); in writeAnnotationsTo()
552 private final int start; field in ByteArrayAnnotatedOutput.Annotation
571 public Annotation(int start, int end, String text) { in Annotation() argument
572 this.start = start; in Annotation()
583 public Annotation(int start, String text) { in Annotation() argument
584 this(start, Integer.MAX_VALUE, text); in Annotation()
[all …]
/dalvik/dexgen/src/com/android/dexgen/util/
DByteArray.java34 private final int start; field in ByteArray
48 public ByteArray(byte[] bytes, int start, int end) { in ByteArray() argument
53 if (start < 0) { in ByteArray()
57 if (end < start) { in ByteArray()
66 this.start = start; in ByteArray()
67 this.size = end - start; in ByteArray()
96 public ByteArray slice(int start, int end) { in slice() argument
97 checkOffsets(start, end); in slice()
98 return new ByteArray(bytes, start + this.start, end + this.start); in slice()
116 return start + offset; in underlyingOffset()
[all …]
DByteArrayAnnotatedOutput.java492 int start = a.getStart(); in writeAnnotationsTo() local
496 if (leftAt < start) { in writeAnnotationsTo()
498 end = start; in writeAnnotationsTo()
499 start = leftAt; in writeAnnotationsTo()
508 left.write(Hex.dump(data, start, end - start, start, hexCols, 6)); in writeAnnotationsTo()
556 private final int start; field in ByteArrayAnnotatedOutput.Annotation
575 public Annotation(int start, int end, String text) { in Annotation() argument
576 this.start = start; in Annotation()
587 public Annotation(int start, String text) { in Annotation() argument
588 this(start, Integer.MAX_VALUE, text); in Annotation()
[all …]
/dalvik/dx/src/com/android/dx/cf/code/
DByteBlock.java31 private final int start; field in ByteBlock
55 public ByteBlock(int label, int start, int end, IntList successors, in ByteBlock() argument
61 if (start < 0) { in ByteBlock()
65 if (end <= start) { in ByteBlock()
87 this.start = start; in ByteBlock()
96 return '{' + Hex.u2(label) + ": " + Hex.u2(start) + ".." + in toString()
115 return start; in getStart()
/dalvik/dexgen/src/com/android/dexgen/rop/
DByteBlock.java31 private final int start; field in ByteBlock
55 public ByteBlock(int label, int start, int end, IntList successors, in ByteBlock() argument
61 if (start < 0) { in ByteBlock()
65 if (end <= start) { in ByteBlock()
87 this.start = start; in ByteBlock()
96 return '{' + Hex.u2(label) + ": " + Hex.u2(start) + ".." + in toString()
115 return start; in getStart()
/dalvik/libdex/
DSysUtil.cpp82 off_t start, end; in getFileStartAndLength() local
88 start = lseek(fd, 0L, SEEK_CUR); in getFileStartAndLength()
90 (void) lseek(fd, start, SEEK_SET); in getFileStartAndLength()
92 if (start == (off_t) -1 || end == (off_t) -1) { in getFileStartAndLength()
97 length = end - start; in getFileStartAndLength()
103 *start_ = start; in getFileStartAndLength()
116 off_t start; in sysFakeMapFile() local
122 if (getFileStartAndLength(fd, &start, &length) < 0) in sysFakeMapFile()
128 fd, (int) start, strerror(errno)); in sysFakeMapFile()
153 off_t start; in sysMapFileInShmemWritableReadOnly() local
[all …]
DDexOptData.cpp31 static bool isValidPointer(const void* ptr, const void* start, const void* end) in isValidPointer() argument
33 return (ptr >= start) && (ptr < end) && (((uintptr_t) ptr & 7) == 0); in isValidPointer()
39 const u1* start = (const u1*) pOptHeader + pOptHeader->depsOffset; in dexComputeOptChecksum() local
45 return (u4) adler32(adler, start, end - start); in dexComputeOptChecksum()
DDexCatch.cpp61 u4 start = pTry->startAddr; in dexFindCatchHandlerOffset0() local
63 if (address < start) { in dexFindCatchHandlerOffset0()
68 u4 end = start + pTry->insnCount; in dexFindCatchHandlerOffset0()
DDexCatch.h132 u4 start = tries[0].startAddr; in dexFindCatchHandler() local
134 if (address < start) { in dexFindCatchHandler()
138 u4 end = start + tries[0].insnCount; in dexFindCatchHandler()
/dalvik/dx/src/com/android/dx/rop/code/
DLocalVariableInfo.java108 RegisterSpecSet start = getStarts0(label); in mergeStarts() local
111 if (start == null) { in mergeStarts()
116 RegisterSpecSet newStart = start.mutableCopy(); in mergeStarts()
117 if (start.size() != 0) { in mergeStarts()
123 if (start.equals(newStart)) { in mergeStarts()
/dalvik/dx/tests/131-perf/
DClassGen.java8 int start = 1; in main() local
13 start = Integer.parseInt(args[0]); in main()
25 for (int file = start; file <= end; file++) { in main()
Drun74 start=`date +'%s%N'`
77 nsec=`expr $end - $start`
/dalvik/dx/src/com/android/dx/ssa/
DLocalVariableInfo.java109 RegisterSpecSet start = getStarts0(index); in mergeStarts() local
112 if (start == null) { in mergeStarts()
117 RegisterSpecSet newStart = start.mutableCopy(); in mergeStarts()
120 if (start.equals(newStart)) { in mergeStarts()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DLocalVariableInfo.java109 RegisterSpecSet start = getStarts0(label); in mergeStarts() local
112 if (start == null) { in mergeStarts()
117 RegisterSpecSet newStart = start.mutableCopy(); in mergeStarts()
120 if (start.equals(newStart)) { in mergeStarts()
/dalvik/dx/tests/100-local-mismatch/
Dblort2.j21 .var 0 is x I from start to end
24 start:
Dblort3.j21 .var 0 is x [B from start to end
24 start:
Dblort4.j21 .var 0 is x [Ljava/lang/Object; from start to end
24 start:
Dblort1.j21 .var 0 is x Ljava/lang/Object; from start to end
24 start:
/dalvik/dx/src/com/android/dx/command/dump/
DBlockDumper.java224 int start = bb.getStart(); in regularDump() local
227 if (byteAt < start) { in regularDump()
228 parsed(bytes, byteAt, start - byteAt, in regularDump()
229 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(start)); in regularDump()
232 parsed(bytes, start, 0, in regularDump()
234 Hex.u2(start) + ".." + Hex.u2(end)); in regularDump()
238 for (int j = start; j < end; j += len) { in regularDump()
/dalvik/dx/tests/032-bb-live-code/
Dblort.j30 start:
41 .catch java/lang/RuntimeException from start to end2 using handler2
42 .catch all from start to end1 using handler1
50 start:
60 .catch java/lang/RuntimeException from start to end2 using handler2
61 .catch all from start to end1 using handler1

12