Home
last modified time | relevance | path

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

/external/opencore/oscl/oscl/osclbase/src/
Doscl_shared_ptr.h57 mpRep(NULL), refcnt(NULL) {} in OsclSharedPtr()
64 mpRep(inClassPtr), refcnt(in_refcnt) {}; in OsclSharedPtr()
69 mpRep(inSharedPtr.mpRep), refcnt(inSharedPtr.refcnt) in OsclSharedPtr()
71 if (refcnt) in OsclSharedPtr()
73 refcnt->addRef(); in OsclSharedPtr()
81 if (refcnt != NULL) in ~OsclSharedPtr()
83 refcnt->removeRef(); in ~OsclSharedPtr()
116 return refcnt; in GetRefCounter()
122 return (refcnt == NULL) ? 0 : refcnt->getCount(); in get_count()
150 OsclRefCounter* refcnt; variable
[all …]
Doscl_refcounter_memfrag.h72 memfrag(m), refcnt(r), capacity(in_capacity) in OsclRefCounterMemFrag()
80 memfrag(x.memfrag), refcnt(x.refcnt), capacity(x.capacity) in OsclRefCounterMemFrag()
82 if (refcnt) in OsclRefCounterMemFrag()
84 refcnt->addRef(); in OsclRefCounterMemFrag()
95 refcnt = 0; in OsclRefCounterMemFrag()
112 if (refcnt)
114 refcnt->removeRef();
119 refcnt = x.refcnt;
123 if (refcnt)
125 refcnt->addRef();
[all …]
Doscl_refcounter.h103 ptr(p), deallocator(dealloc), refcnt(1) in OsclRefCounterDA()
119 ++refcnt; in addRef()
127 if (--refcnt == 0) in removeRef()
148 return refcnt; in getCount()
158 uint32 refcnt; variable
187 ptr(p), refcnt(1) in OsclRefCounterSA()
203 ++refcnt; in addRef()
211 if (--refcnt == 0) in removeRef()
236 return refcnt; in getCount()
245 uint32 refcnt; variable
[all …]
/external/opencore/baselibs/gen_data_structures/src/
Dpv_string.cpp40 src.rep->refcnt++; in String()
48 if (--rep->refcnt == 0) in ~String()
63 src.rep->refcnt++; in operator =()
65 if (--rep->refcnt == 0) in operator =()
87 if (--rep->refcnt == 0) in operator +=()
107 if (--rep->refcnt == 0) in operator +=()
144 if (rep->refcnt == 1) in operator =()
151 rep->refcnt--; in operator =()
Dpv_string.h94 int refcnt; // reference count; member
98 refcnt = 1; in Srep()
114 if (1 == refcnt) in get_own_copy()
122 --refcnt; // decrement reference in get_own_copy()
/external/opencore/oscl/unit_test/src/
Dunit_test_local_string.h100 int32 refcnt; // reference count; variable
104 refcnt = 1; in UnitTest_String_Srep()
122 if (1 == refcnt) in get_own_copy()
129 --refcnt; // decrement reference in get_own_copy()
286 src.rep->refcnt++; in UnitTest_String()
292 if (--rep->refcnt == 0) delete rep; in ~UnitTest_String()
302 src.rep->refcnt++;
303 if (--rep->refcnt == 0)
314 if (--rep->refcnt == 0)
336 if (--rep->refcnt == 0)
[all …]
/external/opencore/protocols/systems/3g-324m_pvterminal/h223/include/
Dpduparcom.h178 PduParcomRefCounter(H223PduParcom* p): ptr(p), refcnt(1) {} in PduParcomRefCounter()
182 ++refcnt; in addRef()
187 --refcnt; in removeRef()
188 if (refcnt == 0) in removeRef()
200 return refcnt; in getCount()
204 uint32 refcnt; variable
/external/opencore/pvmi/pvmf/src/
Dpvmf_media_cmd.cpp259 OsclRefCounter* refcnt = source.GetRefCounter(); in convertToPVMFMediaCmdMsg() local
264 refcnt->addRef(); in convertToPVMFMediaCmdMsg()
265 dest.Bind(source.GetRep(), refcnt); in convertToPVMFMediaCmdMsg()
271 OsclRefCounter* refcnt = source.GetRefCounter(); in convertToPVMFMediaCmd() local
276 refcnt->addRef(); in convertToPVMFMediaCmd()
277 dest.Bind(reinterpret_cast<PVMFMediaCmd*>(source.GetRep()), refcnt); in convertToPVMFMediaCmd()
Dpvmf_media_data.cpp309 OsclRefCounter* refcnt = source.GetRefCounter(); in convertToPVMFMediaMsg() local
313 refcnt->addRef(); in convertToPVMFMediaMsg()
314 dest.Bind(source.GetRep(), refcnt); in convertToPVMFMediaMsg()
319 OsclRefCounter* refcnt = source.GetRefCounter(); in convertToPVMFMediaData() local
323 refcnt->addRef(); in convertToPVMFMediaData()
324 dest.Bind(reinterpret_cast<PVMFMediaData*>(source.GetRep()), refcnt); in convertToPVMFMediaData()
Dpvmf_simple_media_buffer.cpp42 refcnt->removeRef(); in ~PVMFSimpleMediaBuffer()
72 memfrag = OsclRefCounterMemFrag(buffer, refcnt, capacity); in getMediaFragment()
75 refcnt->addRef(); in getMediaFragment()
151 refcnt = my_refcnt; in PVMFSimpleMediaBuffer()
/external/opencore/nodes/pvprotocolenginenode/download_protocols/progressive_download/src/
Dpvmf_protocol_engine_progressive_download.cpp210 OsclRefCounter *refcnt = (*aOutputQueue)[aStartFragNo].getRefCounter(); in updateOutputDataQueue() local
211 OsclRefCounterMemFrag refCountMemFrag = OsclRefCounterMemFrag(memFrag, refcnt, memFrag.len); in updateOutputDataQueue()
212refcnt->addRef(); // manually add reference counter since there will be vector push_back happens. in updateOutputDataQueue()
240 OsclRefCounter *refcnt = (*aOutputQueue)[aEndFragNo].getRefCounter(); in updateOutputDataQueue() local
241 OsclRefCounterMemFrag refCountMemFrag = OsclRefCounterMemFrag(memFrag, refcnt, memFrag.len); in updateOutputDataQueue()
242refcnt->addRef(); // manually add reference counter since there will be vector push_back happens. in updateOutputDataQueue()
/external/opencore/pvmi/pvmf/include/
Dpvmf_simple_media_buffer.h78 OsclRefCounter* refcnt; variable
/external/opencore/protocols/sdp/parser/src/
Daacmediainfoparser.cpp256 …OsclRefCounterSA< SDPAllocDestructDealloc<uint8> > *refcnt = new OsclRefCounterSA< SDPAllocDestruc… in parseMediaInfo() local
257 OsclSharedPtr<uint8> decInfo(mptr, refcnt); in parseMediaInfo()
Drfc3640mediainfoparser.cpp418 …OsclRefCounterSA< SDPAllocDestructDealloc<uint8> > *refcnt = new OsclRefCounterSA< SDPAllocDestruc… in parseMediaInfo() local
419 OsclSharedPtr<uint8> decInfo(mptr, refcnt); in parseMediaInfo()
Dm4vmediainfoparser.cpp271 …OsclRefCounterSA< SDPAllocDestructDealloc<uint8> > *refcnt = new OsclRefCounterSA< SDPAllocDestruc… in parseMediaInfo() local
272 OsclSharedPtr<uint8> VOLPtr(mptr, refcnt); in parseMediaInfo()
Dh264mediainfoparser.cpp638 OsclRefCounterSA< SDPAllocDestructDealloc<uint8> > *refcnt = in parseParameterSets() local
640 OsclSharedPtr<uint8> parameterSetPtr(configPtr, refcnt); in parseParameterSets()
/external/opencore/nodes/pvprotocolenginenode/download_protocols/common/src/
Dpvmf_protocol_engine_node_download_common.cpp706 …OsclRefCounterSA< PVDlSharedPtrAlloc<PVMFMediaClock> > *refcnt = new OsclRefCounterSA< PVDlSharedP… in createDownloadClock() local
707 OsclSharedPtr<PVMFMediaClock> myHandle(myClock, refcnt); in createDownloadClock()
1153 …OsclRefCounterSA< PVDlSharedPtrAlloc<PVDlCfgFile> > *refcnt = new OsclRefCounterSA< PVDlSharedPtrA… in createCfgFile() local
1154 OsclSharedPtr<PVDlCfgFile> myHandle(myCfg, refcnt); in createCfgFile()
/external/ipsec-tools/src/libipsec/
Dkey_debug.c571 sp->refcnt, sp->state, sp->policy);
665 sav->refcnt, sav->state, sav->alg_auth, sav->alg_enc);
/external/dbus/bus/
Dselinux.c875 _dbus_verbose ("The refcount is %d\n", sid->refcnt); in bus_selinux_id_table_print()
/external/opencore/nodes/streaming/streamingmanager/plugins/rtspunicast/src/
Dpvmf_sm_fsp_rtsp_unicast.cpp1009 OsclRefCounterSA< PVMFSMSharedPtrAlloc<SDPInfo> > *refcnt = in ProcessSDP() local
1012 OsclSharedPtr<SDPInfo> sharedSDPInfo(sdpInfo, refcnt); in ProcessSDP()