Lines Matching refs:s
115 case code: s = __STRING(code)
121 const char *s; in mcode_or_die() local
129 default: s = "CURLM_unknown"; break; in mcode_or_die()
131 fprintf(MSG_OUT, "ERROR: %s returns %s\n", where, s); in mcode_or_die()
135 fprintf(MSG_OUT, "ERROR: %s returns %s\n", where, s); in mcode_or_die()
249 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock() argument
256 f->sockfd = s; in setsock()
269 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
274 setsock(fdp, s, easy, action, g); in addsock()
275 curl_multi_assign(g->multi, s, fdp); in addsock()
279 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()
294 addsock(s, e, what, g); in sock_cb()
300 setsock(fdp, s, e, what, g); in sock_cb()
368 char s[1024]; in fifo_cb() local
376 s[0]='\0'; in fifo_cb()
377 rv = fscanf(g->input, "%1023s%n", s, &n); in fifo_cb()
378 s[n]='\0'; in fifo_cb()
379 if(n && s[0]) { in fifo_cb()
380 if(!strcmp(s, "stop")) { in fifo_cb()
386 new_conn(s, arg); /* if we read a URL, go get it! */ in fifo_cb()