Home
last modified time | relevance | path

Searched refs:what (Results 1 – 25 of 217) 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 = lc($_) if ( /$what:/i );
54 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what list\n";
70 print "Mismatch in $what lists:\n";
H A Dlib586.c44 const char *what; in my_lock() local
52 what = "share"; in my_lock()
55 what = "dns"; in my_lock()
58 what = "cookie"; in my_lock()
61 what = "ssl_session"; in my_lock()
67 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_lock()
74 const char *what; in my_unlock() local
79 what = "share"; in my_unlock()
82 what = "dns"; in my_unlock()
85 what = "cookie"; in my_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 my_lock() local
57 what = "share"; in my_lock()
61 what = "dns"; in my_lock()
65 what = "cookie"; in my_lock()
75 printf("lock: double locked %s\n", what); in my_lock()
80 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_lock()
87 const char *what; in my_unlock() local
93 what = "share"; in my_unlock()
97 what = "dns"; in my_unlock()
101 what = "cookie"; in my_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.md17 CURLMOPT_SOCKETFUNCTION - callback informed about what to wait for
26 int what, /* describes the socket */
54 **what** argument is not CURL_POLL_REMOVE then it holds information about
55 what activity on this socket the application is supposed to
56 monitor. Subsequent calls to this callback might update the **what** bits
67 The **what** parameter informs the callback on the status of the given
99 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp)
104 if(what == CURL_POLL_REMOVE) {
107 if(what & CURL_POLL_IN) {
110 if(what & CURL_POLL_OUT) {
H A DCURLMOPT_SOCKETDATA.md46 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp)
51 if(what == CURL_POLL_REMOVE) {
54 if(what & CURL_POLL_IN) {
57 if(what & CURL_POLL_OUT) {
/curl/tests/
H A Dservers.pm323 my (@what)=@_;
326 my $srvrline = $what[$i];
350 return &startservers(@what);
2324 my @what = @_;
2327 for(@what) {
2338 ($what eq "ftp") ||
2347 if(!$run{$what}) {
2529 if($runcert{$what} && ($runcert{$what} ne $certfile)) {
2549 if(!$run{$what}) {
2755 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 Dtest50828 # tool is what to use instead of 'curl'
46 s/^(this is what we post to the silly web server)\r\n/$1\n/ if($has_charconv)
55 this is what we post to the silly web server
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 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.pl309 my ($what, $line, $file, $l) = @_;
312 if(!$ignore_used{$what}) {
314 $line, length($what) + 11, $file, $l,
317 $ignore_set{$what}=0;
318 $ignore_used{$what}=0;
319 $ignore{$what}=0;
324 my ($enable, $what) = ($1, $2);
325 $what =~ s: *\*/$::; # cut off end of C comment
329 if($what =~ /([^ ]*) +(.*)/) {
333 $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.h132 CURL_EXTERN CURLUcode curl_url_get(const CURLU *handle, CURLUPart what,
140 CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what,

Completed in 70 milliseconds

123456789