/external/perf_data_converter/src/quipper/ |
D | address_mapper_test.cc | 94 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 …]
|
D | address_mapper.cc | 140 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 …]
|
D | perf_parser.cc | 488 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 …]
|
D | address_mapper.h | 51 uint64_t* mapped_addr, 90 uint64_t mapped_addr; member
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | tcp_client_posix.cc | 254 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 …]
|
D | tcp_client_posix.h | 50 grpc_resolved_address* mapped_addr,
|
/external/ltp/testcases/cve/ |
D | stack_clash.c | 70 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/ |
D | stunserver_unittest.cc | 88 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()
|
D | stunserver.cc | 89 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()
|
D | relayserver_unittest.cc | 243 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()
|
D | relayport.cc | 104 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/ |
D | sanitizer_win.cc | 124 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/ |
D | common_fuchsia.h | 178 uintptr_t mapped_addr; in syz_mmap() local 182 &mapped_addr); in syz_mmap()
|
/external/libchrome/base/memory/ |
D | platform_shared_memory_region_mac.cc | 73 bool PlatformSharedMemoryRegion::ConvertToReadOnly(void* mapped_addr) { in ConvertToReadOnly() argument 82 void* temp_addr = mapped_addr; in ConvertToReadOnly()
|
D | platform_shared_memory_region.h | 173 bool ConvertToReadOnly(void* mapped_addr);
|
/external/syzkaller/sys/fuchsia/ |
D | vmars.txt | 9 …zx_vmo, vmo_offset int64, len intptr, map_flags flags[vmar_map_flags], mapped_addr ptr[out, intptr…
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 580 uintptr_t mapped_addr; 584 &mapped_addr);
|