Searched defs:start (Results 1 - 25 of 51) sorted by relevance

123

/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.cpp184 size_t start = HB_OFFSET_TO_INDEX(base - liveHb->base); local
188 for (size_t i = start; i <= end; i++) {
H A DHeap.cpp432 * start executing, so this is only interesting when we start chasing
628 * changed at the start of the current garbage collection.
705 u4 start = 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.java30 /** {@code >= 0;} bytecode offset (inclusive) of the start of the block */
31 private final int start; field in class:ByteBlock
33 /** {@code > start;} bytecode offset (exclusive) of the end of the block */
46 * @param start {@code >= 0;} bytecode offset (inclusive) of the start
48 * @param end {@code > start;} bytecode offset (exclusive) of the end
55 public ByteBlock(int label, int start, int end, IntList successors, argument
61 if (start < 0) {
62 throw new IllegalArgumentException("start < 0");
65 if (end <= start) {
[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;
33 start = System.nanoTime();
38 report(start, end);
42 long start, end;
49 start = System.nanoTime();
56 report(start, end);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DStdCatchBuilder.java147 // This is the start of a new catch range.
168 * so we need to finish off the last entry and start a new
269 * @param start {@code non-null;} the start block for the range (inclusive)
270 * @param end {@code non-null;} the start block for the range (also inclusive)
274 private static CatchTable.Entry makeEntry(BasicBlock start, argument
278 * We start at the *last* instruction of the start block, since
281 CodeAddress startAddress = addresses.getLast(start);
295 * @param start {
300 rangeIsValid(BasicBlock start, BasicBlock end, BlockAddresses addresses) argument
[all...]
H A DCatchTable.java96 /** {@code >= 0;} start address */
97 private final int start; field in class:CatchTable.Entry
99 /** {@code > start;} end address (exclusive) */
108 * @param start {@code >= 0;} start address
109 * @param end {@code > start;} end address (exclusive)
112 public Entry(int start, int end, CatchHandlerList handlers) { argument
113 if (start < 0) {
114 throw new IllegalArgumentException("start < 0");
117 if (end <= start) {
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DByteBlock.java30 /** {@code >= 0;} bytecode offset (inclusive) of the start of the block */
31 private final int start; field in class:ByteBlock
33 /** {@code > start;} bytecode offset (exclusive) of the end of the block */
46 * @param start {@code >= 0;} bytecode offset (inclusive) of the start
48 * @param end {@code > start;} bytecode offset (exclusive) of the end
55 public ByteBlock(int label, int start, int end, IntList successors, argument
61 if (start < 0) {
62 throw new IllegalArgumentException("start < 0");
65 if (end <= start) {
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DStdCatchBuilder.java147 // This is the start of a new catch range.
168 * so we need to finish off the last entry and start a new
269 * @param start {@code non-null;} the start block for the range (inclusive)
270 * @param end {@code non-null;} the start block for the range (also inclusive)
274 private static CatchTable.Entry makeEntry(BasicBlock start, argument
278 * We start at the *last* instruction of the start block, since
281 CodeAddress startAddress = addresses.getLast(start);
295 * @param start {
300 rangeIsValid(BasicBlock start, BasicBlock end, BlockAddresses addresses) argument
[all...]
H A DCatchTable.java96 /** {@code >= 0;} start address */
97 private final int start; field in class:CatchTable.Entry
99 /** {@code > start;} end address (exclusive) */
108 * @param start {@code >= 0;} start address
109 * @param end {@code > start;} end address (exclusive)
112 public Entry(int start, int end, CatchHandlerList handlers) { argument
113 if (start < 0) {
114 throw new IllegalArgumentException("start < 0");
117 if (end <= start) {
[all...]
/dalvik/libdex/
H A DDexCatch.cpp61 u4 start = pTry->startAddr; local
63 if (address < start) {
68 u4 end = start + pTry->insnCount;
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);
39 const u1* start = (const u1*) pOptHeader + pOptHeader->depsOffset; local
45 return (u4) adler32(adler, start, end - start);
57 * Make sure the opt data start is in range and aligned. This may
64 ALOGE("Bogus opt data start pointer");
H A DDexCatch.h132 u4 start = tries[0].startAddr; local
134 if (address < start) {
138 u4 end = start + tries[0].insnCount;
H A DSysUtil.cpp82 off_t start, end; local
88 start = lseek(fd, 0L, SEEK_CUR);
90 (void) lseek(fd, start, SEEK_SET);
92 if (start == (off_t) -1 || end == (off_t) -1) {
97 length = end - start;
103 *start_ = start;
119 off_t start; local
125 if (getFileStartAndLength(fd, &start, &length) < 0)
156 off_t start; local
162 if (getFileStartAndLength(fd, &start,
189 off_t start; local
228 off_t start; local
268 sysMapFileSegmentInShmem(int fd, off_t start, size_t length, MemMapping* pMap) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DBits.java147 * @param start {@code >= 0;} index of the first bit in the range (inclusive)
152 public static boolean anyInRange(int[] bits, int start, int end) { argument
153 int idx = findFirst(bits, start);
H A DByteArray.java33 /** {@code >= 0}; start index of the slice (inclusive) */
34 private final int start; field in class:ByteArray
37 * {@code end - start} (in the constructor) */
44 * @param start {@code >= 0;} start index of the slice (inclusive)
45 * @param end {@code >= start, <= bytes.length;} end index of
48 public ByteArray(byte[] bytes, int start, int end) { argument
53 if (start < 0) {
54 throw new IllegalArgumentException("start < 0");
57 if (end < start) {
96 slice(int start, int end) argument
[all...]
H A DByteArrayAnnotatedOutput.java492 int start = a.getStart();
496 if (leftAt < start) {
498 end = start;
499 start = leftAt;
508 left.write(Hex.dump(data, start, end - start, start, hexCols, 6));
555 /** {@code >= 0;} start of annotated range (inclusive) */
556 private final int start; field in class:ByteArrayAnnotatedOutput.Annotation
570 * @param start {
575 Annotation(int start, int end, String text) argument
587 Annotation(int start, String text) argument
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DBits.java147 * @param start {@code >= 0;} index of the first bit in the range (inclusive)
152 public static boolean anyInRange(int[] bits, int start, int end) { argument
153 int idx = findFirst(bits, start);
H A DByteArray.java33 /** {@code >= 0}; start index of the slice (inclusive) */
34 private final int start; field in class:ByteArray
37 * {@code end - start} (in the constructor) */
44 * @param start {@code >= 0;} start index of the slice (inclusive)
45 * @param end {@code >= start, <= bytes.length;} end index of
48 public ByteArray(byte[] bytes, int start, int end) { argument
53 if (start < 0) {
54 throw new IllegalArgumentException("start < 0");
57 if (end < start) {
96 slice(int start, int end) argument
[all...]
H A DByteArrayAnnotatedOutput.java485 int start = a.getStart();
489 if (leftAt < start) {
491 end = start;
492 start = leftAt;
501 left.write(Hex.dump(data, start, end - start, start, hexCols, 6));
548 /** {@code >= 0;} start of annotated range (inclusive) */
549 private final int start; field in class:ByteArrayAnnotatedOutput.Annotation
563 * @param start {
568 Annotation(int start, int end, String text) argument
580 Annotation(int start, String text) argument
[all...]
/dalvik/vm/
H A DStdioConverter.cpp229 const char* start = data->buf; local
234 //ALOGW("GOT %d at %d '%s'", cp - start, start - data->buf, start);
235 ALOG(LOG_INFO, tag, "%s", start);
236 start = cp+1;
243 if (start == data->buf && data->count == kMaxLine) {
245 ALOG(LOG_INFO, tag, "%s!", start);
246 start = cp + kMaxLine;
254 if (start !
[all...]
H A DLinearAlloc.cpp123 * Note we leave the first page empty (see below), and start the
175 * pages start out PROT_NONE, become read/write while we access them,
332 * page-align the start address, but don't have to make the length a
348 int cc, start, len; local
350 start = firstWriteOff;
351 assert(start <= nextOffset);
354 LOGVV("--- calling mprotect(start=%d len=%d RW)", start, len);
355 cc = mprotect(pHdr->mapAddr + start, len, PROT_READ | PROT_WRITE);
358 start, le
366 int i, start, end; local
695 dvmLinearAllocContains(const void* start, size_t length) argument
[all...]
H A DUtfString.cpp309 int start, int len, char* buf)
311 const u2* data = jstr->chars() + start;
308 dvmGetStringUtfRegion(const StringObject* jstr, int start, int len, char* buf) argument
/dalvik/dx/tests/098-dex-jsr-ret-throw/
H A DViewDebug$ViewServer.class ... defs= " () java.io.IOException e public void start () public void stop () java.io.IOException e public ...
/dalvik/vm/test/
H A DAtomicTest.cpp202 int64_t start, end; local
205 start = getRelativeTimeNsec();
239 return end - start;

Completed in 1188 milliseconds

123