Derived 153 base/memory/weak_ptr.h template<typename Derived> Derived 154 base/memory/weak_ptr.h static WeakPtr<Derived> StaticAsWeakPtr(Derived* t) { Derived 159 base/memory/weak_ptr.h return AsWeakPtrImpl<Derived>(t, *t); Derived 166 base/memory/weak_ptr.h template <typename Derived, typename Base> Derived 167 base/memory/weak_ptr.h static WeakPtr<Derived> AsWeakPtrImpl( Derived 168 base/memory/weak_ptr.h Derived* t, const SupportsWeakPtr<Base>&) { Derived 170 base/memory/weak_ptr.h return WeakPtr<Derived>(ptr.ref_, static_cast<Derived*>(ptr.ptr_)); Derived 331 base/memory/weak_ptr.h template <typename Derived> Derived 332 base/memory/weak_ptr.h WeakPtr<Derived> AsWeakPtr(Derived* t) { Derived 333 base/memory/weak_ptr.h return internal::SupportsWeakPtrBase::StaticAsWeakPtr<Derived>(t); Derived 44 base/memory/weak_ptr_unittest.cc struct Derived : public Base {}; Derived 252 base/memory/weak_ptr_unittest.cc Derived data; Derived 253 base/memory/weak_ptr_unittest.cc WeakPtrFactory<Derived> factory(&data); Derived 521 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java injectObjectAndReload(new Derived(), "testObject"); Derived 535 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java injectObjectAndReload(new Derived(), "testObject"); Derived 549 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java injectObjectAndReload(new Derived(), "testObject"); Derived 39 ppapi/cpp/output_traits.h template<typename Base, typename Derived> struct IsBaseOf { Derived 44 ppapi/cpp/output_traits.h typedef char (*EnsureTypesAreComplete)[sizeof(Base) + sizeof(Derived)]; Derived 46 ppapi/cpp/output_traits.h static Derived* CreateDerived(); Derived 44 sandbox/win/src/win_utils.h template <typename Derived> Derived 47 sandbox/win/src/win_utils.h static Derived* GetInstance() { Derived 48 sandbox/win/src/win_utils.h static Derived* instance = NULL; Derived 50 sandbox/win/src/win_utils.h instance = new Derived(); Derived 46 sync/internal_api/public/util/weak_handle_unittest.cc class Derived : public Base, public base::SupportsWeakPtr<Derived> {}; Derived 265 sync/internal_api/public/util/weak_handle_unittest.cc StrictMock<Derived> d; Derived 268 sync/internal_api/public/util/weak_handle_unittest.cc const WeakHandle<Derived> weak_handle = MakeWeakHandle(d.AsWeakPtr()); Derived 273 sync/internal_api/public/util/weak_handle_unittest.cc const WeakHandle<Derived> derived_weak_handle(weak_handle); Derived 287 sync/internal_api/public/util/weak_handle_unittest.cc const base::WeakPtr<Derived> weak_ptr; Derived 292 sync/internal_api/public/util/weak_handle_unittest.cc const WeakHandle<Derived> derived_weak_handle(MakeWeakHandle(weak_ptr)); Derived 299 sync/internal_api/public/util/weak_handle_unittest.cc const WeakHandle<Derived> weak_handle = Derived 300 sync/internal_api/public/util/weak_handle_unittest.cc MakeWeakHandle(Derived().AsWeakPtr()); Derived 306 sync/internal_api/public/util/weak_handle_unittest.cc WeakHandle<Derived> derived_weak_handle; Derived 316 sync/internal_api/public/util/weak_handle_unittest.cc const WeakHandle<Base> base_weak_handle = WeakHandle<Derived>(); Derived 322 sync/internal_api/public/util/weak_handle_unittest.cc base_weak_handle = WeakHandle<Derived>(); Derived 604 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc EXPECT_TRUE((is_same<Derived*, Derived*>::value)); Derived 605 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc EXPECT_FALSE((is_same<Base*, Derived*>::value)); Derived 606 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc EXPECT_FALSE((is_same<Derived*, Base*>::value)); Derived 618 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc EXPECT_TRUE((is_convertible<Derived*, Base*>::value)); Derived 619 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc EXPECT_FALSE((is_convertible<Base*, Derived*>::value)); Derived 620 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc EXPECT_TRUE((is_convertible<Derived*, const Base*>::value)); Derived 621 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc EXPECT_FALSE((is_convertible<const Derived*, Base*>::value));