Searched refs:ctor (Results 1 - 23 of 23) sorted by relevance

/freebsd-9.3-release/sys/ofed/include/linux/
H A Dslab.h57 void (*ctor)(void *);
59 ctor = arg;
60 ctor(mem);
67 void (*ctor)(void *))
76 c->cache_zone = uma_zcreate(name, size, ctor ? kmem_ctor : NULL,
78 c->cache_ctor = ctor;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCXX.cpp37 // Producing an alias to a base class ctor/dtor can degrade debug quality
52 // in many calling conventions, so only bail out if the ctor's
197 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, argument
202 !ctor->getParent()->getNumVBases() &&
205 !TryEmitDefinitionAsAlias(GlobalDecl(ctor, Ctor_Complete),
206 GlobalDecl(ctor, Ctor_Base), true);
212 getTypes().arrangeCXXConstructorDeclaration(ctor, ctorType);
215 cast<llvm::Function>(GetAddrOfCXXConstructor(ctor, ctorType, &fnInfo));
216 setFunctionLinkage(GlobalDecl(ctor, ctorType), fn);
218 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorTyp
225 GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, CXXCtorType ctorType, const CGFunctionInfo *fnInfo) argument
[all...]
H A DCGClass.cpp307 // If the record matches the base, this is the complete ctor/dtor
310 "doing no-op VTT offset in base dtor/ctor?");
723 // a complete ctor and then delegate to the base ctor.
1529 /// \param ctor the constructor to call for each element
1535 CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, argument
1545 EmitCXXAggrConstructorCall(ctor, numElements, arrayBegin,
1552 /// \param ctor the constructor to call for each element
1555 /// \param arrayBegin a T*, where T is the type constructed by ctor
1559 CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, argument
[all...]
H A DCodeGenModule.h770 llvm::GlobalValue *GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor,
H A DCGObjC.cpp1350 bool ctor) {
1355 if (ctor) {
1348 GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP, ObjCMethodDecl *MD, bool ctor) argument
H A DCodeGenFunction.h1073 ObjCMethodDecl *MD, bool ctor);
/freebsd-9.3-release/sys/sys/
H A Dmodule_khelp.h73 #define KHELP_DECLARE_MOD_UMA(hname, hdata, hhooks, version, size, ctor, dtor) \
80 .umactor = ctor, \
/freebsd-9.3-release/sys/vm/
H A Duma.h155 * ctor The constructor that is called when the object is allocated.
159 * ctor/dtor/init/fini may all be null, see notes above.
168 uma_zone_t uma_zcreate(const char *name, size_t size, uma_ctor ctor,
178 * ctor The constructor that is called when the object is allocated.
185 * ctor/dtor/zinit/zfini may all be null, see notes above.
204 uma_zone_t uma_zsecond_create(char *name, uma_ctor ctor, uma_dtor dtor,
287 * arg This data is passed to the ctor function
293 * may be returned if the zone is empty or the ctor failed.
H A Duma_core.c152 * This structure is passed as the zone ctor arg so that I don't have to create
158 uma_ctor ctor; member in struct:uma_zctor_args
1243 * Keg header ctor. This initializes all fields, locks, etc. And inserts
1404 * Zone header ctor. This initializes all fields, locks, etc.
1419 zone->uz_ctor = arg->ctor;
1689 args.ctor = keg_ctor;
1716 args.ctor = zone_ctor;
1827 uma_zcreate(const char *name, size_t size, uma_ctor ctor, uma_dtor dtor, argument
1833 /* This stuff is essential for the zone ctor */
1836 args.ctor
1849 uma_zsecond_create(char *name, uma_ctor ctor, uma_dtor dtor, uma_init zinit, uma_fini zfini, uma_zone_t master) argument
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dtree-ssa-ccp.c982 tree base, ctor, idx, field; local
1002 ctor = DECL_INITIAL (base);
1007 ctor = fold_const_aggregate_ref (base);
1014 if (ctor == NULL_TREE
1015 || (TREE_CODE (ctor) != CONSTRUCTOR
1016 && TREE_CODE (ctor) != STRING_CST)
1017 || !TREE_STATIC (ctor))
1042 if (TREE_CODE (ctor) == STRING_CST)
1045 == TYPE_MODE (TREE_TYPE (TREE_TYPE (ctor))))
1046 && (GET_MODE_CLASS (TYPE_MODE (TREE_TYPE (TREE_TYPE (ctor))))
[all...]
H A Dgimplify.c2936 tree ctor = TREE_OPERAND (*expr_p, 1);
2937 tree type = TREE_TYPE (ctor);
2941 if (TREE_CODE (ctor) != CONSTRUCTOR)
2950 elts = CONSTRUCTOR_ELTS (ctor);
2975 = categorize_ctor_elements (ctor, &num_nonzero_elements,
2985 DECL_INITIAL (object) = ctor;
3049 TREE_TYPE (ctor) = type = TREE_TYPE (object);
3066 DECL_INITIAL (new) = ctor;
3102 CONSTRUCTOR_ELTS (ctor) = NULL;
3122 /* Extract the real and imaginary parts out of the ctor
2935 tree ctor = TREE_OPERAND (*expr_p, 1); local
[all...]
H A Dexpr.c4550 categorize_ctor_elements_1 (tree ctor, HOST_WIDE_INT *p_nz_elts,
4561 bool const_from_elts_p = constructor_static_from_elts_p (ctor);
4562 bool const_p = const_from_elts_p ? true : TREE_STATIC (ctor);
4567 FOR_EACH_CONSTRUCTOR_ELT (CONSTRUCTOR_ELTS (ctor), idx, purpose, value)
4643 && (TREE_CODE (TREE_TYPE (ctor)) == UNION_TYPE
4644 || TREE_CODE (TREE_TYPE (ctor)) == QUAL_UNION_TYPE))
4649 if (!VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (ctor)))
4653 gcc_assert (VEC_length (constructor_elt, CONSTRUCTOR_ELTS (ctor))
4657 CONSTRUCTOR_ELTS (ctor),
4664 if (simple_cst_equal (TYPE_SIZE (TREE_TYPE (ctor)),
4537 categorize_ctor_elements_1(tree ctor, HOST_WIDE_INT *p_nz_elts, HOST_WIDE_INT *p_elt_count, bool *p_must_clear) argument
4683 categorize_ctor_elements(tree ctor, HOST_WIDE_INT *p_nz_elts, HOST_WIDE_INT *p_elt_count, bool *p_must_clear) argument
[all...]
H A Dvarasm.c3722 constructor_static_from_elts_p (tree ctor)
3724 return (TREE_CONSTANT (ctor)
3725 && (TREE_CODE (TREE_TYPE (ctor)) == UNION_TYPE
3726 || TREE_CODE (TREE_TYPE (ctor)) == RECORD_TYPE)
3727 && !VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (ctor)));
3698 constructor_static_from_elts_p(tree ctor) argument
/freebsd-9.3-release/contrib/gcc/cp/
H A Dcvt.c745 tree ctor = NULL_TREE;
756 ctor = e;
766 ctor = build_user_type_conversion (type, ctor, flags);
768 ctor = build_special_member_call (NULL_TREE,
770 build_tree_list (NULL_TREE, ctor),
772 if (ctor)
773 return build_cplus_new (type, ctor);
743 tree ctor = NULL_TREE; local
H A Dmangle.c1387 write_special_name_constructor (const tree ctor) argument
1389 if (DECL_BASE_CONSTRUCTOR_P (ctor))
1393 gcc_assert (DECL_COMPLETE_CONSTRUCTOR_P (ctor)
1398 || DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P (ctor));
H A Dsemantics.c3004 enum style_t { ctor, arg, pcc } style; enumerator in enum:style_t
3007 style = ctor;
3018 if (style == ctor)
3020 /* Replace the first argument to the ctor with the address of the
3640 function decls for the ctor, dtor, and assignment op.
H A Dcall.c2569 tree ctor = OVL_CURRENT (ctors); local
2570 if (DECL_NONCONVERTING_P (ctor))
2573 if (TREE_CODE (ctor) == TEMPLATE_DECL)
2574 cand = add_template_candidate (&candidates, ctor, totype,
2581 cand = add_function_candidate (&candidates, ctor, totype,
4323 If the target is a class, that means call a ctor. */
4976 ctor is trivial, do a bitwise copy with a simple TARGET_EXPR for a
H A Ddecl.c8518 /* [class.conv.ctor]
9173 int ctor = copy_fn_p (decl);
9177 if (ctor > 0)
9187 if (ctor > 1)
11200 for the member-initializers (in a ctor) and member cleanups (in a dtor). */
9156 int ctor = copy_fn_p (decl); local
H A Dclass.c1606 tree ctor = OVL_CURRENT (fn);
1613 if (! TREE_PRIVATE (ctor))
5346 /* if we're in a ctor or dtor, we know our type. */
5399 ctor/dtor. There the dynamic type is known, but this might not be
6856 /* Remove the ctor vtables we created. */
7075 the hierarchy of T, we'll need to generate a ctor vtable
7078 should point to the ctor vtable for the base it is a
7285 zero out unused slots in ctor vtables, rather than filling themff
7610 /* For a ctor vtable we need the equivalent binfo within the hierarchy
1602 tree ctor = OVL_CURRENT (fn); local
/freebsd-9.3-release/crypto/openssl/crypto/perlasm/
H A Dx86unix.pl712 local($ctor)="${under}_GLOBAL_\$I\$$f";
714 $tmp.=".type $ctor,\@function\n" if ($main'pic);
716 .globl $ctor
718 $ctor:
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devmap.c121 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \
135 (ctor)(&ent_->ent.type); \
165 value by calling the function 'ctor' on it. Makes the function
168 #define GET_SIGNAL_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \
175 (ctor)((struct type *)(map)->entries[slot]); \
184 #define GET_IO_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len) \
185 GET_SIGNAL_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len)
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DJumpDiagnostics.cpp201 const CXXConstructorDecl *ctor = cce->getConstructor(); local
205 if (ctor->isTrivial() && ctor->isDefaultConstructor() &&
/freebsd-9.3-release/sys/kern/
H A Dkern_proc.c94 SDT_PROBE_DEFINE4(proc, kernel, ctor, entry, "struct proc *", "int",
96 SDT_PROBE_DEFINE4(proc, kernel, ctor, return, "struct proc *", "int",
179 SDT_PROBE(proc, kernel, ctor , entry, p, size, arg, flags, 0);
181 SDT_PROBE(proc, kernel, ctor , return, p, size, arg, flags, 0);

Completed in 477 milliseconds