Searched defs:end (Results 1 - 20 of 20) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/rop/
H A DByteBlock.java33 /** {@code > start;} bytecode offset (exclusive) of the end of the block */
34 private final int end; field in class:ByteBlock
48 * @param end {@code > start;} bytecode offset (exclusive) of the end
55 public ByteBlock(int label, int start, int end, IntList successors, argument
65 if (end <= start) {
66 throw new IllegalArgumentException("end <= start");
88 this.end = end;
97 Hex.u2(end)
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DStdCatchBuilder.java243 * isn't at the end.
270 * @param end {@code non-null;} the start block for the range (also inclusive)
275 BasicBlock end, CatchHandlerList handlers,
283 // ...And we end *after* the last instruction of the end block.
284 CodeAddress endAddress = addresses.getEnd(end);
296 * @param end {@code non-null;} the start block for the range (also inclusive)
300 private static boolean rangeIsValid(BasicBlock start, BasicBlock end, argument
306 if (end == null) {
307 throw new NullPointerException("end
274 makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) argument
[all...]
H A DCatchTable.java99 /** {@code > start;} end address (exclusive) */
100 private final int end; field in class:CatchTable.Entry
109 * @param end {@code > start;} end address (exclusive)
112 public Entry(int start, int end, CatchHandlerList handlers) { argument
117 if (end <= start) {
118 throw new IllegalArgumentException("end <= start");
126 this.end = end;
133 int hash = (start * 31) + end;
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DByteBlock.java33 /** {@code > start;} bytecode offset (exclusive) of the end of the block */
34 private final int end; field in class:ByteBlock
48 * @param end {@code > start;} bytecode offset (exclusive) of the end
55 public ByteBlock(int label, int start, int end, IntList successors, argument
65 if (end <= start) {
66 throw new IllegalArgumentException("end <= start");
88 this.end = end;
97 Hex.u2(end)
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DStdCatchBuilder.java242 * isn't at the end.
269 * @param end {@code non-null;} the start block for the range (also inclusive)
274 BasicBlock end, CatchHandlerList handlers,
282 // ...And we end *after* the last instruction of the end block.
283 CodeAddress endAddress = addresses.getEnd(end);
295 * @param end {@code non-null;} the start block for the range (also inclusive)
299 private static boolean rangeIsValid(BasicBlock start, BasicBlock end, argument
305 if (end == null) {
306 throw new NullPointerException("end
273 makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) argument
[all...]
H A DCatchTable.java98 /** {@code > start;} end address (exclusive) */
99 private final int end; field in class:CatchTable.Entry
108 * @param end {@code > start;} end address (exclusive)
111 public Entry(int start, int end, CatchHandlerList handlers) { argument
116 if (end <= start) {
117 throw new IllegalArgumentException("end <= start");
125 this.end = end;
132 int hash = (start * 31) + end;
[all...]
/dalvik/libdex/
H A DDexCatch.cpp68 u4 end = start + pTry->insnCount; local
70 if (address >= end) {
83 /* Get the handler offset just past the end of the one just iterated over.
H A DDexOptData.cpp28 * pointer into the given memory range (from start inclusive to end
31 static bool isValidPointer(const void* ptr, const void* start, const void* end) argument
33 return (ptr >= start) && (ptr < end) && (((uintptr_t) ptr & 7) == 0);
40 const u1* end = (const u1*) pOptHeader + local
45 return (u4) adler32(adler, start, end - start);
70 ALOGE("Unaligned opt data area end");
83 /* Process chunks until we see the end marker. */
H A DDexCatch.h89 /* Get the next item from a DexCatchIterator. Returns NULL if at end. */
108 /* Get the handler offset just past the end of the one just iterated over.
138 u4 end = start + tries[0].insnCount; local
140 if (address >= end) {
H A DSysUtil.cpp82 off_t start, end; local
89 end = lseek(fd, 0L, SEEK_END);
92 if (start == (off_t) -1 || end == (off_t) -1) {
97 length = end - start;
H A DDexDebugInfo.cpp75 const char *end = type; local
76 decodeSignature(&end);
77 return end - type;
H A DDexSwapVerify.cpp104 * Verify that a pointer range, start inclusive to end exclusive, only
105 * covers bytes in the file and doesn't point beyond the end of the
107 * the byte just past the end of the file (but no further), and the
108 * end must be no less than the start and must also not point beyond
109 * the byte just past the end of the file.
112 const void* start, const void* end, const char* label) {
116 || (end < start) || (end > fileEnd)) {
118 fileOffset(state, start), fileOffset(state, end));
125 * Verify that a range of offsets, start inclusive to end exclusiv
111 checkPtrRange(const CheckState* state, const void* start, const void* end, const char* label) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DBits.java148 * @param end {@code >= 0;} index of the last bit in the range (exclusive)
152 public static boolean anyInRange(int[] bits, int start, int end) { argument
154 return (idx >= 0) && (idx < end);
H A DByteArray.java37 * {@code end - start} (in the constructor) */
45 * @param end {@code >= start, <= bytes.length;} end index of
48 public ByteArray(byte[] bytes, int start, int end) { argument
57 if (end < start) {
58 throw new IllegalArgumentException("end < start");
61 if (end > bytes.length) {
62 throw new IllegalArgumentException("end > bytes.length");
67 this.size = end - start;
92 * @param end {
96 slice(int start, int end) argument
[all...]
H A DByteArrayAnnotatedOutput.java122 * bytes at the end).
150 int end = writeAt + 1;
153 ensureCapacity(end);
154 } else if (end > data.length) {
160 cursor = end;
166 int end = writeAt + 2;
169 ensureCapacity(end);
170 } else if (end > data.length) {
177 cursor = end;
183 int end
562 private int end; field in class:ByteArrayAnnotatedOutput.Annotation
575 Annotation(int start, int end, String text) argument
597 setEndIfUnset(int end) argument
608 setEnd(int end) argument
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DBits.java148 * @param end {@code >= 0;} index of the last bit in the range (exclusive)
152 public static boolean anyInRange(int[] bits, int start, int end) { argument
154 return (idx >= 0) && (idx < end);
H A DByteArray.java37 * {@code end - start} (in the constructor) */
45 * @param end {@code >= start, <= bytes.length;} end index of
48 public ByteArray(byte[] bytes, int start, int end) { argument
57 if (end < start) {
58 throw new IllegalArgumentException("end < start");
61 if (end > bytes.length) {
62 throw new IllegalArgumentException("end > bytes.length");
67 this.size = end - start;
92 * @param end {
96 slice(int start, int end) argument
[all...]
H A DByteArrayAnnotatedOutput.java134 * bytes at the end).
162 int end = writeAt + 1;
165 ensureCapacity(end);
166 } else if (end > data.length) {
172 cursor = end;
178 int end = writeAt + 2;
181 ensureCapacity(end);
182 } else if (end > data.length) {
189 cursor = end;
195 int end
558 private int end; field in class:ByteArrayAnnotatedOutput.Annotation
571 Annotation(int start, int end, String text) argument
593 setEndIfUnset(int end) argument
604 setEnd(int end) argument
[all...]
/dalvik/dexdump/
H A DDexDump.cpp133 /* strip leading [s; will be added to end */
584 u4 end = start + pTry->insnCount; local
587 printf(" 0x%04x - 0x%04x\n", start, end);
1571 /* skip past end of entry */
1612 /* don't know how to skip data; failure will cascade to end of class */
/dalvik/dx/etc/
H A Djasmin.jar ... jas.CP) jas.Label start jas.Label end jas.Label handler jas.CP cat public void ...

Completed in 615 milliseconds