/system/core/libnetutils/ |
D | packet.c | 89 struct iphdr ip; in send_packet() local 97 ip.version = IPVERSION; in send_packet() 98 ip.ihl = sizeof(ip) >> 2; in send_packet() 99 ip.tos = 0; in send_packet() 100 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + size); in send_packet() 101 ip.id = 0; in send_packet() 102 ip.frag_off = 0; in send_packet() 103 ip.ttl = IPDEFTTL; in send_packet() 104 ip.protocol = IPPROTO_UDP; in send_packet() 105 ip.check = 0; in send_packet() [all …]
|
/system/extras/simpleperf/ |
D | CallChainJoiner_test.cpp | 40 std::vector<uint64_t> ip = {0x1}; in TEST() local 42 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST() 43 ASSERT_TRUE(JoinCallChain(cache, 1, ip, sp, ip, sp)); in TEST() 46 ASSERT_NE(cache.FindNode(0, ip[0], sp[0]), nullptr); in TEST() 47 ASSERT_NE(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST() 54 ASSERT_EQ(cache.FindNode(0, ip[0], sp[0]), nullptr); in TEST() 56 ASSERT_NE(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST() 60 ASSERT_TRUE(JoinCallChain(cache, 1, ip, sp2, ip, sp2)); in TEST() 63 ASSERT_EQ(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST() 65 ASSERT_NE(cache.FindNode(1, ip[0], sp2[0]), nullptr); in TEST() [all …]
|
D | report_utils_test.cpp | 117 ASSERT_EQ(entries[0].ip, 0x2000); in TEST_F() 122 ASSERT_EQ(entries[1].ip, 0x3000); in TEST_F() 137 ASSERT_EQ(entries[0].ip, 0x2000); in TEST_F() 142 ASSERT_EQ(entries[1].ip, 0x3000); in TEST_F() 158 ASSERT_EQ(entries[i].ip, 0x1000); in TEST_F() 163 ASSERT_EQ(entries[i + 1].ip, 0x1100); in TEST_F() 169 ASSERT_EQ(entries[2].ip, 0x2000); in TEST_F() 174 ASSERT_EQ(entries[5].ip, 0x3000); in TEST_F() 194 ASSERT_EQ(entries[0].ip, 0x2100); in TEST_F() 215 ASSERT_EQ(entries[i].ip, 0x1000); in TEST_F() [all …]
|
D | CallChainJoiner.h | 34 uint64_t ip; member 77 CacheNode* FindNode(uint32_t tid, uint64_t ip, uint64_t sp) { in FindNode() argument 80 key.ip = ip; in FindNode() 121 CacheNode* GetNode(uint32_t tid, uint64_t ip, uint64_t sp);
|
D | thread_tree.cpp | 279 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap() argument 282 result = thread->maps->FindMapByAddr(ip); in FindMap() 284 result = kernel_maps_.FindMapByAddr(ip); in FindMap() 289 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap() argument 290 const MapEntry* result = thread->maps->FindMapByAddr(ip); in FindMap() 294 result = kernel_maps_.FindMapByAddr(ip); in FindMap() 298 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, in FindSymbol() argument 304 vaddr_in_file = ip; in FindSymbol() 306 vaddr_in_file = dso->IpToVaddrInFile(ip, map->start_addr, map->pgoff); in FindSymbol() 312 vaddr_in_file = ip; in FindSymbol() [all …]
|
D | sample_tree.h | 124 for (auto& ip : ips) { in ProcessSampleRecord() 125 if (ip >= PERF_CONTEXT_MAX) { in ProcessSampleRecord() 126 switch (ip) { in ProcessSampleRecord() 134 LOG(DEBUG) << "Unexpected perf_context in callchain: " << ip; in ProcessSampleRecord() 140 if (ip == r.ip_data.ip) { in ProcessSampleRecord() 145 CreateCallChainSample(thread, sample, ip, in_kernel, callchain, acc_info); in ProcessSampleRecord() 188 uint64_t ip, bool in_kernel,
|
D | CallChainJoiner.cpp | 84 if ((*it)->ip == top->ip) { in AddCallChain() 96 ips.push_back(top->ip); in AddCallChain() 105 return n1->tid == n2->tid && n1->ip == n2->ip && n1->sp == n2->sp; in CacheNodeEqual() 109 return static_cast<size_t>(n->tid ^ n->ip ^ n->sp); in CacheNodeHash() 112 CacheNode* LRUCache::GetNode(uint32_t tid, uint64_t ip, uint64_t sp) { in GetNode() argument 113 CacheNode* node = FindNode(tid, ip, sp); in GetNode() 124 node->ip = ip; in GetNode()
|
D | dso.cpp | 373 std::optional<uint64_t> Dso::IpToFileOffset(uint64_t ip, uint64_t map_start, uint64_t map_pgoff) { in IpToFileOffset() argument 374 return ip - map_start + map_pgoff; in IpToFileOffset() 479 uint64_t IpToVaddrInFile(uint64_t ip, uint64_t map_start, uint64_t map_pgoff) override { in IpToVaddrInFile() argument 480 return ip - map_start + map_pgoff; in IpToVaddrInFile() 565 uint64_t IpToVaddrInFile(uint64_t ip, uint64_t map_start, uint64_t map_pgoff) override { in IpToVaddrInFile() argument 567 return dex_file_dso_->IpToVaddrInFile(ip, map_start, map_pgoff); in IpToVaddrInFile() 573 return ip - map_start + min_vaddr; in IpToVaddrInFile() 578 return ip - map_start + map_pgoff - file_offset_of_min_vaddr + min_vaddr; in IpToVaddrInFile() 654 uint64_t IpToVaddrInFile(uint64_t ip, uint64_t map_start, uint64_t) override { in IpToVaddrInFile() argument 658 return ip - map_start + GetKernelStartAddr(); in IpToVaddrInFile() [all …]
|
D | thread_tree.h | 117 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel); 119 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip); 120 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, 122 const Symbol* FindKernelSymbol(uint64_t ip);
|
D | thread_tree_test.cpp | 69 const Symbol* FindSymbol(int pid, int tid, uint64_t ip, bool in_kernel = false) { in FindSymbol() argument 71 auto map = thread_tree_.FindMap(thread, ip, in_kernel); in FindSymbol() 72 return thread_tree_.FindSymbol(map, ip, nullptr, nullptr); in FindSymbol()
|
D | record_test.cpp | 69 ASSERT_EQ(2u, r1.ip_data.ip); in TEST_F() 73 ASSERT_EQ(1u, r.ip_data.ip); in TEST_F() 80 ASSERT_EQ(2u, r3.ip_data.ip); in TEST_F() 84 ASSERT_EQ(2u, r4.ip_data.ip); in TEST_F()
|
/system/libvintf/ |
D | TransportArch.cpp | 37 if (arch == Arch::ARCH_EMPTY && !ip.has_value() && !port.has_value()) { in isValid() 47 if (arch != Arch::ARCH_EMPTY && !ip.has_value() && !port.has_value()) { in isValid() 55 if (arch == Arch::ARCH_EMPTY && ip.has_value() && port.has_value()) { in isValid()
|
/system/netd/tests/ |
D | tun_interface.cpp | 151 } ip; in addAddress() local 154 inet_pton(AF_INET6, addr.c_str(), &ip.ip6); in addAddress() 155 addrlen = sizeof(ip.ip6); in addAddress() 158 inet_pton(AF_INET, addr.c_str(), &ip.ip4); in addAddress() 159 addrlen = sizeof(ip.ip4); in addAddress() 181 if (!memcmp(RTA_DATA(rta), &ip, addrlen)) { in addAddress()
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | netutils_wrapper.te | 5 # For netutils (ip, iptables, tc) 13 # ip utils need everything but ioctl 30 # For /data/misc/net access to ndc and ip
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | netutils_wrapper.te | 5 # For netutils (ip, iptables, tc) 13 # ip utils need everything but ioctl 28 # For /data/misc/net access to ndc and ip
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | netutils_wrapper.te | 5 # For netutils (ip, iptables, tc) 13 # ip utils need everything but ioctl 30 # For /data/misc/net access to ndc and ip
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | netutils_wrapper.te | 5 # For netutils (ip, iptables, tc) 13 # ip utils need everything but ioctl 30 # For /data/misc/net access to ndc and ip
|
/system/sepolicy/prebuilts/api/32.0/private/ |
D | netutils_wrapper.te | 5 # For netutils (ip, iptables, tc) 13 # ip utils need everything but ioctl 30 # For /data/misc/net access to ndc and ip
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | netutils_wrapper.te | 6 # For netutils (ip, iptables, tc) 14 # ip utils need everything but ioctl 33 # For /data/misc/net access to ndc and ip
|
/system/sepolicy/private/ |
D | netutils_wrapper.te | 6 # For netutils (ip, iptables, tc) 14 # ip utils need everything but ioctl 33 # For /data/misc/net access to ndc and ip
|
/system/libvintf/include/vintf/ |
D | ManifestHal.h | 67 inline std::optional<std::string> ip() const { return transportArch.ip; } in ip() function
|
/system/extras/simpleperf/scripts/ |
D | report_sample.py | 68 print('\t%16x %s (%s)' % (sample.ip, symbol.symbol_name, symbol.dso_name)) 71 print('\t%16x %s (%s)' % (entry.ip, entry.symbol.symbol_name, entry.symbol.dso_name))
|
/system/unwinding/libunwindstack/offline_files/jit_debug_arm/ |
D | regs.txt | 13 ip: edb26d04
|
/system/unwinding/libunwindstack/offline_files/debug_frame_load_bias_arm/ |
D | regs.txt | 13 ip: 0
|
/system/unwinding/libunwindstack/offline_files/invalid_elf_offset_arm/ |
D | regs.txt | 13 ip: ed891ca4
|