Searched refs:http (Results 1 - 25 of 1167) sorted by relevance

1234567891011>>

/macosx-10.9.5/CPANInternal-140/URI/URI/
H A Dhttps.pm2 require URI::http;
3 @ISA=qw(URI::http);
H A Dmms.pm3 require URI::http;
4 @ISA=qw(URI::http);
H A Drtsp.pm3 require URI::http;
4 @ISA=qw(URI::http);
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dhttp.c2 * "$Id: http.c 11780 2014-03-28 20:51:12Z msweet $"
15 * file is missing or damaged, see the license at "http://www.cups.org/".
44 static void http_content_coding_finish(http_t *http);
45 static void http_content_coding_start(http_t *http,
57 static ssize_t http_read(http_t *http, char *buffer, size_t length);
58 static ssize_t http_read_buffered(http_t *http, char *buffer, size_t length);
59 static ssize_t http_read_chunk(http_t *http, char *buffer, size_t length);
60 static int http_send(http_t *http, http_state_t request,
62 static ssize_t http_write(http_t *http, const char *buffer,
64 static ssize_t http_write_chunk(http_t *http, cons
165 http_t *http; /* HTTP connection */ local
291 httpBlocking(http_t *http, int b) argument
307 httpCheck(http_t *http) argument
320 httpClearCookie(http_t *http) argument
338 httpClearFields(http_t *http) argument
388 httpClose(http_t *http) argument
475 http_t *http; /* New HTTP connection */ local
538 httpCopyCredentials( http_t *http, cups_array_t **credentials) argument
663 httpDelete(http_t *http, const char *uri) argument
675 _httpDisconnect(http_t *http) argument
697 httpEncryption(http_t *http, http_encryption_t e) argument
729 httpError(http_t *http) argument
743 httpFlush(http_t *http) argument
820 httpFlushWrite(http_t *http) argument
904 httpGet(http_t *http, const char *uri) argument
923 httpGetAuthString(http_t *http) argument
939 httpGetBlocking(http_t *http) argument
960 httpGetContentEncoding(http_t *http) argument
1040 httpGetCookie(http_t *http) argument
1056 httpGetExpect(http_t *http) argument
1072 httpGetFd(http_t *http) argument
1083 httpGetField(http_t *http, http_field_t field) argument
1128 httpGetLength(http_t *http) argument
1156 httpGetLength2(http_t *http) argument
1218 httpGets(char *line, int length, http_t *http) argument
1392 httpGetState(http_t *http) argument
1405 httpGetStatus(http_t *http) argument
1418 httpGetSubField(http_t *http, http_field_t field, const char *name, char *value) argument
1434 httpGetSubField2(http_t *http, http_field_t field, const char *name, char *value, int valuelen) argument
1564 httpGetVersion(http_t *http) argument
1575 httpHead(http_t *http, const char *uri) argument
1670 httpOptions(http_t *http, const char *uri) argument
1690 httpPeek(http_t *http, char *buffer, size_t length) argument
1935 _httpPeek(http_t *http, char *buffer, size_t length) argument
1944 httpPost(http_t *http, const char *uri) argument
1958 httpPrintf(http_t *http, const char *format, ...) argument
1997 httpPut(http_t *http, const char *uri) argument
2015 httpRead(http_t *http, char *buffer, int length) argument
2030 httpRead2(http_t *http, char *buffer, size_t length) argument
2255 http_t *http; /* HTTP connection */ local
2319 http_t *http; /* HTTP connection */ local
2357 httpReadRequest(http_t *http, char *uri, size_t urilen) argument
2519 httpReconnect(http_t *http) argument
2533 httpReconnect2(http_t *http, int msec, int *cancel) argument
2674 httpSetAuthString(http_t *http, const char *scheme, const char *data) argument
2731 httpSetCredentials(http_t *http, cups_array_t *credentials) argument
2752 httpSetCookie(http_t *http, const char *cookie) argument
2778 httpSetDefaultField(http_t *http, http_field_t field, const char *value) argument
2828 httpSetExpect(http_t *http, http_status_t expect) argument
2844 httpSetField(http_t *http, http_field_t field, const char *value) argument
2953 httpSetLength(http_t *http, size_t length) argument
2987 httpSetTimeout( http_t *http, double timeout, http_timeout_cb_t cb, void *user_data) argument
3013 httpTrace(http_t *http, const char *uri) argument
3028 _httpUpdate(http_t *http, http_status_t *status) argument
3206 httpUpdate(http_t *http) argument
3270 _httpWait(http_t *http, int msec, int usessl) argument
3381 httpWait(http_t *http, int msec) argument
3437 httpWrite(http_t *http, const char *buffer, int length) argument
3452 httpWrite2(http_t *http, const char *buffer, size_t length) argument
3639 http_t *http; /* HTTP connection */ local
3709 httpWriteResponse(http_t *http, http_status_t status) argument
3996 http_t *http; /* HTTP connection */ local
4046 http_content_coding_finish( http_t *http) argument
4099 http_content_coding_start( http_t *http, const char *value) argument
4235 http_t *http; /* New HTTP connection */ local
4401 http_read(http_t *http, char *buffer, size_t length) argument
4515 http_read_buffered(http_t *http, char *buffer, size_t length) argument
4557 http_read_chunk(http_t *http, char *buffer, size_t length) argument
4624 http_read_ssl(http_t *http, char *buf, int len) argument
4714 http_send(http_t *http, http_state_t request, const char *uri) argument
4903 http_set_credentials(http_t *http) argument
4940 http_set_length(http_t *http) argument
5019 http_set_wait(http_t *http) argument
5039 http_setup_ssl(http_t *http) argument
5457 http_shutdown_ssl(http_t *http) argument
5543 http_upgrade(http_t *http) argument
5632 http_write(http_t *http, const char *buffer, size_t length) argument
5780 http_write_chunk(http_t *http, const char *buffer, size_t length) argument
5824 http_write_ssl(http_t *http, const char *buf, int len) argument
[all...]
H A Dgetputfile.c13 * file is missing or damaged, see the license at "http://www.cups.org/".
48 cupsGetFd(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ argument
63 DEBUG_printf(("cupsGetFd(http=%p, resource=\"%s\", fd=%d)", http,
68 if (http)
69 http->error = EINVAL;
74 if (!http)
75 if ((http = _cupsConnect()) == NULL)
82 strlcpy(if_modified_since, httpGetField(http, HTTP_FIELD_IF_MODIFIED_SINCE),
87 if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTIO
204 cupsGetFile(http_t *http, const char *resource, const char *filename) argument
272 cupsPutFd(http_t *http, const char *resource, int fd) argument
473 cupsPutFile(http_t *http, const char *resource, const char *filename) argument
[all...]
H A Drequest.c13 * file is missing or damaged, see the license at "http://www.cups.org/".
63 cupsDoFileRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ argument
72 DEBUG_printf(("cupsDoFileRequest(http=%p, request=%p(%s), resource=\"%s\", "
73 "filename=\"%s\")", http, request,
96 response = cupsDoIORequest(http, request, resource, infile, -1);
122 cupsDoIORequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ argument
136 DEBUG_printf(("cupsDoIORequest(http=%p, request=%p(%s), resource=\"%s\", "
137 "infile=%d, outfile=%d)", http, request,
158 if (!http)
159 if ((http
319 cupsDoRequest(http_t *http, ipp_t *request, const char *resource) argument
344 cupsGetResponse(http_t *http, const char *resource) argument
553 cupsReadResponseData( http_t *http, char *buffer, size_t length) argument
604 cupsSendRequest(http_t *http, ipp_t *request, const char *resource, size_t length) argument
899 cupsWriteRequestData( http_t *http, const char *buffer, size_t length) argument
[all...]
H A Dauth.c16 * file is missing or damaged, see the license at "http://www.cups.org/".
101 static gss_name_t cups_gss_getname(http_t *http, const char *service_name);
109 static int cups_local_auth(http_t *http);
123 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
136 DEBUG_printf(("cupsDoAuthentication(http=%p, method=\"%s\", resource=\"%s\")",
137 http, method, resource));
139 if (!http)
140 http = _cupsConnect();
142 if (!http || !method || !resource)
146 http
122 cupsDoAuthentication( http_t *http, const char *method, const char *resource) argument
306 _cupsSetNegotiateAuthString( http_t *http, const char *method, const char *resource) argument
522 cups_gss_getname( http_t *http, const char *service_name) argument
658 cups_local_auth(http_t *http) argument
[all...]
H A Dadminutil.h13 * file is missing or damaged, see the license at "http://www.cups.org/".
59 extern char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest,
63 extern int cupsAdminGetServerSettings(http_t *http,
67 extern int cupsAdminSetServerSettings(http_t *http,
H A Dgetdevices.c12 * file is missing or damaged, see the license at "http://www.cups.org/".
42 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
68 DEBUG_printf(("cupsGetDevices(http=%p, timeout=%d, include_schemes=\"%s\", "
69 "exclude_schemes=\"%s\", callback=%p, user_data=%p)", http,
76 if (!http)
77 http = _cupsConnect();
79 if (!http)
115 status = cupsSendRequest(http, request, "/", ippLength(request));
119 status = httpUpdate(http);
123 httpFlush(http);
41 cupsGetDevices( http_t *http, int timeout, const char *include_schemes, const char *exclude_schemes, cups_device_cb_t callback, void *user_data) argument
[all...]
H A Dtestadmin.c13 * file is missing or damaged, see the license at "http://www.cups.org/".
49 http_t *http; /* Connection to server */ local
56 http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC,
68 if (cupsAdminSetServerSettings(http, num_settings, settings))
86 if (cupsAdminGetServerSettings(http, &num_settings, &settings))
H A Dtesthttp.c13 * file is missing or damaged, see the license at "http://www.cups.org/".
68 { HTTP_URI_STATUS_OK, "http://server/",
69 "http", "", "server", "/", 80, 0,
71 { HTTP_URI_STATUS_OK, "http://username@server/",
72 "http", "username", "server", "/", 80, 0,
74 { HTTP_URI_STATUS_OK, "http://username:passwor%64@server/",
75 "http", "username:password", "server", "/", 80, 0,
77 { HTTP_URI_STATUS_OK, "http://username:passwor%64@server:8080/",
78 "http", "username:password", "server", "/", 8080, 8080,
80 { HTTP_URI_STATUS_OK, "http
218 http_t *http; /* HTTP connection */ local
[all...]
/macosx-10.9.5/ruby-104/ruby/test/net/http/
H A Dtest_https.rb36 http = Net::HTTP.new("localhost", config("port"))
37 http.use_ssl = true
38 http.verify_callback = Proc.new do |preverify_ok, store_ctx|
41 http.request_get("/") {|res|
49 http = Net::HTTP.new("localhost", config("port"))
50 http.use_ssl = true
51 http.verify_callback = Proc.new do |preverify_ok, store_ctx|
55 http.request_post("/", data) {|res|
63 http = Net::HTTP.new("localhost", config("port"))
64 http
[all...]
H A Dtest_http.rb3 require 'net/http'
26 http = proxy_class.new 'example'
28 refute http.proxy_from_env?
38 ENV['http_proxy'] = 'http://proxy.example:8000'
56 http = proxy_class.new 'example'
58 assert http.proxy_from_env?
63 http = Net::HTTP.new 'example', nil, nil
65 edited = http.send :edit_path, '/path'
69 http.use_ssl = true
71 edited = http
[all...]
H A Dtest_https_proxy.rb20 http = proxy.new("foo.example.org", 8000)
21 http.use_ssl = true
22 http.verify_mode = OpenSSL::SSL::VERIFY_NONE
24 http.start
/macosx-10.9.5/tcl-102/tcl_ext/tklib/tklib/modules/diagrams/include/values/
H A Danchor.inc4 http://www.tcl.tk/man/tcl8.5/TkLib/GetAnchor.htm \
H A Dstyle.inc4 http://www.tcl.tk/man/tcl8.5/TkLib/GetDash.htm \
/macosx-10.9.5/Security-55471.14.18/sec/securityd/
H A Dasynchttp.c10 * http://www.opensource.apple.com/apsl/ and read it before using this
25 * asynchttp.c - asynchronous http get/post engine.
157 static void asynchttp_complete(asynchttp_t *http) { argument
158 secdebug("http", "http: %p", http);
160 if (http->stream) {
161 CFReadStreamSetClient(http->stream, kCFStreamEventNone, NULL, NULL);
162 CFReadStreamSetDispatchQueue(http->stream, NULL);
163 CFReadStreamClose(http
193 asynchttp_t *http = (asynchttp_t *)info; local
315 asyncHttpPost(CFURLRef responder, CFDataRef requestData , asynchttp_t *http) argument
386 asynchttp_timer_proc(asynchttp_t *http) argument
396 asynchttp_free(asynchttp_t *http) argument
407 asynchttp_request(CFHTTPMessageRef request, asynchttp_t *http) argument
[all...]
H A Dasynchttp.h10 * http://www.opensource.apple.com/apsl/ and read it before using this
27 an asynchronous http get/post engine.
44 void(*completed)(struct asynchttp_s *http, CFTimeInterval maxAge);
57 bool asyncHttpPost(CFURLRef cfUrl, CFDataRef postData, asynchttp_t *http);
59 /* Caller owns struct pointed to by http, but is responsible for calling
61 bool asynchttp_request(CFHTTPMessageRef request, asynchttp_t *http);
62 void asynchttp_free(asynchttp_t *http);
/macosx-10.9.5/CPANInternal-140/URI/t/
H A Drfc2732.t7 my $uri = URI->new("http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html");
9 print "not " unless $uri->as_string eq "http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html";
22 print "not " unless $uri->as_string eq "http://host:80/index.html";
40 http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
41 http://[1080:0:0:0:8:800:200C:417A]/index.html
42 http://[3ffe:2a00:100:7031::1]
43 http://[1080::8:800:200C:417A]/foo
44 http://[::192.9.5.5]/ipng
45 http://[::FFFF:129.144.52.38]:80/index.html
46 http
[all...]
H A Dabs.t9 $base = "http://a/b/c/d;p?q";
32 if ($u->abs($b,1) ne $expect && $uref !~ /^http:/) {
70 http://a/b/c/d;p?q
77 g = http://a/b/c/g
78 ./g = http://a/b/c/g
79 g/ = http://a/b/c/g/
80 /g = http://a/g
81 //g = http://g
82 ?y = http://a/b/c/d;p?y
83 g?y = http
[all...]
/macosx-10.9.5/cups-372.4/cups/cgi-bin/
H A Djobs.c13 * file is missing or damaged, see the license at "http://www.cups.org/".
32 static void do_job_op(http_t *http, int job_id, ipp_op_t op);
43 http_t *http; /* Connection to the server */ local
66 http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption());
88 do_job_op(http, job_id, IPP_CANCEL_JOB);
90 do_job_op(http, job_id, IPP_HOLD_JOB);
92 cgiMoveJobs(http, NULL, job_id);
94 do_job_op(http, job_id, IPP_RELEASE_JOB);
96 do_job_op(http, job_id, IPP_RESTART_JOB);
115 cgiShowJobs(http, NUL
138 do_job_op(http_t *http, int job_id, ipp_op_t op) argument
[all...]
H A Dclasses.c13 * file is missing or damaged, see the license at "http://www.cups.org/".
34 static void do_class_op(http_t *http, const char *printer, ipp_op_t op,
36 static void show_all_classes(http_t *http, const char *username);
37 static void show_class(http_t *http, const char *printer);
50 http_t *http; /* Connection to the server */ local
102 http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption());
120 if ((response = cupsDoRequest(http, request, "/")) != NULL)
144 show_all_classes(http, user);
146 show_class(http, pclass);
159 getenv("HTTPS") ? "https" : "http", NUL
219 do_class_op(http_t *http, const char *printer, ipp_op_t op, const char *title) argument
302 show_all_classes(http_t *http, const char *user) argument
462 show_class(http_t *http, const char *pclass) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/sample/drb/
H A Dhttp0serv.rb10 unless /^http:/ =~ uri
11 raise(DRbBadScheme, uri) unless uri =~ /^http:/
/macosx-10.9.5/ruby-104/ruby/test/rubygems/
H A Dtest_bundled_ca.rb31 http = Net::HTTP.new(host, 443)
32 http.use_ssl = true
33 http.verify_mode = OpenSSL::SSL::VERIFY_PEER
34 http.cert_store = bundled_certificate_store
35 http.get('/')
/macosx-10.9.5/cups-372.4/cups/scheduler/
H A Dtls-darwin.c13 * file is missing or damaged, see the license at "http://www.cups.org/".
40 while (SSLClose(con->http.tls) == errSSLWouldBlock)
43 CFRelease(con->http.tls);
44 con->http.tls = NULL;
46 if (con->http.tls_credentials)
47 CFRelease(con->http.tls_credentials);
65 con->http.fd);
67 con->http.tls_credentials = copy_cdsa_certificate(con);
69 if (!con->http.tls_credentials)
76 con->http
[all...]

Completed in 191 milliseconds

1234567891011>>