Home
last modified time | relevance | path

Searched refs:ToAddress (Results 1 – 3 of 3) sorted by relevance

/external/v8/test/cctest/
Dtest-profile-generator.cc330 static inline i::Address ToAddress(int n) { in ToAddress() function
341 code_map.AddCode(ToAddress(0x1500), &entry1, 0x200); in TEST()
342 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100); in TEST()
343 code_map.AddCode(ToAddress(0x1900), &entry3, 0x50); in TEST()
344 code_map.AddCode(ToAddress(0x1950), &entry4, 0x10); in TEST()
346 CHECK_EQ(NULL, code_map.FindEntry(ToAddress(0x1500 - 1))); in TEST()
347 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500))); in TEST()
348 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x100))); in TEST()
349 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x200 - 1))); in TEST()
350 CHECK_EQ(&entry2, code_map.FindEntry(ToAddress(0x1700))); in TEST()
[all …]
Dtest-heap-profiler.cc2749 static inline i::Address ToAddress(int n) { in ToAddress() function
2757 CHECK_EQ(0, map.GetTraceNodeId(ToAddress(150))); in TEST()
2760 map.AddRange(ToAddress(0x100), 0x100, 1U); in TEST()
2761 CHECK_EQ(0, map.GetTraceNodeId(ToAddress(0x50))); in TEST()
2762 CHECK_EQ(1, map.GetTraceNodeId(ToAddress(0x100))); in TEST()
2763 CHECK_EQ(1, map.GetTraceNodeId(ToAddress(0x150))); in TEST()
2764 CHECK_EQ(0, map.GetTraceNodeId(ToAddress(0x100 + 0x100))); in TEST()
2768 map.AddRange(ToAddress(0x200), 0x100, 2U); in TEST()
2769 CHECK_EQ(2, map.GetTraceNodeId(ToAddress(0x2a0))); in TEST()
2773 map.AddRange(ToAddress(0x180), 0x100, 3U); in TEST()
[all …]
/external/vixl/src/vixl/a64/
Ddebugger-a64.cc58 virtual uint8_t* ToAddress(Debugger* debugger) const;
85 virtual uint8_t* ToAddress(Debugger* debugger) const;
132 virtual uint8_t* ToAddress(Debugger* debugger) const;
150 virtual uint8_t* ToAddress(Debugger* debugger) const;
792 uint8_t* Token::ToAddress(Debugger* debugger) const { in ToAddress() function in vixl::Token
836 uint8_t* RegisterToken::ToAddress(Debugger* debugger) const { in ToAddress() function in vixl::RegisterToken
920 uint8_t* IdentifierToken::ToAddress(Debugger* debugger) const { in ToAddress() function in vixl::IdentifierToken
951 uint8_t* AddressToken::ToAddress(Debugger* debugger) const { in ToAddress() function in vixl::AddressToken
1388 uint8_t* address = target()->ToAddress(debugger); in Run()