Home
last modified time | relevance | path

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

1234

/third_party/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 …]
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
Dmore_defaults_generated.swift37 case bools = 14
54 …public var boolsCount: Int32 { let o = _accessor.offset(VTOFFSET.bools.v); return o == 0 ? 0 : _ac…
55 …public func bools(at index: Int32) -> Bool { let o = _accessor.offset(VTOFFSET.bools.v); return o … in bools() function
56 public var bools: [Bool] { return _accessor.getVector(at: VTOFFSET.bools.v) ?? [] } variable
63 …public static func addVectorOf(bools: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: bo… in addVectorOf()
72 boolsVectorOffset bools: Offset = Offset()
80 MoreDefaults.addVectorOf(bools: bools, &fbb)
111 let __bools = builder.createVector(obj.bools) in pack()
118 MoreDefaults.addVectorOf(bools: __bools, &builder) in pack()
130 public var bools: [Bool] variable
[all …]
DFlatbuffersMoreDefaults.swift32 XCTAssertEqual(defaults.bools, []) in testFlatbuffersObject()
47 XCTAssertEqual(defaults.bools, []) in testFlatbuffersObjectAPI()
/third_party/flatbuffers/tests/
Dmore_defaults_generated.rs127 if let Some(x) = args.bools { builder.add_bools(x); } in create()
157 let bools = { in unpack() localVariable
158 let x = self.bools(); in unpack()
167 bools, in unpack()
198 pub fn bools(&self) -> &'a [bool] { in bools() method
226 pub bools: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, bool>>>, field
237 bools: None, in default()
267 pub fn add_bools(&mut self, bools: flatbuffers::WIPOffset<flatbuffers::Vector<'b , bool>>) { in add_bools()
268 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(MoreDefaults::VT_BOOLS, bools); in add_bools()
293 ds.field("bools", &self.bools()); in fmt()
[all …]
Dmore_defaults.fbs11 bools: [bool] = [];
/third_party/node/deps/npm/node_modules/minimist/
Dindex.js4 var flags = { bools : {}, strings : {}, unknownFn: null }; property
14 flags.bools[key] = true;
38 Object.keys(flags.bools).forEach(function (key) {
51 flags.strings[key] || flags.bools[key] || aliases[key];
86 if (o[key] === undefined || flags.bools[key] || typeof o[key] === 'boolean') {
99 return flags.bools[x];
113 if (flags.bools[key]) {
126 && !flags.bools[key]
178 && !flags.bools[key]
/third_party/node/deps/npm/node_modules/mkdirp/node_modules/minimist/
Dindex.js4 var flags = { bools : {}, strings : {}, unknownFn: null }; property
14 flags.bools[key] = true;
38 Object.keys(flags.bools).forEach(function (key) {
51 flags.strings[key] || flags.bools[key] || aliases[key];
86 if (o[key] === undefined || flags.bools[key] || typeof o[key] === 'boolean') {
99 return flags.bools[x];
113 if (flags.bools[key]) {
126 && !flags.bools[key]
178 && !flags.bools[key]
/third_party/typescript/tests/baselines/reference/
DtemplateLiteralTypesPatterns.js21 declare function bools(x: `${boolean}`): void;
23 bools("true");
24 bools("false");
27 bools("other");
222 bools("true");
223 bools("false");
225 bools("other");
DtemplateLiteralTypesPatterns.symbols43 declare function bools(x: `${boolean}`): void;
44 >bools : Symbol(bools, Decl(templateLiteralTypesPatterns.ts, 17, 67))
48 bools("true");
49 >bools : Symbol(bools, Decl(templateLiteralTypesPatterns.ts, 17, 67))
51 bools("false");
52 >bools : Symbol(bools, Decl(templateLiteralTypesPatterns.ts, 17, 67))
55 bools("other");
56 >bools : Symbol(bools, Decl(templateLiteralTypesPatterns.ts, 17, 67))
DtemplateLiteralTypesPatterns.types46 declare function bools(x: `${boolean}`): void;
47 >bools : (x: `${boolean}`) => void
51 bools("true");
52 >bools("true") : void
53 >bools : (x: "false" | "true") => void
56 bools("false");
57 >bools("false") : void
58 >bools : (x: "false" | "true") => void
62 bools("other");
63 >bools("other") : void
[all …]
/third_party/typescript/tests/cases/conformance/types/literal/
DtemplateLiteralTypesPatterns.ts21 declare function bools(x: `${boolean}`): void; function
23 bools("true");
24 bools("false");
27 bools("other");
/third_party/boost/libs/hana/test/detail/canonical_constant/
Dlaws.cpp31 auto bools = hana::make_tuple(canonical<bool, true>{}, canonical<bool, false>{}); in main() local
35 hana::test::TestConstant<hana::detail::CanonicalConstant<bool>>{bools, hana::tuple_t<bool>}; in main()
50 hana::test::TestLogical<hana::detail::CanonicalConstant<bool>>{bools}; in main()
/third_party/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()
317 struct boolean_t *bools; in analyze() local
388 if (check_booleans(&bools) == 0) { in analyze()
396 struct boolean_t *b = bools; in analyze()
401 b = bools; in analyze()
409 free(bools); in analyze()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dmore_defaults_test.rs16 bools: Vec::new(), in object_defaults()
27 assert_eq!(m.bools().len(), 0); in nonpresent_values()
/third_party/boost/libs/hana/test/
Dsearchable.cpp34 auto bools = hana::make_tuple( in main() local
42 hana::test::TestSearchable<::Seq>{bools, hana::make_tuple(hana::true_c, hana::false_c)}; in main()
/third_party/boost/libs/hana/test/ext/boost/tuple/
Dsearchable.cpp41 auto bools = hana::make_tuple( in main() local
50 bools, in main()
/third_party/boost/libs/hana/test/ext/std/integral_constant/
Dlogical.cpp58 auto bools = hana::make_tuple(std::true_type{}, std::false_type{}); in main() local
62 hana::test::TestLogical<hana::ext::std::integral_constant_tag<bool>>{bools}; in main()
/third_party/flatbuffers/tests/rust_usage_test/tests/flexbuffers_tests/
Dinterop.rs41 let bools = m.idx("bools").as_vector(); in read_golden_flexbuffer() localVariable
43 assert_eq!(bools.idx(i).as_bool(), b) in read_golden_flexbuffer()
Drwyw.rs154 bools: Vec<bool>,
161 bools: Vec<bool>,
167 let foo1 = Foo { bools, strings, f32s, f64s };
174 bools: Vec<bool>,
182 let foo1 = Foo(bools, strings, f32s, f64s);
/third_party/node/deps/npm/node_modules/yargs-parser/
Dindex.js44 bools: {}, property
79 flags.bools[key] = true
190 !checkAllAliases(key, flags.bools) &&
213 !checkAllAliases(key, flags.bools) &&
284 !checkAllAliases(key, flags.bools) &&
385 if (checkAllAliases(key, flags.bools) && !(/^(true|false)$/.test(next))) {
476 if (checkAllAliases(key, flags.bools) || checkAllAliases(key, flags.counts)) {
498 …if (!checkAllAliases(key, flags.strings) && !checkAllAliases(key, flags.bools) && !Array.isArray(v…
837 if (!checkAllAliases(key, flags.bools) &&
865 else if (checkAllAliases(key, flags.bools)) type = 'boolean'
/third_party/libsoup/tests/
Dxmlrpc-old-test.c136 GValueArray *bools; in test_countBools() local
147 bools = g_value_array_new (10); in test_countBools()
151 soup_value_array_append (bools, G_TYPE_BOOLEAN, val); in test_countBools()
160 G_TYPE_VALUE_ARRAY, bools, in test_countBools()
163 g_value_array_free (bools); in test_countBools()
Dxmlrpc-old-server-test.c65 GValueArray *bools; in do_countBools() local
73 if (!soup_value_array_get_nth (params, 0, G_TYPE_VALUE_ARRAY, &bools)) { in do_countBools()
78 for (i = 0; i < bools->n_values; i++) { in do_countBools()
79 if (!soup_value_array_get_nth (bools, i, G_TYPE_BOOLEAN, &val)) { in do_countBools()
/third_party/boost/libs/mpl/doc/src/refmanual/
Dpush_back.rst96 true,true,true,false,false> bools;
98 typedef push_back<bools,false_>::type message;
/third_party/boost/libs/hana/test/_include/laws/templates/
Dseq.hpp98 auto bools = hana::make_tuple( in main() local
106 hana::test::TestSearchable<::Seq>{bools, hana::make_tuple(hana::true_c, hana::false_c)}; in main()
/third_party/boost/libs/hana/test/concept/constant/
Dlogical.cpp25 constexpr auto bools = hana::make_tuple( in main() local
30 hana::test::TestLogical<minimal_constant_tag<bool>>{bools}; in main()

1234