Home
last modified time | relevance | path

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

12

/dalvik/dx/src/com/android/dx/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()
151 if (start < other.start) { in compareTo()
153 } else if (start > other.start) { in compareTo()
172 return start; in getStart()
DStdCatchBuilder.java276 private static CatchTable.Entry makeEntry(BasicBlock start, in makeEntry() argument
283 CodeAddress startAddress = addresses.getLast(start); in makeEntry()
302 private static boolean rangeIsValid(BasicBlock start, BasicBlock end, in rangeIsValid() argument
304 if (start == null) { in rangeIsValid()
313 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/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/util/
DByteArray.java35 private final int start; field in ByteArray
49 public ByteArray(byte[] bytes, int start, int end) { in ByteArray() argument
54 if (start < 0) { in ByteArray()
58 if (end < start) { in ByteArray()
67 this.start = start; in ByteArray()
68 this.size = end - start; in ByteArray()
97 public ByteArray slice(int start, int end) { in slice() argument
98 checkOffsets(start, end); in slice()
99 byte[] slicedOut = Arrays.copyOfRange(bytes, start, end); in slice()
113 return start + offset; in underlyingOffset()
[all …]
DByteArrayAnnotatedOutput.java508 int start = a.getStart(); in writeAnnotationsTo() local
512 if (leftAt < start) { in writeAnnotationsTo()
514 end = start; in writeAnnotationsTo()
515 start = leftAt; in writeAnnotationsTo()
524 left.write(Hex.dump(data, start, end - start, start, hexCols, 6)); in writeAnnotationsTo()
572 private final int start; field in ByteArrayAnnotatedOutput.Annotation
591 public Annotation(int start, int end, String text) { in Annotation() argument
592 this.start = start; in Annotation()
603 public Annotation(int start, String text) { in Annotation() argument
604 this(start, Integer.MAX_VALUE, text); in Annotation()
[all …]
/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/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()
116 return start; in getStart()
/dalvik/libdex/
DSysUtil.cpp94 off_t start, end; in getFileStartAndLength() local
100 start = lseek(fd, 0L, SEEK_CUR); in getFileStartAndLength()
102 (void) lseek(fd, start, SEEK_SET); in getFileStartAndLength()
104 if (start == (off_t) -1 || end == (off_t) -1) { in getFileStartAndLength()
109 length = end - start; in getFileStartAndLength()
115 *start_ = start; in getFileStartAndLength()
128 off_t start; in sysFakeMapFile() local
134 if (getFileStartAndLength(fd, &start, &length) < 0) in sysFakeMapFile()
140 fd, (int) start, strerror(errno)); in sysFakeMapFile()
166 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()
Drun78 start=`date +'%s%N'`
81 nsec=`expr $end - $start`
/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/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/dx/src/com/android/dx/command/dump/
DBlockDumper.java218 int start = bb.getStart(); in regularDump() local
221 if (byteAt < start) { in regularDump()
222 parsed(bytes, byteAt, start - byteAt, in regularDump()
223 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(start)); in regularDump()
226 parsed(bytes, start, 0, in regularDump()
228 Hex.u2(start) + ".." + Hex.u2(end)); in regularDump()
232 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
/dalvik/dx/tests/100-local-mismatch/
DBlort1.j21 .var 0 is x Ljava/lang/Object; from start to end
24 start:
DBlort2.j21 .var 0 is x I from start to end
24 start:
DBlort4.j21 .var 0 is x [Ljava/lang/Object; from start to end
24 start:
DBlort3.j21 .var 0 is x [B from start to end
24 start:

12