Lines Matching refs:s
102 const char *s; in mcode_or_die() local
104 case CURLM_BAD_HANDLE: s = "CURLM_BAD_HANDLE"; break; in mcode_or_die()
105 case CURLM_BAD_EASY_HANDLE: s = "CURLM_BAD_EASY_HANDLE"; break; in mcode_or_die()
106 case CURLM_OUT_OF_MEMORY: s = "CURLM_OUT_OF_MEMORY"; break; in mcode_or_die()
107 case CURLM_INTERNAL_ERROR: s = "CURLM_INTERNAL_ERROR"; break; in mcode_or_die()
108 case CURLM_BAD_SOCKET: s = "CURLM_BAD_SOCKET"; break; in mcode_or_die()
109 case CURLM_UNKNOWN_OPTION: s = "CURLM_UNKNOWN_OPTION"; break; in mcode_or_die()
110 case CURLM_LAST: s = "CURLM_LAST"; break; in mcode_or_die()
111 default: s = "CURLM_unknown"; in mcode_or_die()
113 MSG_OUT("ERROR: %s returns %s\n", where, s); in mcode_or_die()
219 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock() argument
226 f->sockfd = s; in setsock()
236 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
241 fdp->ch = g_io_channel_unix_new(s); in addsock()
242 setsock(fdp, s, easy, action, g); in addsock()
243 curl_multi_assign(g->multi, s, fdp); in addsock()
247 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()
263 addsock(s, e, what, g); in sock_cb()
268 setsock(fdp, s, e, what, g); in sock_cb()