Lines Matching full:count

47 …ect alloc] init]; // expected-note{{Method returns an instance of NSObject with a +1 retain count}}
48 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
52 …n 'CFCreateSomething' returns a Core Foundation object of type 'CFTypeRef' with a +1 retain count}}
53 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
57 …o methodWithValue]; // expected-note{{Method returns an Objective-C object with a +0 retain count}}
58 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou…
59 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +2 retain cou…
60 …[leaked release]; // expected-note{{Reference count decremented. The object now has a +1 retain co…
61 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
65 …oo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 retain count}}
66 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou…
67 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
71 …tion 'CFGetSomething' returns a Core Foundation object of type 'CFTypeRef' with a +0 retain count}}
72 …CFRetain(leaked); // expected-note{{Reference count incremented. The object now has a +1 retain co…
73 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
77 …ect alloc] init]; // expected-note{{Method returns an instance of NSObject with a +1 retain count}}
83 …ect alloc] init]; // expected-note{{Method returns an instance of NSObject with a +1 retain count}}
89 …ect alloc] init]; // expected-note{{Method returns an instance of NSObject with a +1 retain count}}
92 …many times}} expected-note{{Object was autoreleased 2 times but the object has a +1 retain count}}
96 …oo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 retain count}}
98 …ct autoreleased too many times}} expected-note{{Object was autoreleased but has a +0 retain count}}
102 …n 'CFCreateSomething' returns a Core Foundation object of type 'CFTypeRef' with a +1 retain count}}
105 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
109 …tion 'CFGetSomething' returns a Core Foundation object of type 'CFTypeRef' with a +0 retain count}}
110count returned to caller where a +1 (owning) retain count is expected}} expected-note{{Object with…
114 …n 'CFCreateSomething' returns a Core Foundation object of type 'CFTypeRef' with a +1 retain count}}
120 …lf.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 retain count}}
121count returned to caller where a +1 (owning) retain count is expected}} expected-note{{Object with…
125 …esult = self[0]; // expected-note{{Subscript returns an Objective-C object with a +0 retain count}}
126count returned to caller where a +1 (owning) retain count is expected}} expected-note{{Object with…
130 …lt = self[self]; // expected-note{{Subscript returns an Objective-C object with a +0 retain count}}
131count returned to caller where a +1 (owning) retain count is expected}} expected-note{{Object with…
135 … = [[Foo alloc] init]; // expected-note{{Method returns an instance of Foo with a +1 retain count}}
140 … = [[Foo alloc] init]; // expected-note{{Method returns an instance of Foo with a +1 retain count}}
142count returned to caller where a +1 (owning) retain count is expected}} expected-note{{Object with…
161 + (NSArray *)arrayWithObjects:(const id [])objects count:(NSUInteger)count;
165 …thObjects:(const id [])objects forKeys:(const id /* <NSCopying> */ [])keys count:(NSUInteger)count;
170 id result = @1; // expected-note{{NSNumber literal is an object with a +0 retain count}}
171 …-warning{{decrement}} expected-note{{Incorrect decrement of the reference count of an object that …
175 …ult = @(x); // expected-note{{NSNumber boxed expression produces an object with a +0 retain count}}
176 …-warning{{decrement}} expected-note{{Incorrect decrement of the reference count of an object that …
180 …t = @(str); // expected-note{{NSString boxed expression produces an object with a +0 retain count}}
181 …-warning{{decrement}} expected-note{{Incorrect decrement of the reference count of an object that …
185 id result = @[obj]; // expected-note{{NSArray literal is an object with a +0 retain count}}
186 …-warning{{decrement}} expected-note{{Incorrect decrement of the reference count of an object that …
190 …esult = @{key: value}; // expected-note{{NSDictionary literal is an object with a +0 retain count}}
191 …-warning{{decrement}} expected-note{{Incorrect decrement of the reference count of an object that …
215 …f = [super init]; // expected-note 6 {{Method returns an instance of MyObj with a +1 retain count}}
227 … // expected-note@-1 {{Method returns an instance of MyObj with a +1 retain count}}
230 …ect of type 'MyObj *' is not referenced later in this execution path and has a retain count of +1}}
238 …d and stored into 'y' is not referenced later in this execution path and has a retain count of +1}}
247 …n 'CFCreateSomething' returns a Core Foundation object of type 'CFTypeRef' with a +1 retain count}}
250 … many times}} expected-note{{Object was autoreleased 2 times but the object has a +1 retain count}}
254 …tion 'CFGetSomething' returns a Core Foundation object of type 'CFTypeRef' with a +0 retain count}}
256 …ct autoreleased too many times}} expected-note{{Object was autoreleased but has a +0 retain count}}
260 …tion 'CFGetSomething' returns a Core Foundation object of type 'CFTypeRef' with a +0 retain count}}
263 … many times}} expected-note{{Object was autoreleased 2 times but the object has a +0 retain count}}
286 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
287 [_unownedProp release]; // FIXME-note {{Reference count decremented}}
288 …[_unownedProp release]; // FIXME-note {{Incorrect decrement of the reference count of an object th…
294 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
295 [_ownedProp release]; // FIXME-note {{Reference count decremented}}
303 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
304 [_ivarOnly release]; // FIXME-note {{Reference count decremented}}
312 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
313 [_ownedProp release]; // FIXME-note {{Reference count decremented}}
316 // FIXME-note@+1 {{Object was autoreleased 2 times but the object has a +0 retain count}}
321 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
322 [_ivarOnly release]; // FIXME-note {{Reference count decremented}}
325 // FIXME-note@+1 {{Object was autoreleased 2 times but the object has a +0 retain count}}
346 …and stored into 'New' is not referenced later in this execution path and has a retain count of +1}}
360 …and stored into 'New' is not referenced later in this execution path and has a retain count of +1}}
387 …and stored into 'New' is not referenced later in this execution path and has a retain count of +1}}
396 …tored into 'Original' is not referenced later in this execution path and has a retain count of +1}}
407 …tored into 'Original' is not referenced later in this execution path and has a retain count of +1}}