/external/selinux/libsepol/tests/ |
H A D | Makefile | 11 # In order to load source policies we need to link in the checkpolicy/checkmodule parser and util code. 12 # This is less than ideal, but it makes the tests easier to maintain by allowing source policies 24 m4support := $(wildcard policies/support/*.spt) 25 testsuites := $(wildcard policies/test-*) 29 policies := $(stdpol) $(mlspol) macro 31 all: $(EXE) $(policies) 32 policies: $(policies) 45 rm -f $(policies) 46 rm -f policies/tes [all...] |
H A D | test-linker.c | 48 const char *policies[NUM_POLICIES] = { variable 63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) 66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) 77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i]))
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
H A D | AttributePolicy.java | 61 /** Utilities for working with attribute policies. */ 65 * An attribute policy equivalent to applying all the given policies in 69 public static final AttributePolicy join(AttributePolicy... policies) { argument 71 for (AttributePolicy p : policies) { 73 uniq.addAll(((JoinedAttributePolicy) p).policies); 112 final ImmutableList<AttributePolicy> policies; field in class:JoinedAttributePolicy 114 JoinedAttributePolicy(Collection<? extends AttributePolicy> policies) { argument 115 this.policies = ImmutableList.copyOf(policies); 120 for (AttributePolicy p : policies) { [all...] |
H A D | ElementAndAttributePolicyBasedSanitizerPolicy.java | 42 * A sanitizer policy that applies element and attribute policies to tags. 104 ElementAndAttributePolicies policies = elAndAttrPolicies.get(elementName); 105 String adjustedElementName = applyPolicies(elementName, attrs, policies); 107 && !(attrs.isEmpty() && policies.skipIfEmpty)) { 108 writeOpenTag(policies, adjustedElementName, attrs); 116 ElementAndAttributePolicies policies) { 118 if (policies != null) { 123 = policies.attrPolicies.get(name); 140 adjustedElementName = policies.elPolicy.apply(elementName, attrs); 174 ElementAndAttributePolicies policies, Strin 114 applyPolicies( String elementName, List<String> attrs, ElementAndAttributePolicies policies) argument 173 writeOpenTag( ElementAndAttributePolicies policies, String adjustedElementName, List<String> attrs) argument [all...] |
H A D | PolicyFactory.java | 46 * policies. 56 private final ImmutableMap<String, ElementAndAttributePolicies> policies; field in class:PolicyFactory 61 ImmutableMap<String, ElementAndAttributePolicies> policies, 64 this.policies = policies; 72 out, policies, textContainers); 130 * policies where they overlap on a particular granted attribute or element 136 // Merge this and f into a map of element names to attribute policies. 138 : policies.entrySet()) { 141 ElementAndAttributePolicies q = f.policies 60 PolicyFactory( ImmutableMap<String, ElementAndAttributePolicies> policies, ImmutableSet<String> textContainers, ImmutableMap<String, AttributePolicy> globalAttrPolicies) argument [all...] |
H A D | ElementPolicy.java | 40 * Element policies are applied <strong>after</strong> 41 * {@link AttributePolicy attribute policies} so 59 /** Utilities for working with element policies. */ 64 * Given zero or more element policies, returns an element policy equivalent 67 public static final ElementPolicy join(ElementPolicy... policies) { argument 94 for (ElementPolicy policy : policies) {
|
H A D | HtmlPolicyBuilder.java | 48 * Conveniences for configuring policies for the {@link HtmlSanitizer}. 74 * so you can easily white-list widely used policies that don't violate the 129 * <li>Element and attribute policies are applied in the following order: 132 * Element policies come last so they can observe all the post-processed 134 * attribute policies. 135 * Element specific policies go first, so they can normalize content to 148 * binding policies to output channels is cheap so there's no need. 298 * Returns an object that lets you associate policies with the given 345 Map<String, AttributePolicy> policies = attrPolicies.get(elementName); 346 if (policies [all...] |
/external/strace/xlat/ |
H A D | policies.h | 1 /* Generated by ./xlat/gen.sh from ./xlat/policies.in; do not edit. */ 5 # error static const struct xlat policies in mpers mode 10 const struct xlat policies[] = { variable in typeref:struct:xlat
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
H A D | CertificatePoliciesTest.java | 43 String[] policies = new String[] { 50 for (int i = 0; i < policies.length; i++) { 52 new PolicyInformation(policies[i]);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/elb/ |
H A D | test_loadbalancer.py | 98 self.assertEqual(len(lb.policies.other_policies), 2) 99 self.assertEqual(lb.policies.other_policies[0].policy_name, 101 self.assertEqual(lb.policies.other_policies[1].policy_name, 105 self.assertEqual(len(lb.backends[0].policies), 1) 106 self.assertEqual(lb.backends[0].policies[0].policy_name,
|
/external/boringssl/src/crypto/x509/ |
H A D | x509_vpm.c | 135 if (param->policies) 137 sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free); 138 param->policies = NULL; 289 if (test_x509_verify_param_copy(policies, NULL)) 291 if (!X509_VERIFY_PARAM_set1_policies(dest, src->policies)) 421 if (!param->policies) 423 param->policies = sk_ASN1_OBJECT_new_null(); 424 if (!param->policies) 427 if (!sk_ASN1_OBJECT_push(param->policies, policy)) 433 STACK_OF(ASN1_OBJECT) *policies) 432 X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param, STACK_OF(ASN1_OBJECT) *policies) argument [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/elb/ |
H A D | loadbalancer.py | 26 from boto.ec2.elb.policies import Policies, OtherPolicy 39 self.policies = None 42 return 'Backend(%r:%r)' % (self.instance_port, self.policies) 46 self.policies = ResultSet([('member', OtherPolicy)]) 47 return self.policies 85 :ivar boto.ec2.elb.policies.Policies policies: Cookie stickiness and 86 other policies. 115 self.policies = None 146 self.policies [all...] |
H A D | __init__.py | 667 def set_lb_policies_of_listener(self, lb_name, lb_port, policies): 675 if len(policies): 676 self.build_list_params(params, policies, 'PolicyNames.member.%d') 682 policies): 684 Replaces the current set of policies associated with a port on which 685 the back-end server is listening with a new set of policies. 689 if policies: 690 self.build_list_params(params, policies, 'PolicyNames.member.%d')
|
/external/autotest/client/site_tests/security_DbusOwners/ |
H A D | security_DbusOwners.py | 43 policies = xmldoc.getElementsByTagName('policy') 45 for policy in policies:
|
/external/boringssl/src/crypto/x509v3/ |
H A D | pcy_cache.c | 75 CERTIFICATEPOLICIES *policies, int crit) 82 if (sk_POLICYINFO_num(policies) == 0) 87 for (i = 0; i < sk_POLICYINFO_num(policies); i++) 89 policy = sk_POLICYINFO_value(policies, i); 120 sk_POLICYINFO_pop_free(policies, POLICYINFO_free); 150 * even if we don't have any policies. 176 * there is no point continuing because the valid policies will be 74 policy_cache_create(X509 *x, CERTIFICATEPOLICIES *policies, int crit) argument
|
/external/ImageMagick/MagickCore/ |
H A D | policy.c | 332 % GetPolicyInfoList() returns any policies that match the specified pattern. 343 % o number_policies: returns the number of policies in the list. 352 **policies; 370 policies=(const PolicyInfo **) AcquireQuantumMemory((size_t) 371 GetNumberOfElementsInLinkedList(policy_cache)+1UL,sizeof(*policies)); 372 if (policies == (const PolicyInfo **) NULL) 384 policies[i++]=p; 388 policies[i]=(PolicyInfo *) NULL; 390 return(policies); 405 % GetPolicyList() returns any policies tha 344 **policies; local 416 **policies; local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/autoscale/ |
H A D | test_connection.py | 69 # get policies 70 policies = c.get_all_policies() 71 for policy in policies:
|
/external/autotest/client/cros/ |
H A D | enterprise_policy_base.py | 279 chrome://policies page. Before comparing, convert both values to JSON 305 """Create policy blob from policies JSON object. 329 the mode of the policy. This function moves modeless policies into 333 @returns: dict of policies grouped by mode keys. 348 # Move any remaining modeless policies into mandatory dict. 352 # Collate all policies into mandatory & recommended dicts. 369 @returns: setup policy JSON data with all 'Not set' policies removed. 373 for policies in policies_json_copy.values(): 374 for policy_data in policies.items(): 376 policies [all...] |
/external/autotest/client/site_tests/security_DbusMap/ |
H A D | security_DbusMap.py | 24 0 for 'default' policies 25 1 for 'group' policies 26 2 for 'user' policies 28 an array of policies into the order they would be evaluated by 46 def sort_policies(self, policies): 57 i, policy in enumerate(policies)] 78 # Apply the policies iteratively, in the same order 83 policies = self.sort_policies( 85 for policy in policies: 112 # Chrome OS dbus policies bu [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/elb/ |
H A D | test_connection.py | 158 self.assertEqual(len(balancers[0].policies.other_policies), 1) 159 self.assertEqual(balancers[0].policies.other_policies[0].policy_name, 163 self.assertEqual(balancers[0].backends[0].policies[0].policy_name, 172 self.assertEqual(len(balancers[0].policies.other_policies), 1) 283 # documents this as the way to remove policies.
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
H A D | X509CertSelectorTest.java | 105 protected String[] policies = null; field in class:X509CertSelectorTest.TestCert 124 public TestCert(String[] policies) { argument 125 setPolicies(policies); 165 public void setPolicies(String[] policies) { argument 166 this.policies = policies; 415 if ("2.5.29.32".equals(oid) && (policies != null) 416 && (policies.length > 0)) { 420 for (int i = 0; i < policies.length; i++) { 422 new PolicyInformation(policies[ [all...] |
/external/strace/ |
H A D | mem.c | 329 #include "xlat/policies.h" 385 printxval(policies, tcp->u_arg[2], "MPOL_???"); 395 printxval(policies, tcp->u_arg[0], "MPOL_???"); 406 printxval(policies, pol, "MPOL_???");
|
/external/owasp/sanitizer/distrib/lib/ |
H A D | owasp-java-html-sanitizer.jar | ... int i$
org.owasp.html.AttributePolicy[] policies
java.util.Set uniq
}
org/owasp/html/AttributePolicy ... |
/external/boringssl/include/openssl/ |
H A D | x509_vfy.h | 172 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */ member in struct:X509_VERIFY_PARAM_st 554 STACK_OF(ASN1_OBJECT) *policies);
|
/external/boringssl/src/include/openssl/ |
H A D | x509_vfy.h | 172 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */ member in struct:X509_VERIFY_PARAM_st 554 STACK_OF(ASN1_OBJECT) *policies);
|