/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
H A D | BooleanArr.java | 21 private boolean[] bools; field in class:BooleanArr 26 public BooleanArr(boolean[] bools) { argument 27 this.bools = bools; 31 return Arrays.toString(bools); 35 return bools; 38 public void setBools(boolean[] bools) { argument 39 this.bools = bools;
|
H A D | 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/ |
H A D | 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) argument 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[ 122 test_cond_expr_t bools[3]; local [all...] |
/external/selinux/policycoreutils/sestatus/ |
H A D | sestatus.c | 189 char **bools; local 343 if (security_get_boolean_names(&bools, &nbool) >= 0) { 347 if (strlen(bools[i]) + 1 > COL) 348 COL = strlen(bools[i]) + 1; 351 printf_tab(bools[i]); 353 rc = security_get_boolean_active(bools[i]); 365 c = security_get_boolean_pending(bools[i]); 382 free(bools[i]); 384 free(bools);
|
/external/selinux/libselinux/src/ |
H A D | audit2why.c | 63 static int check_booleans(struct boolean_t **bools) argument 150 *bools = calloc(sizeof(struct boolean_t), fcnt + 1); 151 struct boolean_t *b = *bools; 317 struct boolean_t *bools; local 388 if (check_booleans(&bools) == 0) { 396 struct boolean_t *b = bools; 401 b = bools; 409 free(bools);
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
H A D | __init__.py | 636 bools = None variable 640 global bools 641 if not bools: 642 bools = info(BOOLEAN) 643 return bools 776 global bools 785 bools = None 828 bools = [] 843 if (b[0], enabled) not in bools and (b[0], not enabled) not in bools [all...] |
H A D | manpage.py | 463 self.bools = [] 472 domainbools, bools = get_bools(t) 473 self.bools += bools 476 self.bools.sort() 571 for b, enabled in self.domainbools + self.bools:
|
H A D | gui.py | 2187 for bools in self.cur_dict["boolean"]: 2188 operation = self.cur_dict["boolean"][bools]["action"] 2191 self.update_treestore.set_value(iter, 1, sepolicy.boolean_desc(bools)) 2192 self.update_treestore.set_value(iter, 2, action[self.cur_dict["boolean"][bools]['active']]) 2195 self.update_treestore.set_value(niter, 1, (_("SELinux name: %s")) % bools)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/echo/ |
H A D | services.py | 78 bools = messages.BooleanField(12, repeated=True); variable in class:EchoData
|
/external/skia/tools/lua/ |
H A D | 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/clang/test/SemaCXX/ |
H A D | lambda-expressions.cpp | 158 template<typename...Ts> bool g(Fst<bool, Ts> ...bools);
|
/external/selinux/policycoreutils/sepolicy/ |
H A D | sepolicy.py | 447 bools = parser.add_parser("booleans", 449 group = bools.add_mutually_exclusive_group(required=True) 456 bools.set_defaults(func=booleans)
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
H A D | NanoTest.java | 2823 boolean[] bools = {true, false}; 2870 message.setExtension(RepeatedExtensions.repeatedBool, bools); 2910 assertEquals(bools[1], (boolean) message.getExtension(SingularExtensions.someBool)); 2934 assertTrue(Arrays.equals(bools, message.getExtension(RepeatedExtensions.repeatedBool))); 2986 assertTrue(Arrays.equals(bools, message.getExtension(PackedExtensions.packedBool))); 3002 message.setExtension(PackedExtensions.packedBool, bools); 3020 assertTrue(Arrays.equals(bools, message.getExtension(RepeatedExtensions.repeatedBool))); 3073 boolean[] bools = {true, false}; 3101 extendableMessage.setExtension(RepeatedExtensions.repeatedBool, bools); 3782 nonPacked.bools [all...] |
/external/selinux/libsepol/src/ |
H A D | conditional.c | 61 static int bool_present(unsigned int target, unsigned int bools[], argument 70 while (i < num_bools && target != bools[i]) 83 /* same number of bools? */ 87 /* make sure all the bools in a are also in b */ 342 * number of bools. 372 ("Found expr with no bools and only a ! - this should never happen.\n"); 387 /* find all the bools in the expression */ 408 /* save the default values for the bools so we can play with them */ 414 /* loop through all possible combinations of values for bools in expression */ 416 /* temporarily set the value for all the bools i [all...] |
/external/webrtc/talk/app/webrtc/ |
H A D | statscollector.cc | 613 const BoolForAdd bools[] = { local 618 for (const auto& b : bools)
|
/external/dbus/dbus/ |
H A D | dbus-message.c | 2734 const dbus_bool_t * const *bools = value; local 2739 _dbus_return_val_if_fail ((*bools)[i] == 0 || (*bools)[i] == 1, FALSE);
|
/external/selinux/libsemanage/src/ |
H A D | direct_api.c | 1087 dbase_config_t *bools = semanage_bool_dbase_local(sh); local 1161 bools_modified = bools->dtable->is_modified(bools->dbase);
|
/external/jsoncpp/src/test_lib_json/ |
H A D | main.cpp | 299 JSONTEST_FIXTURE(ValueTest, bools) { 1612 JSONTEST_REGISTER_FIXTURE(runner, ValueTest, bools);
|