Home
last modified time | relevance | path

Searched refs:str_var (Results 1 – 2 of 2) sorted by relevance

/third_party/libcoap/src/
Dcoap_uri.c63 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
[all …]
/third_party/libcoap/include/coap3/
Dcoap_uri.h147 int coap_split_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri);
165 int coap_split_proxy_uri(const uint8_t *str_var, size_t len, coap_uri_t *uri);