Lines Matching refs:sp
42 std::vector<uint64_t> sp = {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()
52 ASSERT_TRUE(JoinCallChain(cache, 0, ip2, sp, ip2, sp)); in TEST()
55 ASSERT_EQ(cache.FindNode(0, ip[0], sp[0]), nullptr); in TEST()
56 ASSERT_NE(cache.FindNode(0, ip2[0], sp[0]), nullptr); in TEST()
57 ASSERT_NE(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST()
64 ASSERT_EQ(cache.FindNode(1, ip[0], sp[0]), nullptr); in TEST()
65 ASSERT_NE(cache.FindNode(0, ip2[0], sp[0]), nullptr); in TEST()
100 std::vector<uint64_t> sp = {1, 1}; in TEST() local
101 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
103 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
112 std::vector<uint64_t> sp; in TEST() local
115 sp.push_back(i); in TEST()
116 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
119 std::vector<uint64_t> origin_sp = sp; in TEST()
122 sp.pop_back(); in TEST()
123 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, origin_ip, origin_sp)); in TEST()
135 std::vector<uint64_t> sp = {1, 2, 3, 4}; in TEST() local
136 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
138 sp = {5, 6, 7, 8}; in TEST()
139 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()
141 sp = {0xa, 0xb, 0xc, 0xd}; in TEST()
142 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp)); in TEST()