Home
last modified time | relevance | path

Searched refs:use_count_ (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/smart_ptr/detail/
H A Dsp_counted_base_w32.hpp44 long use_count_; // #shared member in boost::detail::sp_counted_base
49 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
75 BOOST_SP_INTERLOCKED_INCREMENT( &use_count_ ); in add_ref_copy()
82 long tmp = static_cast< long const volatile& >( use_count_ ); in add_ref_lock()
90 … if( BOOST_SP_INTERLOCKED_COMPARE_EXCHANGE( &use_count_, tmp2, tmp ) == tmp2 - 1 ) return true; in add_ref_lock()
94 … if( BOOST_SP_INTERLOCKED_COMPARE_EXCHANGE( &use_count_, tmp + 1, tmp ) == tmp ) return true; in add_ref_lock()
102 if( BOOST_SP_INTERLOCKED_DECREMENT( &use_count_ ) == 0 ) in release()
124 return static_cast<long const volatile &>( use_count_ ); in use_count()
H A Dsp_counted_base_nt.hpp36 long use_count_; // #shared member in boost::detail::sp_counted_base
41 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
67 ++use_count_; in add_ref_copy()
72 if( use_count_ == 0 ) return false; in add_ref_lock()
73 ++use_count_; in add_ref_lock()
79 if( --use_count_ == 0 ) in release()
101 return use_count_; in use_count()
H A Dsp_counted_base_spin.hpp61 int use_count_; // #shared member in boost::detail::sp_counted_base
66 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
92 atomic_increment( &use_count_ ); in add_ref_copy()
97 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
102 if( atomic_exchange_and_add( &use_count_, -1 ) == 1 ) in release()
124 spinlock_pool<1>::scoped_lock lock( &use_count_ ); in use_count()
125 return use_count_; in use_count()
H A Dsp_counted_base_pt.hpp38 long use_count_; // #shared member in boost::detail::sp_counted_base
45 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
80 ++use_count_; in add_ref_copy()
87 bool r = use_count_ == 0? false: ( ++use_count_, true ); in add_ref_lock()
95 long new_use_count = --use_count_; in release()
127 long r = use_count_; in use_count()
H A Dsp_counted_base_gcc_ia64.hpp88 int use_count_; // #shared member in boost::detail::sp_counted_base
93 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
119 atomic_increment( &use_count_ ); in add_ref_copy()
124 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
129 if( atomic_decrement( &use_count_ ) == 0 ) in release()
151 return static_cast<int const volatile &>( use_count_ ); // TODO use ld.acq here in use_count()
H A Dsp_counted_base_gcc_ppc.hpp112 int use_count_; // #shared member in boost::detail::sp_counted_base
117 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
143 atomic_increment( &use_count_ ); in add_ref_copy()
148 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
153 if( atomic_decrement( &use_count_ ) == 0 ) in release()
175 return static_cast<int const volatile &>( use_count_ ); in use_count()
H A Dsp_counted_base_gcc_x86.hpp104 int use_count_; // #shared member in boost::detail::sp_counted_base
109 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
135 atomic_increment( &use_count_ ); in add_ref_copy()
140 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
145 if( atomic_exchange_and_add( &use_count_, -1 ) == 1 ) in release()
167 return static_cast<int const volatile &>( use_count_ ); in use_count()
H A Dsp_counted_base_vacpp_ppc.hpp80 int use_count_; // #shared member in boost::detail::sp_counted_base
86 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
112 atomic_increment( &use_count_ ); in add_ref_copy()
117 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
122 if( atomic_decrement( &use_count_ ) == 0 ) in release()
144 return *const_cast<volatile int*>(&use_count_); in use_count()
H A Dsp_counted_base_aix.hpp73 int32_t use_count_; // #shared member in boost::detail::sp_counted_base
78 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
104 atomic_increment( &use_count_ ); in add_ref_copy()
109 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
114 if( atomic_decrement( &use_count_ ) == 0 ) in release()
136 return fetch_and_add( const_cast<int32_t*>(&use_count_), 0 ); in use_count()
H A Dsp_counted_base_gcc_mips.hpp112 int use_count_; // #shared member in boost::detail::sp_counted_base
117 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
143 atomic_increment( &use_count_ ); in add_ref_copy()
148 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
153 if( atomic_decrement( &use_count_ ) == 0 ) in release()
175 return static_cast<int const volatile &>( use_count_ ); in use_count()
H A Dsp_counted_base_acc_ia64.hpp81 int use_count_; // #shared member in boost::detail::sp_counted_base
86 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
112 atomic_increment( &use_count_ ); in add_ref_copy()
117 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
122 if( atomic_decrement( &use_count_ ) == 0 ) in release()
144 return static_cast<int const volatile &>( use_count_ ); // TODO use ld.acq here in use_count()
H A Dsp_counted_base_sync.hpp86 sp_int32_t use_count_; // #shared member in boost::detail::sp_counted_base
91 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
117 atomic_increment( &use_count_ ); in add_ref_copy()
122 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
127 if( atomic_decrement( &use_count_ ) == 1 ) in release()
149 return const_cast< sp_int32_t const volatile & >( use_count_ ); in use_count()
H A Dsp_counted_base_std_atomic.hpp67 std::atomic_int_least32_t use_count_; // #shared member in boost::detail::sp_counted_base
72 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
98 atomic_increment( &use_count_ ); in add_ref_copy()
103 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
108 if( atomic_decrement( &use_count_ ) == 1 ) in release()
130 return use_count_.load( std::memory_order_acquire ); in use_count()
H A Dsp_counted_base_cw_ppc.hpp101 long use_count_; // #shared member in boost::detail::sp_counted_base
106 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
132 atomic_increment( &use_count_ ); in add_ref_copy()
137 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
142 if( atomic_decrement( &use_count_ ) == 0 ) in release()
164 return static_cast<long const volatile &>( use_count_ ); in use_count()
H A Dsp_counted_base_clang.hpp73 atomic_int_least32_t use_count_; // #shared member in boost::detail::sp_counted_base
80 __c11_atomic_init( &use_count_, 1 ); in sp_counted_base()
106 atomic_increment( &use_count_ ); in add_ref_copy()
111 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
116 if( atomic_decrement( &use_count_ ) == 1 ) in release()
138 … return __c11_atomic_load( const_cast< atomic_int_least32_t* >( &use_count_ ), __ATOMIC_ACQUIRE ); in use_count()
H A Dsp_counted_base_gcc_sparc.hpp97 int32_t use_count_; // #shared member in boost::detail::sp_counted_base
102 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
128 atomic_increment( &use_count_ ); in add_ref_copy()
133 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
138 if( atomic_decrement( &use_count_ ) == 1 ) in release()
160 return const_cast< int32_t const volatile & >( use_count_ ); in use_count()
H A Dsp_counted_base_snc_ps3.hpp92 uint32_t use_count_; // #shared member in boost::detail::sp_counted_base
97 sp_counted_base(): use_count_( 1 ), weak_count_( 1 ) in sp_counted_base()
123 atomic_increment( &use_count_ ); in add_ref_copy()
128 return atomic_conditional_increment( &use_count_ ) != 0; in add_ref_lock()
133 if( atomic_decrement( &use_count_ ) == 1 ) in release()
155 return const_cast< uint32_t const volatile & >( use_count_ ); in use_count()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/ssiapi/ssiapi/
H A D0002-boost-Backport-clang-support.patch993 + atomic_int_least32_t use_count_; // #shared
1000 + __c11_atomic_init( &use_count_, 1 );
1008 + // dispose() is called when use_count_ drops to zero, to release
1025 + atomic_increment( &use_count_ );
1030 + return atomic_conditional_increment( &use_count_ ) != 0;
1035 + if( atomic_decrement( &use_count_ ) == 1 )
1057 + return __c11_atomic_load( const_cast< atomic_int_least32_t* >( &use_count_ ), __ATOMIC_ACQ…
1154 + sp_int32_t use_count_; // #shared
1159 + sp_counted_base(): use_count_( 1 ), weak_count_( 1 )
1167 + // dispose() is called when use_count_ drops to zero, to release
[all …]