Home
last modified time | relevance | path

Searched refs:retained (Results 1 – 25 of 98) sorted by relevance

1234

/external/clang/test/SemaObjC/
Dwarn-retain-cycle.m11 [x setBlock: // expected-note {{block will be retained by the captured object}}
13 x.block = // expected-note {{block will be retained by the captured object}}
16 [x addBlock: // expected-note {{block will be retained by the captured object}}
32 … // expected-note {{block will be retained by the captured object}}
48 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
49 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
63 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
69 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
71 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
73 …^{ (void) sizeof(self); // expected-note {{block will be retained by an object strongly retained b…
[all …]
Darc-unsafe-assigns.m24 self.unsafe_prop = [Foo new]; // expected-warning {{assigning retained object to unsafe property}}
25 …self->unsafe_ivar = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretaine…
26 …self.unsafe_prop = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe p…
27 …self->unsafe_ivar = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_…
30 unsafe_var = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretained}}
31 …unsafe_var = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_unretai…
36 f.unsafe_prop = [Foo new]; // expected-warning {{assigning retained object to unsafe property}}
39 unsafe_var = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretained}}
40 …unsafe_var = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_unretai…
Dproperty-ns-returns-not-retained-attr.m11 … expected-warning {{property declared as returning non-retained objects; getter returning retained
Darc.m594 __weak id x = [Test30 new]; // expected-warning {{assigning retained object to weak variable}}
595 …id __unsafe_unretained u = [Test30 new]; // expected-warning {{assigning retained object to unsafe…
597 x = [Test30 new]; // expected-warning {{assigning retained object to weak variable}}
598 u = [Test30 new]; // expected-warning {{assigning retained object to unsafe_unretained variable}}
649 … expected-warning {{property declared as returning non-retained objects; getter returning retained
742 …picker1 = [[Radar11814185 alloc] init]; // expected-warning {{assigning retained object to weak va…
743 …self.picker1 = [[Radar11814185 alloc] init]; // expected-warning {{assigning retained object to we…
/external/v8/src/heap/
Dobjects-visiting.cc196 Object* retained = retainer->RetainAs(list); in VisitWeakList() local
197 if (retained != NULL) { in VisitWeakList()
200 head = retained; in VisitWeakList()
204 WeakListVisitor<T>::SetWeakNext(tail, retained); in VisitWeakList()
208 collector->RecordSlot(tail, next_slot, retained); in VisitWeakList()
212 DCHECK(!retained->IsUndefined()); in VisitWeakList()
213 candidate = reinterpret_cast<T*>(retained); in VisitWeakList()
/external/clang/test/Analysis/
DPR2978.m36 @synthesize Y = _Y; // expected-warning{{The '_Y' instance variable was retained by a synthesized p…
37 @synthesize Z = _Z; // expected-warning{{The '_Z' instance variable was not retained by a synthesiz…
42 @synthesize W = _W; // expected-warning{{The '_W' instance variable was retained by a synthesized p…
Dretain-release-gc-only.m319 // <rdar://problem/7174400> 'ciContext createCGImage:outputImage fromRect:' returns a retained CF o…
406 id retained = [@[] retain]; // +0, GC
407 consumeAndStopTracking(retained, ^{}); // no-warning
419 id retained = [@[] retain]; // +0, GC
420 …CFConsumeAndStopTracking((CFTypeRef)retained, ^{}); // expected-warning {{Incorrect decrement of t…
424 CFTypeRef retained = returnsRetainedCFDate(); // +1
425 CFConsumeAndStopTracking(retained, ^{}); // no-warning
DMissingDealloc.m69 // Was bogus warning: "The '_myproperty' instance variable was not retained by a
DCFDateGC.m77 // The following test case verifies that we "stop tracking" a retained object
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_buffer_objects.c701 int retained = 0; in intel_buffer_purgeable() local
704 retained = drm_intel_bo_madvise (buffer, I915_MADV_DONTNEED); in intel_buffer_purgeable()
706 return retained ? GL_VOLATILE_APPLE : GL_RELEASED_APPLE; in intel_buffer_purgeable()
772 int retained; in intel_buffer_unpurgeable() local
774 retained = 0; in intel_buffer_unpurgeable()
776 retained = drm_intel_bo_madvise (buffer, I915_MADV_WILLNEED); in intel_buffer_unpurgeable()
778 return retained ? GL_RETAINED_APPLE : GL_UNDEFINED_APPLE; in intel_buffer_unpurgeable()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.c701 int retained = 0; in intel_buffer_purgeable() local
704 retained = drm_intel_bo_madvise (buffer, I915_MADV_DONTNEED); in intel_buffer_purgeable()
706 return retained ? GL_VOLATILE_APPLE : GL_RELEASED_APPLE; in intel_buffer_purgeable()
772 int retained; in intel_buffer_unpurgeable() local
774 retained = 0; in intel_buffer_unpurgeable()
776 retained = drm_intel_bo_madvise (buffer, I915_MADV_WILLNEED); in intel_buffer_unpurgeable()
778 return retained ? GL_RETAINED_APPLE : GL_UNDEFINED_APPLE; in intel_buffer_unpurgeable()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_buffer_objects.c701 int retained = 0; in intel_buffer_purgeable() local
704 retained = drm_intel_bo_madvise (buffer, I915_MADV_DONTNEED); in intel_buffer_purgeable()
706 return retained ? GL_VOLATILE_APPLE : GL_RELEASED_APPLE; in intel_buffer_purgeable()
772 int retained; in intel_buffer_unpurgeable() local
774 retained = 0; in intel_buffer_unpurgeable()
776 retained = drm_intel_bo_madvise (buffer, I915_MADV_WILLNEED); in intel_buffer_unpurgeable()
778 return retained ? GL_RETAINED_APPLE : GL_UNDEFINED_APPLE; in intel_buffer_unpurgeable()
/external/llvm/test/Verifier/
Ddbg-null-retained-type.ll3 ; CHECK-NEXT: invalid retained type
/external/clang/test/ARCMT/
Dcheck-with-pch.m14 self->x = [NSObject new]; // expected-error {{assigning retained object}}
Dchecking.m76 …a 'delegate' message; the object that was passed to 'setDelegate:' may not be properly retained}} \
78 …a 'delegate' message; the object that was passed to 'setDelegate:' may not be properly retained}} \
318 value = [NSObject new]; // expected-error {{assigning retained object}}
331 self->x = [NSObject new]; // expected-error {{assigning retained object}}
344 // expected-note {{retained by the captured object}}
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/
DREADME8 notice must be retained.)
/external/chromium-trace/catapult/third_party/six/
DREADME8 notice must be retained.)
/external/llvm/test/TableGen/
D2010-03-24-PrematureDefaults.td19 // was processed, X would be set correctly, but Bits retained the default
/external/mksh/
DNOTICE9 * are retained or reproduced in an accompanying document, permission
/external/javasqlite/
DNOTICE7 that existing copyright notices are retained in all copies and that this
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp196 void castToObjCObject(CastExpr *E, bool retained) { in castToObjCObject() argument
197 rewriteToBridgedCast(E, retained ? OBC_BridgeTransfer : OBC_Bridge); in castToObjCObject()
/external/guava/
DREADME.jdk525 @Override annotations on interface methods are retained.
/external/clang/docs/
DAutomaticReferenceCounting.rst422 .. _arc.object.operands.retained-return-values:
428 marked as returning a retained value, signifying that the caller expects to take
450 most common scenario this models is the retained return from ``init``,
479 a retained value must ensure that the object is still valid across the return
576 the operand of the cast has a syntactic form which is known retained, known
597 <arc.method-families>` that implies a retained result, or
601 An expression is :arc-term:`known retained` if it is an rvalue of :ref:`C
607 family <arc.method-families>` that implies a retained result.
620 If the cast operand is known retained, the conversion is treated as a
630 We've so far consciously refrained from implicitly turning retained CF
[all …]
/external/mksh/src/
Drlimits.opt6 * are retained or reproduced in an accompanying document, permission
/external/boringssl/src/
DPORTING.md4 subset of OpenSSL retained. Libraries ideally need little to no changes for
76 For convenience, `SSL_CTRL_*` values are retained as macros to `doesnt_exist` so

1234