Lines Matching refs:sContext
69 CallbackContext sContext; variable
184 oldContext = sContext; in WriteTestFrame1()
191 …VerifyOrQuit(oldContext.mFrameAddedCount + 1 == sContext.mFrameAddedCount, "FrameAddedCallback fai… in WriteTestFrame1()
192 …VerifyOrQuit(oldContext.mFrameRemovedCount == sContext.mFrameRemovedCount, "FrameRemovedCallback f… in WriteTestFrame1()
197 CallbackContext oldContext = sContext; in VerifyAndRemoveFrame1()
213 …VerifyOrQuit(oldContext.mFrameAddedCount == sContext.mFrameAddedCount, "FrameAddedCallback failed.… in VerifyAndRemoveFrame1()
214 …VerifyOrQuit(oldContext.mFrameRemovedCount + 1 == sContext.mFrameRemovedCount, "FrameRemovedCallba… in VerifyAndRemoveFrame1()
221 CallbackContext oldContext = sContext; in WriteTestFrame2()
239 …VerifyOrQuit(oldContext.mFrameAddedCount + 1 == sContext.mFrameAddedCount, "FrameAddedCallback fai… in WriteTestFrame2()
240 …VerifyOrQuit(oldContext.mFrameRemovedCount == sContext.mFrameRemovedCount, "FrameRemovedCallback f… in WriteTestFrame2()
245 CallbackContext oldContext = sContext; in VerifyAndRemoveFrame2()
259 …VerifyOrQuit(oldContext.mFrameAddedCount == sContext.mFrameAddedCount, "FrameAddedCallback failed.… in VerifyAndRemoveFrame2()
260 …VerifyOrQuit(oldContext.mFrameRemovedCount + 1 == sContext.mFrameRemovedCount, "FrameRemovedCallba… in VerifyAndRemoveFrame2()
266 CallbackContext oldContext = sContext; in WriteTestFrame3()
279 …VerifyOrQuit(oldContext.mFrameAddedCount + 1 == sContext.mFrameAddedCount, "FrameAddedCallback fai… in WriteTestFrame3()
280 …VerifyOrQuit(oldContext.mFrameRemovedCount == sContext.mFrameRemovedCount, "FrameRemovedCallback f… in WriteTestFrame3()
285 CallbackContext oldContext = sContext; in VerifyAndRemoveFrame3()
297 …VerifyOrQuit(oldContext.mFrameAddedCount == sContext.mFrameAddedCount, "FrameAddedCallback failed.… in VerifyAndRemoveFrame3()
298 …VerifyOrQuit(oldContext.mFrameRemovedCount + 1 == sContext.mFrameRemovedCount, "FrameRemovedCallba… in VerifyAndRemoveFrame3()
303 CallbackContext oldContext = sContext; in WriteTestFrame4()
309 …VerifyOrQuit(oldContext.mFrameAddedCount + 1 == sContext.mFrameAddedCount, "FrameAddedCallback fai… in WriteTestFrame4()
310 …VerifyOrQuit(oldContext.mFrameRemovedCount == sContext.mFrameRemovedCount, "FrameRemovedCallback f… in WriteTestFrame4()
315 CallbackContext oldContext = sContext; in VerifyAndRemoveFrame4()
327 …VerifyOrQuit(oldContext.mFrameAddedCount == sContext.mFrameAddedCount, "FrameAddedCallback failed.… in VerifyAndRemoveFrame4()
328 …VerifyOrQuit(oldContext.mFrameRemovedCount + 1 == sContext.mFrameRemovedCount, "FrameRemovedCallba… in VerifyAndRemoveFrame4()
351 sContext.mFrameAddedCount = 0; in TestBuffer()
352 sContext.mFrameRemovedCount = 0; in TestBuffer()
356 ncpBuffer.SetFrameAddedCallback(FrameAddedCallback, &sContext); in TestBuffer()
357 ncpBuffer.SetFrameRemovedCallback(FrameRemovedCallback, &sContext); in TestBuffer()
908 CallbackContext oldContext = sContext; in WriteRandomFrame()
925 …VerifyOrQuit(oldContext.mFrameAddedCount + 1 == sContext.mFrameAddedCount, "FrameAddedCallback fai… in WriteRandomFrame()
926 …VerifyOrQuit(oldContext.mFrameRemovedCount == sContext.mFrameRemovedCount, "FrameRemovedCallback f… in WriteRandomFrame()
934 CallbackContext oldContext = sContext; in ReadRandomFrame()
949 …VerifyOrQuit(oldContext.mFrameAddedCount == sContext.mFrameAddedCount, "FrameAddedCallback failed.… in ReadRandomFrame()
950 …VerifyOrQuit(oldContext.mFrameRemovedCount + 1 == sContext.mFrameRemovedCount, "FrameRemovedCallba… in ReadRandomFrame()
974 sContext.mFrameAddedCount = 0; in TestFuzzBuffer()
975 sContext.mFrameRemovedCount = 0; in TestFuzzBuffer()
978 ncpBuffer.SetFrameAddedCallback(FrameAddedCallback, &sContext); in TestFuzzBuffer()
979 ncpBuffer.SetFrameRemovedCallback(FrameRemovedCallback, &sContext); in TestFuzzBuffer()