Home
last modified time | relevance | path

Searched refs:added_edges (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bvgraph_test.cpp309 uptr added_edges[kMaxEdges]; in RunAddEdgesTest() local
312 EXPECT_EQ(0U, g.addEdges(from, 0, added_edges, kMaxEdges)); in RunAddEdgesTest()
313 EXPECT_EQ(0U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest()
315 EXPECT_EQ(1U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest()
316 EXPECT_EQ(0U, added_edges[0]); in RunAddEdgesTest()
317 EXPECT_EQ(0U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest()
321 EXPECT_EQ(1U, g.addEdges(from, 4, added_edges, kMaxEdges)); in RunAddEdgesTest()
324 EXPECT_EQ(1U, added_edges[0]); in RunAddEdgesTest()
327 EXPECT_EQ(2U, g.addEdges(from, 4, added_edges, kMaxEdges)); in RunAddEdgesTest()
332 EXPECT_EQ(2U, added_edges[0]); in RunAddEdgesTest()
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bvgraph_test.cc310 uptr added_edges[kMaxEdges]; in RunAddEdgesTest() local
313 EXPECT_EQ(0U, g.addEdges(from, 0, added_edges, kMaxEdges)); in RunAddEdgesTest()
314 EXPECT_EQ(0U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest()
316 EXPECT_EQ(1U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest()
317 EXPECT_EQ(0U, added_edges[0]); in RunAddEdgesTest()
318 EXPECT_EQ(0U, g.addEdges(from, 1, added_edges, kMaxEdges)); in RunAddEdgesTest()
322 EXPECT_EQ(1U, g.addEdges(from, 4, added_edges, kMaxEdges)); in RunAddEdgesTest()
325 EXPECT_EQ(1U, added_edges[0]); in RunAddEdgesTest()
328 EXPECT_EQ(2U, g.addEdges(from, 4, added_edges, kMaxEdges)); in RunAddEdgesTest()
333 EXPECT_EQ(2U, added_edges[0]); in RunAddEdgesTest()
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h244 uptr added_edges[40]; in addEdges() local
246 added_edges, ARRAY_SIZE(added_edges)); in addEdges()
249 Edge e = {(u16)added_edges[i], (u16)cur_idx, in addEdges()
250 dtls->findLockContext(added_edges[i]), stk, in addEdges()
Dsanitizer_bvgraph.h49 uptr addEdges(const BV &from, uptr to, uptr added_edges[], in addEdges() argument
57 added_edges[res++] = node; in addEdges()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h248 uptr added_edges[40]; in addEdges() local
250 added_edges, ARRAY_SIZE(added_edges)); in addEdges()
253 Edge e = {(u16)added_edges[i], (u16)cur_idx, in addEdges()
254 dtls->findLockContext(added_edges[i]), stk, in addEdges()
Dsanitizer_bvgraph.h50 uptr addEdges(const BV &from, uptr to, uptr added_edges[], in addEdges() argument
58 added_edges[res++] = node; in addEdges()