Lines Matching refs:retain
23 -(id)retain; method
97 return [_myNumber retain];
109 value = [self.myNumber retain]; // this line fixes the over release
135 @property (retain) NSString * name;
147 p.name = [[NSString string] retain]; // expected-warning {{leak}}
253 [self.name retain];
259 [self.name retain];
353 // Test quite a few cases of retain/release issues.
376 [_ownedProp retain];
383 [_unownedProp retain];
389 [_ivarOnly retain];
396 [_readonlyProp retain];
403 [_implicitManualProp retain];
410 [_implicitSynthProp retain];
423 [_ownedProp retain];
430 [_ivarOnly retain];
446 [_ownedProp retain];
452 [_ivarOnly retain];
458 [_ownedProp retain];
465 [_ivarOnly retain];
472 id owned = [self.ownedProp retain];
480 id owned = [self.ownedProp retain];
487 id unowned = [self.unownedProp retain];
494 id unowned = [self.unownedProp retain];
501 id prop = [self.manualProp retain];
508 id prop = [self.manualProp retain];
530 id prop = [self.readonlyProp retain];
537 id prop = [self.readonlyProp retain];
544 id prop = [self.implicitManualProp retain];
551 id prop = [self.implicitManualProp retain];
558 id prop = [self.implicitSynthProp retain];
565 id prop = [self.implicitSynthProp retain];
572 [_ownedProp retain];
578 [_ownedProp retain];
584 [_ownedProp retain];
625 _ownedProp = [newValue retain];
630 _unownedProp = [newValue retain];
635 _ivarOnly = [newValue retain];
645 _readonlyProp = [newValue retain];
650 _implicitManualProp = [newValue retain];
655 _implicitSynthProp = [newValue retain];
677 [_unownedProp retain];