Lines Matching refs:code
120 CURLcode code;
162 /* ignores the return code, but 'dns' remains NULL on failure */
238 code = Curl_write_plain(conn, sock, (char *)socksreq,
241 if((code != CURLE_OK) || (written != packetsize + hostnamelen)) {
248 code = Curl_write_plain(conn, sock, (char *)hostname, hostnamelen,
250 if((code != CURLE_OK) || (written != hostnamelen)) {
274 * VN is the version of the reply code and should be 0. CD is the result
275 * code with one of the following values:
375 CURLcode code;
432 code = Curl_write_plain(conn, sock, (char *)socksreq, (2 + (int)socksreq[1]),
434 if((code != CURLE_OK) || (written != (2 + (int)socksreq[1]))) {
475 code = Curl_SOCKS5_gssapi_negotiate(sockindex, conn);
476 if(code != CURLE_OK) {
512 code = Curl_write_plain(conn, sock, (char *)socksreq, len, &written);
513 if((code != CURLE_OK) || (len != written)) {
585 code = Curl_resolver_wait_resolv(conn, &dns);
586 if(code != CURLE_OK)
587 return code;
643 code = Curl_write_plain(conn, sock, (char *)socksreq, len, &written);
645 if((code != CURLE_OK) || (len != written)) {