/third_party/python/Modules/_decimal/tests/ |
D | randdec.py | 510 def all_unary(prec, exp_range, itr): argument 511 for a in un_close_to_pow10(prec, exp_range, itr): 513 for a in un_close_numbers(prec, exp_range, -exp_range, itr): 515 for a in un_incr_digits_tuple(prec, exp_range, itr): 524 yield (randdec(prec, exp_range),) 526 yield (randtuple(prec, exp_range),) 528 def unary_optarg(prec, exp_range, itr): argument 530 yield randdec(prec, exp_range), None 531 yield randdec(prec, exp_range), None, None 533 def all_binary(prec, exp_range, itr): argument [all …]
|
D | deccheck.py | 963 def test_unary(method, prec, exp_range, restricted_range, itr, stat): argument 966 exp_range = restricted_range 967 for op in all_unary(prec, exp_range, itr): 978 for op in unary_optarg(prec, exp_range, itr): 988 def test_binary(method, prec, exp_range, restricted_range, itr, stat): argument 991 exp_range = restricted_range 992 for op in all_binary(prec, exp_range, itr): 1003 for op in binary_optarg(prec, exp_range, itr): 1013 def test_ternary(method, prec, exp_range, restricted_range, itr, stat): argument 1016 exp_range = restricted_range [all …]
|
/third_party/selinux/libsepol/src/ |
D | expand.c | 1041 &new_user->exp_range, in user_copy_callback() 1051 &new_user->exp_range.level[0], in user_copy_callback() 1052 &new_user->exp_range.level[1])) { in user_copy_callback() 1071 if (!mls_range_eq(&new_user->exp_range, &tmp_range) || in user_copy_callback() 1475 mls_range_t *r, *exp_range = NULL; in exp_rangetr_helper() local 1478 exp_range = calloc(1, sizeof(*exp_range)); in exp_rangetr_helper() 1479 if (!exp_range) { in exp_rangetr_helper() 1484 if (mls_semantic_range_expand(trange, exp_range, state->out, in exp_rangetr_helper() 1494 if (mls_range_eq(r, exp_range)) { in exp_rangetr_helper() 1496 mls_range_destroy(exp_range); in exp_rangetr_helper() [all …]
|
D | users.c | 77 if (mls_range_cpy(&context.range, &usrdatum->exp_range) < 0) { in user_to_record() 212 if (mls_range_cpy(&usrdatum->exp_range, &context.range) < 0) { in sepol_user_modify()
|
D | mls.c | 313 if (!usrdatum || !mls_range_contains(usrdatum->exp_range, c->range)) in mls_context_isvalid() 515 mls_level_t *user_low = &(user->exp_range.level[0]); in mls_setup_user_range() 516 mls_level_t *user_clr = &(user->exp_range.level[1]); in mls_setup_user_range()
|
D | policydb.c | 557 mls_range_init(&x->exp_range); in user_datum_init() 568 mls_range_destroy(&x->exp_range); in user_datum_destroy() 965 mls_range_destroy(&user->exp_range); in policydb_user_cache() 967 &user->exp_range, p, NULL)) { in policydb_user_cache() 3358 if (mls_read_range_helper(&usrdatum->exp_range, fp)) in user_read() 3363 if (mls_range_to_semantic(&usrdatum->exp_range, in user_read()
|
D | write.c | 1326 if (mls_write_range_helper(&usrdatum->exp_range, fp)) in user_write()
|
D | kernel_to_cil.c | 2487 range = range_to_str(pdb, &user->exp_range); in write_user_decl_rules_to_cil()
|
D | kernel_to_conf.c | 2367 range = range_to_str(pdb, &user->exp_range); in write_user_decl_rules_to_conf()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 211 mls_range_t exp_range; /* expanded range used for validation */ member
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 3074 rc = __cil_levelrange_to_mls_range(pdb, cil_levelrange, &sepol_user->exp_range); in cil_userlevel_userrange_to_policydb()
|