Home
last modified time | relevance | path

Searched refs:policies (Results 1 – 25 of 73) sorted by relevance

123

/external/selinux/libsepol/tests/
DMakefile24 m4support := $(wildcard policies/support/*.spt)
25 testsuites := $(wildcard policies/test-*)
29 policies := $(stdpol) $(mlspol) macro
31 all: $(EXE) $(policies)
32 policies: $(policies) target
45 rm -f $(policies)
46 rm -f policies/test-downgrade/policy.hi policies/test-downgrade/policy.lo
49 test: $(EXE) $(policies)
50 $(MKDIR) -p policies/test-downgrade
51 …../../checkpolicy/checkpolicy -M policies/test-cond/refpolicy-base.conf -o policies/test-downgrade…
[all …]
Dtest-linker.c48 const char *policies[NUM_POLICIES] = { variable
63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init()
66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init()
77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i])) in linker_test_init()
/external/owasp/sanitizer/src/main/org/owasp/html/
DAttributePolicy.java69 public static final AttributePolicy join(AttributePolicy... policies) { in join() argument
71 for (AttributePolicy p : policies) { in join()
73 uniq.addAll(((JoinedAttributePolicy) p).policies); in join()
112 final ImmutableList<AttributePolicy> policies; field in JoinedAttributePolicy
114 JoinedAttributePolicy(Collection<? extends AttributePolicy> policies) { in JoinedAttributePolicy() argument
115 this.policies = ImmutableList.copyOf(policies); in JoinedAttributePolicy()
120 for (AttributePolicy p : policies) { in apply()
130 && policies.equals(((JoinedAttributePolicy) o).policies); in equals()
135 return policies.hashCode(); in hashCode()
DElementAndAttributePolicyBasedSanitizerPolicy.java104 ElementAndAttributePolicies policies = elAndAttrPolicies.get(elementName); in openTag() local
105 String adjustedElementName = applyPolicies(elementName, attrs, policies); in openTag()
107 && !(attrs.isEmpty() && policies.skipIfEmpty)) { in openTag()
108 writeOpenTag(policies, adjustedElementName, attrs); in openTag()
116 ElementAndAttributePolicies policies) { in applyPolicies() argument
118 if (policies != null) { in applyPolicies()
123 = policies.attrPolicies.get(name); in applyPolicies()
140 adjustedElementName = policies.elPolicy.apply(elementName, attrs); in applyPolicies()
174 ElementAndAttributePolicies policies, String adjustedElementName, in writeOpenTag() argument
176 if (!policies.isVoid) { in writeOpenTag()
[all …]
DPolicyFactory.java56 private final ImmutableMap<String, ElementAndAttributePolicies> policies; field in PolicyFactory
61 ImmutableMap<String, ElementAndAttributePolicies> policies, in PolicyFactory() argument
64 this.policies = policies; in PolicyFactory()
72 out, policies, textContainers); in apply()
138 : policies.entrySet()) { in and()
141 ElementAndAttributePolicies q = f.policies.get(elName); in and()
152 : f.policies.entrySet()) { in and()
154 if (!policies.containsKey(elName)) { in and()
DHtmlPolicyBuilder.java345 Map<String, AttributePolicy> policies = attrPolicies.get(elementName); in allowAttributesOnElements() local
346 if (policies == null) { in allowAttributesOnElements()
347 policies = Maps.newLinkedHashMap(); in allowAttributesOnElements()
348 attrPolicies.put(elementName, policies); in allowAttributesOnElements()
351 AttributePolicy oldPolicy = policies.get(attributeName); in allowAttributesOnElements()
352 policies.put( in allowAttributesOnElements()
575 Map<String, AttributePolicy> policies = e.getValue(); in compilePolicies() local
577 if (policies.containsKey(urlAttributeName)) { in compilePolicies()
578 policies.put(urlAttributeName, AttributePolicy.Util.join( in compilePolicies()
579 urlAttributePolicy, policies.get(urlAttributeName))); in compilePolicies()
DElementPolicy.java67 public static final ElementPolicy join(ElementPolicy... policies) { in join() argument
94 for (ElementPolicy policy : policies) { in join()
/external/boringssl/src/crypto/x509/
Dx509_vpm.c143 if (param->policies) { in x509_verify_param_zero()
144 sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free); in x509_verify_param_zero()
145 param->policies = NULL; in x509_verify_param_zero()
290 if (test_x509_verify_param_copy(policies, NULL)) { in X509_VERIFY_PARAM_inherit()
291 if (!X509_VERIFY_PARAM_set1_policies(dest, src->policies)) in X509_VERIFY_PARAM_inherit()
412 if (!param->policies) { in X509_VERIFY_PARAM_add0_policy()
413 param->policies = sk_ASN1_OBJECT_new_null(); in X509_VERIFY_PARAM_add0_policy()
414 if (!param->policies) in X509_VERIFY_PARAM_add0_policy()
417 if (!sk_ASN1_OBJECT_push(param->policies, policy)) in X509_VERIFY_PARAM_add0_policy()
423 STACK_OF(ASN1_OBJECT) *policies) in X509_VERIFY_PARAM_set1_policies()
[all …]
/external/ImageMagick/MagickCore/
Dpolicy.c344 **policies; in GetPolicyInfoList() local
362 policies=(const PolicyInfo **) AcquireQuantumMemory((size_t) in GetPolicyInfoList()
363 GetNumberOfElementsInLinkedList(policy_cache)+1UL,sizeof(*policies)); in GetPolicyInfoList()
364 if (policies == (const PolicyInfo **) NULL) in GetPolicyInfoList()
376 policies[i++]=p; in GetPolicyInfoList()
380 policies[i]=(PolicyInfo *) NULL; in GetPolicyInfoList()
382 return(policies); in GetPolicyInfoList()
416 **policies; in GetPolicyList() local
434 policies=(char **) AcquireQuantumMemory((size_t) in GetPolicyList()
435 GetNumberOfElementsInLinkedList(policy_cache)+1UL,sizeof(*policies)); in GetPolicyList()
[all …]
/external/linux-kselftest/tools/testing/selftests/cpufreq/
Dcpufreq.sh30 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
31 for policy in $policies; do
38 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
39 for policy in $policies; do
/external/boringssl/src/crypto/x509v3/
Dpcy_cache.c76 CERTIFICATEPOLICIES *policies, int crit) in policy_cache_create() argument
83 if (sk_POLICYINFO_num(policies) == 0) in policy_cache_create()
88 for (i = 0; i < sk_POLICYINFO_num(policies); i++) { in policy_cache_create()
89 policy = sk_POLICYINFO_value(policies, i); in policy_cache_create()
115 sk_POLICYINFO_pop_free(policies, POLICYINFO_free); in policy_cache_create()
/external/strace/xlat/
Dpolicies.h17 # error static const struct xlat policies in mpers mode
22 const struct xlat policies[] = { variable
/external/strace/
Dnuma.c82 printxval64(policies, tcp->u_arg[2], "MPOL_???"); in SYS_FUNC()
93 printxval(policies, tcp->u_arg[0], "MPOL_???"); in SYS_FUNC()
109 printxval(policies, pol, "MPOL_???"); in SYS_FUNC()
/external/autotest/client/site_tests/login_MultiUserPolicy/
Dcontrol16 both can store and retrieve their respective user policies.
19 retrieve their policies.
/external/autotest/client/site_tests/security_DbusOwners/
Dsecurity_DbusOwners.py45 policies = xmldoc.getElementsByTagName('policy')
47 for policy in policies:
/external/strace/tests-m32/
Dget_mempolicy.c98 printxval(policies, (unsigned) *mode, "MPOL_???"); in main()
104 printxval(policies, (unsigned) *mode, "MPOL_???"); in main()
/external/strace/tests/
Dget_mempolicy.c98 printxval(policies, (unsigned) *mode, "MPOL_???"); in main()
104 printxval(policies, (unsigned) *mode, "MPOL_???"); in main()
/external/strace/tests-mx32/
Dget_mempolicy.c98 printxval(policies, (unsigned) *mode, "MPOL_???"); in main()
104 printxval(policies, (unsigned) *mode, "MPOL_???"); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
Dcoverage.txt9 3 YES Can not test the implementation defined policies
/external/autotest/client/site_tests/enterprise_PowerManagement/
Dcontrol13 This test checks if setting the power management policies function as expected.
/external/autotest/client/site_tests/login_RemoteOwnership/
Dcontrol16 to set device policies.
/external/ltp/testcases/kernel/numa/
DREADME8 also, we can apply memory policies such that an application running on a node can get memory alloct…
9 from any specified nodes memory. So, we can use the policies offered by numa libraries or numactl c…
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
Dcoverage.txt16 9 NO implementation defined on how to get the other policies
/external/selinux/python/sepolicy/sepolicy/help/
Dlockdown_permissive.txt8 Permissive domain policies are experimental and will be turned to enforcing in future Operation Sys…
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c241 static struct policies { struct
244 } policies[] = { argument
263 struct policies *polp; in get_mbind_policy()
269 for (polp = policies; polp->pol_name != NULL; ++polp) { in get_mbind_policy()

123