Home
last modified time | relevance | path

Searched refs:mapped_addr (Results 1 – 17 of 17) sorted by relevance

/external/perf_data_converter/src/quipper/
Daddress_mapper_test.cc94 uint64_t mapped_addr = UINT64_MAX; in TestMappedRange() local
104 EXPECT_TRUE(mapper_->GetMappedAddressAndListIterator(addr, &mapped_addr, in TestMappedRange()
106 EXPECT_EQ(expected_mapped_addr + offset, mapped_addr); in TestMappedRange()
118 range.addr + range.size - 1, &mapped_addr, &addr_iter)); in TestMappedRange()
119 EXPECT_EQ(expected_mapped_addr + range.size - 1, mapped_addr); in TestMappedRange()
134 uint64_t mapped_addr; in TEST_F() local
137 &mapped_addr, &iter)); in TEST_F()
139 &mapped_addr, &iter)); in TEST_F()
141 range.addr + range.size, &mapped_addr, &iter)); in TEST_F()
143 range.addr + range.size + 0x100, &mapped_addr, &iter)); in TEST_F()
[all …]
Daddress_mapper.cc140 range.mapped_addr = page_offset; in MapWithID()
149 if (mappings_.begin()->mapped_addr >= range.size + page_offset) { in MapWithID()
150 range.mapped_addr = page_offset; in MapWithID()
152 mappings_.begin()->mapped_addr - range.size - page_offset; in MapWithID()
165 existing_mapping.mapped_addr + existing_mapping.size; in MapWithID()
185 range.mapped_addr = next_page_boundary + mapping_offset; in MapWithID()
189 range.mapped_addr - end_of_existing_mapping; in MapWithID()
193 range.mapped_addr = existing_mapping.mapped_addr + existing_mapping.size; in MapWithID()
217 << " mapped: " << std::hex << it->mapped_addr in DumpToLog()
224 const uint64_t real_addr, uint64_t* mapped_addr, in GetMappedAddressAndListIterator() argument
[all …]
Dperf_parser.cc488 uint64_t mapped_addr = 0; in MapCallchain() local
490 entry, pidtid, &mapped_addr, in MapCallchain()
494 callchain->Set(i, mapped_addr); in MapCallchain()
567 uint64_t mapped_addr = 0; in MapIPAndPidAndGetNameAndOffset() local
574 mapper->GetMappedAddressAndListIterator(ip, &mapped_addr, &ip_iter); in MapIPAndPidAndGetNameAndOffset()
594 if (GetPageAlignedOffset(mapped_addr) != GetPageAlignedOffset(ip)) { in MapIPAndPidAndGetNameAndOffset()
595 LOG(ERROR) << "Remapped address " << std::hex << mapped_addr << " " in MapIPAndPidAndGetNameAndOffset()
600 *new_ip = mapped_addr; in MapIPAndPidAndGetNameAndOffset()
663 uint64_t mapped_addr; in MapMmapEvent() local
665 if (!mapper->GetMappedAddressAndListIterator(start, &mapped_addr, in MapMmapEvent()
[all …]
Daddress_mapper.h51 uint64_t* mapped_addr,
90 uint64_t mapped_addr; member
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_client_posix.cc254 grpc_resolved_address* mapped_addr, in grpc_tcp_client_prepare_fd() argument
264 if (!grpc_sockaddr_to_v4mapped(addr, mapped_addr)) { in grpc_tcp_client_prepare_fd()
266 memcpy(mapped_addr, addr, sizeof(*mapped_addr)); in grpc_tcp_client_prepare_fd()
269 grpc_create_dualstack_socket(mapped_addr, SOCK_STREAM, 0, &dsmode, &fd); in grpc_tcp_client_prepare_fd()
275 if (!grpc_sockaddr_is_v4mapped(addr, mapped_addr)) { in grpc_tcp_client_prepare_fd()
276 memcpy(mapped_addr, addr, sizeof(*mapped_addr)); in grpc_tcp_client_prepare_fd()
279 if ((error = prepare_socket(mapped_addr, fd, channel_args)) != in grpc_tcp_client_prepare_fd()
283 addr_str = grpc_sockaddr_to_uri(mapped_addr); in grpc_tcp_client_prepare_fd()
346 grpc_resolved_address mapped_addr; in tcp_connect() local
350 if ((error = grpc_tcp_client_prepare_fd(channel_args, addr, &mapped_addr, in tcp_connect()
[all …]
Dtcp_client_posix.h50 grpc_resolved_address* mapped_addr,
/external/ltp/testcases/cve/
Dstack_clash.c70 static unsigned long mapped_addr; variable
75 unsigned long mmap_end = mapped_addr + MAPPED_LEN; in segv_handler()
84 diff = mapped_addr - fault_addr; in segv_handler()
88 mapped_addr, mmap_end, fault_addr, diff, THRESHOLD); in segv_handler()
168 mapped_addr = stack_addr - gap - MAPPED_LEN; in do_child()
170 mapped_addr = stack_addr + gap; in do_child()
172 mapped_addr &= page_mask; in do_child()
173 map = SAFE_MMAP((void *)mapped_addr, MAPPED_LEN, in do_child()
/external/webrtc/webrtc/p2p/base/
Dstunserver_unittest.cc88 const StunAddressAttribute* mapped_addr = in TEST_F() local
90 EXPECT_TRUE(mapped_addr != NULL); in TEST_F()
91 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
92 EXPECT_EQ(client_addr.port(), mapped_addr->port()); in TEST_F()
93 if (mapped_addr->ipaddr() != client_addr.ipaddr()) { in TEST_F()
95 << mapped_addr->ipaddr() in TEST_F()
Dstunserver.cc89 StunAddressAttribute* mapped_addr; in GetStunBindReqponse() local
91 mapped_addr = StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in GetStunBindReqponse()
93 mapped_addr = StunAttribute::CreateXorAddress(STUN_ATTR_XOR_MAPPED_ADDRESS); in GetStunBindReqponse()
95 mapped_addr->SetAddress(remote_addr); in GetStunBindReqponse()
96 response->AddAttribute(mapped_addr); in GetStunBindReqponse()
Drelayserver_unittest.cc243 const StunAddressAttribute* mapped_addr = in TEST_F() local
245 ASSERT_TRUE(mapped_addr != NULL); in TEST_F()
246 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
247 EXPECT_EQ(server_ext_addr.port(), mapped_addr->port()); in TEST_F()
248 EXPECT_EQ(server_ext_addr.ipaddr(), mapped_addr->ipaddr()); in TEST_F()
273 const StunAddressAttribute* mapped_addr = in TEST_F() local
275 ASSERT_TRUE(mapped_addr != NULL); in TEST_F()
276 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
277 EXPECT_EQ(server_ext_addr.port(), mapped_addr->port()); in TEST_F()
278 EXPECT_EQ(server_ext_addr.ipaddr(), mapped_addr->ipaddr()); in TEST_F()
Drelayport.cc104 void OnConnect(const rtc::SocketAddress& mapped_addr,
547 void RelayEntry::OnConnect(const rtc::SocketAddress& mapped_addr, in OnConnect() argument
552 << " @ " << mapped_addr.ToSensitiveString(); in OnConnect()
555 port_->AddExternalAddress(ProtocolAddress(mapped_addr, proto)); in OnConnect()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc124 uptr mapped_addr = in MmapAlignedOrDie() local
126 if (!mapped_addr) in MmapAlignedOrDie()
131 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDie()
132 return (void*)mapped_addr; in MmapAlignedOrDie()
133 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDie()
141 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDie()
144 mapped_addr = in MmapAlignedOrDie()
146 if (!mapped_addr) in MmapAlignedOrDie()
151 uptr aligned_addr = RoundUpTo(mapped_addr, alignment); in MmapAlignedOrDie()
154 if (VirtualFree((void *)mapped_addr, 0, MEM_RELEASE) == 0) in MmapAlignedOrDie()
[all …]
/external/syzkaller/executor/
Dcommon_fuchsia.h178 uintptr_t mapped_addr; in syz_mmap() local
182 &mapped_addr); in syz_mmap()
/external/libchrome/base/memory/
Dplatform_shared_memory_region_mac.cc73 bool PlatformSharedMemoryRegion::ConvertToReadOnly(void* mapped_addr) { in ConvertToReadOnly() argument
82 void* temp_addr = mapped_addr; in ConvertToReadOnly()
Dplatform_shared_memory_region.h173 bool ConvertToReadOnly(void* mapped_addr);
/external/syzkaller/sys/fuchsia/
Dvmars.txt9 …zx_vmo, vmo_offset int64, len intptr, map_flags flags[vmar_map_flags], mapped_addr ptr[out, intptr…
/external/syzkaller/pkg/csource/
Dgenerated.go580 uintptr_t mapped_addr;
584 &mapped_addr);