HomeSort by relevance Sort by last modified time
    Searched refs:bools (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
BooleanArr.java 21 private boolean[] bools; field in class:BooleanArr
26 public BooleanArr(boolean[] bools) {
27 this.bools = bools;
31 return Arrays.toString(bools);
35 return bools;
38 public void setBools(boolean[] bools) {
39 this.bools = bools;
PrimitiveArrayTest.java 39 private final boolean[] bools = new boolean[] { true, false }; field in class:PrimitiveArrayTest
49 + Arrays.toString(bools) + " ]\n";
61 assertArrayEquals(bools, ((BooleanArr) wrappers.get(7)).getBools());
180 BooleanArr boolArr = new BooleanArr(bools);
  /external/selinux/libsepol/tests/
test-linker-cond-map.c 57 void test_cond_expr_mapping(policydb_t * p, avrule_decl_t * d, test_cond_expr_t * bools, int len)
70 CU_ASSERT(expr->expr_type == bools[i].expr_type);
71 if (bools[i].bool) {
72 CU_ASSERT(strcmp(p->sym_val_to_name[SYM_BOOLS][expr->bool - 1], bools[i].bool) == 0);
91 test_cond_expr_t bools[2]; local
102 bools[0].bool = "g_b_bool_1";
103 bools[0].expr_type = COND_BOOL;
104 test_cond_expr_mapping(base, d, bools, 1);
112 bools[0].bool = "o1_b_bool_1";
113 bools[0].expr_type = COND_BOOL
122 test_cond_expr_t bools[3]; local
    [all...]
  /art/test/407-arrays/src/
Main.java 32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts,
35 assertEquals(false, bools[0]);
36 assertEquals(false, bools[index]);
63 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts,
66 bools[0] = true;
67 assertEquals(true, bools[0]);
68 bools[index] = true;
69 assertEquals(true, bools[index]);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
LedConfiguration.java 31 boolean[] bools = new boolean[2];
32 source.readBooleanArray(bools);
33 LedConfiguration config = new LedConfiguration(color0, color1, bools[0]);
34 config.isTransient = bools[1];
  /external/strace/tests/
s390_pci_mmio_read_write.c 88 bool bools[] = { true, false }; local
127 for (l = 0; l < ARRAY_SIZE(bools); l++) {
133 if (bufs[j].size && bools[l])
138 do_call(bools[l], addrs[i], bufs[j].buf,
  /external/strace/tests-m32/
s390_pci_mmio_read_write.c 88 bool bools[] = { true, false }; local
127 for (l = 0; l < ARRAY_SIZE(bools); l++) {
133 if (bufs[j].size && bools[l])
138 do_call(bools[l], addrs[i], bufs[j].buf,
  /external/strace/tests-mx32/
s390_pci_mmio_read_write.c 88 bool bools[] = { true, false }; local
127 for (l = 0; l < ARRAY_SIZE(bools); l++) {
133 if (bufs[j].size && bools[l])
138 do_call(bools[l], addrs[i], bufs[j].buf,
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
TestResources.java 40 public SparseBooleanArray bools; field in class:TestResources
51 res.bools = new SparseBooleanArray();
75 bools.put(R.bool.show_documents_root, enabled);
80 return bools.get(id);
  /external/selinux/policycoreutils/sestatus/
sestatus.c 189 char **bools; local
357 if (security_get_boolean_names(&bools, &nbool) >= 0) {
361 if (strlen(bools[i]) + 1 > COL)
362 COL = strlen(bools[i]) + 1;
365 printf_tab(bools[i]);
367 rc = security_get_boolean_active(bools[i]);
379 c = security_get_boolean_pending(bools[i]);
396 free(bools[i]);
398 free(bools);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
boolcond.py 161 bools = set()
167 bools.add(boolean_factory(self.policy, expr_node.get_boolean(self.policy)))
169 return bools
181 bools = sorted(self.booleans)
183 if sorted(kwargs.keys()) != bools:
229 bools = sorted(str(b) for b in self.booleans)
234 truth_list = list(product([True, False], repeat=len(bools)))
237 values = {bools[i]: row[i] for i in range(len(bools))}
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/
bool.py 44 (SymbolWrapper(b) for b in self.left_policy.bools()),
45 (SymbolWrapper(b) for b in self.right_policy.bools()))
  /frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
BatteryMeterDrawableBaseTest.java 58 final boolean bools[] = { false, true };
60 for (boolean charging : bools) {
61 for (boolean saver : bools) {
62 for (boolean percent : bools) {
  /external/selinux/libselinux/src/
audit2why.c 64 static int check_booleans(struct boolean_t **bools)
151 *bools = calloc(sizeof(struct boolean_t), fcnt + 1);
152 struct boolean_t *b = *bools;
318 struct boolean_t *bools; local
389 if (check_booleans(&bools) == 0) {
397 struct boolean_t *b = bools;
402 b = bools;
410 free(bools);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
boolquery.py 64 for boolean in self.policy.bools():
  /art/tools/ahat/src/main/com/android/ahat/heapdump/
AhatArrayInstance.java 50 void initialize(final boolean[] bools) {
53 return bools.length;
57 return Value.pack(bools[index]);
  /external/tensorflow/tensorflow/python/kernel_tests/
summary_tensor_op_test.py 108 bools = [True, True, True, False, False, False]
110 const = constant_op.constant(bools)
116 self._AssertNumpyEq(n, bools)
  /external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
TensorTest.java 45 boolean[] bools = {true, false, true, false};
47 byte[] bools_ = TestUtil.bool2byte(bools);
61 for (int i = 0; i < bools.length; ++i) {
62 assertEquals("" + i, bools[i], actual[i]);
170 boolean[] bools = {true, false, true};
176 Tensor<Boolean> tbools = Tensors.create(bools)) {
206 assertEquals(bools[0], bbuf.get(0) != 0);
  /external/selinux/python/sepolicy/sepolicy/
__init__.py 114 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
    [all...]
manpage.py 468 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:
    [all...]
  /external/skia/tools/lua/
glyph-usage.lua 70 -- array is an array of bools (true), using glyphID as the index
78 -- take a table of bools, indexed by values, and return a sorted table of values
  /external/skqp/tools/lua/
glyph-usage.lua 70 -- array is an array of bools (true), using glyphID as the index
78 -- take a table of bools, indexed by values, and return a sorted table of values
  /prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/
cli.go 165 bools: make(map[string]*bool),
174 f.bools[n] = flag.Bool(n, false, v.help)
176 f.bools[n] = flag.Bool(n, v.boolValue(), v.help)
194 for n, v := range f.bools {
218 bools map[string]*bool
  /prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/
cli.go 165 bools: make(map[string]*bool),
174 f.bools[n] = flag.Bool(n, false, v.help)
176 f.bools[n] = flag.Bool(n, v.boolValue(), v.help)
194 for n, v := range f.bools {
218 bools map[string]*bool
  /external/v8/tools/
gen-inlining-tests.py 530 flagtuple(*bools)
531 for bools in booltuples(len(flagtuple._fields))

Completed in 1762 milliseconds

1 2 3