Lines Matching refs:query
135 const struct coap_option *query) in match_attributes() argument
146 if (query->len != attr_len) { in match_attributes()
150 if (!strncmp((char *) query->value, *attr, attr_len)) { in match_attributes()
159 const struct coap_option *query, in match_queries_resource() argument
178 if (query->len > href_len + 1 && in match_queries_resource()
179 !strncmp((char *) query->value, "href", href_len)) { in match_queries_resource()
181 const char *uri = (char *) query->value + href_len + 1; in match_queries_resource()
182 uint16_t uri_len = query->len - (href_len + 1); in match_queries_resource()
187 return match_attributes(attributes, query); in match_queries_resource()
442 struct coap_option query; in coap_well_known_core_get_len() local
477 r = coap_find_options(request, COAP_OPTION_URI_QUERY, &query, 1); in coap_well_known_core_get_len()
515 if (!match_queries_resource(&resources[i], &query, num_queries)) { in coap_well_known_core_get_len()
643 struct coap_option query; in coap_well_known_core_get_len() local
661 r = coap_find_options(request, COAP_OPTION_URI_QUERY, &query, 1); in coap_well_known_core_get_len()
686 if (!match_queries_resource(&resources[i], &query, num_queries)) { in coap_well_known_core_get_len()