Home
last modified time | relevance | path

Searched refs:s_ptr (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/tests/pointer/1.0/default/
DGraph.cpp49 c.a_ptr, c.b_ptr, c.a_ptr->s_ptr, c.b_ptr->s_ptr); in passAGamma()
51 (int)c.a_ptr->s_ptr->data, (int)c.b_ptr->s_ptr->data); in passAGamma()
52 PUSH_ERROR_IF(c.a_ptr->s_ptr != c.b_ptr->s_ptr); in passAGamma()
56 ALOGI("SERVER(Graph) passASimpleRef received %d", a_ptr->s_ptr->data); in passASimpleRef()
57 PUSH_ERROR_IF(a_ptr->s_ptr->data != 500); in passASimpleRef()
60 Return<void> Graph::passASimpleRefS(const IGraph::Theta * s_ptr) { in passASimpleRefS() argument
61 ALOGI("SERVER(Graph) passASimpleRefS received %d @ %p", s_ptr->data, s_ptr); in passASimpleRefS()
62 PUSH_ERROR_IF(s_ptr->data == 10); in passASimpleRefS()
67 IGraph::Alpha a; a.s_ptr = &s; in giveASimpleRef()
DPointer.h31 Return<void> foo1(const IPointer::Sam& s, IPointer::Sam const* s_ptr) override { in foo1()
32 PUSH_ERROR_IF(!(&s == s_ptr)); in foo1()
36 PUSH_ERROR_IF(!(&s == a.s_ptr)); in foo2()
40 PUSH_ERROR_IF(!(&a == b.a_ptr && a.s_ptr == b.s_ptr && a.s_ptr == &s)); in foo3()
43 Return<void> foo4(IPointer::Sam const* s_ptr) override { in foo4()
44 PUSH_ERROR_IF(!(s_ptr->data == 500)); in foo4()
48 PUSH_ERROR_IF(!(a.s_ptr == b.s_ptr && b.a_ptr == &a)); in foo5()
52 PUSH_ERROR_IF(!(a_ptr->s_ptr->data == 500)); in foo6()
56 …PUSH_ERROR_IF(!(a_ptr->s_ptr == b_ptr->s_ptr && a_ptr == b_ptr->a_ptr && a_ptr->s_ptr->data == 500… in foo7()
62 PUSH_ERROR_IF(c.a.s_ptr != c.b_ptr->s_ptr); in foo8()
[all …]
/hardware/interfaces/tests/pointer/1.0/
DIPointer.hal24 struct Ada { ref<Sam> s_ptr; };
25 struct Bob { ref<Ada> a_ptr; ref<Sam> s_ptr; };
44 foo1(Sam s, SamPtr s_ptr);
47 foo4(ref<Sam> s_ptr);
67 bar1() generates (Sam s, ref<Sam> s_ptr);
70 bar4() generates (ref<Sam> s_ptr);
DIGraph.hal37 ref<Theta> s_ptr;
40 ref<Theta> s_ptr;