/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | UriParser.cpp | 19 bool UriParser::Parse(llvm::StringRef uri, llvm::StringRef &scheme, argument 25 auto pos = uri.find(kSchemeSep); 30 tmp_scheme = uri.substr(0, pos); 32 auto path_pos = uri.find('/', host_pos); 34 tmp_path = uri.substr(path_pos); 38 auto host_port = uri.substr( 40 ((path_pos != std::string::npos) ? path_pos : uri.size()) - host_pos);
|
/freebsd-13-stable/contrib/wpa/wpa_supplicant/examples/ |
H A D | dpp-qrcode.py | 49 uri = None 52 uri = val.split('=', 1)[1] 54 if not uri: 56 if not uri.startswith('DPP:'): 59 print(uri) 65 res = wpas.request("DPP_QR_CODE " + uri); 100 uri = wpas.request("DPP_BOOTSTRAP_GET_URI %d" % id) 101 print(uri) 105 qr.add_data(uri, optimize=5)
|
/freebsd-13-stable/contrib/apr-util/uri/ |
H A D | apr_uri.c | 722 APU_DECLARE(apr_status_t) apr_uri_parse(apr_pool_t *p, const char *uri, 742 if (uri[0] == '/') { 752 if (uri[1] == '/' && uri[2] != '/') { 753 s = uri + 2 ; 758 /* we expect uri to point to first character of path ... remember 761 s = uri; 765 if (s != uri) { 766 uptr->path = apr_pstrmemdup(p, uri, s - uri); [all...] |
/freebsd-13-stable/contrib/serf/buckets/ |
H A D | request_buckets.c | 30 const char *uri; member in struct:__anon5986 49 ctx->uri = URI; 78 /* If uri is already absolute, don't change it. */ 79 if (ctx->uri[0] != '/') 82 /* If uri is '/' replace it with root_url. */ 83 if (ctx->uri[1] == '\0') 84 ctx->uri = root_url; 86 ctx->uri = 89 ctx->uri, 108 iov[2].iov_base = (char*)ctx->uri; 212 serf_bucket_request_become( serf_bucket_t *bucket, const char *method, const char *uri, serf_bucket_t *body) argument [all...] |
/freebsd-13-stable/contrib/libevent/include/event2/ |
H A D | http.h | 58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */ 59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */ 62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */ 63 #define HTTP_BADMETHOD 405 /**< method not allowed for this uri */ 784 @param uri the URI associated with the request 791 enum evhttp_cmd_type type, const char *uri); 939 @param uri an encoded URI 943 char *evhttp_decode_uri(const char *uri); 954 @param uri a URI-encode encoded URI 961 char *evhttp_uridecode(const char *uri, in [all...] |
H A D | rpc_struct.h | 63 const char* uri; member in struct:evrpc
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/include/event2/ |
H A D | http.h | 58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */ 59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */ 62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */ 63 #define HTTP_BADMETHOD 405 /**< method not allowed for this uri */ 749 @param uri the URI associated with the request 756 enum evhttp_cmd_type type, const char *uri); 904 @param uri an encoded URI 908 char *evhttp_decode_uri(const char *uri); 919 @param uri a URI-encode encoded URI 926 char *evhttp_uridecode(const char *uri, in [all...] |
H A D | rpc_struct.h | 63 const char* uri; member in struct:evrpc
|
/freebsd-13-stable/contrib/libevent/test/ |
H A D | regress_http.c | 520 /* Connect to the second port again. This time, send an absolute uri. */ 2463 struct evhttp_uri *uri = NULL; local 2465 #define URI_PARSE(uri) \ 2466 evhttp_uri_parse_with_flags((uri), parse_flags) 2469 char *ret = evhttp_uri_join(uri, url_tmp, sizeof(url_tmp)); \ 2487 uri = URI_PARSE(s); \ 2488 if (uri != NULL && !nonconform) { \ 2490 } else if (uri == NULL && nonconform) { \ 2494 if (uri) { \ 2495 tt_want(evhttp_uri_join(uri, url_tm [all...] |
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_http.c | 466 /* Connect to the second port again. This time, send an absolute uri. */ 2210 struct evhttp_uri *uri = NULL; local 2212 #define URI_PARSE(uri) \ 2213 evhttp_uri_parse_with_flags((uri), parse_flags) 2216 char *ret = evhttp_uri_join(uri, url_tmp, sizeof(url_tmp)); \ 2234 uri = URI_PARSE(s); \ 2235 if (uri != NULL && !nonconform) { \ 2237 } else if (uri == NULL && nonconform) { \ 2241 if (uri) { \ 2242 tt_want(evhttp_uri_join(uri, url_tm [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UriParser.h | 25 static bool Parse(llvm::StringRef uri, llvm::StringRef &scheme,
|
/freebsd-13-stable/contrib/wpa/src/utils/ |
H A D | browser.c | 67 wpa_printf(MSG_DEBUG, "BROWSER:%s load-status=%d uri=%s", 79 const gchar *uri = webkit_network_request_get_uri(req); local 80 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri); 81 if (g_str_has_suffix(uri, "/favicon.ico")) 83 if (g_str_has_prefix(uri, "osu://")) { 84 ctx->success = atoi(uri + 6); 87 if (g_str_has_prefix(uri, "http://localhost:12345")) { 118 const gchar *uri; local 119 uri 125 view_cb_hovering_over_link(WebKitWebView *view, gchar *title, gchar *uri, struct browser_context *ctx) argument [all...] |
H A D | xml-utils.c | 16 xml_node_t *root, char *uri) 22 end = strchr(uri, '/'); 30 if (strcasecmp(name, uri) == 0) 47 const char *uri) 52 search = os_strdup(uri); 228 xml_node_t *in, const char *uri) 245 if (uri) 246 xml_node_create_text(ctx, tnds, NULL, "Path", uri); 254 new_uri = add_path(uri, name); 338 xml_node_t *node, const char *uri) 15 get_node_uri_iter(struct xml_node_ctx *ctx, xml_node_t *root, char *uri) argument 46 get_node_uri(struct xml_node_ctx *ctx, xml_node_t *root, const char *uri) argument 227 node_to_tnds(struct xml_node_ctx *ctx, xml_node_t *out, xml_node_t *in, const char *uri) argument 337 add_mo_node(struct xml_node_ctx *ctx, xml_node_t *root, xml_node_t *node, const char *uri) argument 384 tnds_to_mo_iter(struct xml_node_ctx *ctx, xml_node_t *root, xml_node_t *node, const char *uri) argument [all...] |
/freebsd-13-stable/contrib/subversion/subversion/include/ |
H A D | svn_dirent_uri.h | 35 * - a uri, for our purposes, is a percent-encoded, absolute path 45 * to any other relative path, uri or dirent. A relative path is 99 * and path portion -- it's a uri. 392 /** Divide the canonicalized @a uri into a uri @a *dirpath and a 397 * Either @a dirpath or @a base_name may be @a uri's own address, but they 400 * If @a uri has two or more components, the separator between @a dirpath 413 const char *uri, 417 * uri. The basename is defined as the last component of the uri [all...] |
H A D | mod_dav_svn.h | 43 Given an apache request @a r, a @a uri, and a @a root_path to the svn 44 location block, process @a uri and return many things, allocated in 47 - @a cleaned_uri: The uri with duplicate and trailing slashes removed. 49 - @a trailing_slash: Whether the uri had a trailing slash on it. 51 Three special substrings of the uri are returned for convenience: 61 NULL if no part of the uri refers to a path in 66 For example, consider the uri 99 const char *uri,
|
/freebsd-13-stable/crypto/heimdal/lib/hx509/ |
H A D | test_windows.in | 69 --crl-uri="http://www.test.h5l.se/test-hemdal-pki-crl1.crl" \ 80 --crl-uri="http://www.test.h5l.se/test-hemdal-pki-crl1.crl" \
|
/freebsd-13-stable/contrib/libevent/ |
H A D | http.c | 443 method, req->uri, req->major, req->minor); 681 /* the callback looks at the uri to determine errors */ 682 if (req->uri) { 683 mm_free(req->uri); 684 req->uri = NULL; 1689 char *uri; local 1700 uri = strsep(&line, " "); 1707 method_len = (uri - method) - 1; 1827 if ((req->uri = mm_strdup(uri)) 2604 evhttp_make_request(struct evhttp_connection *evcon, struct evhttp_request *req, enum evhttp_cmd_type type, const char *uri) argument 3058 evhttp_uriencode(const char *uri, ev_ssize_t len, int space_as_plus) argument 3124 evhttp_decode_uri_internal( const char *uri, size_t length, char *ret, int decode_plus_ctl) argument 3157 evhttp_decode_uri(const char *uri) argument 3174 evhttp_uridecode(const char *uri, int decode_plus, size_t *size_out) argument 3210 struct evhttp_uri *uri=NULL; local 3269 evhttp_parse_query(const char *uri, struct evkeyvalq *headers) argument 3274 evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers) argument 3854 evhttp_set_cb(struct evhttp *http, const char *uri, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument 3884 evhttp_del_cb(struct evhttp *http, const char *uri) argument 4420 struct evhttp_uri *uri = mm_calloc(sizeof(struct evhttp_uri), 1); local 4427 evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags) argument 4553 parse_authority(struct evhttp_uri *uri, char *s, char *eos) argument 4703 struct evhttp_uri *uri = mm_calloc(1, sizeof(struct evhttp_uri)); local 4825 evhttp_uri_free(struct evhttp_uri *uri) argument 4844 evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit) argument 4908 evhttp_uri_get_scheme(const struct evhttp_uri *uri) argument 4913 evhttp_uri_get_userinfo(const struct evhttp_uri *uri) argument 4918 evhttp_uri_get_host(const struct evhttp_uri *uri) argument 4923 evhttp_uri_get_port(const struct evhttp_uri *uri) argument 4928 evhttp_uri_get_path(const struct evhttp_uri *uri) argument 4933 evhttp_uri_get_query(const struct evhttp_uri *uri) argument 4938 evhttp_uri_get_fragment(const struct evhttp_uri *uri) argument 4957 evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme) argument 4966 evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo) argument 4974 evhttp_uri_set_host(struct evhttp_uri *uri, const char *host) argument 4990 evhttp_uri_set_port(struct evhttp_uri *uri, int port) argument 5001 evhttp_uri_set_path(struct evhttp_uri *uri, const char *path) argument 5010 evhttp_uri_set_query(struct evhttp_uri *uri, const char *query) argument 5018 evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment) argument [all...] |
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | dirent_uri.c | 193 uri_schema_root_length(const char *uri, apr_size_t len) 199 if (uri[i] == '/') 201 if (i > 0 && uri[i-1] == ':' && i < len-1 && uri[i+1] == '/') 203 /* We have an absolute uri */ 204 if (i == 5 && strncmp("file", uri, 4) == 0) 209 if (uri[i] == '/') 267 * previous uri segment in URI, which should be a LEN byte string. 274 uri_previous_segment(const char *uri, 282 root_length = uri_schema_root_length(uri, le 192 uri_schema_root_length(const char *uri, apr_size_t len) argument 273 uri_previous_segment(const char *uri, apr_size_t len) argument 996 svn_uri_is_root(const char *uri, apr_size_t len) argument 1360 svn_uri_dirname(const char *uri, apr_pool_t *pool) argument 1373 svn_uri_basename(const char *uri, apr_pool_t *pool) argument 1391 svn_uri_split(const char **dirpath, const char **base_name, const char *uri, apr_pool_t *pool) argument 1677 svn_uri_canonicalize(const char *uri, apr_pool_t *pool) argument 1690 svn_uri_canonicalize_safe(const char **canonical_uri, const char **non_canonical_result, const char *uri, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument 1912 svn_uri_is_canonical(const char *uri, apr_pool_t *scratch_pool) argument 2311 const char *uri = svn_uri_canonicalize( local 2617 char *uri = apr_pstrcat(pool, "file:///", dirent, SVN_VA_NULL); local 2761 svn_urlpath__canonicalize(const char *uri, apr_pool_t *pool) argument [all...] |
/freebsd-13-stable/contrib/ntp/sntp/libevent/ |
H A D | http.c | 437 method, req->uri, req->major, req->minor); 657 /* the callback looks at the uri to determine errors */ 658 if (req->uri) { 659 mm_free(req->uri); 660 req->uri = NULL; 1595 char *uri; local 1606 uri = strsep(&line, " "); 1613 method_len = (uri - method) - 1; 1733 if ((req->uri = mm_strdup(uri)) 2485 evhttp_make_request(struct evhttp_connection *evcon, struct evhttp_request *req, enum evhttp_cmd_type type, const char *uri) argument 2930 evhttp_uriencode(const char *uri, ev_ssize_t len, int space_as_plus) argument 2975 evhttp_decode_uri_internal( const char *uri, size_t length, char *ret, int decode_plus_ctl) argument 3008 evhttp_decode_uri(const char *uri) argument 3025 evhttp_uridecode(const char *uri, int decode_plus, size_t *size_out) argument 3061 struct evhttp_uri *uri=NULL; local 3120 evhttp_parse_query(const char *uri, struct evkeyvalq *headers) argument 3125 evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers) argument 3691 evhttp_set_cb(struct evhttp *http, const char *uri, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument 3721 evhttp_del_cb(struct evhttp *http, const char *uri) argument 4253 struct evhttp_uri *uri = mm_calloc(sizeof(struct evhttp_uri), 1); local 4260 evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags) argument 4386 parse_authority(struct evhttp_uri *uri, char *s, char *eos) argument 4536 struct evhttp_uri *uri = mm_calloc(1, sizeof(struct evhttp_uri)); local 4658 evhttp_uri_free(struct evhttp_uri *uri) argument 4677 evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit) argument 4741 evhttp_uri_get_scheme(const struct evhttp_uri *uri) argument 4746 evhttp_uri_get_userinfo(const struct evhttp_uri *uri) argument 4751 evhttp_uri_get_host(const struct evhttp_uri *uri) argument 4756 evhttp_uri_get_port(const struct evhttp_uri *uri) argument 4761 evhttp_uri_get_path(const struct evhttp_uri *uri) argument 4766 evhttp_uri_get_query(const struct evhttp_uri *uri) argument 4771 evhttp_uri_get_fragment(const struct evhttp_uri *uri) argument 4790 evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme) argument 4799 evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo) argument 4807 evhttp_uri_set_host(struct evhttp_uri *uri, const char *host) argument 4823 evhttp_uri_set_port(struct evhttp_uri *uri, int port) argument 4834 evhttp_uri_set_path(struct evhttp_uri *uri, const char *path) argument 4843 evhttp_uri_set_query(struct evhttp_uri *uri, const char *query) argument 4851 evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment) argument [all...] |
/freebsd-13-stable/contrib/wpa/hs20/client/ |
H A D | spp_client.c | 153 char *uri, *pos; local 160 uri = get_spp_attr_value(ctx->xml, update, "managementTreeURI"); 161 if (uri == NULL) { 165 wpa_printf(MSG_INFO, "managementTreeUri: '%s'", uri); 167 name = os_strrchr(uri, '/'); 170 xml_node_get_attr_value_free(ctx->xml, uri); 179 xml_node_get_attr_value_free(ctx->xml, uri); 206 xml_node_get_attr_value_free(ctx->xml, uri); 214 xml_node_get_attr_value_free(ctx->xml, uri); 223 xml_node_get_attr_value_free(ctx->xml, uri); 378 char *uri, *urn; local 517 char *uri; local [all...] |
H A D | oma_dm_client.c | 82 char *uri, *ret = NULL; local 88 uri = xml_node_get_text(ctx->xml, locuri); 89 if (uri) 90 ret = os_strdup(uri); 91 xml_node_get_text_free(ctx->xml, uri); 97 const char *element, const char *uri) 104 xml_node_create_text(ctx->xml, node, NULL, "LocURI", uri); 507 char *data, *uri, *upos, *end; local 546 uri = os_strdup(pos); 547 if (uri 96 oma_dm_add_locuri(struct hs20_osu_client *ctx, xml_node_t *parent, const char *element, const char *uri) argument [all...] |
/freebsd-13-stable/contrib/serf/auth/ |
H A D | auth.h | 61 const char *uri, 84 const char *uri, 115 const char *uri,
|
/freebsd-13-stable/crypto/openssl/crypto/store/ |
H A D | loader_file.c | 754 char *uri; member in struct:ossl_store_loader_ctx_st::__anon7221::__anon7223 780 OPENSSL_free(ctx->_.dir.uri); 792 const char *uri, 809 path_data[path_data_n++].path = uri; 817 if (strncasecmp(uri, "file:", 5) == 0) { 818 const char *p = &uri[5]; 820 if (strncmp(&uri[5], "//", 2) == 0) { 822 if (strncasecmp(&uri[7], "localhost/", 10) == 0) { 823 p = &uri[16]; 824 } else if (uri[ 791 file_open(const OSSL_STORE_LOADER *loader, const char *uri, const UI_METHOD *ui_method, void *ui_data) argument 1182 ends_with_dirsep(const char *uri) argument [all...] |
/freebsd-13-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_fspath.h | 169 svn_urlpath__canonicalize(const char *uri, apr_pool_t *pool);
|
/freebsd-13-stable/contrib/libevent/sample/ |
H A D | https-client.c | 196 char uri[256]; local 309 snprintf(uri, sizeof(uri) - 1, "%s", path); 311 snprintf(uri, sizeof(uri) - 1, "%s?%s", path, query); 313 uri[sizeof(uri) - 1] = '\0'; 461 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri);
|