Home
last modified time | relevance | path

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

123

/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/catch2/projects/SelfTest/UsageTests/
DToStringVector.tests.cpp72 std::vector<bool> bools; variable
73 REQUIRE( ::Catch::Detail::stringify(bools) == "{ }");
74 bools.push_back(true);
75 REQUIRE( ::Catch::Detail::stringify(bools) == "{ true }");
76 bools.push_back(false);
77 REQUIRE( ::Catch::Detail::stringify(bools) == "{ true, false }");
/external/selinux/policycoreutils/sestatus/
Dsestatus.c196 char **bools; in main() local
364 if (security_get_boolean_names(&bools, &nbool) >= 0) { in main()
368 if (strlen(bools[i]) + 1 > COL) in main()
369 COL = strlen(bools[i]) + 1; in main()
372 printf_tab(bools[i]); in main()
374 rc = security_get_boolean_active(bools[i]); in main()
386 c = security_get_boolean_pending(bools[i]); in main()
403 free(bools[i]); in main()
405 free(bools); in main()
/external/strace/tests/
Ds390_pci_mmio_read_write.c87 bool bools[] = { true, false }; in main() local
126 for (l = 0; l < ARRAY_SIZE(bools); l++) { in main()
132 if (bufs[j].size && bools[l]) in main()
137 do_call(bools[l], addrs[i], bufs[j].buf, in main()
/external/strace/tests-m32/
Ds390_pci_mmio_read_write.c87 bool bools[] = { true, false }; in main() local
126 for (l = 0; l < ARRAY_SIZE(bools); l++) { in main()
132 if (bufs[j].size && bools[l]) in main()
137 do_call(bools[l], addrs[i], bufs[j].buf, in main()
/external/strace/tests-mx32/
Ds390_pci_mmio_read_write.c87 bool bools[] = { true, false }; in main() local
126 for (l = 0; l < ARRAY_SIZE(bools); l++) { in main()
132 if (bufs[j].size && bools[l]) in main()
137 do_call(bools[l], addrs[i], bufs[j].buf, in main()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DCompressionTest.java149 boolean[] bools = new boolean[]{false, true}; in params()
151 for (boolean enableClientMessageCompression : bools) { in params()
152 for (boolean clientAcceptEncoding : bools) { in params()
153 for (boolean clientEncoding : bools) { in params()
154 for (boolean enableServerMessageCompression : bools) { in params()
155 for (boolean serverAcceptEncoding : bools) { in params()
156 for (boolean serverEncoding : bools) { in params()
/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
152 global bools
161 bools = None
974 global bools
975 if not bools:
976 bools = list(info(BOOLEAN))
977 return bools
1124 bools = []
1139 if (b[0], enabled) not in bools and (b[0], not enabled) not in bools:
1140 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/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DTensorTest.java46 boolean[] bools = {true, false, true, false}; in createWithByteBuffer()
48 byte[] bools_ = TestUtil.bool2byte(bools); in createWithByteBuffer()
62 for (int i = 0; i < bools.length; ++i) { in createWithByteBuffer()
63 assertEquals("" + i, bools[i], actual[i]); in createWithByteBuffer()
171 boolean[] bools = {true, false, true}; in writeTo()
177 Tensor<Boolean> tbools = Tensors.create(bools)) { in writeTo()
207 assertEquals(bools[0], bbuf.get(0) != 0); in writeTo()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_v1_tensor_op_test.py108 bools = [True, True, True, False, False, False]
110 const = constant_op.constant(bools)
116 self._AssertNumpyEq(n, bools)
/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
Dinteger-bool.ll2 ;; 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/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_wtf_types.mojom13 array<bool> bools;
/external/deqp-deps/glslang/Test/
Dhlsl.promotions.frag95 // No mul operator for bools
118 // No mul operator for bools
/external/libchrome/base/android/
Djni_array.cc49 const bool* bools, in ToJavaBooleanArray() argument
56 reinterpret_cast<const jboolean*>(bools)); in ToJavaBooleanArray()
Djni_array.h31 ToJavaBooleanArray(JNIEnv* env, const bool* bools, size_t len);
/external/selinux/python/sepolicy/
Dsepolicy.py437 bools = parser.add_parser("booleans",
439 group = bools.add_mutually_exclusive_group(required=True)
446 bools.set_defaults(func=booleans)

123