Home
last modified time | relevance | path

Searched refs:ref_ptr (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb99.C40 class ref_ptr
44 ref_ptr( T* ptr = 0 ) : _ptr( ptr ) in _ptr()
49 ref_ptr( const ref_ptr & rptr ) : _ptr( rptr.get() ) in ref_ptr() function
54 ~ref_ptr( void ) { release(); } in ~ref_ptr()
62 bool operator==( const ref_ptr & rptr ) const { return *get() == *rptr;
64 bool operator<( const ref_ptr & rptr ) const { return *get() < *rptr; }
70 const ref_ptr & operator=( const ref_ptr & rptr )
111 bool operator==( T* ptr, const ref_ptr< T > & rptr )
117 bool operator<( T* ptr, const ref_ptr< T > & rptr )
132 ref_ptr<Baz> foo; in main()
/openbsd-src/gnu/gcc/gcc/
H A Dtree-profile.c140 tree ref = tree_coverage_counter_ref (tag, base), ref_ptr; in tree_gen_interval_profiler() local
145 ref_ptr = force_gimple_operand_bsi (&bsi, in tree_gen_interval_profiler()
149 args = tree_cons (NULL_TREE, ref_ptr, in tree_gen_interval_profiler()
167 tree ref = tree_coverage_counter_ref (tag, base), ref_ptr; in tree_gen_pow2_profiler() local
170 ref_ptr = force_gimple_operand_bsi (&bsi, in tree_gen_pow2_profiler()
174 args = tree_cons (NULL_TREE, ref_ptr, in tree_gen_pow2_profiler()
190 tree ref = tree_coverage_counter_ref (tag, base), ref_ptr; in tree_gen_one_value_profiler() local
193 ref_ptr = force_gimple_operand_bsi (&bsi, in tree_gen_one_value_profiler()
197 args = tree_cons (NULL_TREE, ref_ptr, in tree_gen_one_value_profiler()