Lines Matching refs:uri
670 coap_uri_t uri; in parse_uri() local
678 coap_split_uri((unsigned char *)arg, strlen(arg), &uri ); in parse_uri()
680 if (uri.path.length) { in parse_uri()
682 res = coap_split_path(uri.path.s, uri.path.length, in parse_uri()
695 if (uri.query.length) { in parse_uri()
698 res = coap_split_query(uri.query.s, uri.query.length, in parse_uri()
729 static char *create_uri(char *uri, int len, const char *target, in create_uri() argument
732 snprintf(uri, len, "coap://%s%s%s/%s", in create_uri()
739 print_data(uri, data[user_data->index].len); in create_uri()
741 return uri; in create_uri()
750 char uri_buf[MAX_URI], *uri; in create_pdu() local
754 uri = create_uri(uri_buf, MAX_URI, target, user_data); in create_pdu()
755 opts = parse_uri(uri); in create_pdu()