Home
last modified time | relevance | path

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

12

/netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/
Dv3_purp.c384 (((x)->ex_flags & EXFLAG_KUSAGE) != 0 && ((x)->ex_kusage & (usage)) == 0)
386 (((x)->ex_flags & EXFLAG_XKUSAGE) != 0 && ((x)->ex_xkusage & (usage)) == 0)
388 (((x)->ex_flags & EXFLAG_NSCERT) != 0 && ((x)->ex_nscert & (usage)) == 0)
410 return (x->ex_flags & EXFLAG_INVALID) == 0; in ossl_x509v3_cache_extensions()
415 if (x->ex_flags & EXFLAG_SET) { /* Cert has already been processed */ in ossl_x509v3_cache_extensions()
417 return (x->ex_flags & EXFLAG_INVALID) == 0; in ossl_x509v3_cache_extensions()
422 x->ex_flags |= EXFLAG_NO_FINGERPRINT; in ossl_x509v3_cache_extensions()
428 x->ex_flags |= EXFLAG_V1; in ossl_x509v3_cache_extensions()
434 x->ex_flags |= EXFLAG_CA; in ossl_x509v3_cache_extensions()
442 x->ex_flags |= EXFLAG_INVALID; in ossl_x509v3_cache_extensions()
[all …]
Dx509_vfy.c103 if ((cert->ex_flags & EXFLAG_SS) == 0) in X509_self_signed()
331 && (((x->ex_flags & EXFLAG_SI) != 0 && sk_X509_num(ctx->chain) == 1) in find_issuer()
482 && (x->ex_flags & EXFLAG_CRITICAL) != 0, in check_extensions()
484 CB_FAIL_IF(!allow_proxy_certs && (x->ex_flags & EXFLAG_PROXY) != 0, in check_extensions()
523 CB_FAIL_IF((x->ex_flags & EXFLAG_CA) == 0, in check_extensions()
528 CB_FAIL_IF((x->ex_flags & EXFLAG_CA) != 0 in check_extensions()
529 && (x->ex_flags & EXFLAG_BCONS) != 0 in check_extensions()
530 && (x->ex_flags & EXFLAG_BCONS_CRITICAL) == 0, in check_extensions()
533 if ((x->ex_flags & EXFLAG_CA) != 0) { in check_extensions()
534 CB_FAIL_IF((x->ex_flags & EXFLAG_KUSAGE) == 0, in check_extensions()
[all …]
Dpcy_tree.c148 uint32_t ex_flags = X509_get_extension_flags(x); in tree_init() local
151 if (ex_flags & EXFLAG_INVALID_POLICY) in tree_init()
160 if (!(ex_flags & EXFLAG_SI)) in tree_init()
210 uint32_t ex_flags = X509_get_extension_flags(x); in tree_init() local
227 if (!(ex_flags & EXFLAG_SI) || (i == 0)) in tree_init()
230 if (!(ex_flags & EXFLAG_SI)) in tree_init()
239 if (!(ex_flags & EXFLAG_SI)) in tree_init()
Dpcy_cache.c70 x->ex_flags |= EXFLAG_INVALID_POLICY; in policy_cache_create()
169 x->ex_flags |= EXFLAG_INVALID_POLICY; in policy_cache_new()
/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dturandom.c38 mpfr_flags_t ex_flags, flags; in test_urandom() local
59 ex_flags = MPFR_FLAGS_INEXACT; in test_urandom()
79 if (flags != ex_flags) in test_urandom()
83 flags_out (ex_flags); in test_urandom()
114 ex_flags = MPFR_FLAGS_UNDERFLOW | MPFR_FLAGS_INEXACT; in test_urandom()
120 if (k > 0 && flags != ex_flags) in test_urandom()
125 flags_out (ex_flags); in test_urandom()
199 mpfr_flags_t ex_flags, flags; in underflow_tests() local
206 ex_flags = MPFR_FLAGS_UNDERFLOW | MPFR_FLAGS_INEXACT; in underflow_tests()
220 ex_flags = MPFR_FLAGS_INEXACT; in underflow_tests()
[all …]
Dtget_sj.c59 mpfr_flags_t flags[2] = { 0, MPFR_FLAGS_ALL }, ex_flags, gt_flags; in check_sj() local
96 __gmpfr_flags = ex_flags = flags[fi]; in check_sj()
98 ex_flags |= MPFR_FLAGS_INEXACT; in check_sj()
103 if ((r != s || gt_flags != ex_flags) && rnd != MPFR_RNDF) in check_sj()
112 flags_out (ex_flags); in check_sj()
142 mpfr_flags_t flags[2] = { 0, MPFR_FLAGS_ALL }, ex_flags, gt_flags; in check_uj() local
177 __gmpfr_flags = ex_flags = flags[fi]; in check_uj()
179 ex_flags |= MPFR_FLAGS_INEXACT; in check_uj()
184 if ((r != u || gt_flags != ex_flags) && rnd != MPFR_RNDF) in check_uj()
193 flags_out (ex_flags); in check_uj()
[all …]
Dtget_z.c110 MPFR_FLAGS_ALL }, ex_flags, gt_flags; in check_one() local
172 ex_flags = __gmpfr_flags = flags[fi]; in check_one()
174 ex_flags |= MPFR_FLAGS_INEXACT; in check_one()
183 !same || gt_flags != ex_flags) in check_one()
196 printf ("expected"); flags_out (ex_flags); in check_one()
248 MPFR_FLAGS_ALL }, ex_flags, gt_flags; in special() local
257 ex_flags = flags[fi] | MPFR_FLAGS_ERANGE; in special()
265 if (gt_flags != ex_flags || inex != 0 || mpz_cmp_ui (z, 0) != 0) in special()
271 flags_out (ex_flags); in special()
281 if (gt_flags != ex_flags || e != __gmpfr_emin || in special()
[all …]
Dtzeta_ui.c36 mpfr_flags_t flags, ex_flags; in main() local
98 ex_flags = MPFR_FLAGS_OVERFLOW | MPFR_FLAGS_INEXACT; in main()
112 ex_flags = MPFR_FLAGS_UNDERFLOW | MPFR_FLAGS_INEXACT; in main()
118 ex_flags = 0; in main()
123 SAME_SIGN (inex, ex_inex) && flags == ex_flags)) in main()
130 flags_out (ex_flags); in main()
Dtset_q.c33 mpfr_flags_t flags, ex_flags; in check() local
69 ex_flags = compare == 0 ? 0 : MPFR_FLAGS_INEXACT; in check()
70 if (flags != ex_flags) in check()
75 flags_out (ex_flags); in check()
Dtfits.c31 __gmpfr_flags = ex_flags; \
40 if (__gmpfr_flags != ex_flags) \
48 flags_out (ex_flags); \
118 mpfr_flags_t flags[2] = { 0, MPFR_FLAGS_ALL }, ex_flags; in main() local
132 ex_flags = flags[fi]; in main()
Dtrint.c159 unsigned int ex_flags, flags; \
169 ex_flags = __gmpfr_flags; \
175 flags == ex_flags)) \
188 flags_out (ex_flags); \
209 unsigned int ex_flags, flags; \
220 ex_flags = __gmpfr_flags; \
224 ex_flags |= MPFR_FLAGS_INEXACT; \
228 flags == ex_flags)) \
240 flags_out (ex_flags); \
Dtasin.c225 unsigned int flags, ex_flags; in reduced_expo_range() local
243 ex_flags = MPFR_FLAGS_INEXACT; in reduced_expo_range()
245 if (VSIGN (inex) != ex_inex || flags != ex_flags || in reduced_expo_range()
252 printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags); in reduced_expo_range()
Dtmul_ui.c291 mpfr_flags_t ex_flags, flags; in main() local
293 ex_flags = MPFR_FLAGS_OVERFLOW | MPFR_FLAGS_INEXACT; in main()
297 if (flags != ex_flags) in main()
302 flags_out (ex_flags); in main()
Dtgeneric.c459 mpfr_flags_t ex_flags; in test_generic() local
490 ex_flags = MPFR_FLAGS_OVERFLOW | MPFR_FLAGS_INEXACT; in test_generic()
495 if (flags != ex_flags && rnd != MPFR_RNDF) in test_generic()
513 flags_out (ex_flags); in test_generic()
525 mpfr_flags_t ex_flags; in test_generic() local
556 ex_flags = MPFR_FLAGS_UNDERFLOW | MPFR_FLAGS_INEXACT; in test_generic()
561 if (flags != ex_flags && rnd != MPFR_RNDF) in test_generic()
579 flags_out (ex_flags); in test_generic()
Dtexp10.c294 mpfr_flags_t flags, ex_flags; in bug20230427() local
352 ex_flags = MPFR_FLAGS_UNDERFLOW | MPFR_FLAGS_INEXACT; in bug20230427()
355 if (! (mpfr_equal_p (y, z) && flags == ex_flags)) in bug20230427()
363 flags_out (ex_flags); in bug20230427()
Dtexp2.c224 mpfr_flags_t flags, ex_flags; in bug20171218() local
256 ex_flags = MPFR_FLAGS_UNDERFLOW | MPFR_FLAGS_INEXACT; in bug20171218()
260 if (! (flags == ex_flags && SAME_SIGN (inex, 1) && mpfr_equal_p (y, z))) in bug20171218()
266 flags_out (ex_flags); in bug20171218()
Dterf.c609 unsigned int flags, ex_flags; in reduced_expo_range() local
621 ex_flags = MPFR_FLAGS_INEXACT; in reduced_expo_range()
622 if (VSIGN (inex) != ex_inex || flags != ex_flags || in reduced_expo_range()
629 printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags); in reduced_expo_range()
Dtset_si.c371 mpfr_flags_t ex_flags, flags; in get_tests() local
395 ex_flags = overflow ? MPFR_FLAGS_ERANGE in get_tests()
416 if (flags != ex_flags || a != d) \ in get_tests()
427 flags_out (ex_flags); \ in get_tests()
Dtatan.c580 unsigned int flags, ex_flags; in reduced_expo_range() local
598 ex_flags = MPFR_FLAGS_INEXACT; in reduced_expo_range()
600 if (VSIGN (inex) != ex_inex || flags != ex_flags || in reduced_expo_range()
607 printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags); in reduced_expo_range()
/netbsd/src/sys/kern/
Dsubr_extent.c134 if (ex->ex_flags & EXF_FIXED) { in extent_alloc_region_descriptor()
137 if (!(ex->ex_flags & EXF_EARLY)) in extent_alloc_region_descriptor()
148 if (!(ex->ex_flags & EXF_EARLY)) in extent_alloc_region_descriptor()
153 if (!(ex->ex_flags & EXF_EARLY)) in extent_alloc_region_descriptor()
158 if (!(ex->ex_flags & EXF_EARLY)) in extent_alloc_region_descriptor()
193 if (ex->ex_flags & EXF_FIXED) { in extent_free_region_descriptor()
217 if (!(ex->ex_flags & EXF_EARLY)) { in extent_free_region_descriptor()
306 ex->ex_flags = 0; in extent_create()
309 ex->ex_flags |= EXF_FIXED; in extent_create()
311 ex->ex_flags |= EXF_NOCOALESCE; in extent_create()
[all …]
/netbsd/src/sys/nfs/
Dnfs_export.c433 if (args->eargs.ex_flags & 0x00020000) { in nfs_export_update_30()
481 ea.ex_flags |= MNT_EXRDONLY; in init_exports()
516 np->netc_exflags = argp->ex_flags; in hang_addrlist()
590 np->netc_exflags = argp->ex_flags; in hang_addrlist()
594 if (enp->netc_exflags != argp->ex_flags || in hang_addrlist()
708 if (argp->ex_flags & MNT_EXPORTED) { in export()
709 if (argp->ex_flags & MNT_EXPUBLIC) { in export()
/netbsd/src/sys/compat/netbsd32/
Dnetbsd32_nfssvc.c150 exp->ex_flags = exp32.ex_flags; in nfssvc32_exp_in()
/netbsd/src/tests/kernel/
Dt_extent.c97 ATF_REQUIRE_EQ_MSG(ex->ex_flags, flags, in h_require()
98 "expected: %#x, got: %#x", flags, ex->ex_flags); in h_require()
/netbsd/src/external/bsd/nvi/dist/ex/
Dex_init.c277 ex_run_str(SCR *sp, const char *name, const CHAR_T *str, size_t len, int ex_flags, int nocopy) in ex_run_str() argument
290 ex_flags ? E_BLIGNORE | E_NOAUTO | E_NOPRDEF | E_VLITONLY : 0); in ex_run_str()
/netbsd/src/sys/sys/
Dextent.h61 int ex_flags; /* misc. information */ member

12