| /system/core/pwrbtn-monitor/ |
| A D | pwrbtn-monitor.cpp | 59 const hid::ReportField& field = report.first_field[i]; in FindSystemPowerDown() local 60 if (field.type != hid::kInput || !usage_eq(field.attr.usage, power_down)) { in FindSystemPowerDown() 64 const hid::Collection* collection = hid::GetAppCollection(&field); in FindSystemPowerDown() 70 *report_id = field.report_id; in FindSystemPowerDown() 89 const hid::ReportField& field = report.first_field[i]; in FindSystemPowerDown() local 90 if (field.type != hid::kInput) { in FindSystemPowerDown() 94 *bit_offset += field.attr.bit_sz; in FindSystemPowerDown() 97 if (!usage_eq(field.attr.usage, power_down)) { in FindSystemPowerDown() 100 const hid::Collection* collection = hid::GetAppCollection(&field); in FindSystemPowerDown() 106 *bit_offset -= field.attr.bit_sz; in FindSystemPowerDown()
|
| /system/dev/input/hid/ |
| A D | hid-parser-lib.cpp | 34 hid::ReportField* field = desc_rep->first_field + i; in hid_lib_parse_reports() local 35 input_report_size_t size = field->attr.bit_sz; in hid_lib_parse_reports() 36 switch (field->type) { in hid_lib_parse_reports()
|
| /system/ulib/fidl/ |
| A D | buffer_walker.h | 150 if (frame->field == 0u) { 172 frame->field = 1; 193 const fidl::FidlTableField* field = 195 if (field->ordinal == frame->field) { 196 known_field = field; 205 frame->field++; 693 uint32_t current = field; 694 field += 1; 701 uint32_t current = field; 702 field += array_state.element_size; [all …]
|
| /system/uapp/clock/ |
| A D | clkctl.c | 41 const char* getValue(int argc, char** argv, const char* field) { in getValue() argument 43 while (i < argc - 1 && strcmp(argv[i], field) != 0) { in getValue()
|
| /system/utest/libhwreg/ |
| A D | bitfields-test.cpp | 51 IntType field; in struct_sub_bit_test() member 53 DEF_SUBBIT(field, 0, first_bit); in struct_sub_bit_test() 54 DEF_SUBBIT(field, 1, mid_bit); in struct_sub_bit_test() 55 DEF_SUBBIT(field, LastBit<IntType>::value, last_bit); in struct_sub_bit_test() 64 EXPECT_EQ(1u, val.field); in struct_sub_bit_test() 71 EXPECT_EQ(2u, val.field); in struct_sub_bit_test() 78 EXPECT_EQ(1ull << LastBit<IntType>::value, val.field); in struct_sub_bit_test()
|
| /system/uapp/aslr-analysis/ |
| A D | main.cpp | 43 uintptr_t ReportInfo::*field); 115 uintptr_t ReportInfo::*field) { in AnalyzeField() argument 122 uintptr_t val = reports[i].*field; in AnalyzeField()
|
| /system/host/fidl/include/fidl/ |
| A D | tables_generator.h | 60 void Generate(const coded::StructField& field); 61 void Generate(const coded::TableField& field);
|
| /system/public/zircon/ |
| A D | compiler.h | 66 #define __offsetof(type, field) __builtin_offsetof(type, field) argument
|
| /system/ulib/hid-parser/ |
| A D | parser.cpp | 265 ReportField field { in add_field() local 274 fields_.push_back(field, &ac); in add_field() 607 Collection* GetAppCollection(const ReportField* field) { in GetAppCollection() argument 608 if (field == nullptr) in GetAppCollection() 611 auto collection = field->col; in GetAppCollection()
|
| /system/fidl/fuchsia-hardware-ethernet/ |
| A D | ethernet.fidl | 110 // readable from the rx fifo. The offset field will be the same as was 111 // sent. The length field will reflect the actual size of the received 112 // packet. The flags field will indicate success or a specific failure
|
| /system/ulib/hid-parser/include/hid-parser/ |
| A D | parser.h | 248 Collection* GetAppCollection(const ReportField* field);
|
| /system/host/banjo/include/banjo/ |
| A D | tables_generator.h | 59 void Generate(const coded::StructField& field);
|
| /system/fidl/fuchsia-hardware-power/ |
| A D | power.fidl | 50 // below fields are in units specified the |unit| field.
|
| /system/host/fidl/lib/ |
| A D | tables_generator.cpp | 264 void TablesGenerator::Generate(const coded::StructField& field) { in Generate() argument 266 Emit(&tables_file_, NameTable(field.type->coded_name)); in Generate() 268 Emit(&tables_file_, field.offset); in Generate() 272 void TablesGenerator::Generate(const coded::TableField& field) { in Generate() argument 274 Emit(&tables_file_, NameTable(field.type->coded_name)); in Generate() 276 Emit(&tables_file_, field.ordinal); in Generate()
|
| A D | flat_ast.cpp | 143 for (FieldShape* field : *fields) { in CStructTypeShape() 144 TypeShape typeshape = field->Typeshape(); in CStructTypeShape() 147 field->SetOffset(size); in CStructTypeShape() 237 for (auto field : *fields) { in CTableTypeShape() 238 if (field == nullptr) { in CTableTypeShape() 241 auto envelope = CEnvelopeTypeShape(*field); in CTableTypeShape()
|
| /system/dev/bus/virtio/backends/ |
| A D | pci_modern.cpp | 17 #define cap_field(offset, field) static_cast<uint8_t>(offset + offsetof(virtio_pci_cap_t, field)) argument
|
| /system/banjo/ddk-protocol-bt-gattsvc/ |
| A D | bt-gatt-svc.banjo | 76 /// The bitmask of characteristic properties. The |extended_properties| field
|
| /system/fidl/fuchsia-hardware-tee/ |
| A D | tee.fidl | 51 // null vmo and the Trusted Application will populate the size field so that the operation can
|
| /system/host/banjo/ |
| A D | README.md | 40 struct may have a field whose type is given by the (possibly
|
| /system/host/banjo/lib/ |
| A D | tables_generator.cpp | 246 void TablesGenerator::Generate(const coded::StructField& field) { in Generate() argument 248 Emit(&tables_file_, NameTable(field.type->coded_name)); in Generate() 250 Emit(&tables_file_, field.offset); in Generate()
|
| A D | flat_ast.cpp | 139 for (FieldShape* field : *fields) { in CStructTypeShape() 140 TypeShape typeshape = field->Typeshape(); in CStructTypeShape() 143 field->SetOffset(size); in CStructTypeShape()
|
| /system/host/fidl/ |
| A D | README.md | 39 may have a field whose type is given by the (possibly qualified) name of some
|
| /system/banjo/ddk-protocol-nand/ |
| A D | nand.banjo | 15 /// at that point the cookie field must contain whatever value was in it when
|
| /system/dev/audio/gauss-tdm/ |
| A D | gauss-tdm-stream.cpp | 22 #define RegOffset(field) offsetof(aml_tdm_regs_t, field) argument
|
| /system/ulib/fit/ |
| A D | README.md | 72 - Class, method, field, and variable identifiers are `snake_case`.
|