Searched refs:Item (Results 1 - 7 of 7) sorted by relevance
/fuchsia/zircon/system/ulib/hid-parser/ |
H A D | item.cpp | 13 Item::Tag get_main_tag(uint8_t b_tag) { 15 case 8: return Item::Tag::kInput; 16 case 9: return Item::Tag::kOutput; 17 case 10: return Item::Tag::kCollection; 18 case 11: return Item::Tag::kFeature; 19 case 12: return Item::Tag::kEndCollection; 20 default: return Item::Tag::kReserved; 24 Item::Tag get_global_tag(uint8_t b_tag) { 26 case 0: return Item::Tag::kUsagePage; 27 case 1: return Item [all...] |
H A D | parser.cpp | 489 ParseResult ProcessMainItem(const hid::Item& item, ParseState* state) { 492 case Item::Tag::kInput: 493 case Item::Tag::kOutput: 494 case Item::Tag::kFeature: 497 case Item::Tag::kCollection: res = state->start_collection(item.data()); 499 case Item::Tag::kEndCollection: res = state->end_collection(item.data()); 507 ParseResult ProcessGlobalItem(const hid::Item& item, ParseState* state) { 509 case Item::Tag::kUsagePage: return state->set_usage_page(item.data()); 510 case Item::Tag::kLogicalMinimum: return state->set_logical_min(item.signed_data()); 511 case Item [all...] |
/fuchsia/zircon/system/uapp/hid/ |
H A D | report.cpp | 11 const char* TypeName(hid::Item::Type t) { 13 #define TYPE(t) case hid::Item::Type::k##t: return #t 23 const char* TagName(hid::Item::Tag t) { 25 #define TAG(t) case hid::Item::Tag::k##t: return #t 68 auto item = hid::Item::ReadNext(buf, len, &item_actual); 80 if (item.tag() == hid::Item::Tag::kEndCollection) { 88 printf("%*s Item(%s, %s): %0#x\n", indent, "", 91 if (item.tag() == hid::Item::Tag::kCollection) {
|
/fuchsia/zircon/system/ulib/hid-parser/include/hid-parser/ |
H A D | item.h | 12 // Value class that represents a USB HID report descriptor "Item" as defined 16 class Item { class in namespace:hid 65 // Construct an Item from a HID report descriptor bytestream. 70 // next Item. Caller must check that: 81 static Item ReadNext(const uint8_t* data, size_t len, size_t* actual); 83 // Construct an Item from explicit values. 85 constexpr Item(Type type, Tag tag, uint8_t size, uint32_t data) function in class:hid::Item
|
/fuchsia/zircon/kernel/arch/x86/page_tables/include/arch/x86/page_tables/ |
H A D | page_tables.h | 29 struct Item { struct in struct:PendingTlbInvalidation 38 static_assert(sizeof(Item) == 8, ""); 47 Item item[32];
|
/fuchsia/zircon/system/host/zbi/ |
H A D | zbi.cpp | 93 class Item; 94 using ItemPtr = std::unique_ptr<Item>; 941 class Item { class in namespace:__anon583 943 // Only the static methods below can create an Item. 944 Item() = delete; 946 DISALLOW_COPY_AND_ASSIGN_ALLOW_MOVE(Item); 1073 // have pointers into buffers owned by this Item, so this Item must be 1087 // The buffer will be released when this Item is destroyed. This item 1096 // Consume another Item whil 1424 Item(const zbi_header_t& header, bool compress) : function in class:__anon583::Item [all...] |
/fuchsia/zircon/system/utest/hid-parser/ |
H A D | hid-parser-test.cpp | 34 auto item = hid::Item::ReadNext(buf, len, &actual); 38 if (item.tag() == hid::Item::Tag::kEndCollection) 40 else if (item.tag() == hid::Item::Tag::kCollection) 43 if (item.type() == hid::Item::Type::kMain && item.tag() == hid::Item::Tag::kInput)
|
Completed in 105 milliseconds