Home
last modified time | relevance | path

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

12345678910>>...14

/art/test/911-get-stack-trace/src/art/
DRecurse.java20 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/028-array-write/src/
DMain.java27 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/test/712-varhandle-invocations/src/
DVarHandleUnitTestHelpers.java194 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/runtime/gc/allocator/
Ddlmalloc.cc66 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()
Ddlmalloc.h41 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* /*arg*/);
46 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg…
47 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* a…
/art/libartbase/base/
Dmem_map_unix.cc27 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()
Dutils.cc78 int CacheFlush(uintptr_t start, uintptr_t limit) { in CacheFlush() argument
81 int r = cacheflush(start, limit, kCacheFlushFlags); in CacheFlush()
88 bool TouchAndFlushCacheLinesWithinPage(uintptr_t start, uintptr_t limit, size_t attempts) { in TouchAndFlushCacheLinesWithinPage() argument
89 CHECK_LT(start, limit); in TouchAndFlushCacheLinesWithinPage()
90 CHECK_EQ(RoundDown(start, kPageSize), RoundDown(limit - 1, kPageSize)) << "range spans pages"; in TouchAndFlushCacheLinesWithinPage()
95 v = *reinterpret_cast<uint8_t*>(start); in TouchAndFlushCacheLinesWithinPage()
97 if (LIKELY(CacheFlush(start, limit) == 0)) { in TouchAndFlushCacheLinesWithinPage()
129 uintptr_t start = reinterpret_cast<uintptr_t>(begin); in FlushCpuCaches() local
131 if (LIKELY(CacheFlush(start, limit) == 0)) { in FlushCpuCaches()
138 uintptr_t next_page = RoundUp(start + 1, kPageSize); in FlushCpuCaches()
[all …]
Dmem_map_fuchsia.cc61 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()
/art/compiler/optimizing/
Dgraph_visualizer.h39 size_t start; member
62 void SetFrameEntryInterval(size_t start, size_t end) { in SetFrameEntryInterval() argument
63 frame_entry_interval_ = {start, end}; in SetFrameEntryInterval()
66 void AddInstructionInterval(HInstruction* instr, size_t start, size_t end) { in AddInstructionInterval() argument
67 instruction_intervals_.Put(instr, {start, end}); in AddInstructionInterval()
70 void AddSlowPathInterval(SlowPathCode* slow_path, size_t start, size_t end) { in AddSlowPathInterval() argument
71 slow_path_intervals_.push_back({slow_path, {start, end}}); in AddSlowPathInterval()
/art/test/023-many-interfaces/src/
DManyInterfaces.java173 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/test/499-bce-phi-array-length/src/
DMain.java18 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/
DMain.java20 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/test/003-omnibus-opcodes/src/
DIntMath.java279 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/
Ddex_writer.cc118 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/tools/ahat/src/main/com/android/ahat/heapdump/
DInstances.java73 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/libdexfile/dex/
Dutf_test.cc40 #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/runtime/gc/accounting/
Dremembered_set.cc144 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()
Dmod_union_table.cc361 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/test/910-methods/
Dexpected.txt6 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/004-InterfaceTest/src/
DMain.java25 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/
Dexpected.txt4 Result is start
5 take1 is start
11 take1 is start
/art/test/503-dead-instructions/smali/
DDeadInstructions.smali24 :start
31 goto :start
37 :start
43 goto :start
49 :start
53 goto :start
59 :start
62 goto :start
/art/libnativeloader/test/
Druntest.sh6 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/
DMain.java23 derived1.start(); in main()
24 derived2.start(); in main()
25 derived3.start(); in main()
/art/test/1931-monitor-events/
Dexpected.txt5 ParkThread start-monitor-wait NamedLock[Parking blocker object] timeout: 1
8 Locker thread 2 for NamedLock[Lock testWait] start-monitor-wait NamedLock[Lock testWait] timeout: 0
11 Locker thread 4 for NamedLock[Lock testTimedWait] start-monitor-wait NamedLock[Lock testTimedWait] …
15 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] start-monitor-wait NamedLock[Lock testTime…
19 Unlocked wait thread: start-monitor-wait NamedLock[Lock testUnlockedWait] timeout: 0
23 Locker thread 7 for NamedLock[Lock testIllegalWait] start-monitor-wait NamedLock[Lock testIllegalWa…
28 Locker thread 8 for NamedLock[Lock testInteruptWait] start-monitor-wait NamedLock[Lock testInterupt…

12345678910>>...14