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

12

/dalvik/vm/alloc/
H A DWriteBarrier.h44 * or equal to start and strictly less than end, have been written,
48 size_t start, size_t end)
47 dvmWriteBarrierArray(const ArrayObject *obj, size_t start, size_t end) argument
H A DHeapBitmap.cpp103 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); local
104 for (uintptr_t i = 0; i <= end; ++i) {
137 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); local
139 for (i = 0; i <= end; ++i) {
151 end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base);
185 size_t end = HB_OFFSET_TO_INDEX(max - liveHb->base); local
188 for (size_t i = start; i <= end; i++) {
H A DCardTable.cpp121 * leave vestigial nonzero entries at the end if temporary objects are
123 * can round up to the end of the card table page to reduce this.)
163 u1* end = &begin[h->cardTableLength]; local
164 return cardAddr >= begin && cardAddr < end;
H A DHeap.cpp711 u4 end = dvmGetRelativeTimeMsec(); local
712 if (end - start > 0) {
713 ALOGD("WAIT_FOR_CONCURRENT_GC blocked %ums", end - start);
/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/tests/028-array-write/src/
H A DMain.java13 static public void report(long start, long end) { argument
18 System.out.println("Finished in " + ((end - start) / 1000000.0)
28 long start, end;
36 end = System.nanoTime();
38 report(start, end);
42 long start, end;
54 end = System.nanoTime();
56 report(start, end);
/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.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/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 DDexDebugInfo.cpp75 const char *end = type; local
76 decodeSignature(&end);
77 return end - type;
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;
/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.java131 * bytes at the end).
159 int end = writeAt + 1;
162 ensureCapacity(end);
163 } else if (end > data.length) {
169 cursor = end;
175 int end = writeAt + 2;
178 ensureCapacity(end);
179 } else if (end > data.length) {
186 cursor = end;
192 int end
555 private int end; field in class:ByteArrayAnnotatedOutput.Annotation
568 Annotation(int start, int end, String text) argument
590 setEndIfUnset(int end) argument
601 setEnd(int end) argument
[all...]
/dalvik/vm/
H A DIndirectRefTable.h342 iterator end() { function in struct:IndirectRefTable
H A DLinearAlloc.cpp278 * What we'd like to do is just determine the new end-of-alloc size
366 int i, start, end; local
369 end = lastWriteOff / SYSTEM_PAGE_SIZE;
372 start, end, size, pHdr->mapAddr + startOffset + HEADER_EXTRA);
373 for (i = start; i <= end; i++)
/dalvik/vm/test/
H A DAtomicTest.cpp202 int64_t start, end; local
235 end = getRelativeTimeNsec();
239 return end - start;

Completed in 2418 milliseconds

12