Lines Matching refs:Target
52 struct Target : public TargetBase, public SupportsWeakPtr<Target> { struct
53 virtual ~Target() {} in ~Target() argument
55 struct DerivedTarget : public Target {};
57 WeakPtr<Target> target;
59 struct TargetWithFactory : public Target {
61 WeakPtrFactory<Target> factory;
72 void CreateArrowFromTarget(Arrow** arrow, Target* target) { in CreateArrowFromTarget()
90 void DeleteTarget(Target* object) { in DeleteTarget()
126 Target* DeRef(const Arrow* arrow) { in DeRef()
129 Target* result = nullptr; in DeRef()
146 Target* target, in DoCreateArrowFromTarget()
154 Target** result, in DoDeRef()
160 static void DoDeleteTarget(Target* object, WaitableEvent* completion) { in DoDeleteTarget()
280 Target target; in TEST()
281 WeakPtr<Target> ptr = target.AsWeakPtr(); in TEST()
370 std::unique_ptr<Target> target(OffThreadObjectCreator<Target>::NewObject()); in TEST()
371 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()
380 Target target; in TEST()
392 Target* target = new Target(); in TEST()
394 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()
425 Target target; in TEST()
478 Target target; in TEST()
496 Target target; in TEST()
517 Target target; in TEST()
528 Target target; in TEST()
542 Target target; in TEST()
556 Target target; in TEST()
576 Target target; in TEST()
601 Target target; in TEST()
620 std::unique_ptr<Target> target(new Target()); in TEST()
644 std::unique_ptr<Target> target(new Target()); in TEST()
663 std::unique_ptr<Target> target(new Target()); in TEST()