Home
last modified time | relevance | path

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

/external/libchrome/base/
Dbind_unittest.cc44 class HasRef : public NoRef { class
46 HasRef() {} in HasRef() function in base::__anon771cbf6e0111::HasRef
53 DISALLOW_COPY_AND_ASSIGN(HasRef);
56 class HasRefPrivateDtor : public HasRef {
308 int FunctionWithScopedRefptrFirstParam(const scoped_refptr<HasRef>& o, int n) { in FunctionWithScopedRefptrFirstParam()
335 StrictMock<HasRef> has_ref_;
336 const HasRef* const_has_ref_ptr_;
439 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_); in TEST_F()
440 Closure method_refptr_cb = Bind(&HasRef::VoidMethod0, in TEST_F()
442 Closure const_method_nonconst_obj_cb = Bind(&HasRef::VoidConstMethod0, in TEST_F()
[all …]
/external/clang/test/SemaCXX/
Dtype-traits.cpp83 struct HasRef { int i; int& ref; HasRef() : i(0), ref(i) {} }; in HasRef() function
96 struct DerivesHasRef : HasRef {};
198 { int arr[F(__is_pod(HasRef))]; } in is_pod()
241 { int arr[F(__is_empty(HasRef))]; } in is_empty()
1303 { int arr[F(__has_trivial_constructor(HasRef))]; } in has_trivial_default_constructor()
1352 { int arr[T(__has_trivial_copy(HasRef))]; } in has_trivial_copy_constructor()
1382 { int arr[T(__has_trivial_assign(HasRef))]; } in has_trivial_copy_assignment()
1414 { int arr[T(__has_trivial_destructor(HasRef))]; } in has_trivial_destructor()
1469 { int arr[T(__has_nothrow_assign(HasRef))]; } in has_nothrow_assign()
1561 { int arr[T(__has_nothrow_copy(HasRef))]; } in has_nothrow_copy()
[all …]