Lines Matching refs:Spy

998 struct Spy {  struct
1008 explicit Spy(int aID) : mID(aID) { in Spy() function
1016 Spy(const Spy& o) : mID(o.mID) { in Spy() function
1024 Spy(Spy&& o) : mID(o.mID) { in Spy() function
1033 ~Spy() { in ~Spy() argument
1045 Spy& operator=(const Spy& o) { in operator =() argument
1053 Spy& operator=(Spy&& o) { in operator =() argument
1076 struct SpyWithISupports : public ISpyWithISupports, public Spy {
1081 explicit SpyWithISupports(int aID) : Spy(aID){}; in SpyWithISupports()
1113 Spy mSpy;
1114 const Spy* mSpyPtr;
1174 void Test1s(Spy) { mCount += 2; } in Test1s()
1175 void Test1ps(Spy*) { mCount += 2; } in Test1ps()
1176 void Test1rs(Spy&) { mCount += 2; } in Test1rs()
1177 void Test1rrs(Spy&&) { mCount += 2; } in Test1rrs()
1178 void Test1ups(mozilla::UniquePtr<Spy>) { mCount += 2; } in Test1ups()
1179 void Test1rups(mozilla::UniquePtr<Spy>&) { mCount += 2; } in Test1rups()
1180 void Test1rrups(mozilla::UniquePtr<Spy>&&) { mCount += 2; } in Test1rrups()
1183 void TestByValue(Spy s) { in TestByValue()
1189 void TestByConstLRef(const Spy& s) { in TestByConstLRef()
1195 void TestByRRef(Spy&& s) { in TestByRRef()
1201 void TestByLRef(Spy& s) { in TestByLRef()
1208 void TestByPointer(Spy* p) { in TestByPointer()
1221 void TestByPointerToConst(const Spy* p) { in TestByPointerToConst()
1724 Spy::ClearAll(); in TEST()
1734 Spy s(10); in TEST()
1743 r2 = NewRunnableMethod<StoreCopyPassByValue<Spy>>( in TEST()
1748 Spy::ClearActions(); in TEST()
1755 Spy::ClearActions(); in TEST()
1764 Spy::ClearActions(); in TEST()
1775 Spy::ClearAll(); in TEST()
1787 nsCOMPtr<nsIRunnable> r3 = NewRunnableMethod<StoreCopyPassByValue<Spy>>( in TEST()
1789 &ThreadUtilsObject::TestByValue, Spy(11)); in TEST()
1793 Spy::ClearActions(); in TEST()
1802 Spy::ClearActions(); in TEST()
1813 Spy::ClearAll(); in TEST()
1817 Spy s(12); in TEST()
1820 Spy::ClearActions(); in TEST()
1821 r4 = NewRunnableMethod<StoreCopyPassByValue<Spy>>( in TEST()
1827 Spy::ClearActions(); in TEST()
1832 Spy::ClearActions(); in TEST()
1838 Spy::ClearActions(); in TEST()
1844 Spy::ClearAll(); in TEST()
1855 Spy s(20); in TEST()
1865 r5 = NewRunnableMethod<StoreCopyPassByConstLRef<Spy>>( in TEST()
1870 Spy::ClearActions(); in TEST()
1877 Spy::ClearActions(); in TEST()
1886 Spy::ClearActions(); in TEST()
1897 Spy::ClearAll(); in TEST()
1910 nsCOMPtr<nsIRunnable> r6 = NewRunnableMethod<StoreCopyPassByConstLRef<Spy>>( in TEST()
1912 &ThreadUtilsObject::TestByConstLRef, Spy(21)); in TEST()
1916 Spy::ClearActions(); in TEST()
1925 Spy::ClearActions(); in TEST()
1936 Spy::ClearAll(); in TEST()
1946 Spy s(30); in TEST()
1955 r7 = NewRunnableMethod<StoreCopyPassByRRef<Spy>>( in TEST()
1960 Spy::ClearActions(); in TEST()
1967 Spy::ClearActions(); in TEST()
1977 Spy::ClearActions(); in TEST()
1988 Spy::ClearAll(); in TEST()
2000 nsCOMPtr<nsIRunnable> r8 = NewRunnableMethod<StoreCopyPassByRRef<Spy>>( in TEST()
2002 &ThreadUtilsObject::TestByRRef, Spy(31)); in TEST()
2006 Spy::ClearActions(); in TEST()
2016 Spy::ClearActions(); in TEST()
2027 Spy::ClearAll(); in TEST()
2035 Spy s(40); in TEST()
2038 Spy::ClearActions(); in TEST()
2042 nsCOMPtr<nsIRunnable> r9 = NewRunnableMethod<Spy&>( in TEST()
2048 Spy::ClearActions(); in TEST()
2058 Spy::ClearActions(); in TEST()
2069 Spy::ClearAll(); in TEST()
2097 Spy::ClearActions(); in TEST()
2104 Spy::ClearActions(); in TEST()
2114 Spy::ClearActions(); in TEST()
2125 Spy::ClearAll(); in TEST()
2133 Spy s(55); in TEST()
2136 Spy::ClearActions(); in TEST()
2141 nsCOMPtr<nsIRunnable> r11 = NewRunnableMethod<Spy*>( in TEST()
2147 Spy::ClearActions(); in TEST()
2157 Spy::ClearActions(); in TEST()
2168 Spy::ClearAll(); in TEST()
2177 Spy s(60); in TEST()
2180 Spy::ClearActions(); in TEST()
2185 nsCOMPtr<nsIRunnable> r12 = NewRunnableMethod<const Spy*>( in TEST()
2191 Spy::ClearActions(); in TEST()
2201 Spy::ClearActions(); in TEST()