Lines Matching refs:s
137 const char *s; in mcode_or_die() local
140 s = "CURLM_BAD_HANDLE"; in mcode_or_die()
143 s = "CURLM_BAD_EASY_HANDLE"; in mcode_or_die()
146 s = "CURLM_OUT_OF_MEMORY"; in mcode_or_die()
149 s = "CURLM_INTERNAL_ERROR"; in mcode_or_die()
152 s = "CURLM_UNKNOWN_OPTION"; in mcode_or_die()
155 s = "CURLM_LAST"; in mcode_or_die()
158 s = "CURLM_unknown"; in mcode_or_die()
161 s = "CURLM_BAD_SOCKET"; in mcode_or_die()
162 fprintf(MSG_OUT, "ERROR: %s returns %s\n", where, s); in mcode_or_die()
166 fprintf(MSG_OUT, "ERROR: %s returns %s\n", where, s); in mcode_or_die()
247 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock() argument
255 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
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()
297 addsock(s, e, what, g); in sock_cb()
303 setsock(fdp, s, e, what, g); in sock_cb()
374 char s[1024]; in fifo_cb() local
380 s[0]='\0'; in fifo_cb()
381 rv = fscanf(g->input, "%1023s%n", s, &n); in fifo_cb()
382 s[n]='\0'; in fifo_cb()
383 if(n && s[0]) { in fifo_cb()
384 new_conn(s, g); /* if we read a URL, go get it! */ in fifo_cb()