Home
last modified time | relevance | path

Searched refs:ctor (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenClass.cpp28 const CXXConstructorDecl *ctor) { in isConstructorDelegationValid() argument
41 if (ctor->getParent()->getNumVBases()) in isConstructorDelegationValid()
46 if (ctor->getType()->castAs<FunctionProtoType>()->isVariadic()) in isConstructorDelegationValid()
50 if (ctor->isDelegatingConstructor()) in isConstructorDelegationValid()
315 const CXXConstructorDecl *ctor, CXXCtorType ctorType, in emitDelegateCXXConstructorCall() argument
343 emitCXXConstructorCall(ctor, ctorType, /*ForVirtualBase=*/false, in emitDelegateCXXConstructorCall()
373 const CXXConstructorDecl *ctor, const FunctionArgList &args) { in emitDelegatingCXXConstructorCall() argument
374 assert(ctor->isDelegatingConstructor()); in emitDelegatingCXXConstructorCall()
385 emitAggExpr(ctor->init_begin()[0]->getInit(), aggSlot); in emitDelegatingCXXConstructorCall()
387 const CXXRecordDecl *classDecl = ctor->getParent(); in emitDelegatingCXXConstructorCall()
[all …]
H A DCIRGenFunction.cpp503 const auto *ctor = cast<CXXConstructorDecl>(curGD.getDecl()); in emitConstructorBody() local
510 if (ctorType == Ctor_Complete && isConstructorDelegationValid(ctor) && in emitConstructorBody()
512 emitDelegateCXXConstructorCall(ctor, Ctor_Base, args, ctor->getEndLoc()); in emitConstructorBody()
517 Stmt *body = ctor->getBody(definition); in emitConstructorBody()
518 assert(definition == ctor && "emitting wrong constructor body"); in emitConstructorBody()
521 cgm.errorNYI(ctor->getSourceRange(), "emitConstructorBody: try body"); in emitConstructorBody()
532 emitCtorPrologue(ctor, ctorType, args); in emitConstructorBody()
537 cgm.errorNYI(ctor->getSourceRange(), in emitConstructorBody()
H A DCIRGenFunction.h495 isConstructorDelegationValid(const clang::CXXConstructorDecl *ctor);
874 void emitCtorPrologue(const clang::CXXConstructorDecl *ctor,
881 void emitDelegatingCXXConstructorCall(const CXXConstructorDecl *ctor,
947 void emitDelegateCXXConstructorCall(const clang::CXXConstructorDecl *ctor,
/freebsd/sys/gnu/gcov/
H A Dgcov_subr.c117 void (*ctor)(void); in gcov_invoke_ctor() local
127 ctor = (void *)symval.value; in gcov_invoke_ctor()
128 ctor(); in gcov_invoke_ctor()
/freebsd/crypto/openssl/crypto/perlasm/
H A Dx86gas.pl270 { my $ctor="${nmdecor}_GLOBAL_\$I\$$f";
272 $initseg.=".type $ctor,\@function\n" if ($::pic);
274 .globl $ctor
276 $ctor:
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_threadprivate.cpp369 if (d_tn->ct.ctor != 0) { in kmp_threadprivate_insert()
473 if (d_tn->ct.ctor != 0) { in kmp_threadprivate_insert()
474 (void)(*d_tn->ct.ctor)(tn->par_addr); in kmp_threadprivate_insert()
504 void __kmpc_threadprivate_register(ident_t *loc, void *data, kmpc_ctor ctor, in __kmpc_threadprivate_register() argument
522 d_tn->ct.ctor = ctor; in __kmpc_threadprivate_register()
747 kmpc_ctor_vec ctor, kmpc_cctor_vec cctor, in __kmpc_threadprivate_register_vec() argument
767 d_tn->ct.ctorv = ctor; in __kmpc_threadprivate_register_vec()
/freebsd/sys/sys/
H A Dmodule_khelp.h73 #define KHELP_DECLARE_MOD_UMA(hname, hdata, hhooks, version, size, ctor, dtor) \ argument
80 .umactor = ctor, \
H A Dhash.h154 int (*ctor)(void *); /* bucket constructor */ member
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkmem_cache.h182 size_t align, spl_kmem_ctor_t ctor, spl_kmem_dtor_t dtor,
206 #define kmem_cache_create(name, size, align, ctor, dtor, rclm, priv, vmp, fl) \ argument
207 spl_kmem_cache_create(name, size, align, ctor, dtor, rclm, priv, vmp, fl)
/freebsd/sys/vm/
H A Duma.h177 uma_zone_t uma_zcreate(const char *name, size_t size, uma_ctor ctor,
212 uma_zone_t uma_zsecond_create(const char *name, uma_ctor ctor, uma_dtor dtor,
224 uma_zone_t uma_zcache_create(const char *name, int size, uma_ctor ctor,
H A Duma_core.c217 uma_ctor ctor; member
2850 zone->uz_ctor = arg->ctor; in zone_ctor()
3154 args.ctor = keg_ctor; in uma_startup1()
3165 args.ctor = zone_ctor; in uma_startup1()
3319 uma_zcreate(const char *name, size_t size, uma_ctor ctor, uma_dtor dtor, in uma_zcreate() argument
3332 args.ctor = ctor; in uma_zcreate()
3364 uma_zsecond_create(const char *name, uma_ctor ctor, uma_dtor dtor, in uma_zsecond_create() argument
3375 args.ctor = ctor; in uma_zsecond_create()
3392 uma_zcache_create(const char *name, int size, uma_ctor ctor, uma_dtor dtor, in uma_zcache_create() argument
3401 args.ctor = ctor; in uma_zcache_create()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c113 unsigned flags, linux_kmem_ctor_t *ctor) in linux_kmem_cache_create() argument
139 ctor ? linux_kmem_ctor : NULL, NULL, in linux_kmem_cache_create()
144 c->cache_ctor = ctor; in linux_kmem_cache_create()
/freebsd/contrib/ntp/sntp/libevent/
H A Devmap.c122 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
136 (ctor)(&ent_->ent.type); \
169 #define GET_SIGNAL_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
176 (ctor)((struct type *)(map)->entries[slot]); \
185 #define GET_IO_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len) \ argument
186 GET_SIGNAL_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len)
/freebsd/contrib/libevent/
H A Devmap.c122 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
136 (ctor)(&ent_->ent.type); \
169 #define GET_SIGNAL_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
176 (ctor)((struct type *)(map)->entries[slot]); \
185 #define GET_IO_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len) \ argument
186 GET_SIGNAL_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len)
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi_ignorelist.txt15 # This ctor is used by std::make_shared and needs to cast to uninitialized T*
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPassRegistry.def20 MODULE_PASS("nvptx-lower-ctor-dtor", NVPTXCtorDtorLoweringPass())
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dmemory24 // default ctor
31 // copying ctors (in addition to compiler-generated copy ctor)
H A Dmemory_resource
/freebsd/sys/kern/
H A Dsubr_hash.c260 if (args->ctor != NULL) { in hashalloc()
262 if ((args->error = args->ctor(slot)) != 0) { in hashalloc()
H A Dlink_elf.c363 void (**ctor)(void); in link_elf_invoke_cbs() local
368 cnt = size / sizeof(*ctor); in link_elf_invoke_cbs()
369 ctor = (void *)addr; in link_elf_invoke_cbs()
371 if (ctor[i] != NULL) in link_elf_invoke_cbs()
372 (*ctor[i])(); in link_elf_invoke_cbs()
H A Dlink_elf_obj.c647 void (**ctor)(void); in link_elf_invoke_cbs() local
652 cnt = size / sizeof(*ctor); in link_elf_invoke_cbs()
653 ctor = (void *)addr; in link_elf_invoke_cbs()
655 if (ctor[i] != NULL) in link_elf_invoke_cbs()
656 (*ctor[i])(); in link_elf_invoke_cbs()
/freebsd/sys/conf/
H A Dldscript.i386116 /* We don't want to include the .ctor section from
118 The .ctor section from the crtend file contains the
H A Dldscript.amd64122 /* We don't want to include the .ctor section from
124 The .ctor section from the crtend file contains the
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCXXRecordDeclDefinitionBits.def130 /// provided default ctor also doesn't have an in-class initializer.
166 /// C++11 [class.ctor]p5, C++11 [class.copy]p12, C++11 [class.copy]p25,
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h113 size_t size, size_t align, unsigned flags, linux_kmem_ctor_t *ctor);

12