Lines Matching refs:length
73 status_string.length)) in check_gss_err()
91 status_string.length)) in check_gss_err()
142 service.length = serviceptr_length; in Curl_SOCKS5_gssapi_negotiate()
143 service.value = Curl_memdup(serviceptr, service.length); in Curl_SOCKS5_gssapi_negotiate()
155 service.length = serviceptr_length + in Curl_SOCKS5_gssapi_negotiate()
157 msnprintf(service.value, service.length + 1, "%s@%s", in Curl_SOCKS5_gssapi_negotiate()
201 if(gss_send_token.length) { in Curl_SOCKS5_gssapi_negotiate()
204 us_length = htons((unsigned short)gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate()
220 gss_send_token.length, FALSE, &code); in Curl_SOCKS5_gssapi_negotiate()
221 if(code || ((ssize_t)gss_send_token.length != nwritten)) { in Curl_SOCKS5_gssapi_negotiate()
275 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
287 gss_recv_token.length, &actualread); in Curl_SOCKS5_gssapi_negotiate()
323 user = malloc(gss_send_token.length + 1); in Curl_SOCKS5_gssapi_negotiate()
331 memcpy(user, gss_send_token.value, gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate()
332 user[gss_send_token.length] = '\0'; in Curl_SOCKS5_gssapi_negotiate()
391 gss_send_token.length = 1; in Curl_SOCKS5_gssapi_negotiate()
411 us_length = htons((unsigned short)gss_w_token.length); in Curl_SOCKS5_gssapi_negotiate()
437 gss_w_token.length, FALSE, &code); in Curl_SOCKS5_gssapi_negotiate()
438 if(code || ((ssize_t)gss_w_token.length != nwritten)) { in Curl_SOCKS5_gssapi_negotiate()
472 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
473 gss_recv_token.value = malloc(gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()
479 gss_recv_token.length, &actualread); in Curl_SOCKS5_gssapi_negotiate()
502 if(gss_w_token.length != 1) { in Curl_SOCKS5_gssapi_negotiate()
504 gss_w_token.length); in Curl_SOCKS5_gssapi_negotiate()
510 memcpy(socksreq, gss_w_token.value, gss_w_token.length); in Curl_SOCKS5_gssapi_negotiate()
514 if(gss_recv_token.length != 1) { in Curl_SOCKS5_gssapi_negotiate()
516 gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()
522 memcpy(socksreq, gss_recv_token.value, gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()