Searched refs:ToAddress (Results 1 – 2 of 2) sorted by relevance
/external/v8/test/cctest/ |
D | test-cpu-profiler.cc | 44 static inline i::Address ToAddress(int n) { in ToAddress() function 106 ToAddress(0x1000), in TEST() 108 ToAddress(0x10000)); in TEST() 111 ToAddress(0x1200), in TEST() 113 processor.CodeCreateEvent(i::Logger::STUB_TAG, 5, ToAddress(0x1300), 0x10); in TEST() 116 ToAddress(0x1400), in TEST() 118 processor.CodeMoveEvent(ToAddress(0x1400), ToAddress(0x1500)); in TEST() 119 processor.CodeCreateEvent(i::Logger::STUB_TAG, 3, ToAddress(0x1600), 0x10); in TEST() 120 processor.CodeDeleteEvent(ToAddress(0x1600)); in TEST() 122 EnqueueTickSampleEvent(&processor, ToAddress(0x1000)); in TEST() [all …]
|
D | test-profile-generator.cc | 508 static inline i::Address ToAddress(int n) { in ToAddress() function 522 code_map.AddCode(ToAddress(0x1500), &entry1, 0x200); in TEST() 523 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100); in TEST() 524 code_map.AddCode(ToAddress(0x1900), &entry3, 0x50); in TEST() 525 code_map.AddCode(ToAddress(0x1950), &entry4, 0x10); in TEST() 527 CHECK_EQ(NULL, code_map.FindEntry(ToAddress(0x1500 - 1))); in TEST() 528 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500))); in TEST() 529 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x100))); in TEST() 530 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x200 - 1))); in TEST() 531 CHECK_EQ(&entry2, code_map.FindEntry(ToAddress(0x1700))); in TEST() [all …]
|