Home
last modified time | relevance | path

Searched defs:MethodBindTester (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/webrtc/base/
Dbind_unittest.cc22 struct MethodBindTester { struct
23 void NullaryVoid() { ++call_count; } in NullaryVoid()
24 int NullaryInt() { ++call_count; return 1; } in NullaryInt()
25 int NullaryConst() const { ++call_count; return 2; } in NullaryConst()
26 void UnaryVoid(int dummy) { ++call_count; } in UnaryVoid()
27 template <class T> T Identity(T value) { ++call_count; return value; } in Identity()
28 int UnaryByPointer(int* value) const { in UnaryByPointer()
32 int UnaryByRef(const int& value) const { in UnaryByRef()
36 int Multiply(int a, int b) const { ++call_count; return a * b; } in Multiply()
37 void RefArgument(const scoped_refptr<LifeTimeCheck>& object) { in RefArgument()
[all …]