Home
last modified time | relevance | path

Searched refs:what (Results 1 – 25 of 219) sorted by relevance

123456789

/curl/tests/libtest/
H A Dtest1013.pl33 my $what=$ARGV[2];
37 open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
40 $curl_protocols = $_ if ( /$what:/i );
50 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what list\n";
54 $_ = lc($_) if($what eq "protocols"); # accept uppercase protocols in curl-config
60 if($what eq "features") {
70 print "Mismatch in $what lists:\n";
H A Dlib586.c44 const char *what; in test_lock() local
52 what = "share"; in test_lock()
55 what = "dns"; in test_lock()
58 what = "cookie"; in test_lock()
61 what = "ssl_session"; in test_lock()
67 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock()
74 const char *what; in test_unlock() local
79 what = "share"; in test_unlock()
82 what = "dns"; in test_unlock()
85 what = "cookie"; in test_unlock()
[all …]
H A Dtest1022.pl32 my $what=$ARGV[2];
45 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config --$what list\n";
49 if ( $what eq "version" ) {
H A Dlib506.c48 const char *what; in test_lock() local
57 what = "share"; in test_lock()
61 what = "dns"; in test_lock()
65 what = "cookie"; in test_lock()
75 printf("lock: double locked %s\n", what); in test_lock()
80 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock()
87 const char *what; in test_unlock() local
93 what = "share"; in test_unlock()
97 what = "dns"; in test_unlock()
101 what = "cookie"; in test_unlock()
[all …]
/curl/lib/
H A Dparsedate.c214 const char * const *what; in checkday() local
216 what = &weekday[0]; in checkday()
218 what = &Curl_wkday[0]; in checkday()
222 size_t ilen = strlen(what[0]); in checkday()
226 what++; in checkday()
239 if(strncasecompare(check, what[0], 3)) in checkmonth()
241 what++; in checkmonth()
252 const struct tzinfo *what = tz; in checktz() local
257 size_t ilen = strlen(what->name); in checktz()
260 return what->offset*60; in checktz()
[all …]
H A Dgopher.c146 int what; in gopher_do() local
218 what = SOCKET_WRITABLE(sockfd, timeout_ms); in gopher_do()
219 if(what < 0) { in gopher_do()
223 else if(!what) { in gopher_do()
/curl/docs/libcurl/opts/
H A DCURLMOPT_SOCKETFUNCTION.md18 CURLMOPT_SOCKETFUNCTION - callback informed about what to wait for
27 int what, /* describes the socket */
58 **what** argument is not CURL_POLL_REMOVE then it holds information about
59 what activity on this socket the application is supposed to
60 monitor. Subsequent calls to this callback might update the **what** bits
71 The **what** parameter informs the callback on the status of the given
105 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp)
110 if(what == CURL_POLL_REMOVE) {
113 if(what & CURL_POLL_IN) {
116 if(what & CURL_POLL_OUT) {
H A DCURLMOPT_SOCKETDATA.md49 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp)
54 if(what == CURL_POLL_REMOVE) {
57 if(what & CURL_POLL_IN) {
60 if(what & CURL_POLL_OUT) {
/curl/tests/
H A Dservers.pm333 my (@what)=@_;
360 return &startservers(@what);
2369 my @what = @_;
2372 for(@what) {
2383 ($what eq "ftp") ||
2386 if($run{$what} &&
2392 if(!$run{$what}) {
2552 if($runcert{$what} && ($runcert{$what} ne $certfile)) {
2572 if(!$run{$what}) {
2875 elsif($what eq "sftp" || $what eq "scp") {
[all …]
/curl/tests/data/
H A Dtest45423 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what=hello --expand-data "--{{what:trim,url}}"
H A Dtest45223 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what=hello --expand-data "--{{what:trim:super}}"
H A Dtest45322 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what@%LOGDIR/junk --expand-data "{{what}}"
H A Dtest45622 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what@%LOGDIR/junk --expand-data "{{what}}"
H A Dtest45141 … --variable what@%LOGDIR/junk --variable second=hello --variable second=again --expand-data "--{{w…
H A Dtest55448 # tool is what to use instead of 'curl'
81 this is what we post to the silly web server
86 this is what we post to the silly web server
112 this is what we post to the silly web server
117 this is what we post to the silly web server
H A Dtest50828 # tool is what to use instead of 'curl'
51 this is what we post to the silly web server
H A Dtest45041 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what@%LOGDIR/junk --expand-data "{{what:trim:url}}"
H A Dtest65043 # tool is what to use instead of 'curl'
87 this is what we post to the silly web server
91 uhis is what we post to the silly web serve
171 this is what we post to the silly web server
175 uhis is what we post to the silly web serve
H A Dtest155017 # tool is what to use instead of 'curl'
/curl/scripts/
H A Dchecksrc.pl324 my ($what, $line, $file, $l) = @_;
327 if(!$ignore_used{$what}) {
329 $line, length($what) + 11, $file, $l,
332 $ignore_set{$what}=0;
333 $ignore_used{$what}=0;
334 $ignore{$what}=0;
339 my ($enable, $what) = ($1, $2);
340 $what =~ s: *\*/$::; # cut off end of C comment
344 if($what =~ /([^ ]*) +(.*)/) {
348 $warn = $what;
[all …]
/curl/docs/examples/
H A Dghiper.c247 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument
253 MSG_OUT("socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb()
254 if(what == CURL_POLL_REMOVE) { in sock_cb()
261 (what & CURL_POLL_IN) ? "READ" : "", in sock_cb()
262 (what & CURL_POLL_OUT) ? "WRITE" : ""); in sock_cb()
263 addsock(s, e, what, g); in sock_cb()
267 "Changing action from %d to %d\n", fdp->action, what); in sock_cb()
268 setsock(fdp, s, e, what, g); in sock_cb()
H A Devhiperfifo.c279 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument
282 __PRETTY_FUNCTION__, e, s, what, cbp, sockp); in sock_cb()
289 "socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb()
290 if(what == CURL_POLL_REMOVE) { in sock_cb()
296 fprintf(MSG_OUT, "Adding data: %s\n", whatstr[what]); in sock_cb()
297 addsock(s, e, what, g); in sock_cb()
302 whatstr[fdp->action], whatstr[what]); in sock_cb()
303 setsock(fdp, s, e, what, g); in sock_cb()
H A Dhiperfifo.c279 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument
286 "socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb()
287 if(what == CURL_POLL_REMOVE) { in sock_cb()
293 fprintf(MSG_OUT, "Adding data: %s\n", whatstr[what]); in sock_cb()
294 addsock(s, e, what, g); in sock_cb()
299 whatstr[fdp->action], whatstr[what]); in sock_cb()
300 setsock(fdp, s, e, what, g); in sock_cb()
H A Dephiperfifo.c305 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument
312 "socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb()
313 if(what == CURL_POLL_REMOVE) { in sock_cb()
319 fprintf(MSG_OUT, "Adding data: %s\n", whatstr[what]); in sock_cb()
320 addsock(s, e, what, g); in sock_cb()
325 whatstr[fdp->action], whatstr[what]); in sock_cb()
326 setsock(fdp, s, e, what, g); in sock_cb()
/curl/include/curl/
H A Durlapi.h133 CURL_EXTERN CURLUcode curl_url_get(const CURLU *handle, CURLUPart what,
141 CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what,

Completed in 38 milliseconds

123456789