Home
last modified time | relevance | path

Searched refs:dealloc (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/external/clang/test/Analysis/
DDeallocUseAfterFreeErrors.m14 - (void)dealloc; method
22 // Check that 'self' is not referenced after calling '[super dealloc]'.
37 - (void)dealloc { method
38 [super dealloc]; // expected-note {{[super dealloc] called here}}
57 - (void)dealloc { method
58 [super dealloc]; // expected-note {{[super dealloc] called here}}
75 - (void)dealloc { method
76 [super dealloc]; // expected-note {{[super dealloc] called here}}
94 - (void)dealloc { method
95 [super dealloc]; // expected-note {{[super dealloc] called here}}
[all …]
DDeallocMissingRelease.m4 #include "Inputs/system-header-simulator-for-objc-dealloc.h"
19 // Do not warn about missing release in -dealloc for ivars.
37 - (void)dealloc
40 [super dealloc];
58 - (void)dealloc
61 [super dealloc];
79 // Warn about missing release in -dealloc for properties.
86 - (void)dealloc
89 …er dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass1' was copied by a synthesi…
99 - (void)dealloc
[all …]
DPR2978.m4 // in dealloc.
8 - (void)dealloc; method
79 - (void)dealloc
83 …ivar in 'MyClass' was synthesized for an assign, readwrite property but was released in 'dealloc'}}
93 …ng {{The '_S' ivar in 'MyClass' was synthesized for a weak property but was released in 'dealloc'}}
97 …ng {{The '_Q' ivar in 'MyClass' was synthesized for a weak property but was released in 'dealloc'}}
109 [super dealloc];
110 …var in 'MyClass' was retained by a synthesized property but not released before '[super dealloc]'}}
111 …var in 'MyClass' was retained by a synthesized property but not released before '[super dealloc]'}}
DMissingDealloc.m18 - (void)dealloc; method
25 // Do not warn about missing -dealloc method. Not enough context to know
37 // Do not warn about missing -dealloc method. These properties are not
55 // Warn about missing -dealloc method.
62 // expected-warning@+2{{'MissingDeallocWithCopyProperty' lacks a 'dealloc' instance method but must…
72 // expected-warning@+2{{'MissingDeallocWithRetainProperty' lacks a 'dealloc' instance method but mu…
83 // expected-warning@+2{{'MissingDeallocWithMultipleProperties' lacks a 'dealloc' instance method bu…
95 // expected-warning@+2{{'MissingDeallocWithIVarAndRetainProperty' lacks a 'dealloc' instance method…
105 // expected-warning@+2{{'MissingDeallocWithReadOnlyRetainedProperty' lacks a 'dealloc' instance met…
147 // - Disable the missing -dealloc check for classes that subclass SenTestCase
/external/llvm-project/clang/test/Analysis/
DDeallocUseAfterFreeErrors.m14 - (void)dealloc; method
22 // Check that 'self' is not referenced after calling '[super dealloc]'.
37 - (void)dealloc { method
38 [super dealloc]; // expected-note {{[super dealloc] called here}}
57 - (void)dealloc { method
58 [super dealloc]; // expected-note {{[super dealloc] called here}}
75 - (void)dealloc { method
76 [super dealloc]; // expected-note {{[super dealloc] called here}}
94 - (void)dealloc { method
95 [super dealloc]; // expected-note {{[super dealloc] called here}}
[all …]
DDeallocMissingRelease.m5 #include "Inputs/system-header-simulator-for-objc-dealloc.h"
20 // Do not warn about missing release in -dealloc for ivars.
38 - (void)dealloc
41 [super dealloc];
59 - (void)dealloc
62 [super dealloc];
80 // Warn about missing release in -dealloc for properties.
87 - (void)dealloc
90 …er dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass1' was copied by a synthesi…
100 - (void)dealloc
[all …]
DMissingDealloc.m18 - (void)dealloc; method
25 // Do not warn about missing -dealloc method. Not enough context to know
37 // Do not warn about missing -dealloc method. These properties are not
55 // Warn about missing -dealloc method.
62 // expected-warning@+2{{'MissingDeallocWithCopyProperty' lacks a 'dealloc' instance method but must…
72 // expected-warning@+2{{'MissingDeallocWithRetainProperty' lacks a 'dealloc' instance method but mu…
83 // expected-warning@+2{{'MissingDeallocWithMultipleProperties' lacks a 'dealloc' instance method bu…
95 // expected-warning@+2{{'MissingDeallocWithIVarAndRetainProperty' lacks a 'dealloc' instance method…
105 // expected-warning@+2{{'MissingDeallocWithReadOnlyRetainedProperty' lacks a 'dealloc' instance met…
147 // - Disable the missing -dealloc check for classes that subclass SenTestCase
[all …]
DPR2978.m4 // in dealloc.
8 - (void)dealloc; method
79 - (void)dealloc
83 …ivar in 'MyClass' was synthesized for an assign, readwrite property but was released in 'dealloc'}}
93 …ng {{The '_S' ivar in 'MyClass' was synthesized for a weak property but was released in 'dealloc'}}
97 …ng {{The '_Q' ivar in 'MyClass' was synthesized for a weak property but was released in 'dealloc'}}
109 [super dealloc];
110 …var in 'MyClass' was retained by a synthesized property but not released before '[super dealloc]'}}
111 …var in 'MyClass' was retained by a synthesized property but not released before '[super dealloc]'}}
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dobjc-dealloc-in-category.m1 // RUN: %check_clang_tidy %s objc-dealloc-in-category %t
5 - (void)dealloc; method
12 - (void)dealloc { method
24 + (void)dealloc { class in BarCategory
28 - (void)dealloc { method in BarCategory
29 …LINE-1]]:1: warning: category 'BarCategory' should not implement -dealloc [objc-dealloc-in-categor…
37 - (void)dealloc { method
46 - (void)dealloc; method in BazCategory
/external/llvm-project/clang/test/SemaObjC/
Dwarn-missing-super.m5 - (void)dealloc; method
9 - (void)dealloc { method
18 - (void)dealloc; method
23 - (void)dealloc { method
30 - (void)dealloc; method
35 - (void)dealloc { method
36 [super dealloc]; // Shouldn't warn
44 // CHECK: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
48 // CHECK-GC: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
57 // CHECK-ARC: warn-missing-super.m:36:10: error: ARC forbids explicit message send of 'dealloc'
Ddealloc.m6 - dealloc; // expected-error {{return type must be correctly specified as 'void' under ARC, instead… method
20 - (id) dealloc { // expected-error {{return type must be correctly specified as 'void' under ARC, … method
28 - (void)dealloc; method
35 - (void)dealloc; method in CAT
39 - (void)dealloc { // expected-warning {{-dealloc is being overridden in a category}} method in CAT
/external/clang/test/SemaObjC/
Dwarn-missing-super.m5 - (void)dealloc; method
9 - (void)dealloc { method
18 - (void)dealloc; method
23 - (void)dealloc { method
30 - (void)dealloc; method
35 - (void)dealloc { method
36 [super dealloc]; // Shouldn't warn
44 // CHECK: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
48 // CHECK-GC: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
57 // CHECK-ARC: warn-missing-super.m:36:10: error: ARC forbids explicit message send of 'dealloc'
Ddealloc.m6 - dealloc; // expected-error {{return type must be correctly specified as 'void' under ARC, instead… method
20 - (id) dealloc { // expected-error {{return type must be correctly specified as 'void' under ARC, … method
28 - (void)dealloc; method
35 - (void)dealloc; method in CAT
39 - (void)dealloc { // expected-warning {{-dealloc is being overridden in a category}} method in CAT
/external/llvm-project/mlir/test/Transforms/
Dcopy-removal.mlir33 // CHECK-NOT: dealloc %[[PERCENT7]]
36 dealloc %7 : memref<?x?xf32>
46 // CHECK-NOT: dealloc %[[PERCENT3]]
49 dealloc %3 : memref<?x?xf32>
61 // CHECK-NOT: dealloc %[[PERCENT3]]
64 dealloc %3 : memref<?x?xf32>
68 dealloc %1 : memref<?x?xf32>
79 dealloc %ret : memref<5xf32>
85 // CHECK-NOT: dealloc %[[ret]]
101 dealloc %ret : memref<5xf32>
[all …]
Dpipeline-data-transfer.mlir29 dealloc %tag : memref<1 x f32>
30 dealloc %Ah : memref<32 x f32, affine_map<(d0) -> (d0)>, 1>
60 // CHECK-NEXT: dealloc %{{.*}} : memref<2x1xf32>
61 // CHECK-NEXT: dealloc %{{.*}} : memref<2x32xf32, 1>
82 dealloc %2 : memref<1xi32>
83 dealloc %1 : memref<4xf32, 1>
101 // CHECK-NEXT: dealloc [[TAG]] : memref<2x1xi32>
102 // CHECK-NEXT: dealloc [[BUF]] : memref<2x4xf32, 1>
160 // CHECK-DAG: dealloc [[TAG_ARG1]] : memref<2x2xi32>
161 // CHECK-DAG: dealloc [[TAG_ARG0]] : memref<2x2xi32>
[all …]
Dnormalize-memrefs-ops.mlir21 dealloc %0 : memref<1x16x14x14xf32, #map0>
25 // CHECK: dealloc %[[v0]] : memref<1x16x1x1x32x64xf32>
36 dealloc %0 : memref<1x16x14x14xf32, #map0>
40 // CHECK: dealloc %[[v0]] : memref<1x16x14x14xf32, #map>
51 dealloc %0 : memref<1x16x14x14xf32, #map0>
55 // CHECK: dealloc %[[v0]] : memref<1x16x1x1x32x64xf32>
86 dealloc %0 : memref<1x16x14x14xf32, #map_tile>
87 // CHECK: dealloc %[[v0]] : memref<1x16x1x1x32x32xf32>
88 dealloc %1 : memref<1x16x14x14xf32>
89 // CHECK: dealloc %[[v1]] : memref<1x16x14x14xf32>
[all …]
Dbuffer-deallocation.mlir40 // CHECK-NEXT: dealloc %[[ALLOC1]]
43 // CHECK-NEXT: dealloc
90 // CHECK-NEXT: dealloc %[[ALLOC1]]
94 // CHECK-NEXT: dealloc %[[ALLOC3]]
163 // CHECK-NEXT: dealloc %[[ALLOC1]]
169 // CHECK-NEXT: dealloc %[[ALLOC4]]
184 // CHECK-NEXT: dealloc %[[ALLOC]]
218 // CHECK-NEXT: dealloc %[[ALLOC1]]
220 // CHECK-NEXT: dealloc
246 // CHECK: dealloc
[all …]
/external/llvm-project/clang/docs/analyzer/checkers/
Ddealloc_example.m8 @implementation MyObject // warn: lacks 'dealloc'
15 @implementation MyObject // warn: does not send 'dealloc' to super
16 - (void)dealloc { method
30 - (void)dealloc { method
31 [super dealloc];
44 - (void)dealloc { method
46 [super dealloc];
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dobjc-dealloc-in-category.rst1 .. title:: clang-tidy - objc-dealloc-in-category
3 objc-dealloc-in-category
6 Finds implementations of ``-dealloc`` in Objective-C categories. The category
7 implementation will override any ``-dealloc`` in the class implementation,
10 Classes implement ``-dealloc`` to perform important actions to deallocate
11 an object. If a category on the class implements ``-dealloc``, it will
/external/libcxxabi/src/
Dcxa_vector.cpp48 st_heap_block2 ( dealloc_f dealloc, void *ptr ) in st_heap_block2() argument
49 : dealloc_ ( dealloc ), ptr_ ( ptr ), enabled_ ( true ) {} in st_heap_block2()
63 st_heap_block3 ( dealloc_f dealloc, void *ptr, size_t size ) in st_heap_block3() argument
64 : dealloc_ ( dealloc ), ptr_ ( ptr ), size_ ( size ), enabled_ ( true ) {} in st_heap_block3()
145 void *(*alloc)(size_t), void (*dealloc)(void *)) { in __cxa_vec_new2()
151 st_heap_block2 heap ( dealloc, heap_block ); in __cxa_vec_new2()
173 void *(*alloc)(size_t), void (*dealloc)(void *, size_t)) { in __cxa_vec_new3()
179 st_heap_block3 heap ( dealloc, heap_block, heap_size ); in __cxa_vec_new3()
331 void (*destructor)(void *), void (*dealloc)(void *)) { in __cxa_vec_delete2()
335 st_heap_block2 heap ( dealloc, heap_block ); in __cxa_vec_delete2()
[all …]
/external/clang/test/ARCMT/
Ddealloc.m9 - (void)dealloc; method
13 [a dealloc];
17 - (void) dealloc; method
21 - (void) dealloc { method
22 [super dealloc];
/external/llvm-project/clang/test/ARCMT/
Ddealloc.m9 - (void)dealloc; method
13 [a dealloc];
17 - (void) dealloc; method
21 - (void) dealloc { method
22 [super dealloc];
/external/llvm-project/libcxxabi/src/
Dcxa_vector.cpp55 st_heap_block2 ( dealloc_f dealloc, void *ptr ) in st_heap_block2() argument
56 : dealloc_ ( dealloc ), ptr_ ( ptr ), enabled_ ( true ) {} in st_heap_block2()
70 st_heap_block3 ( dealloc_f dealloc, void *ptr, size_t size ) in st_heap_block3() argument
71 : dealloc_ ( dealloc ), ptr_ ( ptr ), size_ ( size ), enabled_ ( true ) {} in st_heap_block3()
197 void *(*alloc)(size_t), void (*dealloc)(void *)) { in __cxa_vec_new2()
204 st_heap_block2 heap(dealloc, heap_block); in __cxa_vec_new2()
226 void *(*alloc)(size_t), void (*dealloc)(void *, size_t)) { in __cxa_vec_new3()
233 st_heap_block3 heap(dealloc, heap_block, heap_size); in __cxa_vec_new3()
385 void (*destructor)(void *), void (*dealloc)(void *)) { in __cxa_vec_delete2()
389 st_heap_block2 heap ( dealloc, heap_block ); in __cxa_vec_delete2()
[all …]
/external/rust/crates/tokio/src/runtime/task/
Draw.rs17 pub(super) dealloc: unsafe fn(NonNull<Header>), field
33 dealloc: dealloc::<T, S>, in vtable()
69 pub(super) fn dealloc(self) { in dealloc() method
72 (vtable.dealloc)(self.ptr); in dealloc()
107 unsafe fn dealloc<T: Future, S: Schedule>(ptr: NonNull<Header>) { in dealloc() function
109 harness.dealloc(); in dealloc()
/external/llvm-project/clang/test/CodeGen/
Dsanitize-thread-no-checking-at-run-time.m8 - (void)dealloc; method
20 - (void) dealloc; method
26 - (void)dealloc { method
27 [super dealloc];
32 // TSAN: dealloc{{.*}}) [[ATTR:#[0-9]+]]

12345678910>>...19