Home
last modified time | relevance | path

Searched refs:uri (Results 1 – 25 of 193) sorted by relevance

12345678

/netbsd-src/external/bsd/unbound/dist/testdata/
H A Dzonemd.example_a4.zone1 uri.arpa. 3600 IN SOA sns.dns.icann.org. (
3 uri.arpa. 3600 IN RRSIG NSEC 8 2 3600 (
4 20181028142623 20181007205525 47155 uri.arpa.
8 uri.arpa. 86400 IN RRSIG NS 8 2 86400 (
9 20181028172020 20181007175821 47155 uri.arpa.
13 uri.arpa. 600 IN RRSIG MX 8 2 600 (
14 20181028170556 20181007175821 47155 uri.arpa.
18 uri.arpa. 3600 IN RRSIG DNSKEY 8 2 3600 (
19 20181028152832 20181007175821 15796 uri.arpa.
27 uri.arpa. 3600 IN RRSIG DNSKEY 8 2 3600 (
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dunique.c63 struct unique_domain_uri_s *uri; member
142 unique_free_domain_uri ( unique_domain_uri *uri ) in unique_free_domain_uri() argument
147 while ( uri ) { in unique_free_domain_uri()
148 next_uri = uri->next; in unique_free_domain_uri()
149 ch_free ( uri->dn.bv_val ); in unique_free_domain_uri()
150 ch_free ( uri->ndn.bv_val ); in unique_free_domain_uri()
151 ch_free ( uri->filter.bv_val ); in unique_free_domain_uri()
152 filter_free( uri->f ); in unique_free_domain_uri()
153 attr = uri->attrs; in unique_free_domain_uri()
159 ch_free ( uri ); in unique_free_domain_uri()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/
H A Duri_256.c179 dns_rdata_uri_t *uri = source; in fromstruct_uri()
182 REQUIRE(uri != NULL); in fromstruct_uri()
183 REQUIRE(uri->common.rdtype == type); in fromstruct_uri()
184 REQUIRE(uri->common.rdclass == rdclass); in fromstruct_uri()
185 REQUIRE(uri->target != NULL && uri->tgt_len != 0); in fromstruct_uri()
193 RETERR(uint16_tobuffer(uri->priority, target)); in fromstruct_uri()
198 RETERR(uint16_tobuffer(uri->weight, target)); in fromstruct_uri()
203 return mem_tobuffer(target, uri->target, uri in fromstruct_uri()
180 dns_rdata_uri_t *uri = source; fromstruct_uri() local
209 dns_rdata_uri_t *uri = target; tostruct_uri() local
255 dns_rdata_uri_t *uri = (dns_rdata_uri_t *)source; freestruct_uri() local
[all...]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/
H A Duri_256.c180 dns_rdata_uri_t *uri = source; in fromstruct_uri() local
183 REQUIRE(uri != NULL); in fromstruct_uri()
184 REQUIRE(uri->common.rdtype == type); in fromstruct_uri()
185 REQUIRE(uri->common.rdclass == rdclass); in fromstruct_uri()
186 REQUIRE(uri->target != NULL && uri->tgt_len != 0); in fromstruct_uri()
194 RETERR(uint16_tobuffer(uri->priority, target)); in fromstruct_uri()
199 RETERR(uint16_tobuffer(uri->weight, target)); in fromstruct_uri()
204 return (mem_tobuffer(target, uri->target, uri->tgt_len)); in fromstruct_uri()
209 dns_rdata_uri_t *uri = target; in tostruct_uri() local
213 REQUIRE(uri != NULL); in tostruct_uri()
[all …]
/netbsd-src/external/bsd/libevent/dist/test/
H A Dregress_http.c2533 struct evhttp_uri *uri = NULL; in http_parse_uri_test() local
2535 #define URI_PARSE(uri) \ in http_parse_uri_test() argument
2536 evhttp_uri_parse_with_flags((uri), parse_flags) in http_parse_uri_test()
2539 char *ret = evhttp_uri_join(uri, url_tmp, sizeof(url_tmp)); \ in http_parse_uri_test()
2557 uri = URI_PARSE(s); \ in http_parse_uri_test()
2558 if (uri != NULL && !nonconform) { \ in http_parse_uri_test()
2560 } else if (uri == NULL && nonconform) { \ in http_parse_uri_test()
2564 if (uri) { \ in http_parse_uri_test()
2565 tt_want(evhttp_uri_join(uri, url_tmp, \ in http_parse_uri_test()
2567 evhttp_uri_free(uri); \ in http_parse_uri_test()
[all …]
/netbsd-src/external/bsd/openldap/dist/tests/scripts/
H A Dtest061-syncreplication-initiation162 for uri in $URIS; do
163 echo "Adding schema on $uri"
164 $LDAPADD -D cn=config -H $uri -y $CONFIGPWF <<EOF > $TESTOUT 2>&1
185 echo "Adding backend module on $uri..."
186 $LDAPADD -D cn=config -H $uri -y $CONFIGPWF <<EOF >>$TESTOUT 2>&1
210 for uri in $PROV_URI; do
211 echo "Adding database configuration on $uri"
212 $LDAPADD -D cn=config -H $uri -y $CONFIGPWF <<EOF > $TESTOUT 2>&1
239 echo "Populating provider on $uri"
257 for uri in $FWD1_URI; do
[all …]
/netbsd-src/external/bsd/libevent/dist/sample/
H A Dhttp-connect.c31 struct evhttp_uri *uri; in uri_parse() local
32 VERIFY(uri = evhttp_uri_parse(str)); in uri_parse()
33 VERIFY(evhttp_uri_get_host(uri)); in uri_parse()
34 VERIFY(evhttp_uri_get_port(uri) > 0); in uri_parse()
35 return uri; in uri_parse()
37 static char* uri_path(struct evhttp_uri *uri, char buffer[URL_MAX]) in uri_path() argument
41 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_path()
51 static char* uri_hostport(struct evhttp_uri *uri, char buffer[URL_MAX]) in uri_hostport() argument
53 VERIFY(evhttp_uri_join(uri, buffer, URL_MAX)); in uri_hostport()
54 VERIFY(evhttp_uri_get_host(uri)); in uri_hostport()
[all …]
H A Dhttps-client.c224 char uri[256]; in main() local
337 snprintf(uri, sizeof(uri) - 1, "%s", path); in main()
339 snprintf(uri, sizeof(uri) - 1, "%s?%s", path, query); in main()
341 uri[sizeof(uri) - 1] = '\0'; in main()
500 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main()
/netbsd-src/external/bsd/libevent/dist/
H A Dhttp.c456 method, req->uri, req->major, req->minor); in evhttp_make_header_request()
698 if (req->uri) { in evhttp_connection_incoming_fail()
699 mm_free(req->uri); in evhttp_connection_incoming_fail()
700 req->uri = NULL; in evhttp_connection_incoming_fail()
1726 char *uri; in evhttp_parse_request_line() local
1745 uri = line; in evhttp_parse_request_line()
1746 version = strrchr(uri, ' '); in evhttp_parse_request_line()
1747 if (!version || uri == version) in evhttp_parse_request_line()
1752 method_len = (uri - method) - 1; in evhttp_parse_request_line()
1872 if ((req->uri = mm_strdup(uri)) == NULL) { in evhttp_parse_request_line()
[all …]
/netbsd-src/external/bsd/libevent/dist/include/event2/
H A Dhttp.h795 enum evhttp_cmd_type type, const char *uri);
947 char *evhttp_decode_uri(const char *uri);
965 char *evhttp_uridecode(const char *uri, int decode_plus,
988 int evhttp_parse_query(const char *uri, struct evkeyvalq *headers);
1008 int evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers);
1035 void evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags);
1040 const char *evhttp_uri_get_scheme(const struct evhttp_uri *uri);
1046 const char *evhttp_uri_get_userinfo(const struct evhttp_uri *uri);
1060 const char *evhttp_uri_get_host(const struct evhttp_uri *uri);
1063 int evhttp_uri_get_port(const struct evhttp_uri *uri);
[all …]
/netbsd-src/external/bsd/openldap/dist/clients/tools/
H A Dldapurl.c68 char *uri; in do_uri_create() local
94 uri = ldap_url_desc2str( lud ); in do_uri_create()
106 if ( uri == NULL ) { in do_uri_create()
111 printf( "%s\n", uri ); in do_uri_create()
112 free( uri ); in do_uri_create()
118 do_uri_explode( const char *uri ) in do_uri_explode() argument
123 rc = ldap_url_parse( uri, &lud ); in do_uri_explode()
125 fprintf( stderr, "unable to parse URI \"%s\"\n", uri ); in do_uri_explode()
177 char *uri = NULL; in main() local
197 if ( uri != NULL ) { in main()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/storemgmt/
H A Dfile_store.c68 char *uri; /* The URI we currently try to load */ member
115 OPENSSL_free(ctx->uri); in free_file_ctx()
124 static struct file_ctx_st *new_file_ctx(int type, const char *uri, in new_file_ctx() argument
130 && (uri == NULL || (ctx->uri = OPENSSL_strdup(uri)) != NULL)) { in new_file_ctx()
152 static struct file_ctx_st *file_open_stream(BIO *source, const char *uri, in file_open_stream() argument
157 if ((ctx = new_file_ctx(IS_FILE, uri, provctx)) == NULL) { in file_open_stream()
170 static void *file_open_dir(const char *path, const char *uri, void *provctx) in file_open_dir() argument
174 if ((ctx = new_file_ctx(IS_DIR, uri, provctx)) == NULL) { in file_open_dir()
195 static void *file_open(void *provctx, const char *uri) in file_open() argument
213 path_data[path_data_n++].path = uri; in file_open()
[all …]
/netbsd-src/external/mpl/bind/dist/tests/isc/
H A Ddoh_test.c200 connect_send_request(isc_nm_t *mgr, const char *uri, bool post, in setup_ephemeral_port()
217 isc_nm_httpconnect(mgr, NULL, &tcp_listen_addr, uri, post, in setup_ephemeral_port()
1700 char uri[256]; in ISC_RUN_TEST_IMPL()
1704 uri[0] = '\0'; in ISC_RUN_TEST_IMPL()
1705 isc_nm_http_makeuri(true, &sa, NULL, 0, ISC_NM_HTTP_DEFAULT_PATH, uri, in ISC_RUN_TEST_IMPL()
1706 sizeof(uri)); in ISC_RUN_TEST_IMPL()
1707 assert_true(strcmp("https://127.0.0.1:443/dns-query", uri) == 0); in ISC_RUN_TEST_IMPL()
1709 uri[0] = '\0'; in ISC_RUN_TEST_IMPL()
1710 isc_nm_http_makeuri(false, &sa, NULL, 0, ISC_NM_HTTP_DEFAULT_PATH, uri, in ISC_RUN_TEST_IMPL()
1711 sizeof(uri)); in ISC_RUN_TEST_IMPL()
172 connect_send_request(isc_nm_t * mgr,const char * uri,bool post,isc_region_t * region,isc_nm_recv_cb_t cb,void * cbarg,bool tls,unsigned int timeout) connect_send_request() argument
2113 char uri[256]; ISC_RUN_TEST_IMPL() local
[all...]
/netbsd-src/external/bsd/wpa/dist/src/utils/
H A Dxml-utils.c16 xml_node_t *root, char *uri) in get_node_uri_iter() argument
22 end = strchr(uri, '/'); in get_node_uri_iter()
30 if (strcasecmp(name, uri) == 0) in get_node_uri_iter()
47 const char *uri) in get_node_uri() argument
52 search = os_strdup(uri); in get_node_uri()
228 xml_node_t *in, const char *uri) in node_to_tnds() argument
245 if (uri) in node_to_tnds()
246 xml_node_create_text(ctx, tnds, NULL, "Path", uri); in node_to_tnds()
254 new_uri = add_path(uri, name); in node_to_tnds()
338 xml_node_t *node, const char *uri) in add_mo_node() argument
[all …]
/netbsd-src/external/bsd/wpa/dist/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)
/netbsd-src/crypto/external/bsd/openssl/dist/engines/
H A De_loader_attic.c265 void *ui_data, const char *uri,
302 void *ui_data, const char *uri, in try_decode_PKCS12() argument
332 "PKCS12 import", uri, in try_decode_PKCS12()
438 const char *uri, in try_decode_PKCS8Encrypted() argument
469 "PKCS8 decrypt pass phrase", uri, in try_decode_PKCS8Encrypted()
514 void *ui_data, const char *uri, in try_decode_PrivateKey() argument
643 void *ui_data, const char *uri, in try_decode_PUBKEY() argument
679 void *ui_data, const char *uri, in try_decode_params() argument
757 const char *uri, in try_decode_X509Certificate() argument
813 void *ui_data, const char *uri, in try_decode_X509CRL() argument
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/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) argument
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, int maybe_stdin, STACK_OF(X509) **certs,
141 int load_crls(const char *uri, STACK_OF(X509_CRL) **crls,
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/store/
H A Dloader_file.c755 char *uri; member
781 OPENSSL_free(ctx->_.dir.uri); in OSSL_STORE_LOADER_CTX_free()
793 const char *uri, in file_open() argument
810 path_data[path_data_n++].path = uri; in file_open()
818 if (strncasecmp(uri, "file:", 5) == 0) { in file_open()
819 const char *p = &uri[5]; in file_open()
821 if (strncmp(&uri[5], "//", 2) == 0) { in file_open()
823 if (strncasecmp(&uri[7], "localhost/", 10) == 0) { in file_open()
824 p = &uri[16]; in file_open()
825 } else if (uri[7] == '/') { in file_open()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dossl_store_test.c72 static int get_params(const char *uri, const char *type) in get_params() argument
79 ctx = OSSL_STORE_open_ex(uri, NULL, NULL, NULL, NULL, NULL, NULL, NULL); in get_params()
106 char uri[PATH_MAX]; in test_store_get_params() local
142 if (!TEST_true(BIO_snprintf(uri, sizeof(uri), urifmt, datadir, type))) in test_store_get_params()
145 TEST_info("Testing uri: %s", uri); in test_store_get_params()
146 if (!TEST_true(get_params(uri, type))) in test_store_get_params()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/
H A Dapps.c83 int load_key_certs_crls_suppress(const char *uri, int format, int maybe_stdin,
460 #define IS_HTTP(uri) ((uri) != NULL \ argument
461 && strncmp(uri, OSSL_HTTP_PREFIX, strlen(OSSL_HTTP_PREFIX)) == 0)
462 #define IS_HTTPS(uri) ((uri) != NULL \ argument
463 && strncmp(uri, OSSL_HTTPS_PREFIX, strlen(OSSL_HTTPS_PREFIX)) == 0)
465 X509 *load_cert_pass(const char *uri, int format, int maybe_stdin, in load_cert_pass() argument
472 if (IS_HTTPS(uri)) in load_cert_pass()
474 else if (IS_HTTP(uri)) in load_cert_pass()
475 cert = X509_load_http(uri, NULL, NULL, 0 /* timeout */); in load_cert_pass()
477 (void)load_key_certs_crls(uri, format, maybe_stdin, pass, desc, in load_cert_pass()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509_d2.c76 int X509_STORE_load_store_ex(X509_STORE *ctx, const char *uri, in X509_STORE_load_store_ex() argument
81 if (uri == NULL in X509_STORE_load_store_ex()
83 || X509_LOOKUP_add_store_ex(lookup, uri, libctx, propq) == 0) in X509_STORE_load_store_ex()
89 int X509_STORE_load_store(X509_STORE *ctx, const char *uri) in X509_STORE_load_store() argument
91 return X509_STORE_load_store_ex(ctx, uri, NULL, NULL); in X509_STORE_load_store()
/netbsd-src/external/bsd/openldap/dist/tests/data/
H A Dlloadd-backend-issues.conf26 backend-server uri=@URI2@
34 backend-server uri=@URI3@
42 backend-server uri=@URI4@
50 backend-server uri=ldap://does.not.resolve.example.com
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Duri.d24 module std.uri;
27 debug(uri) import std.stdio;
196 private dstring URI_Decode(Char)(in Char[] uri, uint reservedSet)
212 immutable len = uri.length;
213 auto s = uri.ptr;
348 string encode(Char)(in Char[] uri)
352 auto s = toUTF32(uri);
550 debug(uri) writeln("uri.encodeURI.unittest");
556 debug(uri) writefln("result = '%s'", result);
559 debug(uri) writefln("result = '%s'", result);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Duri.d24 module std.uri;
27 debug(uri) import std.stdio;
194 private dstring URI_Decode(Char)(scope const(Char)[] uri, uint reservedSet)
205 immutable len = uri.length;
206 auto s = uri;
361 string encode(Char)(scope const(Char)[] uri)
365 auto s = toUTF32(uri);
589 debug(uri) writeln("uri.encodeURI.unittest");
595 debug(uri) writefln("result = '%s'", result);
598 debug(uri) writefln("result = '%s'", result);
[all …]
/netbsd-src/external/bsd/wpa/dist/src/wps/
H A Dhttpread.c71 char *uri; member
136 os_free(h->uri); in httpread_destroy()
251 char *uri; in httpread_hdr_analyze() local
265 h->uri = os_malloc((hbp - rawuri) + 1); in httpread_hdr_analyze()
266 if (h->uri == NULL) in httpread_hdr_analyze()
268 uri = h->uri; in httpread_hdr_analyze()
273 *uri++ = hex2byte(rawuri + 1); in httpread_hdr_analyze()
276 *uri++ = c; in httpread_hdr_analyze()
280 *uri = 0; /* null terminate */ in httpread_hdr_analyze()
782 return h->uri; in httpread_uri_get()

12345678