Lines Matching defs:Target

47 struct Target : public TargetBase, public SupportsWeakPtr<Target> {
48 virtual ~Target() {}
50 struct DerivedTarget : public Target {};
52 WeakPtr<Target> target;
54 struct TargetWithFactory : public Target {
56 WeakPtrFactory<Target> factory;
69 void CreateArrowFromTarget(Arrow** arrow, Target* target) {
87 void DeleteTarget(Target* object) {
121 Target* DeRef(const Arrow* arrow) {
123 Target* result = NULL;
141 Target* target,
149 Target** result,
155 static void DoDeleteTarget(Target* object, WaitableEvent* completion) {
260 Target target;
261 WeakPtr<Target> ptr = target.AsWeakPtr();
306 scoped_ptr<Target> target(OffThreadObjectCreator<Target>::NewObject());
307 WeakPtr<Target> weak_ptr = target->AsWeakPtr();
316 Target target;
328 Target* target = new Target();
330 WeakPtr<Target> weak_ptr = target->AsWeakPtr();
350 // Target can only be deleted on background thread.
361 Target target;
414 Target target;
432 Target target;
453 Target target;
463 // Main thread creates a Target object.
464 Target target;
465 // Main thread creates an arrow referencing the Target.
477 // Main thread creates a Target object.
478 Target target;
479 // Main thread creates an arrow referencing the Target.
491 // Main thread creates a Target object.
492 Target target;
493 // Main thread creates an arrow referencing the Target.
513 // Main thread creates a Target object.
514 Target target;
515 // Main thread creates an arrow referencing the Target.
538 // Main thread creates a Target object.
539 Target target;
541 // Main thread creates an arrow referencing the Target (so target's
558 scoped_ptr<Target> target(new Target());
560 // Main thread creates an arrow referencing the Target.
569 // Main thread deletes Target, violating thread binding.
582 scoped_ptr<Target> target(new Target());
584 // Main thread creates an arrow referencing the Target, and references it, so
601 scoped_ptr<Target> target(new Target());
603 // Main thread creates an arrow referencing the Target.