Lines Matching refs:str_var
63 coap_split_uri_sub(const uint8_t *str_var, in coap_split_uri_sub() argument
72 if (!str_var || !uri || len == 0) in coap_split_uri_sub()
79 p = str_var; in coap_split_uri_sub()
101 if ((p - str_var) == (int)strlen(coap_uri_scheme[i].name) && in coap_split_uri_sub()
102 memcmp(str_var, coap_uri_scheme[i].name, p - str_var) == 0) { in coap_split_uri_sub()
105 (int)(p - str_var), str_var); in coap_split_uri_sub()
115 coap_log_err("%.*s URI scheme unknown\n", (int)(p - str_var), str_var); in coap_split_uri_sub()
269 coap_split_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri) { in coap_split_uri() argument
270 return coap_split_uri_sub(str_var, len, uri, COAP_URI_CHECK_URI); in coap_split_uri()
274 coap_split_proxy_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri) { in coap_split_proxy_uri() argument
275 return coap_split_uri_sub(str_var, len, uri, COAP_URI_CHECK_PROXY); in coap_split_proxy_uri()