Home
last modified time | relevance | path

Searched refs:refCnt (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyReadableBufferTest.java45 assertEquals(0, buffer.buffer().refCnt()); in closeShouldReleaseBuffer()
52 assertEquals(0, buffer.buffer().refCnt()); in closeMultipleTimesShouldReleaseBufferOnce()
/external/skqp/tests/
DProcessorTest.cpp143 inline void testingOnly_getIORefCnts(const T* resource, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument
144 *refCnt = resource->fRefCnt; in testingOnly_getIORefCnts()
149 void testingOnly_getIORefCnts(GrTextureProxy* proxy, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument
150 *refCnt = proxy->getBackingRefCnt_TestOnly(); in testingOnly_getIORefCnts()
205 int refCnt, readCnt, writeCnt; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
207 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()
/external/skia/tests/
DProcessorTest.cpp147 inline void testingOnly_getIORefCnts(const T* resource, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument
148 *refCnt = resource->fRefCnt; in testingOnly_getIORefCnts()
153 void testingOnly_getIORefCnts(GrTextureProxy* proxy, int* refCnt, int* readCnt, int* writeCnt) { in testingOnly_getIORefCnts() argument
154 *refCnt = proxy->getBackingRefCnt_TestOnly(); in testingOnly_getIORefCnts()
209 int refCnt, readCnt, writeCnt; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
211 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()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiFrameProtectorTest.java193 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()
DNettyTsiHandshakerTest.java52 reference.release(reference.refCnt()); in teardown()
/external/skia/include/core/
DSkString.h242 constexpr Rec(uint32_t len, int32_t refCnt) in Rec()
243 : fLength(len), fRefCnt(refCnt), fBeginningOfData(0) in Rec()
/external/skqp/include/core/
DSkString.h242 constexpr Rec(uint32_t len, int32_t refCnt) in Rec()
243 : fLength(len), fRefCnt(refCnt), fBeginningOfData(0) in Rec()
/external/skqp/include/gpu/
DGrGpuResource.h99 friend void testingOnly_getIORefCnts(const T*, int* refCnt, int* readCnt, int* writeCnt);
/external/skia/include/gpu/
DGrGpuResource.h106 friend void testingOnly_getIORefCnts(const T*, int* refCnt, int* readCnt, int* writeCnt);
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...