Home
last modified time | relevance | path

Searched refs:bools (Results 1 – 25 of 44) 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/strace/tests/
Ds390_pci_mmio_read_write.c88 bool bools[] = { true, false }; in main() local
127 for (l = 0; l < ARRAY_SIZE(bools); l++) { in main()
133 if (bufs[j].size && bools[l]) in main()
138 do_call(bools[l], addrs[i], bufs[j].buf, in main()
/external/strace/tests-m32/
Ds390_pci_mmio_read_write.c88 bool bools[] = { true, false }; in main() local
127 for (l = 0; l < ARRAY_SIZE(bools); l++) { in main()
133 if (bufs[j].size && bools[l]) in main()
138 do_call(bools[l], addrs[i], bufs[j].buf, in main()
/external/strace/tests-mx32/
Ds390_pci_mmio_read_write.c88 bool bools[] = { true, false }; in main() local
127 for (l = 0; l < ARRAY_SIZE(bools); l++) { in main()
133 if (bufs[j].size && bools[l]) in main()
138 do_call(bools[l], addrs[i], bufs[j].buf, 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/selinux/python/sepolicy/sepolicy/
D__init__.py114 bools = None variable
136 global bools
145 bools = None
927 global bools
928 if not bools:
929 bools = list(info(BOOLEAN))
930 return bools
1075 bools = []
1090 if (b[0], enabled) not in bools and (b[0], not enabled) not in bools:
1091 bools.append((b[0], enabled))
[all …]
Dmanpage.py468 self.bools = []
477 domainbools, bools = sepolicy.get_bools(t)
478 self.bools += bools
481 self.bools.sort()
616 for b, enabled in self.domainbools + self.bools:
/external/clang/test/CodeGenObjC/
Dmisc-atomic-property.m19 } bools; typedef
25 bools x;
29 @property(assign) bools bools_p;
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DTensorTest.java45 boolean[] bools = {true, false, true, false}; in createWithByteBuffer()
47 byte[] bools_ = TestUtil.bool2byte(bools); in createWithByteBuffer()
61 for (int i = 0; i < bools.length; ++i) { in createWithByteBuffer()
62 assertEquals("" + i, bools[i], actual[i]); in createWithByteBuffer()
170 boolean[] bools = {true, false, true}; in writeTo()
176 Tensor<Boolean> tbools = Tensors.create(bools)) { in writeTo()
206 assertEquals(bools[0], bbuf.get(0) != 0); in writeTo()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_tensor_op_test.py108 bools = [True, True, True, False, False, False]
110 const = constant_op.constant(bools)
116 self._AssertNumpyEq(n, bools)
/external/golang-protobuf/proto/
Ddecode.go597 if len(o.bools) == 0 {
598 o.bools = make([]bool, boolPoolSize)
600 o.bools[0] = u != 0
601 *structPointer_Bool(base, p.field) = &o.bools[0]
602 o.bools = o.bools[1:]
/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
/external/v8/tools/
Dgen-inlining-tests.py530 flagtuple(*bools)
531 for bools in booltuples(len(flagtuple._fields))
/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/libmojo/mojo/public/interfaces/bindings/tests/
Dtest_wtf_types.mojom13 array<bool> bools;
/external/selinux/python/sepolicy/
Dsepolicy.py446 bools = parser.add_parser("booleans",
448 group = bools.add_mutually_exclusive_group(required=True)
455 bools.set_defaults(func=booleans)
/external/tensorflow/tensorflow/tools/compatibility/
DREADME.md47 a tensor of bools. If the script detects this, it will report this to stdout
/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/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/python/cpython2/Parser/
DPython.asdl74 -- other literals? bools?

12