Lines Matching refs:local
129 usage = parser->local.usage[0]; in open_collection()
206 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()
210 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()
211 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage()
214 parser->local.usage_index++; in hid_add_usage()
241 usages = parser->local.usage_index; in hid_add_field()
262 if (i >= parser->local.usage_index) in hid_add_field()
263 j = parser->local.usage_index - 1; in hid_add_field()
264 field->usage[i].hid = parser->local.usage[j]; in hid_add_field()
266 parser->local.collection_index[j]; in hid_add_field()
427 if (parser->local.delimiter_depth != 0) { in hid_parser_local()
431 parser->local.delimiter_depth++; in hid_parser_local()
432 parser->local.delimiter_branch++; in hid_parser_local()
434 if (parser->local.delimiter_depth < 1) { in hid_parser_local()
438 parser->local.delimiter_depth--; in hid_parser_local()
444 if (parser->local.delimiter_branch > 1) { in hid_parser_local()
456 if (parser->local.delimiter_branch > 1) { in hid_parser_local()
464 parser->local.usage_minimum = data; in hid_parser_local()
469 if (parser->local.delimiter_branch > 1) { in hid_parser_local()
477 for (n = parser->local.usage_minimum; n <= data; n++) in hid_parser_local()
524 memset(&parser->local, 0, sizeof(parser->local)); /* Reset the local parser environment */ in hid_parser_main()
718 if (parser->local.delimiter_depth) { in hid_parse_report()