Home
last modified time | relevance | path

Searched refs:referenceCount (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/src/OpenGL/common/
DObject.cpp32 referenceCount = 0; in Object()
42 ASSERT(referenceCount == 0); in ~Object()
53 sw::atomicIncrement(&referenceCount); in addRef()
66 ASSERT(referenceCount > 0); in dereference()
68 if(referenceCount > 0) in dereference()
70 return sw::atomicDecrement(&referenceCount); in dereference()
78 referenceCount = 0; in destroy()
DObject.hpp42 return referenceCount == 1; in hasSingleReference()
51 volatile int referenceCount; member in gl::Object
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DMlltSeeker.java35 int referenceCount = mlltFrame.bytesDeviations.length; in create() local
36 long[] referencePositions = new long[1 + referenceCount]; in create()
37 long[] referenceTimesMs = new long[1 + referenceCount]; in create()
42 for (int i = 1; i <= referenceCount; i++) { in create()
/external/llvm-project/libcxxabi/src/
Dcxa_exception.h41 size_t referenceCount; member
69 size_t referenceCount; member
138 static_assert(offsetof(__cxa_exception, referenceCount) +
Dcxa_exception.cpp266 …exception_header->referenceCount = 1; // This is a newly allocated exception, no need for thread … in __cxa_throw()
485 static_assert(__builtin_offsetof(__cxa_exception, referenceCount) == in __cxa_end_catch()
633 std::__libcpp_atomic_add(&exception_header->referenceCount, size_t(1)); in __cxa_increment_exception_refcount()
650 if (std::__libcpp_atomic_add(&exception_header->referenceCount, size_t(-1)) == 0) in __cxa_decrement_exception_refcount()
/external/clang/test/CodeGenObjCXX/
Dmessage-reference.mm5 -(unsigned int&)referenceCount; method
14 return ([srcBlip referenceCount] == 0);
/external/llvm-project/clang/test/CodeGenObjCXX/
Dmessage-reference.mm5 -(unsigned int&)referenceCount; method
14 return ([srcBlip referenceCount] == 0);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DOpenIntToDoubleHashMap.java487 private final int referenceCount; field in OpenIntToDoubleHashMap.Iterator
501 referenceCount = count; in Iterator()
529 if (referenceCount != count) { in key()
546 if (referenceCount != count) { in value()
563 if (referenceCount != count) { in advance()
DOpenIntToFieldHashMap.java499 private final int referenceCount; field in OpenIntToFieldHashMap.Iterator
513 referenceCount = count; in Iterator()
541 if (referenceCount != count) { in key()
558 if (referenceCount != count) { in value()
575 if (referenceCount != count) { in advance()
/external/libcxxabi/src/
Dcxa_exception.hpp37 size_t referenceCount; member
65 size_t referenceCount; member
Dcxa_exception.cpp268 …exception_header->referenceCount = 1; // This is a newly allocated exception, no need for thread … in __cxa_throw()
487 static_assert(__builtin_offsetof(__cxa_exception, referenceCount) == in __cxa_end_catch()
635 std::__libcpp_atomic_add(&exception_header->referenceCount, size_t(1)); in __cxa_increment_exception_refcount()
652 if (std::__libcpp_atomic_add(&exception_header->referenceCount, size_t(-1)) == 0) in __cxa_decrement_exception_refcount()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.hpp241 size_t referenceCount; member
245 , referenceCount(referenceCount_) in BinarySlot()
250 , referenceCount(0) in BinarySlot()
DvkBinaryRegistry.cpp464 m_binaries[index].referenceCount += 1; in addProgram()
496 DE_ASSERT(m_binaries[index].referenceCount == 0); in addBinary()
525 if (slot.referenceCount > 0) in writeToPath()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java76 private int referenceCount; field in FrameworkMediaDrm
102 referenceCount = 1; in FrameworkMediaDrm()
239 Assertions.checkState(referenceCount > 0); in acquire()
240 referenceCount++; in acquire()
245 if (--referenceCount == 0) { in release()
DDefaultDrmSession.java120 private int referenceCount; field in DefaultDrmSession
261 Assertions.checkState(referenceCount >= 0); in acquire()
265 if (++referenceCount == 1) { in acquire()
286 if (--referenceCount == 0) { in release()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DFragmentedMp4Extractor.java1159 int referenceCount = atom.readUnsignedShort(); in parseSidx() local
1160 int[] sizes = new int[referenceCount]; in parseSidx()
1161 long[] offsets = new long[referenceCount]; in parseSidx()
1162 long[] durationsUs = new long[referenceCount]; in parseSidx()
1163 long[] timesUs = new long[referenceCount]; in parseSidx()
1167 for (int i = 0; i < referenceCount; i++) { in parseSidx()
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp154 referenceCount = 0; in Program()
2690 referenceCount--; in release()
2692 if(referenceCount == 0 && orphaned) in release()
2700 referenceCount++; in addRef()
2705 return referenceCount; in getRefCount()
DProgram.h323 unsigned int referenceCount; variable
DTexture.cpp487 if(imageCount == referenceCount) in sweep()
987 if(imageCount == referenceCount) in sweep()
1528 if(imageCount == referenceCount) in sweep()
/external/swiftshader/src/OpenGL/libGLES_CM/
DTexture.cpp381 if(imageCount == referenceCount) in sweep()