/freebsd-11-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-11-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-11-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-11-stable/contrib/serf/buckets/ |
H A D | request_buckets.c | 30 const char *uri; member in struct:__anon71 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-11-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
|
H A D | http_struct.h | 97 char *uri; /* uri after HTTP request was parsed */ member in struct:evhttp_request 98 struct evhttp_uri *uri_elems; /* uri elements */
|
/freebsd-11-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-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UriParser.h | 25 static bool Parse(llvm::StringRef uri, llvm::StringRef &scheme,
|
/freebsd-11-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-11-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-11-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-11-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-11-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...] |
H A D | evrpc.c | 101 r = evrpc_unregister_rpc(base, rpc->uri); 211 evrpc_construct_uri(const char *uri) argument 216 constructed_uri_len = strlen(EVRPC_URI_PREFIX) + strlen(uri) + 1; 219 __func__, uri); 221 memcpy(constructed_uri + strlen(EVRPC_URI_PREFIX), uri, strlen(uri)); 231 char *constructed_uri = evrpc_construct_uri(rpc->uri); 258 if (strcmp(rpc->uri, name) == 0) 275 mm_free((char *)rpc->uri); 724 char *uri local [all...] |
/freebsd-11-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-11-stable/contrib/serf/auth/ |
H A D | auth.h | 61 const char *uri, 84 const char *uri, 115 const char *uri,
|
/freebsd-11-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_fspath.h | 169 svn_urlpath__canonicalize(const char *uri, apr_pool_t *pool);
|
/freebsd-11-stable/contrib/serf/ |
H A D | ssltunnel.c | 33 const char *uri; member in struct:__anon86 156 "CONNECT", ctx->uri, 184 ctx->uri = apr_psprintf(ctx->pool, "%s:%d", conn->host_info.hostname,
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_client/ |
H A D | delete.c | 304 const char *uri = APR_ARRAY_IDX(uris, i, const char *); 313 repos_relpath = svn_uri_skip_ancestor(repos_root, uri, pool); 321 apr_pstrdup(pool, uri); 337 SVN_ERR(svn_client_open_ra_session2(&ra_session, uri, NULL, 341 repos_relpath = svn_uri_skip_ancestor(repos_root, uri, pool); 346 APR_ARRAY_PUSH(target_uris, const char *) = apr_pstrdup(pool, uri); 361 _("URL '%s' not within a repository"), uri); 368 _("URL '%s' does not exist"), uri); 302 const char *uri = APR_ARRAY_IDX(uris, i, const char *); local
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | httpread.c | 71 char *uri; member in struct:httpread 136 os_free(h->uri); 251 char *uri; local 257 /* parse uri. 265 h->uri = os_malloc((hbp - rawuri) + 1); 266 if (h->uri == NULL) 268 uri = h->uri; 273 *uri++ = hex2byte(rawuri + 1); 276 *uri [all...] |
/freebsd-11-stable/contrib/apr-util/include/ |
H A D | apr_uri.h | 83 * A structure to encompass all of the fields in a uri 133 * @param uptr All of the parts of the uri 134 * @param flags How to unparse the uri. One of: 144 * @return The uri as a string 155 * @param uri The uri to parse 159 APU_DECLARE(apr_status_t) apr_uri_parse(apr_pool_t *p, const char *uri,
|