Lines Matching defs:pToken2
125 ComPtr<IToken> pToken1, pToken2;
138 TEST_COM_FAILURE(hTest, pMedium->LockWrite(pToken2.asOutParam()), "nested write lock succeeded");
139 if (!pToken2.isNull())
140 RTTestFailed(hTest, "pToken2 is not null");
159 ComPtr<IToken> pToken1, pToken2;
172 TEST_COM_SUCCESS(hTest, pMedium->LockRead(pToken2.asOutParam()), "nested read lock failed");
178 if (!pToken2.isNull())
179 TEST_COM_SUCCESS(hTest, pToken2->Abandon(), "read nested unlock");
181 RTTestFailed(hTest, "pToken2 is null");
200 ComPtr<IToken> pToken1, pToken2;
213 TEST_COM_FAILURE(hTest, pMedium->LockRead(pToken2.asOutParam()), "write+read lock succeeded");
214 if (!pToken2.isNull())
215 RTTestFailed(hTest, "pToken2 is not null");
234 ComPtr<IToken> pToken1, pToken2;
247 TEST_COM_FAILURE(hTest, pMedium->LockWrite(pToken2.asOutParam()), "read+write lock succeeded");
248 if (!pToken2.isNull())
249 RTTestFailed(hTest, "pToken2 is not null");