/external/toybox/toys/other/ |
chrt.c | 45 int pol, pri; local 49 for (pol = 0; pol<ARRAY_LEN(polnames); pol++) if (polnames[pol]) 50 printf("%s min/max priority\t: %d/%d\n", polnames[pol], 51 sched_get_priority_min(pol), sched_get_priority_max(pol)); 60 if (-1==(pol = sched_getscheduler(TT.pid))) perror_exit("pid %ld", TT.pid); 61 if (pol & SCHED_RESET_ON_FORK) R = "|SCHED_RESET_ON_FORK" [all...] |
/external/strace/ |
numa.c | 106 int pol; local 107 if (!umove_or_printaddr(tcp, tcp->u_arg[0], &pol)) { 109 printxval(policies, pol, "MPOL_???");
|
/system/sepolicy/tests/ |
searchpolicy.py | 38 pol = policy.Policy(args.policy, None, args.libpath) variable 57 TERules = pol.QueryTERule(scontext=scontext,
|
sepolicy_tests.py | 11 def TestDataTypeViolations(pol): 12 return pol.AssertPathTypesHaveAttr(["/data/"], [], "data_file_type") 14 def TestProcTypeViolations(pol): 15 return pol.AssertGenfsFilesystemTypesHaveAttr("proc", "proc_type") 17 def TestSysfsTypeViolations(pol): 18 ret = pol.AssertGenfsFilesystemTypesHaveAttr("sysfs", "sysfs_type") 19 ret += pol.AssertPathTypesHaveAttr(["/sys/"], ["/sys/kernel/debug/", 23 def TestDebugfsTypeViolations(pol): 24 ret = pol.AssertGenfsFilesystemTypesHaveAttr("debugfs", "debugfs_type") 25 ret += pol.AssertGenfsFilesystemTypesHaveAttr("tracefs", "debugfs_type" 96 pol = policy.Policy(options.policy, options.file_contexts, options.libpath) variable [all...] |
treble_sepolicy_tests.py | 74 pol = None variable 84 def GetAllDomains(pol): 86 for result in pol.QueryTypeAttribute("domain", True): 135 def GetDomainEntrypoints(pol): 137 for x in pol.QueryExpandedTERule(tclass=set(["file"]), perms=set(["entrypoint"])): 147 entrypointpath = pol.QueryFc(x.tctx) 154 def GetAttributes(pol): 157 for result in pol.QueryTypeAttribute(domain, False): 160 def GetAllTypes(pol, oldpol): 163 alltypes = pol.GetAllTypes(False 373 pol = policy.Policy(options.policy, options.file_contexts, options.libpath) variable [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
stress.c | 107 int pol; local 113 ret = pthread_getschedparam(td[i].thread, &pol, &sp); 119 if (pol != td[i].policy) {
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_policy.h | 59 struct xt_policy_elem pol[XT_POLICY_MAX_ELEM]; member in struct:xt_policy_info
|
/external/iptables/include/linux/netfilter/ |
xt_policy.h | 53 struct xt_policy_elem pol[XT_POLICY_MAX_ELEM]; member in struct:xt_policy_info
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_policy.h | 67 struct xt_policy_elem pol[XT_POLICY_MAX_ELEM]; member in struct:xt_policy_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_policy.h | 53 struct xt_policy_elem pol[XT_POLICY_MAX_ELEM]; member in struct:xt_policy_info
|
/art/compiler/optimizing/ |
induction_var_analysis_test.cc | 440 HInstruction* pol = InsertInstruction( local 442 k_header->AddInput(pol); 449 EXPECT_STREQ("", GetInductionInfo(pol, 0).c_str()); 477 HInstruction* pol = InsertInstruction( local 479 k_header->AddInput(pol); 495 EXPECT_STREQ("", GetInductionInfo(pol, 0).c_str()); [all...] |
/external/valgrind/VEX/priv/ |
guest_generic_x87.c | 630 UInt pol, UInt idx, 633 vassert((pol >> 2) == 0); 637 switch (pol) { 638 case 0: intRes2 = intRes1; break; // pol + 639 case 1: intRes2 = ~intRes1; break; // pol - 640 case 2: intRes2 = intRes1; break; // pol m+ 641 case 3: intRes2 = intRes1 ^ validL; break; // pol m- 698 UInt pol, UInt idx, 701 vassert((pol >> 2) == 0); 705 switch (pol) { 815 UInt pol = (imm8 >> 4) & 3; \/\/ imm8[5:4] polarity local 1066 UInt pol = (imm8 >> 4) & 3; \/\/ imm8[5:4] polarity local [all...] |
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
commands.c | 265 char *pol; local 267 pol = args; 271 size_t plen = args - pol; 273 if (strncmp(pol, polp->pol_name, plen)) 281 gcp->program_name, pol);
|
/external/valgrind/none/tests/amd64/ |
pcmpstr64w.c | 132 UInt pol, UInt idx ) 134 assert((pol >> 2) == 0); 138 switch (pol) { 139 case 0: intRes2 = intRes1; break; // pol + 140 case 1: intRes2 = ~intRes1; break; // pol - 141 case 2: intRes2 = intRes1; break; // pol m+ 142 case 3: intRes2 = intRes1 ^ validL; break; // pol m- 222 UInt pol = (imm8 >> 4) & 3; // imm8[5:4] polarity local 253 intRes1, zmaskL, zmaskR, validL, pol, idx 291 intRes1, zmaskL, zmaskR, validL, pol, id [all...] |
pcmpstr64.c | 131 UInt pol, UInt idx ) 133 assert((pol >> 2) == 0); 137 switch (pol) { 138 case 0: intRes2 = intRes1; break; // pol + 139 case 1: intRes2 = ~intRes1; break; // pol - 140 case 2: intRes2 = intRes1; break; // pol m+ 141 case 3: intRes2 = intRes1 ^ validL; break; // pol m- 223 UInt pol = (imm8 >> 4) & 3; // imm8[5:4] polarity local 255 intRes1, zmaskL, zmaskR, validL, pol, idx 294 intRes1, zmaskL, zmaskR, validL, pol, id [all...] |
/external/iptables/iptables/ |
ip6tables.c | 470 const char *pol = ip6tc_get_policy(chain, &counters, handle); local 472 if (pol) { 473 printf(" (policy %s", pol); [all...] |
iptables.c | 454 const char *pol = iptc_get_policy(chain, &counters, handle); local 456 if (pol) { 457 printf(" (policy %s", pol); [all...] |
nft.c | 1226 uint32_t pol = NF_ACCEPT; local 1230 pol = nftnl_chain_get_u32(c, NFTNL_CHAIN_POLICY); 1232 printf(":%s %s [%"PRIu64":%"PRIu64"]\n", chain, policy_name[pol], [all...] |
/system/sepolicy/tools/ |
check_seapp.c | 170 static policy_info pol = { variable 392 if (!pol.policy_file) { 396 if(!check_type(pol.db, value)) { 410 if (!pol.policy_file) { 414 int ret = sepol_mls_check(pol.handle, pol.db, value); 884 if (pol.policy_file_name) { 885 log_info("Opening policy file: %s\n", pol.policy_file_name); 886 pol.policy_file = fopen(pol.policy_file_name, "rb") [all...] |
/external/scapy/scapy/layers/ |
inet6.py | 757 pol = {0x00: "00: skip", variable in class:_OTypeField 767 polstr = self.pol[(x & 0xC0)] [all...] |
/external/selinux/libsepol/src/ |
link.c | 2004 policydb_t *pol = state->base; local [all...] |
/bionic/libc/kernel/uapi/linux/ |
xfrm.h | 380 struct xfrm_userpolicy_info pol; member in struct:xfrm_user_polexpire
|
/external/iproute2/include/uapi/linux/ |
xfrm.h | 448 struct xfrm_userpolicy_info pol; member in struct:xfrm_user_polexpire
|
/external/kernel-headers/original/uapi/linux/ |
xfrm.h | 448 struct xfrm_userpolicy_info pol; member in struct:xfrm_user_polexpire
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
xfrm.h | 428 struct xfrm_userpolicy_info pol; member in struct:xfrm_user_polexpire
|