Lines Matching refs:ip

41   std::vector<uint64_t> ip = {0x1};  in TEST()  local
43 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
44 ASSERT_TRUE(JoinCallChain(cache, 1, ip, sp, ip, sp)); in TEST()
47 ASSERT_NE(cache.FindNode(0, ip[0], sp[0]), nullptr); in TEST()
48 ASSERT_NE(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST()
55 ASSERT_EQ(cache.FindNode(0, ip[0], sp[0]), nullptr); in TEST()
57 ASSERT_NE(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST()
61 ASSERT_TRUE(JoinCallChain(cache, 1, ip, sp2, ip, sp2)); in TEST()
64 ASSERT_EQ(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST()
66 ASSERT_NE(cache.FindNode(1, ip[0], sp2[0]), nullptr); in TEST()
99 std::vector<uint64_t> ip = {0xa, 0xb}; in TEST() local
101 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
102 ip = {0xb, 0xa}; in TEST()
103 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
111 std::vector<uint64_t> ip; in TEST() local
114 ip.push_back(i); in TEST()
116 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
118 std::vector<uint64_t> origin_ip = ip; in TEST()
120 for (size_t i = ip.size(); i > 1; --i) { in TEST()
121 ip.pop_back(); in TEST()
123 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, origin_ip, origin_sp)); in TEST()
134 std::vector<uint64_t> ip = {1, 2, 3, 4}; in TEST() local
136 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
137 ip = {5, 6, 7, 8}; in TEST()
139 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
140 ip = {0xa, 0xb, 0xc, 0xd}; in TEST()
142 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()