Searched refs:struct (Results 1 - 16 of 16) sorted by relevance

/system/tools/hidl/test/error_test/no_data_outside_interface/error/1.0/
H A DIFoo.hal18 struct Bar { // can only have this in types.hal files
/system/libhidl/transport/base/1.0/
H A Dtypes.hal25 struct DebugInfo {
/system/bt/tools/scripts/
H A Dbtsnooz.py27 import struct namespace
72 version, last_timestamp_ms = struct.unpack_from('=bQ', snooz)
98 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
105 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
108 sys.stdout.write(struct.pack('>II', length, length))
109 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
110 sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
125 length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offset)
132 length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offset)
135 sys.stdout.write(struct
[all...]
/system/keymaster/include/keymaster/
H A Dnew24 struct nothrow_t;
/system/tools/hidl/test/vendor/1.0/
H A DIVendor.hal23 struct StructTest {
/system/bt/vendor_libs/
H A DAndroid.mk3 # -Wno-gnu-variable-sized-type-not-at-end is needed, because struct BT_HDR
4 # is defined as a variable-size header in a struct.
5 # -Wno-typedef-redefinition is needed because of the way the struct typedef
/system/core/libsparse/
H A Dsimg_dump.py23 import struct namespace
77 header = struct.unpack("<I4H4I", header_bin)
126 header = struct.unpack("<2H2I", header_bin)
158 fill = struct.unpack("<I", fill_bin)
179 crc = struct.unpack("<I", crc_bin)
189 header = struct.unpack("<12B", header_bin)
/system/tpm/trunks/generator/
H A Dgenerator_test.py50 output_re = r'struct TYPE1;\s+typedef TYPE1 TYPE2;\s+'
75 output_re = r'struct INT;\s+const INT test = 1;\s+'
81 struct = generator.Structure('STRUCT', False)
82 struct.AddField('int', 'i')
83 struct.AddDependency('DEPEND')
89 typemap = {'STRUCT': struct, 'DEPEND': depend}
94 output_re = r'union UNION;\s+struct DEPEND {\s+};\s+'
95 output_re += r'struct STRUCT {\s+int i;\s+};\s+'
106 struct = generator.Structure('TEST_STRUCT', False)
107 struct
[all...]
H A Dgenerator.py413 fields: A list of (type, name) tuples representing the struct fields.
414 depends_on: A list of strings for types this struct depends on other than
418 _STRUCTURE = 'struct %(name)s {\n'
419 _STRUCTURE_FORWARD = 'struct %(name)s;\n'
630 """Adds a field for this struct.
652 """Returns whether this struct is a TPM2B structure with raw bytes."""
656 """Returns whether this struct is a TPM2B structure with an inner struct."""
781 This is more complex than the struct case because only one field of the
846 in the struct
[all...]
/system/extras/verity/
H A Dbuild_verity_metadata.py20 import struct namespace
42 block = struct.pack("II256sI", MAGIC_NUMBER, VERSION, signature, table_len)
/system/libhidl/transport/manager/1.0/
H A DIServiceManager.hal141 struct InstanceDebugInfo {
/system/core/adb/
H A Dtest_adb.py28 import struct namespace
154 struct.pack(linger_format, l_onoff, l_linger))
158 struct.unpack_from(linger_format, linger))
/system/update_engine/scripts/update_payload/
H A Dpayload.py10 import struct namespace
42 return struct.unpack(common.IntPackingFmtStr(size, is_unsigned),
53 """Update payload header struct."""
H A Dtest_utils.py12 import struct namespace
60 file_obj.write(struct.pack(common.IntPackingFmtStr(size, is_unsigned), val))
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dtest_channel.py44 import struct namespace
/system/tools/hidl/c2hal/
H A Dc2hal_l.ll51 int check_type(yyscan_t yyscanner, struct yyguts_t *yyg);
193 "struct" { return STRUCT; }

Completed in 337 milliseconds