Searched refs:refCount (Results 1 - 25 of 265) sorted by relevance

1234567891011

/macosx-10.10/ICU-531.30/icuSources/common/
H A Dsharedobject.cpp15 umtx_atomic_inc(&refCount);
20 if(umtx_atomic_dec(&refCount) == 0) {
27 return umtx_loadAcquire(refCount);
H A Dsharedobject.h29 /** Initializes refCount to 0. */
30 SharedObject() : refCount(0) {}
32 /** Initializes refCount to 0. */
33 SharedObject(const SharedObject &/*other*/) : refCount(0) {}
106 mutable u_atomic_int32_t refCount; member in class:SharedObject
/macosx-10.10/tcl-105/tcl/tcl/generic/
H A DtclGet.c50 obj.refCount = 1;
56 if (obj.refCount > 1) {
96 obj.refCount = 1;
102 if (obj.refCount > 1) {
140 obj.refCount = 1;
146 if (obj.refCount > 1) {
184 obj.refCount = 1;
190 if (obj.refCount > 1) {
H A DtclRegexp.h42 int refCount; /* Count of number of references to this member in struct:TclRegexp
H A DtclPreserve.c27 int refCount; /* Number of Tcl_Preserve calls in effect for member in struct:__anon12758
32 * refCount becomes zero. */
68 int refCount; /* Number of TclHandlePreserve() calls in member in struct:HandleStruct
138 refPtr->refCount++;
161 refPtr->refCount = 1;
204 if (--refPtr->refCount != 0) {
346 handlePtr->refCount = 0;
381 if (handlePtr->refCount == 0x61616161) {
390 if (handlePtr->refCount == 0) {
425 if (handlePtr->refCount
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/API/tests/
H A DNodeList.h32 unsigned refCount; member in struct:__anon2495
H A DNodeList.c36 nodeList->refCount = 0;
72 ++nodeList->refCount;
77 if (--nodeList->refCount == 0) {
H A DNode.h38 unsigned refCount; member in struct:__Node
H A DNode.c33 node->refCount = 0;
78 ++node->refCount;
83 if (--node->refCount == 0)
/macosx-10.10/tcl-105/tcl84/tcl/generic/
H A DtclPreserve.c28 int refCount; /* Number of Tcl_Preserve calls in effect member in struct:__anon12818
33 * when refCount becomes zero. */
64 int refCount; /* Number of TclHandlePreserve() calls in member in struct:HandleStruct
136 refPtr->refCount++;
171 refPtr->refCount = 1;
213 refPtr->refCount--;
214 if (refPtr->refCount == 0) {
350 handlePtr->refCount = 0;
386 if (handlePtr->refCount == 0x61616161) {
395 if (handlePtr->refCount
[all...]
H A DtclRegexp.h47 int refCount; /* Count of number of references to this member in struct:TclRegexp
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDLib/
H A DIOHIDIUnknown.cpp79 : refCount(1)
94 refCount += 1;
95 return refCount;
100 UInt32 retVal = refCount - 1;
103 refCount = retVal;
105 refCount = retVal;
H A DIOHIDIUnknown.h44 IOHIDIUnknown() : refCount(1) { };
61 UInt32 refCount; member in class:IOHIDIUnknown
/macosx-10.10/WTF-7600.1.24/wtf/
H A DThreadSafeRefCounted.h84 return refCount() == 1;
87 int refCount() const function in class:WTF::ThreadSafeRefCountedBase
H A DRefCountedArray.h58 Header::fromPayload(m_data)->refCount++;
69 Header::fromPayload(m_data)->refCount = 1;
83 Header::fromPayload(m_data)->refCount = 1;
94 Header::fromPayload(m_data)->refCount++;
98 if (--Header::fromPayload(oldData)->refCount)
109 if (--Header::fromPayload(m_data)->refCount)
115 unsigned refCount() const function in class:WTF::RefCountedArray
119 return Header::fromPayload(m_data)->refCount;
177 unsigned refCount; member in struct:WTF::RefCountedArray::Header
H A DDeferrableRefCounted.h53 return refCount() == 1;
56 unsigned refCount() const function in class:WTF::DeferrableRefCountedBase
/macosx-10.10/ICU-531.30/icuSources/test/threadtest/
H A Dstringtest.cpp128 uint32_t refCount = fSourceStrings[i].refCount(); local
129 if (refCount != 1) {
130 fprintf(stderr, "\nFailure. SourceString Ref Count was %d, should be 1.\n", refCount);
/macosx-10.10/ncurses-44/ncurses/form/
H A Dfty_regex.c45 unsigned long *refCount; member in struct:__anon11203
83 unsigned long *refCount;
118 preg->refCount = typeMalloc(unsigned long, 1);
120 *(preg->refCount) = 1;
143 pArg->refCount = typeMalloc(unsigned long, 1);
145 *(pArg->refCount) = 1;
209 *(ap->refCount) += 1;
234 if (--(*(ap->refCount)) == 0)
239 free(ap->refCount);
245 free(ap->refCount);
[all...]
/macosx-10.10/tcl-105/tcl_ext/tbcload/tbcload/
H A DcmpProcBody.c119 procPtr->refCount++;
152 procPtr->refCount++;
179 procPtr->refCount--;
180 if (procPtr->refCount <= 0) {
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/efl/tests/
H A Dtest_ewk2_object.cpp76 ASSERT_EQ(1, object->refCount());
80 ASSERT_EQ(2, objectRef->refCount());
84 ASSERT_EQ(1, objectRef->refCount());
/macosx-10.10/tcl-105/tk/tk/generic/
H A DtkConsole.c22 * console. A refCount permits the struct to be shared as instance data
29 int refCount; member in struct:ConsoleInfo
269 info->refCount = 0;
274 data->info->refCount++;
293 data->info->refCount++;
312 data->info->refCount++;
389 info->refCount = 0;
395 data->info->refCount--;
397 data->info->refCount++;
402 data->info->refCount
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_smime/
H A Dcmsmessage.c87 cmsg->refCount = 1;
127 PORT_Assert (cmsg->refCount > 0);
128 if (cmsg->refCount <= 0) /* oops */
131 cmsg->refCount--; /* thread safety? */
132 if (cmsg->refCount > 0)
154 PORT_Assert (cmsg->refCount > 0);
156 cmsg->refCount++; /* XXX chrisk thread safety? */
/macosx-10.10/Security-57031.1.35/Security/libsecurity_smime/lib/
H A Dcmsmessage.c87 cmsg->refCount = 1;
127 PORT_Assert (cmsg->refCount > 0);
128 if (cmsg->refCount <= 0) /* oops */
131 cmsg->refCount--; /* thread safety? */
132 if (cmsg->refCount > 0)
154 PORT_Assert (cmsg->refCount > 0);
156 cmsg->refCount++; /* XXX chrisk thread safety? */
/macosx-10.10/Security-57031.1.35/libsecurity_smime/Security/
H A Dcmsmessage.c75 cmsg->refCount = 1;
109 PORT_Assert (cmsg->refCount > 0);
110 if (cmsg->refCount <= 0) /* oops */
113 cmsg->refCount--; /* thread safety? */
114 if (cmsg->refCount > 0)
134 PORT_Assert (cmsg->refCount > 0);
136 cmsg->refCount++; /* XXX chrisk thread safety? */
/macosx-10.10/Security-57031.1.35/libsecurity_smime/lib/
H A Dcmsmessage.c75 cmsg->refCount = 1;
109 PORT_Assert (cmsg->refCount > 0);
110 if (cmsg->refCount <= 0) /* oops */
113 cmsg->refCount--; /* thread safety? */
114 if (cmsg->refCount > 0)
134 PORT_Assert (cmsg->refCount > 0);
136 cmsg->refCount++; /* XXX chrisk thread safety? */

Completed in 334 milliseconds

1234567891011