Searched refs:dtor (Results 1 - 25 of 49) sorted by relevance

12

/external/clang/test/CXX/expr/expr.unary/expr.new/
H A Dp17.cpp7 class dtor { class
8 ~dtor(); // expected-note 3 {{implicitly declared private here}}
13 new dtor[0]; // expected-error{{calling a private destructor of class 'dtor'}}
14 new dtor[3]; // expected-error{{calling a private destructor of class 'dtor'}}
15 new dtor[3][3]; // expected-error{{calling a private destructor of class 'dtor'}}
/external/libchrome/base/
H A Dlazy_instance.cc42 void (*dtor)(void*)) {
49 if (dtor)
50 AtExitManager::RegisterCallback(dtor, lazy_instance);
39 CompleteLazyInstance(subtle::AtomicWord* state, subtle::AtomicWord new_instance, void* lazy_instance, void (*dtor)(void*)) argument
/external/libcxxabi/test/
H A Dcxa_thread_atexit_test.pass.cpp18 extern "C" int __cxa_thread_atexit_impl(void (*dtor)(void *), void *obj,
20 assert(dtor == reinterpret_cast<void (*)(void *)>(1));
/external/libcxxabi/src/
H A Dcxa_thread_atexit.cpp59 Dtor dtor; member in struct:__cxxabiv1::__anon11218::DtorList
74 head->dtor(head->obj);
106 _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(Dtor dtor, void* obj, void* dso_symbol) throw() { argument
108 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol);
111 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol);
129 head->dtor = dtor;
/external/curl/lib/
H A Dllist.h39 curl_llist_dtor dtor; member in struct:curl_llist
H A Dhash.h54 curl_hash_dtor dtor; member in struct:curl_hash
76 curl_hash_dtor dtor);
H A Dllist.c37 Curl_llist_init(struct curl_llist *l, curl_llist_dtor dtor) argument
40 l->dtor = dtor;
128 /* call the dtor() last for when it actually frees the 'e' memory itself */
129 if(list->dtor)
130 list->dtor(user, ptr);
H A Dhash.c41 h->dtor(e->ptr);
61 curl_hash_dtor dtor)
65 if(!slots || !hfunc || !comparator ||!dtor) {
71 h->dtor = dtor;
57 Curl_hash_init(struct curl_hash *h, int slots, hash_function hfunc, comp_function comparator, curl_hash_dtor dtor) argument
/external/tinyxml2/
H A DMakefile10 -Wpointer-arith -Woverloaded-virtual -Wctor-dtor-privacy \
11 -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo \
/external/mesa3d/src/gallium/state_trackers/nine/
H A Diunknown.h65 void (*dtor)(void *data); /* top-level dtor */ member in struct:NineUnknown
78 void (*dtor)(void *data); member in struct:NineUnknownParams
133 This->dtor(This);
156 This->dtor(This);
176 This->dtor(This);
H A Diunknown.c48 This->dtor = pParams->dtor;
133 This->dtor(This);
140 * for AddRef and Release, except for dtor as some of the dtors require it. */
157 This->dtor(This);
H A Dnine_helpers.h86 __params.dtor = (void *)Nine##nine##_dtor; \
111 __params.dtor = (void *)Nine##nine##_dtor; \
/external/clang/test/CXX/class/class.union/
H A Dp1.cpp46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}} member in union:U1
70 Dtor dtor; // expected-note {{because field of type 'Dtor' has a user-provided destructor}} member in struct:U2::__anon2197
131 Either<int,Dtor> dtor(0); // expected-note {{in instantiation of template}}
/external/libcxx/buildcmds/
H A DAndroid.mk33 -Wno-error=non-virtual-dtor \
/external/syslinux/com32/chain/
H A Dpartiter.h55 void (*dtor)(struct part_iter *); member in struct:itertype
114 iter->type->dtor(iter);
/external/v8/tools/clang/blink_gc_plugin/
H A DBlinkGCPluginConsumer.cpp421 CXXDestructorDecl* dtor = info->record()->getDestructor(); local
425 if (dtor && dtor->hasBody()) {
427 visitor.TraverseCXXMethodDecl(dtor);
430 dtor, visitor.finalized_fields());
444 if (dtor && dtor->isUserProvided())
445 reporter_.NoteUserDeclaredDestructor(dtor);
462 CXXDestructorDecl* dtor = info->record()->getDestructor(); local
482 if (dtor
[all...]
H A DDiagnosticsReporter.h41 clang::CXXMethodDecl* dtor,
72 void NoteUserDeclaredDestructor(clang::CXXMethodDecl* dtor);
73 void NoteUserDeclaredFinalizer(clang::CXXMethodDecl* dtor);
H A DDiagnosticsReporter.cpp381 CXXMethodDecl* dtor,
392 << dtor << error.field->field();
537 void DiagnosticsReporter::NoteUserDeclaredDestructor(CXXMethodDecl* dtor) { argument
538 ReportDiagnostic(dtor->getLocStart(), diag_user_declared_destructor_note_);
541 void DiagnosticsReporter::NoteUserDeclaredFinalizer(CXXMethodDecl* dtor) { argument
542 ReportDiagnostic(dtor->getLocStart(), diag_user_declared_finalizer_note_);
380 FinalizerAccessesFinalizedFields( CXXMethodDecl* dtor, const CheckFinalizerVisitor::Errors& errors) argument
/external/mesa3d/include/c11/
H A Dthreads_win32.h51 Max registerable TSS dtor number.
264 tss_dtor_t dtor; member in struct:impl_tss_dtor_entry
267 static int impl_tss_dtor_register(tss_t key, tss_dtor_t dtor) argument
271 if (!impl_tss_dtor_tbl[i].dtor)
277 impl_tss_dtor_tbl[i].dtor = dtor;
285 if (impl_tss_dtor_tbl[i].dtor) {
288 (impl_tss_dtor_tbl[i].dtor)(val);
595 tss_create(tss_t *key, tss_dtor_t dtor) argument
599 if (dtor) {
[all...]
/external/python/cpython2/Doc/includes/
H A Dcapsulethunk.h42 #define PyCapsule_SetDestructor(capsule, dtor) \
43 __PyCapsule_SetField(capsule, destructor, dtor)
/external/python/cpython3/Doc/includes/
H A Dcapsulethunk.h42 #define PyCapsule_SetDestructor(capsule, dtor) \
43 __PyCapsule_SetField(capsule, destructor, dtor)
/external/deqp/
H A DAndroid.mk52 LOCAL_CPPFLAGS += -Wno-non-virtual-dtor -Wno-delete-non-virtual-dtor
/external/syslinux/com32/lib/sys/module/
H A Dcommon.c425 module_ctor_t *dtor; local
427 for (dtor = module->dtors; dtor && *dtor; dtor++)
428 (*dtor) ();
/external/mesa3d/src/egl/main/
H A Deglcurrent.c87 static inline EGLBoolean _eglInitTSD(void (*dtor)(_EGLThreadInfo *))
94 if (tss_create(&_egl_TSD, (void (*)(void *)) dtor) != thrd_success) {
98 _egl_FreeTSD = dtor;
/external/v8/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp227 // templated class, assume there's no ctor/dtor/virtual method
414 } else if (CXXDestructorDecl* dtor = record->getDestructor()) {
415 if (dtor->isInlined() && !dtor->isInlineSpecified() &&
416 !dtor->isDeleted()) {
417 emitWarning(dtor->getInnerLocStart(),
637 // Simplifying; the whole class isn't trivial if the dtor is, but
718 if (CXXDestructorDecl* dtor = record->getDestructor()) {
719 if (dtor->getAccess() == AS_public) {
720 loc = dtor
[all...]

Completed in 598 milliseconds

12