Home
last modified time | relevance | path

Searched refs:tret (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/sys/sys/
H A Datomic.h47 #define ATOMIC_PROTO_ADD(name, tret, targ1, targ2) \ argument
49 tret kasan_atomic_add_##name##_nv(volatile targ1 *, targ2)
50 #define ATOMIC_PROTO_AND(name, tret, targ1, targ2) \ argument
52 tret kasan_atomic_and_##name##_nv(volatile targ1 *, targ2)
53 #define ATOMIC_PROTO_OR(name, tret, targ1, targ2) \ argument
55 tret kasan_atomic_or_##name##_nv(volatile targ1 *, targ2)
56 #define ATOMIC_PROTO_CAS(name, tret, targ1, targ2) \ argument
57 tret kasan_atomic_cas_##name(volatile targ1 *, targ2, targ2); \
58 tret kasan_atomic_cas_##name##_ni(volatile targ1 *, targ2, targ2)
59 #define ATOMIC_PROTO_SWAP(name, tret, targ1, targ2) \ argument
[all …]
/netbsd-src/sys/kern/
H A Dsubr_csan.c444 #define CSAN_ATOMIC_FUNC_ADD(name, tret, targ1, targ2) \ argument
449 kcsan_access((uintptr_t)ptr, sizeof(tret), true, true, \
453 tret atomic_add_##name##_nv(volatile targ1 *, targ2); \
454 tret kcsan_atomic_add_##name##_nv(volatile targ1 *, targ2); \
455 tret kcsan_atomic_add_##name##_nv(volatile targ1 *ptr, targ2 val) \
457 kcsan_access((uintptr_t)ptr, sizeof(tret), true, true, \
462 #define CSAN_ATOMIC_FUNC_AND(name, tret, targ1, targ2) \ argument
467 kcsan_access((uintptr_t)ptr, sizeof(tret), true, true, \
471 tret atomic_and_##name##_nv(volatile targ1 *, targ2); \
472 tret kcsan_atomic_and_##name##_nv(volatile targ1 *, targ2); \
[all …]
H A Dsubr_asan.c759 #define ASAN_ATOMIC_FUNC_ADD(name, tret, targ1, targ2) \ argument
764 kasan_shadow_check((uintptr_t)ptr, sizeof(tret), true, \
768 tret atomic_add_##name##_nv(volatile targ1 *, targ2); \
769 tret kasan_atomic_add_##name##_nv(volatile targ1 *, targ2); \
770 tret kasan_atomic_add_##name##_nv(volatile targ1 *ptr, targ2 val) \
772 kasan_shadow_check((uintptr_t)ptr, sizeof(tret), true, \
777 #define ASAN_ATOMIC_FUNC_AND(name, tret, targ1, targ2) \ argument
782 kasan_shadow_check((uintptr_t)ptr, sizeof(tret), true, \
786 tret atomic_and_##name##_nv(volatile targ1 *, targ2); \
787 tret kasan_atomic_and_##name##_nv(volatile targ1 *, targ2); \
[all …]
H A Dsubr_msan.c1163 #define MSAN_ATOMIC_FUNC_ADD(name, tret, targ1, targ2) \ argument
1170 kmsan_shadow_check((const void *)(uintptr_t)ptr, sizeof(tret), \
1174 tret atomic_add_##name##_nv(volatile targ1 *, targ2); \
1175 tret kmsan_atomic_add_##name##_nv(volatile targ1 *, targ2); \
1176 tret kmsan_atomic_add_##name##_nv(volatile targ1 *ptr, targ2 val) \
1180 kmsan_shadow_check((const void *)(uintptr_t)ptr, sizeof(tret), \
1182 kmsan_init_ret(sizeof(tret)); \
1186 #define MSAN_ATOMIC_FUNC_AND(name, tret, targ1, targ2) \ argument
1193 kmsan_shadow_check((const void *)(uintptr_t)ptr, sizeof(tret), \
1197 tret atomic_and_##name##_nv(volatile targ1 *, targ2); \
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dv3_info.c69 STACK_OF(CONF_VALUE) *tret = ret;
75 tmp = i2v_GENERAL_NAME(method, desc->location, tret);
78 tret = tmp;
79 vtmp = sk_CONF_VALUE_value(tret, i);
89 if (ret == NULL && tret == NULL)
92 return tret;
95 if (ret == NULL && tret != NULL)
96 sk_CONF_VALUE_pop_free(tret, X509V3_conf_free);
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/
H A Dv3_info.c69 STACK_OF(CONF_VALUE) *tret = ret;
75 tmp = i2v_GENERAL_NAME(method, desc->location, tret);
78 tret = tmp;
79 vtmp = sk_CONF_VALUE_value(tret, i);
89 if (ret == NULL && tret == NULL)
92 return tret;
95 if (ret == NULL && tret != NULL)
96 sk_CONF_VALUE_pop_free(tret, X509V3_conf_free);
/netbsd-src/external/bsd/am-utils/dist/conf/transp/
H A Dtransp_tli.c101 struct t_bind *treq, *tret; in bind_resv_port() local
109 tret = (struct t_bind *) t_alloc(td, T_BIND, T_ADDR); in bind_resv_port()
110 if (!tret) { in bind_resv_port()
126 rc = t_bind(td, treq, tret); in bind_resv_port()
130 if (memcmp(treq->addr.buf, tret->addr.buf, tret->addr.len) == 0) in bind_resv_port()
143 t_free((char *) tret, T_BIND); in bind_resv_port()
314 struct t_bind *treq, *tret; in bind_resv_port_only_udp() local
360 tret = (struct t_bind *) t_alloc(td, T_BIND, T_ADDR); in bind_resv_port_only_udp()
361 if (!tret) { in bind_resv_port_only_udp()
375 rc = t_bind(td, treq, tret); in bind_resv_port_only_udp()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsemantic3.d828 Type tret = implicit0 ? Type.tint32 : f.next; in visit() local
829 assert(tret.ty != Tvoid); in visit()
831 funcdecl.buildResultVar(scout ? scout : sc2, tret); in visit()
842 if (tret.ty == Terror) in visit()
855 if (!exp.implicitConvTo(tret) && funcdecl.isTypeIsolated(exp.type)) in visit()
883 … if ((cast(TypeClass)(exp.type.immutableOf())).implicitConvToWithoutAliasThis(tret)) in visit()
885 … else if ((cast(TypeClass)(exp.type.wildOf())).implicitConvToWithoutAliasThis(tret)) in visit()
890 … if ((cast(TypeStruct)exp.type.immutableOf()).implicitConvToWithoutAliasThis(tret)) in visit()
892 … else if ((cast(TypeStruct)exp.type.immutableOf()).implicitConvToWithoutAliasThis(tret)) in visit()
898 if (exp.type.immutableOf().implicitConvTo(tret)) in visit()
[all …]
H A Dstatementsem.d2820 Type tret = tf.next; in package() local
2821 Type tbret = tret ? tret.toBasetype() : null; in package()
2864 rs.exp.type = tret; in package()
2871 if (tret) in package()
2872 rs.exp = inferType(rs.exp, tret); in package()
2879 const returnSharedRef = (tf.isref && (fd.inferRetType || tret.isShared())); in package()
2936 if (!tret) in package()
2940 else if (tret.ty != Terror && !rs.exp.type.equals(tret)) in package()
2942 int m1 = rs.exp.type.implicitConvTo(tret); in package()
2943 int m2 = tret.implicitConvTo(rs.exp.type); in package()
[all …]
H A Ddmangle.d326 void mangleFuncType(TypeFunction t, TypeFunction ta, ubyte modMask, Type tret) in mangleFuncType() argument
329 if (t.inuse && tret) in mangleFuncType()
399 if (tret !is null) in mangleFuncType()
400 visitWithMask(tret, 0); in mangleFuncType()
H A Dfunc.d2207 extern (D) final void buildResultVar(Scope* sc, Type tret) in buildResultVar() argument
2217 vresult = new VarDeclaration(loc, tret, Id.result, null); in buildResultVar()
2232 vresult.type = tret; in buildResultVar()
3735 void modifyReturns(Scope* sc, Type tret) in modifyReturns() argument
3744 Type tret; in modifyReturns() local
3750 if (exp && !exp.type.equals(tret)) in modifyReturns()
3751 s.exp = exp.implicitCastTo(sc, tret); in modifyReturns()
3763 w.tret = tret; in modifyReturns()
3770 if (inferRetType && type.nextOf() != tret) in modifyReturns()
3771 type.toTypeFunction().next = tret; in modifyReturns()
H A Dmtype.d4442 Type tret = nextOf().toBasetype(); in parameterStorageClass() local
4443 if (isref || tret.hasPointers()) in parameterStorageClass()
4510 Type tret = next.substWildTo(m); in substWildTo() local
4524 if (next == tret && params == parameterList.parameters) in substWildTo()
4528 auto t = new TypeFunction(ParameterList(params, parameterList.varargs), tret, linkage); in substWildTo()
4955 Type tret = p.isLazyArray(); local
4956 if (tret)
4960 else if (tret.toBasetype().ty == Tvoid)
4964 m = arg.implicitConvTo(tret);
5038 Type tret = this.nextOf(); in implicitPointerConv() local
[all …]
H A Ddtemplate.d2061 Type tret = fparam.isLazyArray(); in deduceFunctionTemplateMatch() local
2071 if (tret) in deduceFunctionTemplateMatch()
2079 m = arg.implicitConvTo(tret); in deduceFunctionTemplateMatch()
2082 if (tret.toBasetype().ty == Tvoid) in deduceFunctionTemplateMatch()
2417 Type tret; in doHeaderInstantiation() local
2421 tret = Type.tvoid; in doHeaderInstantiation()
2425 tret = ad.handleType(); in doHeaderInstantiation()
2426 assert(tret); in doHeaderInstantiation()
2427 tret = tret.addStorageClass(fd.storage_class | scx.stc); in doHeaderInstantiation()
2428 tret = tret.addMod(tf.mod); in doHeaderInstantiation()
[all …]
H A Dexpressionsem.d1803 Type tret = p.isLazyArray(); in functionParameters() local
1809 if (tret && a.implicitConvTo(tret)) in functionParameters()
1812 a = a.implicitCastTo(sc, tret) in functionParameters()
1814 .toDelegate(tret, sc); in functionParameters()
2423 Type tret = tf.next; in functionParameters() local
2436 tret = tret.substWildTo(wildmatch); in functionParameters()
2438 …if (!tret.implicitConvTo(tthis) && !(MODimplicitConv(tret.mod, tthis.mod) && tret.isBaseOf(tthis, … in functionParameters()
2440 const(char)* s1 = tret.isNaked() ? " mutable" : tret.modToChars(); in functionParameters()
2446 tret = tthis; in functionParameters()
2448 else if (wildmatch && tret) in functionParameters()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Druntime.cc249 tree tret = build_ctype (get_libcall_type (return_type)); in build_libcall_decl() local
251 fntype = build_varargs_function_type_array (tret, nparams, args); in build_libcall_decl()
253 fntype = build_function_type_array (tret, nparams, args); in build_libcall_decl()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Druntime.cc244 tree tret = build_ctype (get_libcall_type (return_type)); in build_libcall_decl() local
246 fntype = build_varargs_function_type_array (tret, nparams, args); in build_libcall_decl()
248 fntype = build_function_type_array (tret, nparams, args); in build_libcall_decl()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dfunc.c594 Type *tret = ad->handleType(); in semantic() local
595 assert(tret); in semantic()
596 tret = tret->addStorageClass(storage_class | sc->stc); in semantic()
597 tret = tret->addMod(type->mod); in semantic()
598 tf->next = tret; in semantic()
1943 Type *tret = implicit0 ? Type::tint32 : f->next; in semantic3() local
1944 assert(tret->ty != Tvoid); in semantic3()
1946 buildResultVar(scout ? scout : sc2, tret); in semantic3()
1957 if (tret->ty == Terror) in semantic3()
1964 if (!exp->implicitConvTo(tret) && in semantic3()
[all …]
H A Ddmangle.c207 void mangleFuncType(TypeFunction *t, TypeFunction *ta, unsigned char modMask, Type *tret) in mangleFuncType() argument
267 if (tret != NULL) in mangleFuncType()
268 visitWithMask(tret, 0); in mangleFuncType()
H A Dstatementsem.c2712 Type *tret = tf->next; in visit() local
2713 Type *tbret = tret ? tret->toBasetype() : NULL; in visit()
2746 rs->exp->type = tret; in visit()
2753 if (tret) in visit()
2754 rs->exp = inferType(rs->exp, tret); in visit()
2812 if (!tret) in visit()
2816 else if (tret->ty != Terror && !rs->exp->type->equals(tret)) in visit()
2818 int m1 = rs->exp->type->implicitConvTo(tret); in visit()
2819 int m2 = tret->implicitConvTo(rs->exp->type); in visit()
2832 rs->exp->type->toChars(), tret->toChars()); in visit()
[all …]
H A Dexpression.c1481 Type *tret = p->isLazyArray(); in functionParameters() local
1500 if (tret && a->implicitConvTo(tret)) in functionParameters()
1502 a = a->implicitCastTo(sc, tret); in functionParameters()
1961 Type *tret = tf->next; in functionParameters() local
1974 tret = tret->substWildTo(wildmatch); in functionParameters()
1976 if (!tret->implicitConvTo(tthis) && in functionParameters()
1977 … !(MODimplicitConv(tret->mod, tthis->mod) && tret->isBaseOf(tthis, &offset) && offset == 0)) in functionParameters()
1979 const char* s1 = tret ->isNaked() ? " mutable" : tret ->modToChars(); in functionParameters()
1986 tret = tthis; in functionParameters()
1988 else if (wildmatch && tret) in functionParameters()
[all …]
H A Dmtype.c1583 Type *tret = stripDefaultArgs(tf->next); in stripDefaultArgs() local
1585 if (tret == tf->next && params == tf->parameters) in stripDefaultArgs()
1589 tf->next = tret; in stripDefaultArgs()
2001 Type *tret = next->substWildTo(m); in substWildTo() local
2015 if (next == tret && params == parameters) in substWildTo()
2019 TypeFunction *t = new TypeFunction(params, tret, varargs, linkage); in substWildTo()
4994 Type *tret = this->next->nextOf(); in implicitConvTo() local
4996 if (tret->ty == Tclass && toret->ty == Tclass) in implicitConvTo()
5004 if (toret->isBaseOf(tret, &offset) && offset != 0) in implicitConvTo()
6159 Type *tret = p->isLazyArray(); in callMatch() local
[all …]
H A Ddeclaration.h664 void buildResultVar(Scope *sc, Type *tret);
718 void modifyReturns(Scope *sc, Type *tret);
H A Ddtemplate.c1788 Type *tret = fparam->isLazyArray(); in deduceFunctionTemplateMatch() local
1798 if (tret) in deduceFunctionTemplateMatch()
1806 m = arg->implicitConvTo(tret); in deduceFunctionTemplateMatch()
1809 if (tret->toBasetype()->ty == Tvoid) in deduceFunctionTemplateMatch()
2694 Type *tret; in doHeaderInstantiation() local
2698 tret = Type::tvoid; in doHeaderInstantiation()
2702 tret = ad->handleType(); in doHeaderInstantiation()
2703 assert(tret); in doHeaderInstantiation()
2704 tret = tret->addStorageClass(fd->storage_class | scx->stc); in doHeaderInstantiation()
2705 tret = tret->addMod(tf->mod); in doHeaderInstantiation()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgimplify.c2932 enum gimplify_status ret = GS_ALL_DONE, tret; in gimplify_compound_lval() local
2991 tret = gimplify_expr (&TREE_OPERAND (t, 2), pre_p, in gimplify_compound_lval()
2994 ret = MIN (ret, tret); in gimplify_compound_lval()
2999 tret = gimplify_expr (&TREE_OPERAND (t, 2), pre_p, post_p, in gimplify_compound_lval()
3001 ret = MIN (ret, tret); in gimplify_compound_lval()
3019 tret = gimplify_expr (&TREE_OPERAND (t, 3), pre_p, in gimplify_compound_lval()
3022 ret = MIN (ret, tret); in gimplify_compound_lval()
3027 tret = gimplify_expr (&TREE_OPERAND (t, 3), pre_p, post_p, in gimplify_compound_lval()
3029 ret = MIN (ret, tret); in gimplify_compound_lval()
3050 tret = gimplify_expr (&TREE_OPERAND (t, 2), pre_p, in gimplify_compound_lval()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimplify.cc3157 enum gimplify_status ret = GS_ALL_DONE, tret; in gimplify_compound_lval() local
3273 tret = gimplify_expr (p, pre_p, post_p, is_gimple_min_lval, in gimplify_compound_lval()
3275 ret = MIN (ret, tret); in gimplify_compound_lval()
3293 tret = gimplify_expr (&TREE_OPERAND (t, 2), pre_p, post_p, in gimplify_compound_lval()
3295 ret = MIN (ret, tret); in gimplify_compound_lval()
3297 tret = gimplify_expr (&TREE_OPERAND (t, 3), pre_p, post_p, in gimplify_compound_lval()
3299 ret = MIN (ret, tret); in gimplify_compound_lval()
3302 tret = gimplify_expr (&TREE_OPERAND (t, 1), pre_p, post_p, in gimplify_compound_lval()
3304 ret = MIN (ret, tret); in gimplify_compound_lval()
3308 tret = gimplify_expr (&TREE_OPERAND (t, 2), pre_p, post_p, in gimplify_compound_lval()
[all …]

12