Home
last modified time | relevance | path

Searched refs:pol (Results 1 – 25 of 47) sorted by relevance

12

/external/kernel-headers/original/linux/
Dmempolicy.h79 extern void __mpol_free(struct mempolicy *pol);
80 static inline void mpol_free(struct mempolicy *pol) in mpol_free() argument
82 if (pol) in mpol_free()
83 __mpol_free(pol); in mpol_free()
86 extern struct mempolicy *__mpol_copy(struct mempolicy *pol);
87 static inline struct mempolicy *mpol_copy(struct mempolicy *pol) in mpol_copy() argument
89 if (pol) in mpol_copy()
90 pol = __mpol_copy(pol); in mpol_copy()
91 return pol; in mpol_copy()
95 #define vma_set_policy(vma, pol) ((vma)->vm_policy = (pol)) argument
[all …]
/external/sepolicy/tools/
Dcheck_seapp.c141 static policy_info pol = { variable
274 if (!pol.policy_file) { in key_map_validate()
279 ret = sepol_bool_key_create(pol.handle, value, &se_key); in key_map_validate()
287 ret = sepol_bool_exists(pol.handle, pol.db, se_key, &resp); in key_map_validate()
307 if(!check_type(pol.db, value)) { in key_map_validate()
316 ret = sepol_mls_check(pol.handle, pol.db, value); in key_map_validate()
596 if (pol.policy_file_name) { in init()
598 log_info("Opening policy file: %s\n", pol.policy_file_name); in init()
599 pol.policy_file = fopen(pol.policy_file_name, "rb"); in init()
600 if (!pol.policy_file) { in init()
[all …]
/external/openssl/crypto/x509v3/
Dv3_cpols.c70 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol, BIO *out, int indent);
136 POLICYINFO *pol; variable
172 pol = policy_section(ctx, polsect, ia5org);
174 if(!pol) goto err;
181 pol = POLICYINFO_new();
182 pol->policyid = pobj;
184 if (!sk_POLICYINFO_push(pols, pol)){
185 POLICYINFO_free(pol);
203 POLICYINFO *pol; in policy_section() local
205 if(!(pol = POLICYINFO_new())) goto merr; in policy_section()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings.cc87 em::ChromeDeviceSettingsProto pol; in EnumerateWhitelist() local
88 pol.ParseFromString(service->cached_policy().policy_value()); in EnumerateWhitelist()
89 if (!pol.has_user_whitelist()) in EnumerateWhitelist()
93 pol.user_whitelist().user_whitelist(); in EnumerateWhitelist()
400 em::ChromeDeviceSettingsProto pol; in LookUpInPolicy() local
401 pol.ParseFromString(service_->cached_policy().policy_value()); in LookUpInPolicy()
402 if (!pol.has_user_whitelist()) in LookUpInPolicy()
406 pol.user_whitelist().user_whitelist(); in LookUpInPolicy()
438 em::ChromeDeviceSettingsProto pol; in Execute() local
439 pol.ParseFromString(to_sign.policy_value()); in Execute()
[all …]
Dsigned_settings_unittest.cc132 em::ChromeDeviceSettingsProto pol; in BuildPolicyData() local
133 em::GuestModeEnabledProto* allow = pol.mutable_guest_mode_enabled(); in BuildPolicyData()
135 pol.mutable_device_proxy_settings()->set_proxy_mode("direct"); in BuildPolicyData()
138 em::UserWhitelistProto* whitelist_proto = pol.mutable_user_whitelist(); in BuildPolicyData()
147 to_return.set_policy_value(pol.SerializeAsString()); in BuildPolicyData()
152 em::ChromeDeviceSettingsProto pol; in SetAllowNewUsers() local
153 pol.ParseFromString(poldata->policy_value()); in SetAllowNewUsers()
154 em::AllowNewUsersProto* allow = pol.mutable_allow_new_users(); in SetAllowNewUsers()
156 poldata->set_policy_value(pol.SerializeAsString()); in SetAllowNewUsers()
162 em::ChromeDeviceSettingsProto pol; in CheckWhitelist() local
[all …]
Downership_service.cc59 void OwnershipService::set_cached_policy(const em::PolicyData& pol) { in set_cached_policy() argument
60 policy_.reset(pol.New()); in set_cached_policy()
61 policy_->CheckTypeAndMergeFrom(pol); in set_cached_policy()
Dsigned_settings_helper_unittest.cc91 em::ChromeDeviceSettingsProto pol; in BuildPolicyData() local
93 to_return.set_policy_value(pol.SerializeAsString()); in BuildPolicyData()
Downership_service.h53 virtual void set_cached_policy(const em::PolicyData& pol);
/external/valgrind/main/VEX/priv/
Dguest_generic_x87.c630 UInt pol, UInt idx, in compute_PCMPxSTRx_gen_output() argument
633 vassert((pol >> 2) == 0); in compute_PCMPxSTRx_gen_output()
637 switch (pol) { in compute_PCMPxSTRx_gen_output()
698 UInt pol, UInt idx, in compute_PCMPxSTRx_gen_output_wide() argument
701 vassert((pol >> 2) == 0); in compute_PCMPxSTRx_gen_output_wide()
705 switch (pol) { in compute_PCMPxSTRx_gen_output_wide()
809 UInt pol = (imm8 >> 4) & 3; // imm8[5:4] polarity in compute_PCMPxSTRx() local
840 intRes1, zmaskL, zmaskR, validL, pol, idx, isxSTRM in compute_PCMPxSTRx()
878 intRes1, zmaskL, zmaskR, validL, pol, idx, isxSTRM in compute_PCMPxSTRx()
918 intRes1, zmaskL, zmaskR, validL, pol, idx, isxSTRM in compute_PCMPxSTRx()
[all …]
/external/iptables/extensions/
Dlibxt_policy.c94 struct xt_policy_elem *e = &info->pol[info->len]; in policy_parse()
205 e = &info->pol[i]; in policy_check()
331 print_entry("", &info->pol[i], numeric, NFPROTO_IPV4); in policy4_print()
346 print_entry("", &info->pol[i], numeric, NFPROTO_IPV6); in policy6_print()
357 print_entry("--", &info->pol[i], false, NFPROTO_IPV4); in policy4_save()
370 print_entry("--", &info->pol[i], false, NFPROTO_IPV6); in policy6_save()
Dlibxt_policy.man15 \fB\-\-pol\fP {\fBnone\fP|\fBipsec\fP}
16 Matches if the packet is subject to IPsec processing. \fB\-\-pol none\fP
/external/iptables/include/linux/netfilter/
Dxt_policy.h64 struct xt_policy_elem pol[XT_POLICY_MAX_ELEM]; member
/external/valgrind/main/none/tests/amd64/
Dpcmpstr64w.c132 UInt pol, UInt idx ) in PCMPxSTRx_WRK_gen_output_fmt_I_wide() argument
134 assert((pol >> 2) == 0); in PCMPxSTRx_WRK_gen_output_fmt_I_wide()
138 switch (pol) { in PCMPxSTRx_WRK_gen_output_fmt_I_wide()
221 UInt pol = (imm8 >> 4) & 3; // imm8[5:4] polarity in pcmpXstrX_WRK_wide() local
252 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK_wide()
290 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK_wide()
330 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK_wide()
370 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK_wide()
Dpcmpstr64.c130 UInt pol, UInt idx ) in pcmpXstrX_WRK_gen_output_fmt_I() argument
132 assert((pol >> 2) == 0); in pcmpXstrX_WRK_gen_output_fmt_I()
136 switch (pol) { in pcmpXstrX_WRK_gen_output_fmt_I()
215 UInt pol = (imm8 >> 4) & 3; // imm8[5:4] polarity in pcmpXstrX_WRK() local
247 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK()
286 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK()
327 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK()
368 intRes1, zmaskL, zmaskR, validL, pol, idx in pcmpXstrX_WRK()
/external/libsepol/src/
Dlink.c1972 policydb_t *pol = state->base; in is_decl_requires_met() local
1989 id = pol->sym_val_to_name[i][j]; in is_decl_requires_met()
2013 id = pol->p_class_val_to_name[i]; in is_decl_requires_met()
2014 cladatum = pol->class_val_to_struct[i]; in is_decl_requires_met()
2175 static int enable_avrules(link_state_t * state, policydb_t * pol) in enable_avrules() argument
2188 for (block = pol->global; block != NULL; block = block->next) { in enable_avrules()
2199 for (block = pol->global; block != NULL; block = block->next) { in enable_avrules()
2237 for (block = pol->global->next; block != NULL; block = block->next) { in enable_avrules()
2248 debug_requirements(state, pol); in enable_avrules()
2478 static int populate_roleattributes(link_state_t *state, policydb_t *pol) in populate_roleattributes() argument
[all …]
Dpolicydb.c1430 int symtab_insert(policydb_t * pol, uint32_t sym, in symtab_insert() argument
1444 rc = hashtab_insert(pol->symtab[sym].table, key, datum); in symtab_insert()
1449 *value = ++pol->symtab[sym].nprim; in symtab_insert()
1459 (scope_datum_t *) hashtab_search(pol->scope[sym].table, key); in symtab_insert()
1472 hashtab_insert(pol->scope[sym].table, key2, in symtab_insert()
1491 hashtab_search(pol->symtab[sym].table, in symtab_insert()
Dexpand.c2718 static void discard_tunables(sepol_handle_t *sh, policydb_t *pol) in discard_tunables() argument
2742 for (block = pol->global; block != NULL; block = block->next) { in discard_tunables()
2764 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()
2786 cur_state = cond_evaluate_expr(pol, cur_node->expr); in discard_tunables()
/external/strace/
Dmem.c868 int pol; local
871 else if (syserror(tcp) || umove(tcp, tcp->u_arg[0], &pol) < 0)
874 printxval(policies, pol, "MPOL_???");
/external/iproute2/include/linux/
Dxfrm.h414 struct xfrm_userpolicy_info pol; member
/external/iptables/tests/
Doptions-most.rules13 …ysdev --physdev-in eth0 -m pkttype --pkt-type unicast -m policy --dir in --pol ipsec --strict --re…
36 -A INPUT -p tcp -m policy --dir in --pol ipsec --strict --reqid 1 --spi 0x1 --proto esp --mode tunn…
/external/icu4c/data/region/
Dksf.txt174 PL{"polɔ́n"}
/external/iptables/iptables/
Dip6tables.c475 const char *pol = ip6tc_get_policy(chain, &counters, handle); in print_header() local
477 if (pol) { in print_header()
478 printf(" (policy %s", pol); in print_header()
Diptables.c480 const char *pol = iptc_get_policy(chain, &counters, handle); in print_header() local
482 if (pol) { in print_header()
483 printf(" (policy %s", pol); in print_header()
/external/checkpolicy/
DChangeLog42 * Minor updates to filename trans rule output in dis{mod,pol}
/external/iproute2/ip/
Dxfrm_policy.c448 xpinfo = &xpexp->pol; in xfrm_policy_print()

12