/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/ |
H A D | objects.h | 84 # define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \ argument 86 static int nm##_cmp(type1 const *, type2 const *); \ 87 scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) 89 # define DECLARE_OBJ_BSEARCH_CMP_FN(type1, type2, cmp) \ argument 90 _DECLARE_OBJ_BSEARCH_CMP_FN(static, type1, type2, cmp) 91 # define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \ argument 92 type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) 121 # define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \ argument 125 type2 const *b = b_; \ 128 static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \ [all …]
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
H A D | objects.h | 76 # define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \ argument 78 static int nm##_cmp(type1 const *, type2 const *); \ 79 scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) 81 # define DECLARE_OBJ_BSEARCH_CMP_FN(type1, type2, cmp) \ argument 82 _DECLARE_OBJ_BSEARCH_CMP_FN(static, type1, type2, cmp) 83 # define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \ argument 84 type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) 113 # define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \ argument 117 type2 const *b = b_; \ 120 static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \ [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/ntlm/ |
H A D | test_ntlm.c | 57 struct ntlm_type2 type2; in test_parse() local 96 memset(&type2, 0, sizeof(type2)); in test_parse() 99 type2.flags = flags; in test_parse() 101 memset(type2.challenge, 0x7f, sizeof(type2.challenge)); in test_parse() 102 type2.targetname = rk_UNCONST(target); in test_parse() 103 type2.targetinfo.data = NULL; in test_parse() 104 type2.targetinfo.length = 0; in test_parse() 106 ret = heim_ntlm_encode_type2(&type2, &data); in test_parse() 110 memset(&type2, 0, sizeof(type2)); in test_parse() 115 ret = heim_ntlm_decode_type2(&data, &type2); in test_parse() [all …]
|
H A D | ntlm.c | 830 heim_ntlm_decode_type2(const struct ntlm_buf *buf, struct ntlm_type2 *type2) in heim_ntlm_decode_type2() argument 839 memset(type2, 0, sizeof(*type2)); in heim_ntlm_decode_type2() 854 CHECK(krb5_ret_uint32(in, &type2->flags), 0); in heim_ntlm_decode_type2() 855 if (type2->flags & NTLM_NEG_UNICODE) in heim_ntlm_decode_type2() 857 CHECK_SIZE(krb5_storage_read(in, type2->challenge, sizeof(type2->challenge)), in heim_ntlm_decode_type2() 858 sizeof(type2->challenge)); in heim_ntlm_decode_type2() 863 if (type2->flags & NTLM_NEG_VERSION) { in heim_ntlm_decode_type2() 864 CHECK(krb5_ret_uint32(in, &type2->os[0]), 0); in heim_ntlm_decode_type2() 865 CHECK(krb5_ret_uint32(in, &type2->os[1]), 0); in heim_ntlm_decode_type2() 868 CHECK(ret_sec_string(in, ucs2, &targetname, &type2->targetname), 0); in heim_ntlm_decode_type2() [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/ |
H A D | test_ntlm.c | 58 struct ntlm_type2 type2; in test_libntlm_v1() local 65 memset(&type2, 0, sizeof(type2)); in test_libntlm_v1() 106 ret = heim_ntlm_decode_type2(&data, &type2); in test_libntlm_v1() 112 type3.flags = type2.flags; in test_libntlm_v1() 114 type3.targetname = type2.targetname; in test_libntlm_v1() 123 type2.challenge, in test_libntlm_v1() 185 struct ntlm_type2 type2; in test_libntlm_v2() local 191 memset(&type2, 0, sizeof(type2)); in test_libntlm_v2() 232 ret = heim_ntlm_decode_type2(&data, &type2); in test_libntlm_v2() 236 type3.flags = type2.flags; in test_libntlm_v2() [all …]
|
/netbsd-src/include/ssp/ |
H A D | string.h | 60 #define __ssp_bos_icheck3_restrict(fun, type1, type2) \ argument 61 static __inline type1 __ ## fun ## _ichk(type1 __restrict, type2 __restrict, size_t); \ 63 __ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src, size_t len) { \ 67 #define __ssp_bos_icheck3(fun, type1, type2) \ argument 68 static __inline type1 __ ## fun ## _ichk(type1, type2, size_t); \ 70 __ ## fun ## _ichk(type1 dst, type2 src, size_t len) { \ 74 #define __ssp_bos_icheck2_restrict(fun, type1, type2) \ argument 75 static __inline type1 __ ## fun ## _ichk(type1, type2); \ 77 __ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src) { \
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/ntlm/ |
H A D | kdc.c | 255 struct ntlm_type2 type2; in kdc_type2() local 260 memset(&type2, 0, sizeof(type2)); in kdc_type2() 291 ret = krb5_ntlm_init_get_flags(c->context, c->ntlm, &type2.flags); in kdc_type2() 296 *ret_flags = type2.flags; in kdc_type2() 304 if (challenge.length != sizeof(type2.challenge)) { in kdc_type2() 308 memcpy(type2.challenge, challenge.data, sizeof(type2.challenge)); in kdc_type2() 312 &type2.targetname); in kdc_type2() 320 free(type2.targetname); in kdc_type2() 325 type2.targetinfo.data = ti.data; in kdc_type2() 326 type2.targetinfo.length = ti.length; in kdc_type2() [all …]
|
H A D | init_sec_context.c | 342 struct ntlm_type2 type2; in _gss_ntlm_init_sec_context() local 351 ret = heim_ntlm_decode_type2(&data, &type2); in _gss_ntlm_init_sec_context() 358 ctx->flags = type2.flags; in _gss_ntlm_init_sec_context() 366 type3.flags = type2.flags; in _gss_ntlm_init_sec_context() 367 type3.targetname = type2.targetname; in _gss_ntlm_init_sec_context() 374 if (1 || type2.targetinfo.length == 0) { in _gss_ntlm_init_sec_context() 377 if (type2.flags & NTLM_NEG_NTLM2_SESSION) { in _gss_ntlm_init_sec_context() 388 type2.challenge, in _gss_ntlm_init_sec_context() 395 type2.challenge, in _gss_ntlm_init_sec_context() 440 ret = heim_ntlm_decode_targetinfo(&type2.targetinfo, 1, &ti); in _gss_ntlm_init_sec_context() [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/kuser/ |
H A D | kdigest.c | 437 struct ntlm_type2 type2; in ntlm_server_init() local 443 memset(&type2, 0, sizeof(type2)); in ntlm_server_init() 467 if (challenge.length != sizeof(type2.challenge)) in ntlm_server_init() 469 memcpy(type2.challenge, challenge.data, sizeof(type2.challenge)); in ntlm_server_init() 472 ret = krb5_ntlm_init_get_flags(context, ntlm, &type2.flags); in ntlm_server_init() 476 krb5_ntlm_init_get_targetname(context, ntlm, &type2.targetname); in ntlm_server_init() 477 type2.targetinfo.data = zero2; in ntlm_server_init() 478 type2.targetinfo.length = 2; in ntlm_server_init() 480 ret = heim_ntlm_encode_type2(&type2, &data); in ntlm_server_init() 484 free(type2.targetname); in ntlm_server_init()
|
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/ |
H A D | bid_conf.h | 919 #define BID128_FUNCTION_ARG128_ARGTYPE2(fn_name, arg_name1, type2, arg_name2)\ argument 921 UINT128 *pbid_##arg_name1, type2 *pbid_##arg_name2 \ 925 PROLOG_TYPE_REF(type2, arg_name2) \ 929 #define TYPE0_FUNCTION_ARGTYPE1_ARGTYPE2(type0, fn_name, type1, arg_name1, type2, arg_name2)\ argument 931 type1 *pbid_##arg_name1, type2 *pbid_##arg_name2 \ 935 PROLOG_TYPE_REF(type2, arg_name2) \ 949 #define TYPE0_FUNCTION_ARG128_ARGTYPE2(type0, fn_name, arg_name1, type2, arg_name2)\ argument 951 UINT128 *pbid_##arg_name1, type2 *pbid_##arg_name2 \ 955 PROLOG_TYPE_REF(type2, arg_name2) \ 1063 #define BID128_FUNCTION_ARG128_ARGTYPE2(fn_name, arg_name1, type2, arg_name2)\ argument [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/ |
H A D | bid_conf.h | 919 #define BID128_FUNCTION_ARG128_ARGTYPE2(fn_name, arg_name1, type2, arg_name2)\ argument 921 UINT128 *pbid_##arg_name1, type2 *pbid_##arg_name2 \ 925 PROLOG_TYPE_REF(type2, arg_name2) \ 929 #define TYPE0_FUNCTION_ARGTYPE1_ARGTYPE2(type0, fn_name, type1, arg_name1, type2, arg_name2)\ argument 931 type1 *pbid_##arg_name1, type2 *pbid_##arg_name2 \ 935 PROLOG_TYPE_REF(type2, arg_name2) \ 949 #define TYPE0_FUNCTION_ARG128_ARGTYPE2(type0, fn_name, arg_name1, type2, arg_name2)\ argument 951 UINT128 *pbid_##arg_name1, type2 *pbid_##arg_name2 \ 955 PROLOG_TYPE_REF(type2, arg_name2) \ 1063 #define BID128_FUNCTION_ARG128_ARGTYPE2(fn_name, arg_name1, type2, arg_name2)\ argument [all …]
|
/netbsd-src/lib/libform/ |
H A D | field_types.c | 250 link_fieldtype(FIELDTYPE *type1, FIELDTYPE *type2) in link_fieldtype() argument 254 if ((type1 == NULL) || (type2 == NULL)) in link_fieldtype() 262 | (type2->flags & _TYPE_HAS_ARGS)); in link_fieldtype() 269 new->link->next = type2; in link_fieldtype() 271 type2->refcount++; in link_fieldtype()
|
/netbsd-src/external/bsd/pcc/dist/pcc/f77/fcom/ |
H A D | putscj.c | 1032 int type, type2, funct; in putaddr() local 1040 type2 = types2[type]; in putaddr() 1052 p = oregtree(offset, AUTOREG, type2); in putaddr() 1057 p = mklnode(REG, 0, AUTOREG, INCREF(type2)); in putaddr() 1061 p = mklnode(REG, 0, AUTOREG, INCREF(type2)); in putaddr() 1069 p1 = mkbinode(PLUS, p1, p2, INCREF(type2)); in putaddr() 1070 p = mkbinode(PLUS, p, p1, INCREF(type2)); in putaddr() 1072 p = mkunode(UMUL, p, 0, type2); in putaddr() 1077 ARGREG, INCREF(type2)|funct); in putaddr() 1084 p1 = mkbinode(PLUS, p1, p2, INCREF(type2)); in putaddr() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | gimple-expr.h | 64 types_compatible_p (tree type1, tree type2) in types_compatible_p() argument 66 return (type1 == type2 in types_compatible_p() 67 || (useless_type_conversion_p (type1, type2) in types_compatible_p() 68 && useless_type_conversion_p (type2, type1))); in types_compatible_p()
|
H A D | tree-ssa-alias.cc | 939 compare_type_sizes (tree type1, tree type2) in compare_type_sizes() argument 946 while (TREE_CODE (type2) == ARRAY_TYPE in compare_type_sizes() 947 || TREE_CODE (type2) == VECTOR_TYPE) in compare_type_sizes() 948 type2 = TREE_TYPE (type2); in compare_type_sizes() 949 return compare_sizes (TYPE_SIZE (type1), TYPE_SIZE (type2)); in compare_type_sizes() 957 same_type_for_tbaa (tree type1, tree type2) in same_type_for_tbaa() argument 960 type2 = TYPE_MAIN_VARIANT (type2); in same_type_for_tbaa() 963 if (type1 == type2) in same_type_for_tbaa() 968 || TYPE_STRUCTURAL_EQUALITY_P (type2)) in same_type_for_tbaa() 972 if (TYPE_CANONICAL (type1) == TYPE_CANONICAL (type2)) in same_type_for_tbaa() [all …]
|
H A D | ubsan.cc | 370 tree type2 = type; in ubsan_type_descriptor() local 380 type2 = TREE_TYPE (type); in ubsan_type_descriptor() 383 while (POINTER_TYPE_P (type2)) in ubsan_type_descriptor() 384 deref_depth++, type2 = TREE_TYPE (type2); in ubsan_type_descriptor() 386 if (TREE_CODE (type2) == METHOD_TYPE) in ubsan_type_descriptor() 387 type2 = TYPE_METHOD_BASETYPE (type2); in ubsan_type_descriptor() 391 type2 = strip_array_types (type2); in ubsan_type_descriptor() 395 while (POINTER_TYPE_P (type2)) in ubsan_type_descriptor() 396 deref_depth++, type2 = TREE_TYPE (type2); in ubsan_type_descriptor() 399 if (TYPE_NAME (type2) != NULL) in ubsan_type_descriptor() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | gimple-expr.h | 64 types_compatible_p (tree type1, tree type2) in types_compatible_p() argument 66 return (type1 == type2 in types_compatible_p() 67 || (useless_type_conversion_p (type1, type2) in types_compatible_p() 68 && useless_type_conversion_p (type2, type1))); in types_compatible_p()
|
H A D | ubsan.c | 369 tree type2 = type; in ubsan_type_descriptor() local 379 type2 = TREE_TYPE (type); in ubsan_type_descriptor() 382 while (POINTER_TYPE_P (type2)) in ubsan_type_descriptor() 383 deref_depth++, type2 = TREE_TYPE (type2); in ubsan_type_descriptor() 385 if (TREE_CODE (type2) == METHOD_TYPE) in ubsan_type_descriptor() 386 type2 = TYPE_METHOD_BASETYPE (type2); in ubsan_type_descriptor() 390 type2 = strip_array_types (type2); in ubsan_type_descriptor() 394 while (POINTER_TYPE_P (type2)) in ubsan_type_descriptor() 395 deref_depth++, type2 = TREE_TYPE (type2); in ubsan_type_descriptor() 398 if (TYPE_NAME (type2) != NULL) in ubsan_type_descriptor() [all …]
|
H A D | tree-ssa-alias.c | 791 compare_type_sizes (tree type1, tree type2) in compare_type_sizes() argument 798 while (TREE_CODE (type2) == ARRAY_TYPE in compare_type_sizes() 799 || TREE_CODE (type2) == VECTOR_TYPE) in compare_type_sizes() 800 type2 = TREE_TYPE (type2); in compare_type_sizes() 801 return compare_sizes (TYPE_SIZE (type1), TYPE_SIZE (type2)); in compare_type_sizes() 809 same_type_for_tbaa (tree type1, tree type2) in same_type_for_tbaa() argument 812 type2 = TYPE_MAIN_VARIANT (type2); in same_type_for_tbaa() 815 if (type1 == type2) in same_type_for_tbaa() 820 || TYPE_STRUCTURAL_EQUALITY_P (type2)) in same_type_for_tbaa() 824 if (TYPE_CANONICAL (type1) == TYPE_CANONICAL (type2)) in same_type_for_tbaa() [all …]
|
/netbsd-src/sys/kern/ |
H A D | subr_device.c | 85 devhandle_type_t type2 = devhandle_type(handle2); in devhandle_compare() local 90 if (type2 == DEVHANDLE_TYPE_INVALID) { in devhandle_compare() 94 if (type1 < type2) { in devhandle_compare() 97 if (type1 > type2) { in devhandle_compare()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/kcm/ |
H A D | protocol.c | 1445 struct ntlm_type2 type2; in kcm_op_do_ntlm() local 1453 memset(&type2, 0, sizeof(type2)); in kcm_op_do_ntlm() 1484 ret = heim_ntlm_decode_type2(&ndata, &type2); in kcm_op_do_ntlm() 1489 if (domain && strcmp(domain, type2.targetname) == 0) { in kcm_op_do_ntlm() 1495 type3.flags = type2.flags; in kcm_op_do_ntlm() 1496 type3.targetname = type2.targetname; in kcm_op_do_ntlm() 1503 if (1 || type2.targetinfo.length == 0) { in kcm_op_do_ntlm() 1506 if (type2.flags & NTLM_NEG_NTLM2_SESSION) { in kcm_op_do_ntlm() 1515 type2.challenge, in kcm_op_do_ntlm() 1522 type2.challenge, in kcm_op_do_ntlm() [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | format-pascal.c | 296 enum format_arg_type type2 = numbered[j-1].type; in format_parse() local 299 if (type1 == type2) in format_parse() 301 else if ((type1 == FAT_INTEGER && type2 == FAT_INTEGER64) in format_parse() 302 || (type1 == FAT_INTEGER64 && type2 == FAT_INTEGER)) in format_parse()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/objcp/ |
H A D | objcp-decl.cc | 91 objcp_comptypes (tree type1, tree type2) in objcp_comptypes() argument 93 return comptypes (type1, type2, COMPARE_STRICT); in objcp_comptypes()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objcp/ |
H A D | objcp-decl.c | 91 objcp_comptypes (tree type1, tree type2) in objcp_comptypes() argument 93 return comptypes (type1, type2, COMPARE_STRICT); in objcp_comptypes()
|
H A D | objcp-decl.h | 50 #define comptypes(type1, type2) \ argument 51 objcp_comptypes (type1, type2)
|