Searched refs:refCnt (Results 1 – 10 of 10) sorted by relevance
45 assertEquals(0, buffer.buffer().refCnt()); in closeShouldReleaseBuffer()52 assertEquals(0, buffer.buffer().refCnt()); in closeMultipleTimesShouldReleaseBufferOnce()
143 inline void testingOnly_getIORefCnts(const T* resource, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument144 *refCnt = resource->fRefCnt; in testingOnly_getIORefCnts()149 void testingOnly_getIORefCnts(GrTextureProxy* proxy, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument150 *refCnt = proxy->getBackingRefCnt_TestOnly(); in testingOnly_getIORefCnts()205 int refCnt, readCnt, writeCnt; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local207 testingOnly_getIORefCnts(proxy1.get(), &refCnt, &readCnt, &writeCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()210 REPORTER_ASSERT(reporter, -1 == refCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()216 testingOnly_getIORefCnts(proxy1.get(), &refCnt, &readCnt, &writeCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()217 REPORTER_ASSERT(reporter, 1 == refCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
147 inline void testingOnly_getIORefCnts(const T* resource, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument148 *refCnt = resource->fRefCnt; in testingOnly_getIORefCnts()153 void testingOnly_getIORefCnts(GrTextureProxy* proxy, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument154 *refCnt = proxy->getBackingRefCnt_TestOnly(); in testingOnly_getIORefCnts()209 int refCnt, readCnt, writeCnt; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local211 testingOnly_getIORefCnts(proxy1.get(), &refCnt, &readCnt, &writeCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()214 REPORTER_ASSERT(reporter, -1 == refCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()220 testingOnly_getIORefCnts(proxy1.get(), &refCnt, &readCnt, &writeCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()221 REPORTER_ASSERT(reporter, 1 == refCnt); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
193 assertThat(emptyBuf.refCnt()).isEqualTo(1); in parserHeader_EmptyUnprotectNoRetain()350 assertThat(outFrame.refCnt()).isEqualTo(1); in parseFrame_twoFramesNoFragment()405 assertThat(protectedBuf.refCnt()).isEqualTo(2); in parseFrame_twoFramesNoFragment_Leftover()418 assertThat(protectedBuf.refCnt()).isEqualTo(1); in parseFrame_twoFramesNoFragment_Leftover()474 assertThat(protectedBuf.refCnt()).isEqualTo(2); in parseFrame_twoFramesFragmentSecond()480 assertThat(protectedBuf.refCnt()).isEqualTo(1); in parseFrame_twoFramesFragmentSecond()
52 reference.release(reference.refCnt()); in teardown()
242 constexpr Rec(uint32_t len, int32_t refCnt) in Rec()243 : fLength(len), fRefCnt(refCnt), fBeginningOfData(0) in Rec()
99 friend void testingOnly_getIORefCnts(const T*, int* refCnt, int* readCnt, int* writeCnt);
106 friend void testingOnly_getIORefCnts(const T*, int* refCnt, int* readCnt, int* writeCnt);
META-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...