Searched refs:uri (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-current/contrib/wpa/src/utils/
H A Dbrowser.c62 const char *uri)
66 if (g_str_has_prefix(uri, "osu://")) {
67 ctx->success = atoi(uri + 6);
69 } else if (g_str_has_prefix(uri, "http://localhost:12345")) {
107 const gchar *uri = webkit_uri_request_get_uri(req); local
109 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri);
110 process_request_starting_uri(ctx, uri);
138 const gchar *uri; local
143 uri
61 process_request_starting_uri(struct browser_context *ctx, const char *uri) argument
163 const char *uri = NULL; local
227 const gchar *uri = webkit_network_request_get_uri(req); local
257 const gchar *uri; local
264 view_cb_hovering_over_link(WebKitWebView *view, gchar *title, gchar *uri, struct browser_context *ctx) argument
[all...]
H A Dxml-utils.c16 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-current/contrib/llvm-project/lldb/source/Utility/
H A DUriParser.cpp28 std::optional<URI> URI::Parse(llvm::StringRef uri) { argument
32 auto pos = uri.find(kSchemeSep);
37 ret.scheme = uri.substr(0, pos);
39 auto path_pos = uri.find('/', host_pos);
41 ret.path = uri.substr(path_pos);
45 auto host_port = uri.substr(
47 ((path_pos != std::string::npos) ? path_pos : uri.size()) - host_pos);
/freebsd-current/contrib/ntp/sntp/libevent/sample/
H A Dhttp-connect.c28 struct evhttp_uri *uri; local
29 VERIFY(uri = evhttp_uri_parse(str));
30 VERIFY(evhttp_uri_get_host(uri));
31 VERIFY(evhttp_uri_get_port(uri) > 0);
32 return uri;
34 static char* uri_path(struct evhttp_uri *uri, char buffer[URL_MAX]) argument
38 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX));
48 static char* uri_hostport(struct evhttp_uri *uri, char buffer[URL_MAX]) argument
50 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX));
51 VERIFY(evhttp_uri_get_host(uri));
[all...]
H A Dhttps-client.c223 char uri[256]; local
336 snprintf(uri, sizeof(uri) - 1, "%s", path);
338 snprintf(uri, sizeof(uri) - 1, "%s?%s", path, query);
340 uri[sizeof(uri) - 1] = '\0';
499 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri);
/freebsd-current/contrib/libevent/sample/
H A Dhttp-connect.c28 struct evhttp_uri *uri; local
29 VERIFY(uri = evhttp_uri_parse(str));
30 VERIFY(evhttp_uri_get_host(uri));
31 VERIFY(evhttp_uri_get_port(uri) > 0);
32 return uri;
34 static char* uri_path(struct evhttp_uri *uri, char buffer[URL_MAX]) argument
38 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX));
48 static char* uri_hostport(struct evhttp_uri *uri, char buffer[URL_MAX]) argument
50 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX));
51 VERIFY(evhttp_uri_get_host(uri));
[all...]
H A Dhttps-client.c223 char uri[256]; local
336 snprintf(uri, sizeof(uri) - 1, "%s", path);
338 snprintf(uri, sizeof(uri) - 1, "%s?%s", path, query);
340 uri[sizeof(uri) - 1] = '\0';
499 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri);
/freebsd-current/contrib/wpa/wpa_supplicant/examples/
H A Ddpp-qrcode.py49 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)
H A Ddpp-nfc.py94 def dpp_nfc_uri_process(uri):
98 peer_id = wpas.request("DPP_NFC_URI " + uri)
103 summary("peer_id=%d for URI from NFC Tag: %s" % (peer_id, uri))
133 uri = uribuf.decode()
137 summary("URI: " + uri)
138 if not uri.startswith("DPP:"):
141 return dpp_nfc_uri_process(uri)
244 own_id = dpp_bootstrap_gen(wpas, type="nfc-uri", chan=chan, mac=True)
253 def wpas_report_handover_req(uri):
258 cmd = "DPP_NFC_HANDOVER_REQ own=%d uri
[all...]
/freebsd-current/contrib/ntp/sntp/libevent/include/event2/
H A Dhttp.h58 #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 */
787 @param uri the URI associated with the request
794 enum evhttp_cmd_type type, const char *uri);
942 @param uri an encoded URI
946 char *evhttp_decode_uri(const char *uri);
957 @param uri a URI-encode encoded URI
964 char *evhttp_uridecode(const char *uri, in
[all...]
H A Drpc_struct.h73 const char* uri; member in struct:evrpc
/freebsd-current/contrib/libevent/include/event2/
H A Dhttp.h58 #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 */
787 @param uri the URI associated with the request
794 enum evhttp_cmd_type type, const char *uri);
942 @param uri an encoded URI
946 char *evhttp_decode_uri(const char *uri);
957 @param uri a URI-encode encoded URI
964 char *evhttp_uridecode(const char *uri, in
[all...]
H A Drpc_struct.h73 const char* uri; member in struct:evrpc
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c564 /* Connect to the second port again. This time, send an absolute uri. */
2528 struct evhttp_uri *uri = NULL; local
2530 #define URI_PARSE(uri) \
2531 evhttp_uri_parse_with_flags((uri), parse_flags)
2534 char *ret = evhttp_uri_join(uri, url_tmp, sizeof(url_tmp)); \
2552 uri = URI_PARSE(s); \
2553 if (uri != NULL && !nonconform) { \
2555 } else if (uri == NULL && nonconform) { \
2559 if (uri) { \
2560 tt_want(evhttp_uri_join(uri, url_tm
3671 http_simple_test_impl(void *arg, int ssl, int dirty, const char *uri) argument
[all...]
/freebsd-current/contrib/libevent/test/
H A Dregress_http.c564 /* Connect to the second port again. This time, send an absolute uri. */
2528 struct evhttp_uri *uri = NULL; local
2530 #define URI_PARSE(uri) \
2531 evhttp_uri_parse_with_flags((uri), parse_flags)
2534 char *ret = evhttp_uri_join(uri, url_tmp, sizeof(url_tmp)); \
2552 uri = URI_PARSE(s); \
2553 if (uri != NULL && !nonconform) { \
2555 } else if (uri == NULL && nonconform) { \
2559 if (uri) { \
2560 tt_want(evhttp_uri_join(uri, url_tm
3671 http_simple_test_impl(void *arg, int ssl, int dirty, const char *uri) argument
[all...]
/freebsd-current/crypto/openssl/crypto/x509/
H A Dx509_d2.c76 int X509_STORE_load_store_ex(X509_STORE *ctx, const char *uri, argument
81 if (uri == NULL
83 || X509_LOOKUP_add_store_ex(lookup, uri, libctx, propq) == 0)
89 int X509_STORE_load_store(X509_STORE *ctx, const char *uri) argument
91 return X509_STORE_load_store_ex(ctx, uri, NULL, NULL);
/freebsd-current/crypto/openssl/test/
H A Dossl_store_test.c72 static int get_params(const char *uri, const char *type) argument
79 ctx = OSSL_STORE_open_ex(uri, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
106 char uri[PATH_MAX]; local
142 if (!TEST_true(BIO_snprintf(uri, sizeof(uri), urifmt, datadir, type)))
145 TEST_info("Testing uri: %s", uri);
146 if (!TEST_true(get_params(uri, type)))
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dhttp.c452 method, req->uri, req->major, req->minor);
693 /* the callback looks at the uri to determine errors */
694 if (req->uri) {
695 mm_free(req->uri);
696 req->uri = NULL;
1722 char *uri; local
1741 uri = line;
1742 version = strrchr(uri, ' ');
1743 if (!version || uri == version)
1748 method_len = (uri
2648 evhttp_make_request(struct evhttp_connection *evcon, struct evhttp_request *req, enum evhttp_cmd_type type, const char *uri) argument
3110 evhttp_uriencode(const char *uri, ev_ssize_t len, int space_as_plus) argument
3176 evhttp_decode_uri_internal( const char *uri, size_t length, char *ret, int decode_plus_ctl) argument
3209 evhttp_decode_uri(const char *uri) argument
3226 evhttp_uridecode(const char *uri, int decode_plus, size_t *size_out) argument
3262 struct evhttp_uri *uri=NULL; local
3324 evhttp_parse_query(const char *uri, struct evkeyvalq *headers) argument
3329 evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers) argument
3914 evhttp_set_cb(struct evhttp *http, const char *uri, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument
3944 evhttp_del_cb(struct evhttp *http, const char *uri) argument
4494 struct evhttp_uri *uri = mm_calloc(sizeof(struct evhttp_uri), 1); local
4501 evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags) argument
4627 parse_authority(struct evhttp_uri *uri, char *s, char *eos) argument
4777 struct evhttp_uri *uri = mm_calloc(1, sizeof(struct evhttp_uri)); local
4901 struct evhttp_uri *uri = mm_calloc(1, sizeof(struct evhttp_uri)); local
4929 evhttp_uri_free(struct evhttp_uri *uri) argument
4948 evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit) argument
5012 evhttp_uri_get_scheme(const struct evhttp_uri *uri) argument
5017 evhttp_uri_get_userinfo(const struct evhttp_uri *uri) argument
5022 evhttp_uri_get_host(const struct evhttp_uri *uri) argument
5027 evhttp_uri_get_port(const struct evhttp_uri *uri) argument
5032 evhttp_uri_get_path(const struct evhttp_uri *uri) argument
5037 evhttp_uri_get_query(const struct evhttp_uri *uri) argument
5042 evhttp_uri_get_fragment(const struct evhttp_uri *uri) argument
5061 evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme) argument
5070 evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo) argument
5078 evhttp_uri_set_host(struct evhttp_uri *uri, const char *host) argument
5094 evhttp_uri_set_port(struct evhttp_uri *uri, int port) argument
5105 evhttp_uri_set_path(struct evhttp_uri *uri, const char *path) argument
5114 evhttp_uri_set_query(struct evhttp_uri *uri, const char *query) argument
5122 evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment) argument
[all...]
/freebsd-current/contrib/libevent/
H A Dhttp.c452 method, req->uri, req->major, req->minor);
693 /* the callback looks at the uri to determine errors */
694 if (req->uri) {
695 mm_free(req->uri);
696 req->uri = NULL;
1722 char *uri; local
1741 uri = line;
1742 version = strrchr(uri, ' ');
1743 if (!version || uri == version)
1748 method_len = (uri
2648 evhttp_make_request(struct evhttp_connection *evcon, struct evhttp_request *req, enum evhttp_cmd_type type, const char *uri) argument
3110 evhttp_uriencode(const char *uri, ev_ssize_t len, int space_as_plus) argument
3176 evhttp_decode_uri_internal( const char *uri, size_t length, char *ret, int decode_plus_ctl) argument
3209 evhttp_decode_uri(const char *uri) argument
3226 evhttp_uridecode(const char *uri, int decode_plus, size_t *size_out) argument
3262 struct evhttp_uri *uri=NULL; local
3324 evhttp_parse_query(const char *uri, struct evkeyvalq *headers) argument
3329 evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers) argument
3914 evhttp_set_cb(struct evhttp *http, const char *uri, void (*cb)(struct evhttp_request *, void *), void *cbarg) argument
3944 evhttp_del_cb(struct evhttp *http, const char *uri) argument
4494 struct evhttp_uri *uri = mm_calloc(sizeof(struct evhttp_uri), 1); local
4501 evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags) argument
4627 parse_authority(struct evhttp_uri *uri, char *s, char *eos) argument
4777 struct evhttp_uri *uri = mm_calloc(1, sizeof(struct evhttp_uri)); local
4901 struct evhttp_uri *uri = mm_calloc(1, sizeof(struct evhttp_uri)); local
4929 evhttp_uri_free(struct evhttp_uri *uri) argument
4948 evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit) argument
5012 evhttp_uri_get_scheme(const struct evhttp_uri *uri) argument
5017 evhttp_uri_get_userinfo(const struct evhttp_uri *uri) argument
5022 evhttp_uri_get_host(const struct evhttp_uri *uri) argument
5027 evhttp_uri_get_port(const struct evhttp_uri *uri) argument
5032 evhttp_uri_get_path(const struct evhttp_uri *uri) argument
5037 evhttp_uri_get_query(const struct evhttp_uri *uri) argument
5042 evhttp_uri_get_fragment(const struct evhttp_uri *uri) argument
5061 evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme) argument
5070 evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo) argument
5078 evhttp_uri_set_host(struct evhttp_uri *uri, const char *host) argument
5094 evhttp_uri_set_port(struct evhttp_uri *uri, int port) argument
5105 evhttp_uri_set_path(struct evhttp_uri *uri, const char *path) argument
5114 evhttp_uri_set_query(struct evhttp_uri *uri, const char *query) argument
5122 evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment) argument
[all...]
/freebsd-current/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store.c68 char *uri; /* The URI we currently try to load */ member in struct:file_ctx_st
115 OPENSSL_free(ctx->uri);
124 static struct file_ctx_st *new_file_ctx(int type, const char *uri, argument
130 && (uri == NULL || (ctx->uri = OPENSSL_strdup(uri)) != NULL)) {
152 static struct file_ctx_st *file_open_stream(BIO *source, const char *uri, argument
157 if ((ctx = new_file_ctx(IS_FILE, uri, provctx)) == NULL) {
170 static void *file_open_dir(const char *path, const char *uri, void *provctx) argument
174 if ((ctx = new_file_ctx(IS_DIR, uri, provct
195 file_open(void *provctx, const char *uri) argument
[all...]
/freebsd-current/crypto/heimdal/lib/hx509/
H A Dtest_windows.in69 --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-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DUriParser.h32 static std::optional<URI> Parse(llvm::StringRef uri);
/freebsd-current/contrib/wpa/hs20/client/
H A Dspp_client.c153 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...]
/freebsd-current/crypto/openssl/apps/include/
H A Dapps.h114 X509 *load_cert_pass(const char *uri, int format, int maybe_stdin,
116 #define load_cert(uri, format, desc) load_cert_pass(uri, format, 1, NULL, desc)
117 X509_CRL *load_crl(const char *uri, int format, int maybe_stdin,
121 EVP_PKEY *load_key(const char *uri, int format, int maybe_stdin,
123 EVP_PKEY *load_pubkey(const char *uri, int format, int maybe_stdin,
125 EVP_PKEY *load_keyparams(const char *uri, int format, int maybe_stdin,
127 EVP_PKEY *load_keyparams_suppress(const char *uri, int format, int maybe_stdin,
131 int load_cert_certs(const char *uri,
139 int load_certs(const char *uri, in
[all...]
/freebsd-current/crypto/openssl/engines/
H A De_loader_attic.c265 void *ui_data, const char *uri,
302 void *ui_data, const char *uri,
332 "PKCS12 import", uri,
438 const char *uri,
469 "PKCS8 decrypt pass phrase", uri,
514 void *ui_data, const char *uri,
643 void *ui_data, const char *uri,
679 void *ui_data, const char *uri,
757 const char *uri,
813 void *ui_data, const char *uri,
296 try_decode_PKCS12(const char *pem_name, const char *pem_header, const unsigned char *blob, size_t len, void **pctx, int *matchcount, const UI_METHOD *ui_method, void *ui_data, const char *uri, OSSL_LIB_CTX *libctx, const char *propq) argument
431 try_decode_PKCS8Encrypted(const char *pem_name, const char *pem_header, const unsigned char *blob, size_t len, void **pctx, int *matchcount, const UI_METHOD *ui_method, void *ui_data, const char *uri, OSSL_LIB_CTX *libctx, const char *propq) argument
508 try_decode_PrivateKey(const char *pem_name, const char *pem_header, const unsigned char *blob, size_t len, void **pctx, int *matchcount, const UI_METHOD *ui_method, void *ui_data, const char *uri, OSSL_LIB_CTX *libctx, const char *propq) argument
637 try_decode_PUBKEY(const char *pem_name, const char *pem_header, const unsigned char *blob, size_t len, void **pctx, int *matchcount, const UI_METHOD *ui_method, void *ui_data, const char *uri, OSSL_LIB_CTX *libctx, const char *propq) argument
673 try_decode_params(const char *pem_name, const char *pem_header, const unsigned char *blob, size_t len, void **pctx, int *matchcount, const UI_METHOD *ui_method, void *ui_data, const char *uri, OSSL_LIB_CTX *libctx, const char *propq) argument
750 try_decode_X509Certificate(const char *pem_name, const char *pem_header, const unsigned char *blob, size_t len, void **pctx, int *matchcount, const UI_METHOD *ui_method, void *ui_data, const char *uri, OSSL_LIB_CTX *libctx, const char *propq) argument
807 try_decode_X509CRL(const char *pem_name, const char *pem_header, const unsigned char *blob, size_t len, void **pctx, int *matchcount, const UI_METHOD *ui_method, void *ui_data, const char *uri, OSSL_LIB_CTX *libctx, const char *propq) argument
863 char *uri; /* The URI we currently try to load */ member in struct:ossl_store_loader_ctx_st
946 file_open_ex(const OSSL_STORE_LOADER *loader, const char *uri, OSSL_LIB_CTX *libctx, const char *propq, const UI_METHOD *ui_method, void *ui_data) argument
1071 file_open(const OSSL_STORE_LOADER *loader, const char *uri, const UI_METHOD *ui_method, void *ui_data) argument
1308 file_read_pem(BIO *bp, char **pem_name, char **pem_header, unsigned char **data, long *len, const UI_METHOD *ui_method, void *ui_data, const char *uri, int secure) argument
1377 file_try_read_PVK(BIO *bp, const UI_METHOD *ui_method, void *ui_data, const char *uri, int *matchcount) argument
[all...]

Completed in 309 milliseconds

1234