/external/llvm/include/llvm/ADT/ |
IntrusiveRefCntPtr.h | 102 mutable std::atomic<int> RefCount; 105 ThreadSafeRefCountedBase() : RefCount(0) {} 108 void Retain() const { ++RefCount; } 111 int NewRefCount = --RefCount;
|
/external/llvm/lib/CodeGen/ |
InterferenceCache.h | 48 /// RefCount - The total number of Cursor instances referring to this Entry. 49 unsigned RefCount; 97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {} 109 void addRef(int Delta) { RefCount += Delta; } 111 bool hasRefs() const { return RefCount > 0; } 178 // Update reference counts. Nothing happens when RefCount reaches 0, so
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
arrayobj.c | 142 ASSERT(oldObj->RefCount > 0); 143 oldObj->RefCount--; 146 (void *) oldObj, oldObj->Name, oldObj->RefCount); 148 deleteFlag = (oldObj->RefCount == 0); 163 if (arrayObj->RefCount == 0) { 170 arrayObj->RefCount++; 173 (void *) arrayObj, arrayObj->Name, arrayObj->RefCount); 216 obj->RefCount = 1; 467 * If refcount hits zero, the object will be deleted.
|
syncobj.c | 189 syncObj->RefCount++; 198 syncObj->RefCount--; 199 if (syncObj->RefCount == 0) { 279 syncObj->RefCount = 1;
|
transformfeedback.c | 64 ASSERT(oldObj->RefCount > 0); 65 oldObj->RefCount--; 67 if (oldObj->RefCount == 0) { 79 if (obj->RefCount == 0) { 84 obj->RefCount++; 118 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1); 123 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2); 216 obj->RefCount = 1;
|
/external/mesa3d/src/mesa/main/ |
arrayobj.c | 142 ASSERT(oldObj->RefCount > 0); 143 oldObj->RefCount--; 146 (void *) oldObj, oldObj->Name, oldObj->RefCount); 148 deleteFlag = (oldObj->RefCount == 0); 163 if (arrayObj->RefCount == 0) { 170 arrayObj->RefCount++; 173 (void *) arrayObj, arrayObj->Name, arrayObj->RefCount); 216 obj->RefCount = 1; 467 * If refcount hits zero, the object will be deleted.
|
syncobj.c | 189 syncObj->RefCount++; 198 syncObj->RefCount--; 199 if (syncObj->RefCount == 0) { 279 syncObj->RefCount = 1;
|
transformfeedback.c | 64 ASSERT(oldObj->RefCount > 0); 65 oldObj->RefCount--; 67 if (oldObj->RefCount == 0) { 79 if (obj->RefCount == 0) { 84 obj->RefCount++; 118 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1); 123 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2); 216 obj->RefCount = 1;
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
mem_fs_node_test.cc | 83 EXPECT_EQ(0, file.RefCount()); 213 EXPECT_EQ(0, root.RefCount()); 228 EXPECT_EQ(0, root.RefCount()); 229 EXPECT_EQ(1, file->RefCount()); 232 EXPECT_EQ(2, file->RefCount()); 263 EXPECT_EQ(3, file->RefCount()); 266 EXPECT_EQ(3, file->RefCount()); 279 EXPECT_EQ(2, file->RefCount()); 282 EXPECT_EQ(1, file->RefCount());
|
filesystem_test.cc | 63 EXPECT_EQ(2, file->RefCount()); 105 EXPECT_EQ(2, file->RefCount()); 110 EXPECT_EQ(3, file->RefCount()); 136 EXPECT_EQ(2, file->RefCount()); 141 EXPECT_EQ(2, root->RefCount()); 142 EXPECT_EQ(2, file->RefCount()); 147 EXPECT_EQ(2, root->RefCount()); 148 EXPECT_EQ(1, file->RefCount());
|
/external/clang/include/clang/Rewrite/Core/ |
RewriteRope.h | 34 unsigned RefCount; 38 ++RefCount; 42 if (--RefCount == 0)
|
/external/clang/test/Analysis/inlining/ |
false-positive-suppression.cpp | 7 class RefCount { 30 RefCount<ParserInputState> inputState;
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
font_data.h | 26 #include "sfntly/port/refcount.h" 51 class FontData : virtual public RefCount {
|
byte_array.h | 20 #include "sfntly/port/refcount.h" 30 class ByteArray : virtual public RefCount {
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/ |
java_iterator.h | 20 #include "sfntly/port/refcount.h" 28 class Iterator : public virtual RefCount {
|
/external/sfntly/cpp/src/sfntly/data/ |
font_data.h | 26 #include "sfntly/port/refcount.h" 51 class FontData : virtual public RefCount {
|
/external/sfntly/cpp/src/sfntly/port/ |
java_iterator.h | 20 #include "sfntly/port/refcount.h" 28 class Iterator : public virtual RefCount {
|
/external/llvm/include/llvm/Analysis/ |
AliasSetTracker.h | 115 // RefCount - Number of nodes pointing to this AliasSet plus the number of 117 unsigned RefCount : 28; 141 void addRef() { ++RefCount; } 143 assert(RefCount >= 1 && "Invalid reference count detected!"); 144 if (--RefCount == 0) 224 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
program.c | 126 ctx->ATIFragmentShader.Current->RefCount++; 152 ctx->ATIFragmentShader.Current->RefCount--; 153 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { 190 ctx->ATIFragmentShader.Current->RefCount--; 191 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { 197 ctx->ATIFragmentShader.Current->RefCount++; 274 prog->RefCount = 1; 380 ASSERT(prog->RefCount==0); 443 printf("Program %p ID=%u Target=%s Refcount-- to %d\n", 447 (*ptr)->RefCount - 1) [all...] |
/external/mesa3d/src/mesa/program/ |
program.c | 126 ctx->ATIFragmentShader.Current->RefCount++; 152 ctx->ATIFragmentShader.Current->RefCount--; 153 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { 190 ctx->ATIFragmentShader.Current->RefCount--; 191 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { 197 ctx->ATIFragmentShader.Current->RefCount++; 274 prog->RefCount = 1; 380 ASSERT(prog->RefCount==0); 443 printf("Program %p ID=%u Target=%s Refcount-- to %d\n", 447 (*ptr)->RefCount - 1) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtctexturevideoframe_unittest.cc | 72 TEST(WebRtcTextureVideoFrameTest, RefCount) {
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
standalone_scaffolding.cpp | 62 shader->RefCount = 1;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texrender.c | 21 ASSERT(rb->RefCount == 0);
|
/external/chromium_org/third_party/webrtc/common_video/ |
texture_video_frame_unittest.cc | 53 TEST(TestTextureVideoFrame, RefCount) {
|
/external/mesa3d/src/glsl/ |
standalone_scaffolding.cpp | 62 shader->RefCount = 1;
|