Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/hid/
Dhidparse.c17 static void hid_reset_parser(struct hid_parser *parser);
22 static int *__get_report_offset(struct hid_parser *parser, const uint8_t report_id, const uint8_t r…
81 static void hid_reset_parser(struct hid_parser *parser) in hid_reset_parser() argument
83 memset(parser, 0, sizeof(struct hid_parser)); in hid_reset_parser()
84 parser->data.report_id = 1; // we must give it a non-zero value or the parser doesn't work in hid_reset_parser()
93 static __always_inline void __pop_usage_stack(struct hid_parser *parser) in __pop_usage_stack() argument
95 if (parser->usage_size > 0) in __pop_usage_stack()
97 for (int js = 0; js < parser->usage_size - 1; ++js) in __pop_usage_stack()
98 … memmove(&parser->usage_table[js], &parser->usage_table[js + 1], sizeof(struct hid_node_t)); in __pop_usage_stack()
100 --parser->usage_size; in __pop_usage_stack()
[all …]
/DragonOS-0.1.8/tools/
Dlist_contributors.py8 parser = argparse.ArgumentParser( variable
10 parser.add_argument('--since', type=str, help='Since date')
11 parser.add_argument('--until', type=str, help='Until date')
12 parser.add_argument('--mode', type=str, help='脚本的运行模式 可选:<all> 输出所有信息\n' +
14 args = parser.parse_args()
/DragonOS-0.1.8/docs/
Drequirements.txt2 myst-parser==0.18.0