/art/test/911-get-stack-trace/src/art/ |
D | Recurse.java | 20 public static int foo(int x, int start, int max, ControlData data) { in foo() argument 21 bar(x, start, max, data); in foo() 25 private static long bar(int x, int start, int max, ControlData data) { in bar() argument 26 baz(x, start, max, data); in bar() 30 private static Object baz(int x, int start, int max, ControlData data) { in baz() argument 32 printOrWait(start, max, data); in baz() 34 foo(x - 1, start, max, data); in baz() 39 private static void printOrWait(int start, int max, ControlData data) { in printOrWait() argument 41 PrintThread.print(Thread.currentThread(), start, max); in printOrWait() local
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleUnitTestHelpers.java | 194 public static int alignedOffset_char(ByteBuffer buffer, int start) { in alignedOffset_char() argument 195 return alignedOffset_short(buffer, start); in alignedOffset_char() 198 public static int alignedOffset_short(ByteBuffer buffer, int start) { in alignedOffset_short() argument 201 vh_probe_short.getVolatile(buffer, start + i); in alignedOffset_short() 202 return start + i; in alignedOffset_short() 207 return start; in alignedOffset_short() 210 public static int alignedOffset_int(ByteBuffer buffer, int start) { in alignedOffset_int() argument 213 vh_probe_int.getVolatile(buffer, start + i); in alignedOffset_int() 214 return start + i; in alignedOffset_int() 221 return start; in alignedOffset_int() [all …]
|
/art/test/028-array-write/src/ |
D | Main.java | 27 static public void report(long start, long end) { in report() argument 32 System.out.println("Finished in " + ((end - start) / 1000000.0) in report() 42 long start, end; in writeTest() local 47 start = System.nanoTime(); in writeTest() 52 report(start, end); in writeTest() 56 long start, end; in copyTest() local 63 start = System.nanoTime(); in copyTest() 70 report(start, end); in copyTest()
|
/art/runtime/gc/allocator/ |
D | dlmalloc.cc | 66 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { in DlmallocMadviseCallback() argument 72 start = reinterpret_cast<void*>(art::RoundUp(reinterpret_cast<uintptr_t>(start), art::kPageSize)); in DlmallocMadviseCallback() 74 if (end > start) { in DlmallocMadviseCallback() 75 size_t length = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); in DlmallocMadviseCallback() 76 int rc = madvise(start, length, MADV_DONTNEED); in DlmallocMadviseCallback() 86 extern "C" void DlmallocBytesAllocatedCallback(void* start ATTRIBUTE_UNUSED, in DlmallocBytesAllocatedCallback() 97 extern "C" void DlmallocObjectsAllocatedCallback(void* start ATTRIBUTE_UNUSED, in DlmallocObjectsAllocatedCallback()
|
/art/test/908-gc-start-finish/ |
D | Android.bp | 3 // Build rules for ART run-test `908-gc-start-finish`. 16 name: "art-run-test-908-gc-start-finish", 21 ":art-run-test-908-gc-start-finish-expected-stdout", 22 ":art-run-test-908-gc-start-finish-expected-stderr", 28 name: "art-run-test-908-gc-start-finish-expected-stdout", 29 out: ["art-run-test-908-gc-start-finish-expected-stdout.txt"], 36 name: "art-run-test-908-gc-start-finish-expected-stderr", 37 out: ["art-run-test-908-gc-start-finish-expected-stderr.txt"],
|
/art/test/1919-vminit-thread-start-timing/ |
D | Android.bp | 3 // Build rules for ART run-test `1919-vminit-thread-start-timing`. 16 name: "art-run-test-1919-vminit-thread-start-timing", 21 ":art-run-test-1919-vminit-thread-start-timing-expected-stdout", 22 ":art-run-test-1919-vminit-thread-start-timing-expected-stderr", 28 name: "art-run-test-1919-vminit-thread-start-timing-expected-stdout", 29 out: ["art-run-test-1919-vminit-thread-start-timing-expected-stdout.txt"], 36 name: "art-run-test-1919-vminit-thread-start-timing-expected-stderr", 37 out: ["art-run-test-1919-vminit-thread-start-timing-expected-stderr.txt"],
|
/art/test/023-many-interfaces/src/ |
D | ManyInterfaces.java | 173 private static void report(String label, long start, long end, int iter, in report() argument 176 System.out.println(label + ": " + (end - start) / 1000 + "us" in report() 177 + " (" + (end - start) / (iter*rept) + "ns per call)"); in report() 194 long start, end; in run() local 205 start = System.nanoTime(); in run() 208 report("testIface001", start, end, iter, rept); in run() 210 start = System.nanoTime(); in run() 213 report("testIface049", start, end, iter, rept); in run() 215 start = System.nanoTime(); in run() 218 report("testIface099", start, end, iter, rept); in run() [all …]
|
/art/libartbase/base/ |
D | mem_map_unix.cc | 27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 28 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap() 31 int MemMap::TargetMUnmap(void* start, size_t len) { in TargetMUnmap() argument 32 return munmap(start, len); in TargetMUnmap()
|
D | mem_map_fuchsia.cc | 61 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 69 if (start != nullptr) { in TargetMMap() 73 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap() 94 if (start != nullptr) { in TargetMMap() 102 if (status < 0 || reinterpret_cast<uintptr_t>(start) < vmarinfo.base) { in TargetMMap() 106 vmaroffset = reinterpret_cast<uintptr_t>(start) - vmarinfo.base; in TargetMMap() 130 int MemMap::TargetMUnmap(void* start, size_t len) { in TargetMUnmap() argument 131 uintptr_t addr = reinterpret_cast<uintptr_t>(start); in TargetMUnmap()
|
D | utils.cc | 80 int CacheFlush(uintptr_t start, uintptr_t limit) { in CacheFlush() argument 83 int r = cacheflush(start, limit, kCacheFlushFlags); in CacheFlush() 90 bool TouchAndFlushCacheLinesWithinPage(uintptr_t start, uintptr_t limit, size_t attempts) { in TouchAndFlushCacheLinesWithinPage() argument 91 CHECK_LT(start, limit); in TouchAndFlushCacheLinesWithinPage() 92 CHECK_EQ(RoundDown(start, kPageSize), RoundDown(limit - 1, kPageSize)) << "range spans pages"; in TouchAndFlushCacheLinesWithinPage() 97 v = *reinterpret_cast<uint8_t*>(start); in TouchAndFlushCacheLinesWithinPage() 99 if (LIKELY(CacheFlush(start, limit) == 0)) { in TouchAndFlushCacheLinesWithinPage() 131 uintptr_t start = reinterpret_cast<uintptr_t>(begin); in FlushCpuCaches() local 133 if (LIKELY(CacheFlush(start, limit) == 0)) { in FlushCpuCaches() 140 uintptr_t next_page = RoundUp(start + 1, kPageSize); in FlushCpuCaches() [all …]
|
/art/test/003-omnibus-opcodes/src/ |
D | IntMath.java | 279 static void divLiteralTestBody(int start, int count) { in divLiteralTestBody() argument 286 normal = (start+i) / j; in divLiteralTestBody() 287 special = (start+i) / 3; in divLiteralTestBody() 290 normal = (start+i) / j; in divLiteralTestBody() 291 special = (start+i) / 4; in divLiteralTestBody() 294 normal = (start+i) / j; in divLiteralTestBody() 295 special = (start+i) / 5; in divLiteralTestBody() 298 normal = (start+i) / j; in divLiteralTestBody() 299 special = (start+i) / 6; in divLiteralTestBody() 302 normal = (start+i) / j; in divLiteralTestBody() [all …]
|
/art/dexlayout/ |
D | dex_writer.cc | 118 size_t start = 0; in WriteEncodedValue() local 140 start = 4 - length; in WriteEncodedValue() 144 start = 8 - length; in WriteEncodedValue() 183 stream->Write(buffer + start, length); in WriteEncodedValue() 233 const uint32_t start = stream->Tell(); in WriteStringIds() local 243 if (compute_offsets_ && start != stream->Tell()) { in WriteStringIds() 244 header_->StringIds().SetOffset(start); in WriteStringIds() 258 const uint32_t start = stream->Tell(); in WriteStringDatas() local 262 if (compute_offsets_ && start != stream->Tell()) { in WriteStringDatas() 263 header_->StringDatas().SetOffset(start); in WriteStringDatas() [all …]
|
/art/libdexfile/dex/ |
D | utf_test.cc | 40 #define EXPECT_ARRAY_POSITION(expected, end, start) \ argument 42 reinterpret_cast<uintptr_t>(end) - reinterpret_cast<uintptr_t>(start)); 62 const char* const start = reinterpret_cast<const char*>(kAllSequences); in TEST_F() local 63 const char* ptr = start; in TEST_F() 70 EXPECT_ARRAY_POSITION(1, ptr, start); in TEST_F() 76 EXPECT_ARRAY_POSITION(3, ptr, start); in TEST_F() 82 EXPECT_ARRAY_POSITION(6, ptr, start); in TEST_F() 88 EXPECT_ARRAY_POSITION(10, ptr, start); in TEST_F() 94 EXPECT_ARRAY_POSITION(11, ptr, start); in TEST_F() 98 const char* const start = reinterpret_cast<const char *>(kSurrogateEncoding); in TEST_F() local [all …]
|
/art/test/499-bce-phi-array-length/src/ |
D | Main.java | 18 public static int foo(int start, int[] array) { in foo() argument 22 for (int i = start; i < 3; i++) { in foo() 35 public static int bar(int start, int[] array) { in bar() argument 37 for (int i = start; i < 3; i++) { in bar()
|
/art/test/203-multi-checkpoint/src/ |
D | Main.java | 20 static final Semaphore start = new Semaphore(0); field in Main 27 t.start(); in main() 29 start.acquire(); in main() 51 start.release(); in runTargetThread()
|
/art/compiler/optimizing/ |
D | graph_visualizer.h | 41 size_t start; member 64 void SetFrameEntryInterval(size_t start, size_t end) { in SetFrameEntryInterval() argument 65 frame_entry_interval_ = {start, end}; in SetFrameEntryInterval() 68 void AddInstructionInterval(HInstruction* instr, size_t start, size_t end) { in AddInstructionInterval() argument 69 instruction_intervals_.Put(instr, {start, end}); in AddInstructionInterval() 72 void AddSlowPathInterval(SlowPathCode* slow_path, size_t start, size_t end) { in AddSlowPathInterval() argument 73 slow_path_intervals_.push_back({slow_path, {start, end}}); in AddSlowPathInterval()
|
/art/runtime/gc/accounting/ |
D | remembered_set.cc | 144 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in UpdateAndMarkReferences() local 145 DCHECK(space_->HasAddress(reinterpret_cast<mirror::Object*>(start))); in UpdateAndMarkReferences() 146 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences() 168 auto start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump() local 169 auto end = start + CardTable::kCardSize; in Dump() 170 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << "\n"; in Dump() 178 auto start = reinterpret_cast<uint8_t*>(card_table->AddrFromCard(card_addr)); in AssertAllDirtyCardsAreWithinSpace() local 179 auto end = start + CardTable::kCardSize; in AssertAllDirtyCardsAreWithinSpace() 180 DCHECK_LE(space_->Begin(), start); in AssertAllDirtyCardsAreWithinSpace()
|
D | mod_union_table.cc | 361 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); in Verify() local 362 live_bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, visitor); in Verify() 371 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump() local 372 uintptr_t end = start + CardTable::kCardSize; in Dump() 373 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << ","; in Dump() 378 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card_addr)); in Dump() local 379 uintptr_t end = start + CardTable::kCardSize; in Dump() 380 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << "->{"; in Dump() 392 uintptr_t start = reinterpret_cast<uintptr_t>(card_table->AddrFromCard(card)); in VisitObjects() local 393 uintptr_t end = start + CardTable::kCardSize; in VisitObjects() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Instances.java | 73 int start = 0; in get() local 75 while (start < end) { in get() 76 int mid = start + ((end - start) / 2); in get() 84 start = mid + 1; in get()
|
/art/test/910-methods/ |
D | expected-stdout.txt | 6 Location start: 0 16 Location start: JVMTI_ERROR_NATIVE_METHOD 26 Location start: JVMTI_ERROR_NATIVE_METHOD 36 Location start: -1 46 Location start: -1 55 Location start: 0
|
/art/test/503-dead-instructions/smali/ |
D | DeadInstructions.smali | 24 :start 31 goto :start 37 :start 43 goto :start 49 :start 53 goto :start 59 :start 62 goto :start
|
/art/test/004-InterfaceTest/src/ |
D | Main.java | 25 long start = System.currentTimeMillis(); in test_virtual() local 30 return (end - start); in test_virtual() 36 long start = System.currentTimeMillis(); in test_interface() local 41 return (end - start); in test_interface()
|
/art/test/917-fields-transformation/ |
D | expected-stdout.txt | 4 Result is start 5 take1 is start 11 take1 is start
|
/art/libnativeloader/test/ |
D | runtest.sh | 6 adb shell start 9 adb shell am start -n android.test.app.system/android.test.app.TestActivity 10 adb shell am start -n android.test.app.vendor/android.test.app.TestActivity
|
/art/test/078-polymorphic-virtual/src/ |
D | Main.java | 23 derived1.start(); in main() 24 derived2.start(); in main() 25 derived3.start(); in main()
|