Home
last modified time | relevance | path

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

12345

/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()
150 if (start < other.start) { in compareTo()
152 } else if (start > other.start) { in compareTo()
171 return start; in getStart()
/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()
/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.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.java485 int start = a.getStart(); in writeAnnotationsTo() local
489 if (leftAt < start) { in writeAnnotationsTo()
491 end = start; in writeAnnotationsTo()
492 start = leftAt; in writeAnnotationsTo()
501 left.write(Hex.dump(data, start, end - start, start, hexCols, 6)); in writeAnnotationsTo()
549 private final int start; field in ByteArrayAnnotatedOutput.Annotation
568 public Annotation(int start, int end, String text) { in Annotation() argument
569 this.start = start; in Annotation()
580 public Annotation(int start, String text) { in Annotation() argument
581 this(start, Integer.MAX_VALUE, text); in Annotation()
[all …]
/dalvik/tools/
Ddeadcode.py19 start = 0
25 result = headerPattern.search(buffer, start)
36 sections[sectionName] = buffer[anchor:result.start()]
39 start = result.end()
40 anchor = start
53 start = 0
58 result = methodPattern.search(section, start)
65 start = result.end()
72 start = 0
76 match = codes.find(method, start)
[all …]
/dalvik/tests/028-array-write/src/
DMain.java13 static public void report(long start, long end) { in report() argument
18 System.out.println("Finished in " + ((end - start) / 1000000.0) in report()
28 long start, end; in writeTest() local
33 start = System.nanoTime(); in writeTest()
38 report(start, end); in writeTest()
42 long start, end; in copyTest() local
49 start = System.nanoTime(); in copyTest()
56 report(start, end); in copyTest()
/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()
119 off_t start; in sysLoadFileInShmem() local
125 if (getFileStartAndLength(fd, &start, &length) < 0) in sysLoadFileInShmem()
156 off_t start; in sysFakeMapFile() local
162 if (getFileStartAndLength(fd, &start, &length) < 0) in sysFakeMapFile()
[all …]
DDexOptData.cpp31 static bool isValidPointer(const void* ptr, const void* start, const void* end) in isValidPointer() argument
33 return (ptr >= start) && (ptr < end) && (((u4) 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()
/dalvik/tests/023-many-interfaces/src/
DManyInterfaces.java159 private static void report(String label, long start, long end, int iter, in report() argument
162 System.out.println(label + ": " + (end - start) / 1000 + "us" in report()
163 + " (" + (end - start) / (iter*rept) + "ns per call)"); in report()
180 long start, end; in run() local
191 start = System.nanoTime(); in run()
194 report("testIface001", start, end, iter, rept); in run()
196 start = System.nanoTime(); in run()
199 report("testIface049", start, end, iter, rept); in run()
201 start = System.nanoTime(); in run()
204 report("testIface099", start, end, iter, rept); in run()
[all …]
/dalvik/vm/
DStdioConverter.cpp229 const char* start = data->buf; in readAndLog() local
235 LOG(LOG_INFO, tag, "%s", start); in readAndLog()
236 start = cp+1; in readAndLog()
243 if (start == data->buf && data->count == kMaxLine) { in readAndLog()
245 LOG(LOG_INFO, tag, "%s!", start); in readAndLog()
246 start = cp + kMaxLine; in readAndLog()
254 if (start != data->buf) { in readAndLog()
255 if (start >= data->buf + data->count) { in readAndLog()
260 int remaining = data->count - (start - data->buf); in readAndLog()
261 memmove(data->buf, start, remaining); in readAndLog()
DLinearAlloc.cpp348 int cc, start, len; in dvmLinearAlloc() local
350 start = firstWriteOff; in dvmLinearAlloc()
351 assert(start <= nextOffset); in dvmLinearAlloc()
354 LOGVV("--- calling mprotect(start=%d len=%d RW)", start, len); in dvmLinearAlloc()
355 cc = mprotect(pHdr->mapAddr + start, len, PROT_READ | PROT_WRITE); in dvmLinearAlloc()
358 start, len, strerror(errno)); in dvmLinearAlloc()
366 int i, start, end; in dvmLinearAlloc() local
368 start = firstWriteOff / SYSTEM_PAGE_SIZE; in dvmLinearAlloc()
372 start, end, size, pHdr->mapAddr + startOffset + HEADER_EXTRA); in dvmLinearAlloc()
373 for (i = start; i <= end; i++) in dvmLinearAlloc()
[all …]
/dalvik/tests/078-polymorphic-virtual/src/
DMain.java23 derived1.start(); in main()
24 derived2.start(); in main()
25 derived3.start(); in main()
/dalvik/vm/compiler/codegen/x86/
DCodegenDriver.cpp252 int i, start, streak; in dvmCompilerArchDump() local
263 for (start = i++, streak = 1; i < kNumPackedOpcodes; i++) { in dvmCompilerArchDump()
268 sprintf(buf+strlen(buf), "%x,", start); in dvmCompilerArchDump()
270 sprintf(buf+strlen(buf), "%x-%x,", start, start + streak - 1); in dvmCompilerArchDump()
278 start = i; in dvmCompilerArchDump()
284 sprintf(buf+strlen(buf), "%x", start); in dvmCompilerArchDump()
286 sprintf(buf+strlen(buf), "%x-%x", start, start + streak - 1); in dvmCompilerArchDump()
/dalvik/dx/src/com/android/dx/rop/code/
DLocalVariableInfo.java109 RegisterSpecSet start = getStarts0(label); in mergeStarts() local
112 if (start == null) { in mergeStarts()
117 RegisterSpecSet newStart = start.mutableCopy(); in mergeStarts()
118 if (start.size() != 0) { in mergeStarts()
124 if (start.equals(newStart)) { in mergeStarts()
/dalvik/tests/053-wait-some/src/
DMain.java19 long start, end; in doit() local
34 start = System.currentTimeMillis(); in doit()
42 long elapsed = end - start; in doit()
/dalvik/tests/030-bad-finalizer/src/
DBadFinalizer.java20 long start, end; in finalize() local
21 start = System.nanoTime(); in finalize()
/dalvik/tests/002-sleep/src/
DMain.java11 long start = System.currentTimeMillis(); in main() local
13 long elapsed = System.currentTimeMillis() - start; in main()
/dalvik/tests/067-preemptive-unpark/src/
DMain.java15 test.start(); in main()
94 long start = System.currentTimeMillis(); in run() local
96 long elapsed = System.currentTimeMillis() - start; in run()
/dalvik/tests/050-sync-test/src/
DMain.java40 one.start(); in countTest()
41 two.start(); in countTest()
71 sleepy.start(); in interruptTest()
72 pesky.start(); in interruptTest()
/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()

12345