Home
last modified time | relevance | path

Searched refs:getRefCount (Results 1 – 25 of 44) sorted by relevance

12

/external/angle/src/libANGLE/
DImage_unittest.cpp54 EXPECT_EQ(1u, texture->getRefCount()); in TEST()
55 EXPECT_EQ(1u, image->getRefCount()); in TEST()
70 EXPECT_EQ(1u, texture->getRefCount()); in TEST()
71 EXPECT_EQ(2u, image->getRefCount()); in TEST()
72 EXPECT_EQ(1u, renderbuffer->getRefCount()); in TEST()
80 EXPECT_EQ(2u, image->getRefCount()); in TEST()
81 EXPECT_EQ(1u, renderbuffer->getRefCount()); in TEST()
86 EXPECT_EQ(1u, image->getRefCount()); in TEST()
87 EXPECT_EQ(1u, renderbuffer->getRefCount()); in TEST()
131 EXPECT_EQ(1u, texture->getRefCount()); in TEST()
[all …]
DCLObject.h25 cl_uint getRefCount() const noexcept { return mRefCount; } in getRefCount() function
DCLSampler.cpp31 valUInt = getRefCount(); in getInfo()
DDisplay.cpp956 auto refCount = context->getRefCount(); in terminate()
959 if (context->getRefCount() == 2) in terminate()
979 while (context->getRefCount()) in terminate()
1378 if (previousContext->getRefCount() == 0) in makeCurrent()
1478 ASSERT(context->getRefCount() == 0); in releaseContext()
1528 ASSERT(context->getRefCount() == 1); in destroyContext()
1534 ASSERT(context->getRefCount() == 0); in destroyContext()
DCLEvent.cpp48 valUInt = getRefCount(); in getInfo()
DTransformFeedback_unittest.cpp138 const size_t releaseCount = mFeedback->getRefCount(); in TEST_F()
DCLKernel.cpp41 valUInt = getRefCount(); in getInfo()
DCLMemory.cpp88 valUInt = getRefCount(); in getInfo()
DRefCountObject.h50 size_t getRefCount() const { return mRefCount; } in getRefCount() function
DShader.h199 unsigned int getRefCount() const;
DCLProgram.cpp84 valUInt = getRefCount(); in getInfo()
/external/icu/icu4c/source/common/
Dsharedobject.h90 int32_t getRefCount() const;
96 inline UBool noHardReferences() const { return getRefCount() == 0; } in noHardReferences()
102 inline UBool hasHardReferences() const { return getRefCount() != 0; } in hasHardReferences()
126 if(p->getRefCount() <= 1) { return const_cast<T *>(p); } in copyOnWrite()
Dsharedobject.cpp51 SharedObject::getRefCount() const { in getRefCount() function in SharedObject
57 if (this->cachePtr == nullptr && getRefCount() == 0) { in deleteIfZeroRefCount()
/external/icu/libicu/cts_headers/
Dsharedobject.h90 int32_t getRefCount() const;
96 inline UBool noHardReferences() const { return getRefCount() == 0; } in noHardReferences()
102 inline UBool hasHardReferences() const { return getRefCount() != 0; } in hasHardReferences()
126 if(p->getRefCount() <= 1) { return const_cast<T *>(p); } in copyOnWrite()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramList.java47 this(other.getValue(), other.getRefCount()); in NGram()
55 public final int getRefCount() in getRefCount() method in NGramList.NGram
70 return ng.getRefCount() - refCount; in compareTo()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DSharedObject.java138 if(r.getRefCount() <= 1) { return r; } in copyOnWrite()
194 public final int getRefCount() { return refCount.get(); } in getRefCount() method in SharedObject
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DSharedObject.java135 if(r.getRefCount() <= 1) { return r; } in copyOnWrite()
191 public final int getRefCount() { return refCount.get(); } in getRefCount() method in SharedObject
/external/swiftshader/src/OpenGL/libGLESv2/
DResourceManager.cpp167 if(shaderObject->getRefCount() == 0) in deleteShader()
186 if(programObject->getRefCount() == 0) in deleteProgram()
DShader.h66 unsigned int getRefCount() const;
DShader.cpp285 unsigned int Shader::getRefCount() const in getRefCount() function in es2::Shader
/external/llvm-project/openmp/libomptarget/src/
Ddevice.cpp132 RefCnt = upper->getRefCount(); in getMapEntryRefCnt()
226 HT.isRefCountInf() ? "INF" : std::to_string(HT.getRefCount()).c_str(), in getOrAllocTgtPtr()
295 IsLast = HT.getRefCount() == 1; in getTgtPtrBegin()
304 HT.isRefCountInf() ? "INF" : std::to_string(HT.getRefCount()).c_str()); in getTgtPtrBegin()
Ddevice.h64 uint64_t getRefCount() const { in getRefCount() function
/external/python/pybind11/tests/
Dtest_smart_ptr.cpp95 obj.def("getRefCount", &Object::getRefCount); in TEST_SUBMODULE()
169 bool good = o->getRefCount() == 1; in TEST_SUBMODULE()
173 good &= o->getRefCount() == 2; in TEST_SUBMODULE()
Dobject.h17 int getRefCount() const { return m_refCount; }; in getRefCount() function
/external/OpenCSD/decoder/include/mem_acc/
Dtrc_mem_acc_file.h93 const int getRefCount() const { return m_ref_count; }; in getRefCount() function

12