Home
last modified time | relevance | path

Searched refs:bools (Results 1 – 20 of 20) sorted by relevance

/external/selinux/libsepol/tests/
Dtest-linker-cond-map.c57 void test_cond_expr_mapping(policydb_t * p, avrule_decl_t * d, test_cond_expr_t * bools, int len) in test_cond_expr_mapping() argument
70 CU_ASSERT(expr->expr_type == bools[i].expr_type); in test_cond_expr_mapping()
71 if (bools[i].bool) { in test_cond_expr_mapping()
72 CU_ASSERT(strcmp(p->sym_val_to_name[SYM_BOOLS][expr->bool - 1], bools[i].bool) == 0); in test_cond_expr_mapping()
91 test_cond_expr_t bools[2]; in base_cond_tests() local
102 bools[0].bool = "g_b_bool_1"; in base_cond_tests()
103 bools[0].expr_type = COND_BOOL; in base_cond_tests()
104 test_cond_expr_mapping(base, d, bools, 1); in base_cond_tests()
112 bools[0].bool = "o1_b_bool_1"; in base_cond_tests()
113 bools[0].expr_type = COND_BOOL; in base_cond_tests()
[all …]
/external/selinux/policycoreutils/sestatus/
Dsestatus.c189 char **bools; in main() local
343 if (security_get_boolean_names(&bools, &nbool) >= 0) { in main()
347 if (strlen(bools[i]) + 1 > COL) in main()
348 COL = strlen(bools[i]) + 1; in main()
351 printf_tab(bools[i]); in main()
353 rc = security_get_boolean_active(bools[i]); in main()
365 c = security_get_boolean_pending(bools[i]); in main()
382 free(bools[i]); in main()
384 free(bools); in main()
/external/selinux/policycoreutils/sepolicy/sepolicy/
D__init__.py577 bools = None variable
579 global bools
580 if not bools:
581 bools = info(BOOLEAN)
582 return bools
709 global bools
718 bools = None
758 bools = []
773 if (b[0], enabled) not in bools and (b[0], not enabled) not in bools:
774 bools.append((b[0],enabled))
[all …]
Dmanpage.py444 self.bools=[]
453 domainbools, bools = get_bools(t)
454 self.bools += bools
457 self.bools.sort()
553 for b, enabled in self.domainbools + self.bools:
Dgui.py2182 for bools in self.cur_dict["boolean"]:
2183 operation = self.cur_dict["boolean"][bools]["action"]
2186 self.update_treestore.set_value(iter, 1, sepolicy.boolean_desc(bools))
2187 … self.update_treestore.set_value(iter, 2, action[self.cur_dict["boolean"][bools]['active']])
2190 self.update_treestore.set_value(niter, 1, (_("SELinux name: %s"))% bools)
/external/selinux/libselinux/src/
Daudit2why.c63 static int check_booleans(struct boolean_t **bools) in check_booleans() argument
150 *bools = calloc(sizeof(struct boolean_t), fcnt + 1); in check_booleans()
151 struct boolean_t *b = *bools; in check_booleans()
317 struct boolean_t *bools; in analyze() local
388 if (check_booleans(&bools) == 0) { in analyze()
396 struct boolean_t *b = bools; in analyze()
401 b = bools; in analyze()
409 free(bools); in analyze()
/external/clang/test/CodeGenObjC/
Dmisc-atomic-property.m19 } bools; typedef
25 bools x;
29 @property(assign) bools bools_p;
/external/llvm/test/Transforms/GlobalOpt/
Dinteger-bool.ll2 ;; check that global opt turns integers that only hold 0 or 1 into bools.
/external/protobuf/src/google/protobuf/
Dunittest_repeated_packables_nano.proto64 repeated bool bools = 13; field
89 repeated bool bools = 13 [ packed = true ]; field
/external/selinux/policycoreutils/sepolicy/
Dsepolicy.py406 bools = parser.add_parser("booleans",
408 group = bools.add_mutually_exclusive_group(required=True)
415 bools.set_defaults(func=booleans)
/external/clang/test/SemaCXX/
Dlambda-expressions.cpp158 template<typename...Ts> bool g(Fst<bool, Ts> ...bools);
/external/llvm/test/Transforms/BBVectorize/
Dsimple-sel.ll3 ; RUN: opt < %s -bb-vectorize -bb-vectorize-req-chain-depth=3 -bb-vectorize-no-bools -bb-vectorize-…
/external/protobuf/java/src/test/java/com/google/protobuf/
DNanoTest.java2820 boolean[] bools = {true, false}; in testExtensions()
2867 message.setExtension(RepeatedExtensions.repeatedBool, bools); in testExtensions()
2907 assertEquals(bools[1], (boolean) message.getExtension(SingularExtensions.someBool)); in testExtensions()
2931 assertTrue(Arrays.equals(bools, message.getExtension(RepeatedExtensions.repeatedBool))); in testExtensions()
2983 assertTrue(Arrays.equals(bools, message.getExtension(PackedExtensions.packedBool))); in testExtensions()
2999 message.setExtension(PackedExtensions.packedBool, bools); in testExtensions()
3017 assertTrue(Arrays.equals(bools, message.getExtension(RepeatedExtensions.repeatedBool))); in testExtensions()
3070 boolean[] bools = {true, false}; in testExtensionsMutation_Equals()
3098 extendableMessage.setExtension(RepeatedExtensions.repeatedBool, bools); in testExtensionsMutation_Equals()
3779 nonPacked.bools = new boolean[] {false, true}; in testRepeatedPackables()
[all …]
/external/selinux/libsepol/src/
Dconditional.c61 static int bool_present(unsigned int target, unsigned int bools[], in bool_present() argument
70 while (i < num_bools && target != bools[i]) in bool_present()
/external/selinux/libsemanage/src/
Ddirect_api.c1060 dbase_config_t *bools = semanage_bool_dbase_local(sh); in semanage_direct_commit() local
1134 bools_modified = bools->dtable->is_modified(bools->dbase); in semanage_direct_commit()
/external/llvm/test/CodeGen/X86/
Dfast-isel-x86-64.ll163 ; rdar://9297003 - fast isel bails out on all functions taking bools
/external/jsoncpp/src/test_lib_json/
Dmain.cpp315 JSONTEST_FIXTURE( ValueTest, bools ) in JSONTEST_FIXTURE() argument
1411 JSONTEST_REGISTER_FIXTURE( runner, ValueTest, bools ); in main()
/external/skia/site/dev/design/
Dpdftheory.md130 * **bools**: `true` `false`
/external/chromium-trace/trace-viewer/tracing/third_party/css-element-queries/test/
Dmootools-core-full-nocompat.js3165 var bools = [
3173 Array.forEach(bools, function(bool){
/external/bison/
DChangeLog-20127964 * src/reader.c (before_definitions, after_definitions): New bools to