Home
last modified time | relevance | path

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

12

/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/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DBooleanArr.java21 private boolean[] bools; field in BooleanArr
26 public BooleanArr(boolean[] bools) { in BooleanArr() argument
27 this.bools = bools; in BooleanArr()
31 return Arrays.toString(bools); in toString()
35 return bools; in getBools()
38 public void setBools(boolean[] bools) { in setBools() argument
39 this.bools = bools; in setBools()
DPrimitiveArrayTest.java39 private final boolean[] bools = new boolean[] { true, false }; field in PrimitiveArrayTest
49 + Arrays.toString(bools) + " ]\n"; in testValidConstructor()
61 assertArrayEquals(bools, ((BooleanArr) wrappers.get(7)).getBools()); in testValidConstructor()
180 BooleanArr boolArr = new BooleanArr(bools); in testCycle()
/external/selinux/policycoreutils/sestatus/
Dsestatus.c189 char **bools; in main() local
357 if (security_get_boolean_names(&bools, &nbool) >= 0) { in main()
361 if (strlen(bools[i]) + 1 > COL) in main()
362 COL = strlen(bools[i]) + 1; in main()
365 printf_tab(bools[i]); in main()
367 rc = security_get_boolean_active(bools[i]); in main()
379 c = security_get_boolean_pending(bools[i]); in main()
396 free(bools[i]); in main()
398 free(bools); in main()
/external/selinux/libselinux/src/
Daudit2why.c64 static int check_booleans(struct boolean_t **bools) in check_booleans() argument
151 *bools = calloc(sizeof(struct boolean_t), fcnt + 1); in check_booleans()
152 struct boolean_t *b = *bools; in check_booleans()
318 struct boolean_t *bools; in analyze() local
389 if (check_booleans(&bools) == 0) { in analyze()
397 struct boolean_t *b = bools; in analyze()
402 b = bools; in analyze()
410 free(bools); in analyze()
/external/clang/test/CodeGenObjC/
Dmisc-atomic-property.m19 } bools; typedef
25 bools x;
29 @property(assign) bools bools_p;
/external/selinux/python/sepolicy/sepolicy/
D__init__.py112 bools = None variable
132 global bools
141 bools = None
886 global bools
887 if not bools:
888 bools = list(info(BOOLEAN))
889 return bools
1023 bools = []
1038 if (b[0], enabled) not in bools and (b[0], not enabled) not in bools:
1039 bools.append((b[0], enabled))
[all …]
Dmanpage.py467 self.bools = []
476 domainbools, bools = sepolicy.get_bools(t)
477 self.bools += bools
480 self.bools.sort()
615 for b, enabled in self.domainbools + self.bools:
/external/swiftshader/third_party/LLVM/test/Transforms/GlobalOpt/
Dinteger-bool.ll4 ;; check that global opt turns integers that only hold 0 or 1 into bools.
/external/llvm/test/Transforms/GlobalOpt/
Dinteger-bool.ll2 ;; check that global opt turns integers that only hold 0 or 1 into bools.
/external/v8/tools/
Dgen-inlining-tests.py530 flagtuple(*bools)
531 for bools in booltuples(len(flagtuple._fields))
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dunittest_repeated_packables_nano.proto64 repeated bool bools = 13; field
89 repeated bool bools = 13 [ packed = true ]; field
DNanoTest.java2847 boolean[] bools = {true, false}; in testExtensions()
2894 message.setExtension(RepeatedExtensions.repeatedBool, bools); in testExtensions()
2934 assertEquals(bools[1], (boolean) message.getExtension(SingularExtensions.someBool)); in testExtensions()
2958 assertTrue(Arrays.equals(bools, message.getExtension(RepeatedExtensions.repeatedBool))); in testExtensions()
3010 assertTrue(Arrays.equals(bools, message.getExtension(PackedExtensions.packedBool))); in testExtensions()
3026 message.setExtension(PackedExtensions.packedBool, bools); in testExtensions()
3044 assertTrue(Arrays.equals(bools, message.getExtension(RepeatedExtensions.repeatedBool))); in testExtensions()
3097 boolean[] bools = {true, false}; in testExtensionsMutation_Equals()
3125 extendableMessage.setExtension(RepeatedExtensions.repeatedBool, bools); in testExtensionsMutation_Equals()
4061 nonPacked.bools = new boolean[] {false, true}; in testRepeatedPackables()
[all …]
/external/libmojo/mojo/public/interfaces/bindings/tests/
Dtest_wtf_types.mojom13 array<bool> bools;
/external/selinux/python/sepolicy/
Dsepolicy.py452 bools = parser.add_parser("booleans",
454 group = bools.add_mutually_exclusive_group(required=True)
461 bools.set_defaults(func=booleans)
/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/clang/test/SemaCXX/
Dlambda-expressions.cpp158 template<typename...Ts> bool g(Fst<bool, Ts> ...bools);
/external/python/cpython2/Parser/
DPython.asdl74 -- other literals? bools?
/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/webrtc/talk/app/webrtc/
Dstatscollector.cc613 const BoolForAdd bools[] = { in AddConnectionInfoReport() local
618 for (const auto& b : bools) in AddConnectionInfoReport()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dfast-isel-x86-64.ll162 ; rdar://9297003 - fast isel bails out on all functions taking bools
/external/protobuf/objectivec/
DREADME.md114 For primitive type fields (ints, floats, bools, enum) in messages defined in a
/external/llvm/test/CodeGen/X86/
Dfast-isel-x86-64.ll163 ; rdar://9297003 - fast isel bails out on all functions taking bools
/external/selinux/libsemanage/src/
Ddirect_api.c1154 dbase_config_t *bools = semanage_bool_dbase_local(sh); in semanage_direct_commit() local
1289 bools->dtable->is_modified(bools->dbase) | in semanage_direct_commit()
/external/llvm/test/Transforms/InstCombine/
Dlogical-select.ll290 define i1 @bools(i1 %a, i1 %b, i1 %c) {
291 ; CHECK-LABEL: @bools(

12