/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
generator_unittest.py | 14 union = module.AddUnion('a') 15 union.AddField('a', mojom.BOOL) 16 union.AddField('b', mojom.BOOL) 17 union.AddField('c', mojom.BOOL, ordinal=10) 18 union.AddField('d', mojom.BOOL) 21 union = gen.GetUnions()[0] 22 ordinals = [field.ordinal for field in union.fields]
|
data.py | 181 importable_kinds = (mojom.Struct, mojom.Union, mojom.Enum, mojom.Interface) 237 def UnionToData(union): 239 istr(0, 'name'): union.name, 240 istr(1, 'fields'): map(FieldToData, union.fields) 242 AddOptional(data, istr(2, 'attributes'), union.attributes) 246 union = mojom.Union(module=module) 247 union.name = data['name'] 248 union.spec = 'x:' + module.namespace + '.' + union.nam [all...] |
/prebuilts/go/darwin-x86/misc/cgo/testgodefs/ |
anonunion.go | 10 // that is an anonymous union, the first field in the union is 16 union {
|
/prebuilts/go/linux-x86/misc/cgo/testgodefs/ |
anonunion.go | 10 // that is an anonymous union, the first field in the union is 16 union {
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue1222.go | 11 typedef union { 16 union {
|
issue7786.go | 5 // Issue 7786. No runtime test, just make sure that typedef and struct/union/class are interchangeable at compile time. 19 // typedef union union7786 typedef_union7786; 20 // void u7786(union union7786 *ctx) {}
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue1222.go | 11 typedef union { 16 union {
|
issue7786.go | 5 // Issue 7786. No runtime test, just make sure that typedef and struct/union/class are interchangeable at compile time. 19 // typedef union union7786 typedef_union7786; 20 // void u7786(union union7786 *ctx) {}
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
PKIXNameConstraintValidator.java | 519 Set union = new HashSet(); local 526 unionEmail(_excluded, email, union); 529 return union; 571 * Returns the union of the excluded IP ranges in <code>excluded</code> 594 Set union = new HashSet(); local 600 union.addAll(unionIPRange(_excluded, ip)); 603 return union; 608 * Calculates the union if two IP ranges. 612 * @return A <code>Set</code> with the union of both addresses. 1014 * added to the union <code>union</code>. If <code>email1</code> an 1347 Set union = new HashSet(); local 1537 Set union = new HashSet(); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXNameConstraintValidator.java | 250 Set union = new HashSet(); local 257 unionEmail(_excluded, email, union); 260 return union; 302 * Returns the union of the excluded IP ranges in <code>excluded</code> 325 Set union = new HashSet(); local 331 union.addAll(unionIPRange(_excluded, ip)); 334 return union; 339 * Calculates the union if two IP ranges. 343 * @return A <code>Set</code> with the union of both addresses. 751 * added to the union <code>union</code>. If <code>email1</code> an 1084 Set union = new HashSet(); local 1274 Set union = new HashSet(); local [all...] |
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/generate/ |
data_unittest.py | 48 """Tests that a union can be converted from data.""" 56 union = data.UnionFromData(module, union_data) 57 union.fields = map(lambda field: 58 data.UnionFieldFromData(module, field, union), union.fields_data) 59 self.assertEquals(union_data, data.UnionToData(union)) 74 union = mojom.Union('TestUnion', module=module) 75 imported_module.kinds[union.spec] = union [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
CssSchema.java | 104 * A schema that represents the union of the input schemas. 109 public static CssSchema union(CssSchema... cssSchemas) { method in class:CssSchema 399 union(mozOutlineLiterals0, mozOutlineLiterals1, mozOutlineLiterals2, 405 2, union(mozOutlineColorLiterals0, mozOutlineLiterals0), 410 0, union(mozOutlineLiterals1, mozOutlineStyleLiterals0), zeroFns); 414 5, union(mozOutlineLiterals2, mozOutlineWidthLiterals0), zeroFns); 420 5, union(azimuthLiterals0, azimuthLiterals1, azimuthLiterals2), 426 union(azimuthLiterals1, backgroundLiterals0, backgroundLiterals1, 434 258, union(backgroundColorLiterals0, mozOutlineLiterals0), 443 union(azimuthLiterals1, backgroundLiterals2 753 private static <T> ImmutableSet<T> union(ImmutableSet<T>... subsets) { method in class:CssSchema [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
SparseArrayUtils.java | 34 * @param sets The array of sets from which to take the union. 38 public static<V> HashSet<V> union(SparseArray<HashSet<V>> sets) { method in class:SparseArrayUtils
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
bitfield.rs | 19 // There is a C99 rule (under "Structure and union members") that 21 // of unions: if a union contains several structures that share a 22 // common initial sequence, and if the union object currently contains 25 // completed type of the union is visible. Two structures share a 52 union CommonInitialSequence { 57 static union CommonInitialSequence U, V;
|
/hardware/interfaces/audio/2.0/ |
IStreamIn.hal | 57 union Params { 75 union Reply {
|
types.hal | 64 union Address {
|
/external/tpm2/generator/ |
structure_generator_test.py | 96 union = structure_generator.Union('TPMU_SYM_MODE') 97 union.AddField(structure_generator.Field('UINT16', 'aes', None)) 98 union.AddField(structure_generator.Field('UINT16', 'SM4', None)) 102 'TPMU_SYM_MODE': union 115 union = structure_generator.Union('TPMU_SYM_MODE') 116 union.AddField(structure_generator.Field('UINT16', 'aes', None)) 117 union.AddField(structure_generator.Field('UINT16', 'SM4', None)) 121 union.OutputMarshalImpl(out_file, marshalled_types, typemap [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
SparseArrayUtilsTest.java | 45 assertThat(SparseArrayUtils.union(sparseArray)).isEqualTo( 53 assertThat(SparseArrayUtils.union(sparseArray)).isEqualTo(Sets.newHashSet());
|
/libcore/luni/src/test/java/libcore/java/security/ |
AccessControllerTest.java | 38 final DomainCombiner union = new DomainCombiner() { local 47 new AccessControlContext(new ProtectionDomain[] { protectionDomain }), union);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterRedEyeRepresentation.java | 60 rect.union(r.mRect); 61 bounds.union(r.mBounds);
|
/external/strace/ |
mpers_test.sh | 64 union { 107 union {
|
/prebuilts/go/darwin-x86/src/syscall/ |
const_plan9.go | 19 MBEFORE = 0x0001 // mount goes before others in union directory 20 MAFTER = 0x0002 // mount goes after others in union directory
|
/prebuilts/go/linux-x86/src/syscall/ |
const_plan9.go | 19 MBEFORE = 0x0001 // mount goes before others in union directory 20 MAFTER = 0x0002 // mount goes after others in union directory
|
/system/tpm/trunks/generator/ |
generator_test.py | 84 union = generator.Structure('UNION', True) 85 union.AddField('STRUCT', 'inner') 90 # Only output |union|, this will test the dependency logic. 91 union.OutputForward(out_file, defined_types, typemap) 92 union.OutputForward(out_file, defined_types, typemap) 93 union.Output(out_file, defined_types, typemap) 94 output_re = r'union UNION;\s+struct DEPEND {\s+};\s+' 96 output_re += r'union UNION {\s+STRUCT inner;\s+};\s+ [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
SetOperationsTest.java | 37 * Unit tests for {@link Sets#union}, {@link Sets#intersection} and 50 return Sets.union( 62 return Sets.union( 72 return Sets.union( 83 return Sets.union( 96 return Sets.union( 110 return Sets.union( 115 .named("union of disjoint") 122 return Sets.union( 269 Set<String> all = Sets.union(friends, enemies) [all...] |