Home
last modified time | relevance | path

Searched refs:_ref_count (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/clover/util/
Dpointer.hpp34 ref_counter(unsigned value = 1) : _ref_count(value) {} in ref_counter()
38 return _ref_count; in ref_count()
43 _ref_count++; in retain()
48 return (--_ref_count) == 0; in release()
52 std::atomic<unsigned> _ref_count; member in clover::ref_counter
/external/libxcam/xcore/
Dsmartptr.h35 RefObj (): _ref_count(0) {} // derived class must set to SmartPtr at birth in RefObj()
39 ++_ref_count; in ref()
42 return --_ref_count; in unref()
49 explicit RefObj (uint32_t i) : _ref_count (i) {} in RefObj()
53 mutable std::atomic<uint32_t> _ref_count;
/external/libxcam/modules/ocl/
Dcl_3d_denoise_handler.cpp66 , _ref_count (CL_3D_DENOISE_REFERENCE_FRAME_COUNT) in CL3DDenoiseImageKernel()
113 _ref_count = _handler->get_ref_framecount (); in prepare_arguments()
126 if (_image_in_list.size () < _ref_count) { in prepare_arguments()
127 while (_image_in_list.size () < _ref_count) { in prepare_arguments()
176 , _ref_count (CL_3D_DENOISE_REFERENCE_FRAME_COUNT - 2) in CL3DDenoiseImageHandler()
186 _ref_count = count; in set_ref_framecount()
Dcl_3d_denoise_handler.h59 uint8_t _ref_count; variable
75 return _ref_count; in get_ref_framecount()
96 uint8_t _ref_count;
/external/webrtc/webrtc/voice_engine/
Dvoice_engine_impl.h125 _ref_count(0), in VoiceEngineImpl()
128 ~VoiceEngineImpl() override { assert(_ref_count.Value() == 0); } in ~VoiceEngineImpl()
142 Atomic32 _ref_count;
Dvoice_engine_impl.cc43 return ++_ref_count; in AddRef()
48 int new_ref = --_ref_count; in Release()
/external/webrtc/webrtc/test/
Dmock_voice_engine.h28 ++_ref_count; in MockVoiceEngine()
40 --_ref_count; in ~MockVoiceEngine()