Lines Matching full:query
135 const struct coap_option *query) in match_attributes() argument
140 * query, for example: 'rt=lux temperature', if I want to list in match_attributes()
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
474 /* Per RFC 6690, Section 4.1, only one (or none) query parameter may be in coap_well_known_core_get_len()
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
658 /* Per RFC 6690, Section 4.1, only one (or none) query parameter may be in coap_well_known_core_get_len()
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()