Home
last modified time | relevance | path

Searched refs:delete (Results 1 – 25 of 2317) sorted by relevance

12345678910>>...93

/external/clang/test/Analysis/
DMismatchedDeallocator-checker-test.mm23delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not '
29delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not …
34delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not '
39delete p; // expected-warning{{Memory allocated by strdup() should be deallocated by free(), not '
44delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no…
49 …operator delete(p); // expected-warning{{Memory allocated by malloc() should be deallocated by fre…
54delete[] p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not…
59 …operator delete[](p); // expected-warning{{Memory allocated by malloc() should be deallocated by f…
64 delete p; // expected-warning{{Memory allocated by alloca() should not be deallocated}}
70 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre…
[all …]
/external/valgrind/memcheck/tests/
Dmismatches.stderr.exp1 Mismatched free() / delete / delete []
8 Mismatched free() / delete / delete []
9 at 0x........: ...operator delete[]... (vg_replace_malloc.c:...)
15 Mismatched free() / delete / delete []
22 Mismatched free() / delete / delete []
29 Mismatched free() / delete / delete []
30 at 0x........: ...operator delete[]... (vg_replace_malloc.c:...)
36 Mismatched free() / delete / delete []
Dbadfree.stderr.exp1 Invalid free() / delete / delete[] / realloc()
6 Invalid free() / delete / delete[] / realloc()
Dbadfree-2trace.stderr.exp1 Invalid free() / delete / delete[] / realloc()
6 Invalid free() / delete / delete[] / realloc()
Dbadfree3.stderr.exp1 Invalid free() / delete / delete[] / realloc()
6 Invalid free() / delete / delete[] / realloc()
/external/v8/test/webkit/
Dstring-property-deletion-expected.txt30 PASS delete str.length is false
31 PASS delete str[0] is false
32 PASS delete str[1] is false
33 PASS delete str[2] is false
34 PASS delete str[3] is true
35 PASS delete str[-1] is true
36 PASS delete str[4294967294] is true
37 PASS delete str[4294967295] is true
38 PASS delete str[4294967296] is true
39 PASS delete str[0.0] is false
[all …]
/external/libcxx/include/
Dnew52 void operator delete(void* ptr) noexcept; // replaceable
53 void operator delete(void* ptr, std::size_t size) noexcept; // replaceable, C++14
54 void operator delete(void* ptr, const std::nothrow_t&) noexcept; // replaceable
58 void operator delete[](void* ptr) noexcept; // replaceable
59 void operator delete[](void* ptr, std::size_t size) noexcept; // replaceable, C++14
60 void operator delete[](void* ptr, const std::nothrow_t&) noexcept; // replaceable
64 void operator delete (void* ptr, void*) noexcept;
65 void operator delete[](void* ptr, void*) noexcept;
137 _LIBCPP_NEW_DELETE_VIS void operator delete(void* __p) _NOEXCEPT;
138 _LIBCPP_NEW_DELETE_VIS void operator delete(void* __p, const std::nothrow_t&) _NOEXCEPT;
[all …]
Dmutex26 mutex(const mutex&) = delete;
27 mutex& operator=(const mutex&) = delete;
43 recursive_mutex(const recursive_mutex&) = delete;
44 recursive_mutex& operator=(const recursive_mutex&) = delete;
60 timed_mutex(const timed_mutex&) = delete;
61 timed_mutex& operator=(const timed_mutex&) = delete;
78 recursive_timed_mutex(const recursive_timed_mutex&) = delete;
79 recursive_timed_mutex& operator=(const recursive_timed_mutex&) = delete;
108 lock_guard(lock_guard const&) = delete;
109 lock_guard& operator=(lock_guard const&) = delete;
[all …]
/external/proguard/src/proguard/classfile/editor/
DInterfaceDeleter.java46 private final boolean[] delete; field in InterfaceDeleter
54 public InterfaceDeleter(boolean[] delete) in InterfaceDeleter() argument
56 this.delete = delete; in InterfaceDeleter()
78 …System.out.println("InterfaceDeleter: "+(delete[index]?"- ":"+ ")+programClass.getInterfaceName(… in visitProgramClass()
81 if (!delete[index]) in visitProgramClass()
159 …System.out.println("InterfaceDeleter: type " + (delete[index] ? "- " : "+ ") + internalType + " … in visitSignatureAttribute()
162 if (!delete[index++]) in visitSignatureAttribute()
DInterfaceSorter.java58 boolean[] delete = null; in visitProgramClass()
65 if (delete == null) in visitProgramClass()
67 delete = new boolean[interfacesCount]; in visitProgramClass()
70 delete[index] = true; in visitProgramClass()
74 if (delete != null) in visitProgramClass()
76 new InterfaceDeleter(delete).visitProgramClass(programClass); in visitProgramClass()
/external/lzma/CPP/Common/
DMyBuffer.h27 delete []_items; in Free()
36 ~CBuffer() { delete []_items; } in ~CBuffer()
82 delete []_items; in ChangeSize_KeepData()
130 delete []_items; in Free()
135 ~CObjArray() { delete []_items; } in ~CObjArray()
142 delete []_items; in Alloc()
166 delete []_items; in Free()
197 ~CObjArray2() { delete []_items; } in ~CObjArray2()
213 delete []_items; in SetSize()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DStrip.java89 tokens.delete(a.getTokenStartIndex(), in rewrite()
100 tokens.delete(a.token.getTokenIndex()); in rewrite()
109 tokens.delete(a.token.getTokenIndex(), in rewrite()
135 tokens.delete(a.getTokenStartIndex(), in rewrite()
145 tokens.delete(a.getTokenStartIndex(), in rewrite()
156 tokens.delete(a.token.getTokenIndex()); // kill "id=" in rewrite()
157 tokens.delete(child.token.getTokenIndex()); in rewrite()
166 tokens.delete(a.token.getTokenIndex()); // kill "id+=" in rewrite()
167 tokens.delete(child.token.getTokenIndex()); in rewrite()
183 tokens.delete(a.token.getTokenIndex(), stop); in rewrite()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dttgsubtable.h56 ~TLangSys() { delete[] FeatureIndex; } in ~TLangSys()
76 ~TScript() { delete[] LangSysRecord; } in ~TScript()
95 ~TScriptList() { delete[] ScriptRecord; } in ~TScriptList()
106 ~TFeature() { delete[] LookupListIndex; } in ~TFeature()
125 ~TFeatureList() { delete[] FeatureRecord; } in ~TFeatureList()
153 ~TCoverageFormat1() override { delete[] GlyphArray; } in ~TCoverageFormat1()
177 ~TCoverageFormat2() override { delete[] RangeRecord; } in ~TCoverageFormat2()
199 ~TClassDefFormat1() override { delete[] ClassValueArray; } in ~TClassDefFormat1()
221 ~TClassDefFormat2() override { delete[] ClassRangeRecord; } in ~TClassDefFormat2()
250 ~TSingleSubstFormat1() override { delete Coverage; } in ~TSingleSubstFormat1()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DFilesTest.java95 …if (!Gdx.files.external("test.txt").delete()) message += "Couldn't delete externalstorage/test.txt… in create()
149 if (!Gdx.files.local("test.txt").delete()) message += "Couldn't delete localstorage/test.txt"; in create()
169 handle.delete(); in testClasspath()
198 handle.delete(); in testInternal()
229 copy.delete(); in testInternal()
234 copy.delete(); in testInternal()
243 handle.delete(); in testExternal()
246 if (handle.delete()) fail(); in testExternal()
272 copy.delete(); in testExternal()
278 move.delete(); in testExternal()
[all …]
/external/llvm/include/llvm/IR/
DDerivedTypes.h97 FunctionType(const FunctionType &) = delete;
98 const FunctionType &operator=(const FunctionType &) = delete;
191 StructType(const StructType &) = delete;
192 const StructType &operator=(const StructType &) = delete;
307 SequentialType(const SequentialType &) = delete;
308 const SequentialType &operator=(const SequentialType &) = delete;
333 ArrayType(const ArrayType &) = delete;
334 const ArrayType &operator=(const ArrayType &) = delete;
360 VectorType(const VectorType &) = delete;
361 const VectorType &operator=(const VectorType &) = delete;
[all …]
/external/libcxx/test/support/
Dany_helpers.h115 small_type& operator=(small_type const&) = delete;
116 small_type& operator=(small_type&&) = delete;
190 large_type& operator=(large_type const&) = delete;
191 large_type& operator=(large_type &&) = delete;
250 small_throws_on_copy& operator=(small_throws_on_copy const&) = delete;
251 small_throws_on_copy& operator=(small_throws_on_copy &&) = delete;
282 large_throws_on_copy& operator=(large_throws_on_copy const&) = delete;
283 large_throws_on_copy& operator=(large_throws_on_copy &&) = delete;
311 throws_on_move& operator=(throws_on_move const&) = delete;
312 throws_on_move& operator=(throws_on_move &&) = delete;
/external/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h123 delete strIter; in printTextRange()
136 delete[] buf; in uprintf()
202 delete fmt; in call()
203 delete cal; in call()
222 delete[] buf; in uprintf()
258 delete fmt; in call()
296 delete cp; in call()
298 delete fmt; in call()
351 delete fmt; in call()
353 delete cal; in call()
[all …]
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
Dphase1-down.sh35 ifconfig ${if} delete ${INTERNAL_ADDR4}
36 route delete default
37 route delete ${REMOTE_ADDR}
42 route delete default
43 route delete ${REMOTE_ADDR}
/external/libchrome/base/
Dmove.h37 type(const type&) = delete; \
38 void operator=(const type&) = delete; \
47 type(const type&) = delete; \
48 void operator=(const type&) = delete; \
/external/libweave/third_party/chromium/base/
Dmove.h37 type(const type&) = delete; \
38 void operator=(const type&) = delete; \
47 type(const type&) = delete; \
48 void operator=(const type&) = delete; \
/external/libcxx/test/std/utilities/memory/unique.ptr/
Ddeleter.h62 void operator()(T* p) {delete p;} in operator()
90 void operator()(T* p) {delete [] p;} in operator()
125 void operator()(T* p) {delete p;} in operator()
151 void operator()(T* p) {delete [] p;} in operator()
184 void operator()(T* p) {delete p;} in operator()
201 void operator()(T* p) {delete [] p;} in operator()
229 void operator()(T* p) {delete p;} in operator()
248 void operator()(T* p) {delete [] p;} in operator()
268 void operator()(T* p) const {delete p;} in operator()
287 void operator()(T* p) const {delete [] p;} in operator()
[all …]
/external/opencv3/3rdparty/openexr/IlmImf/
DImfArray.h86 ~Array () {delete [] _data;} in ~Array()
179 delete [] _data; in resizeErase()
188 delete [] _data; in resizeEraseUnsafe()
216 delete [] _data; in ~Array2D()
241 delete [] _data; in resizeErase()
251 delete [] _data; in resizeEraseUnsafe()
/external/libnl/src/
DMakefile.am11 nl-addr-add nl-addr-delete nl-addr-list \
14 nl-neigh-add nl-neigh-delete nl-neigh-list \
15 nl-qdisc-delete nl-qdisc-list \
20 nl-route-add nl-route-delete nl-route-get nl-route-list \
40 nl_addr_delete_SOURCES = nl-addr-delete.c
61 nl_neigh_delete_SOURCES = nl-neigh-delete.c
69 nl_qdisc_delete_SOURCES = nl-qdisc-delete.c
76 nl_route_delete_SOURCES = nl-route-delete.c
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineStorage.h79 delete[] m_diag; in ~SkylineStorage()
80 delete[] m_upper; in ~SkylineStorage()
82 delete[] m_lower; in ~SkylineStorage()
83 delete[] m_upperProfile; in ~SkylineStorage()
84 delete[] m_lowerProfile; in ~SkylineStorage()
227 delete[] m_diag; in reallocate()
228 delete[] m_upper; in reallocate()
229 delete[] m_lower; in reallocate()
230 delete[] m_upperProfile; in reallocate()
231 delete[] m_lowerProfile; in reallocate()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
DbtSoftColliders.java52 @Override protected synchronized void delete() { in delete() method in btSoftColliders
60 super.delete(); in delete()
95 @Override protected synchronized void delete() { in delete() method in btSoftColliders.ClusterBase
103 super.delete(); in delete()
188 @Override protected synchronized void delete() { in delete() method in btSoftColliders.CollideCL_RS
196 super.delete(); in delete()
258 @Override protected synchronized void delete() { in delete() method in btSoftColliders.CollideCL_SS
266 super.delete(); in delete()
320 @Override protected synchronized void delete() { in delete() method in btSoftColliders.CollideSDF_RS
328 super.delete(); in delete()
[all …]

12345678910>>...93