Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 28) sorted by relevance

12

/system/core/pwrbtn-monitor/
A Dpwrbtn-monitor.cpp59 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 Dhid-parser-lib.cpp34 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 Dbuffer_walker.h150 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 Dclkctl.c41 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 Dbitfields-test.cpp51 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 Dmain.cpp43 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 Dtables_generator.h60 void Generate(const coded::StructField& field);
61 void Generate(const coded::TableField& field);
/system/public/zircon/
A Dcompiler.h66 #define __offsetof(type, field) __builtin_offsetof(type, field) argument
/system/ulib/hid-parser/
A Dparser.cpp265 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 Dethernet.fidl110 // 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 Dparser.h248 Collection* GetAppCollection(const ReportField* field);
/system/host/banjo/include/banjo/
A Dtables_generator.h59 void Generate(const coded::StructField& field);
/system/fidl/fuchsia-hardware-power/
A Dpower.fidl50 // below fields are in units specified the |unit| field.
/system/host/fidl/lib/
A Dtables_generator.cpp264 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 Dflat_ast.cpp143 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 Dpci_modern.cpp17 #define cap_field(offset, field) static_cast<uint8_t>(offset + offsetof(virtio_pci_cap_t, field)) argument
/system/banjo/ddk-protocol-bt-gattsvc/
A Dbt-gatt-svc.banjo76 /// The bitmask of characteristic properties. The |extended_properties| field
/system/fidl/fuchsia-hardware-tee/
A Dtee.fidl51 // null vmo and the Trusted Application will populate the size field so that the operation can
/system/host/banjo/
A DREADME.md40 struct may have a field whose type is given by the (possibly
/system/host/banjo/lib/
A Dtables_generator.cpp246 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 Dflat_ast.cpp139 for (FieldShape* field : *fields) { in CStructTypeShape()
140 TypeShape typeshape = field->Typeshape(); in CStructTypeShape()
143 field->SetOffset(size); in CStructTypeShape()
/system/host/fidl/
A DREADME.md39 may have a field whose type is given by the (possibly qualified) name of some
/system/banjo/ddk-protocol-nand/
A Dnand.banjo15 /// at that point the cookie field must contain whatever value was in it when
/system/dev/audio/gauss-tdm/
A Dgauss-tdm-stream.cpp22 #define RegOffset(field) offsetof(aml_tdm_regs_t, field) argument
/system/ulib/fit/
A DREADME.md72 - Class, method, field, and variable identifiers are `snake_case`.

Completed in 55 milliseconds

12