Lines Matching refs:cbBuffer
116 sspi_recv_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
124 sspi_send_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
181 sspi_recv_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
194 if(sspi_send_token.cbBuffer != 0) { in Curl_SOCKS5_gssapi_negotiate()
197 us_length = htons((short)sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
214 sspi_send_token.cbBuffer, &written); in Curl_SOCKS5_gssapi_negotiate()
215 if(code || (sspi_send_token.cbBuffer != (size_t)written)) { in Curl_SOCKS5_gssapi_negotiate()
233 sspi_send_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
239 sspi_recv_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
285 sspi_recv_token.cbBuffer = us_length; in Curl_SOCKS5_gssapi_negotiate()
295 sspi_recv_token.cbBuffer, &actualread); in Curl_SOCKS5_gssapi_negotiate()
388 sspi_w_token[0].cbBuffer = sspi_sizes.cbSecurityTrailer; in Curl_SOCKS5_gssapi_negotiate()
397 sspi_w_token[1].cbBuffer = 1; in Curl_SOCKS5_gssapi_negotiate()
407 sspi_w_token[2].cbBuffer = sspi_sizes.cbBlockSize; in Curl_SOCKS5_gssapi_negotiate()
427 sspi_send_token.cbBuffer = sspi_w_token[0].cbBuffer in Curl_SOCKS5_gssapi_negotiate()
428 + sspi_w_token[1].cbBuffer in Curl_SOCKS5_gssapi_negotiate()
429 + sspi_w_token[2].cbBuffer; in Curl_SOCKS5_gssapi_negotiate()
430 sspi_send_token.pvBuffer = malloc(sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
440 sspi_w_token[0].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
441 memcpy((PUCHAR) sspi_send_token.pvBuffer +(int)sspi_w_token[0].cbBuffer, in Curl_SOCKS5_gssapi_negotiate()
442 sspi_w_token[1].pvBuffer, sspi_w_token[1].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
444 +sspi_w_token[0].cbBuffer in Curl_SOCKS5_gssapi_negotiate()
445 +sspi_w_token[1].cbBuffer, in Curl_SOCKS5_gssapi_negotiate()
446 sspi_w_token[2].pvBuffer, sspi_w_token[2].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
450 sspi_w_token[0].cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
453 sspi_w_token[1].cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
456 sspi_w_token[2].cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
458 us_length = htons((short)sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
482 sspi_send_token.cbBuffer, &written); in Curl_SOCKS5_gssapi_negotiate()
483 if(code || (sspi_send_token.cbBuffer != (size_t)written)) { in Curl_SOCKS5_gssapi_negotiate()
519 sspi_w_token[0].cbBuffer = us_length; in Curl_SOCKS5_gssapi_negotiate()
527 sspi_w_token[0].cbBuffer, &actualread); in Curl_SOCKS5_gssapi_negotiate()
541 sspi_w_token[1].cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
559 if(sspi_w_token[1].cbBuffer != 1) { in Curl_SOCKS5_gssapi_negotiate()
561 (unsigned long)sspi_w_token[1].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
570 memcpy(socksreq, sspi_w_token[1].pvBuffer, sspi_w_token[1].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
575 if(sspi_w_token[0].cbBuffer != 1) { in Curl_SOCKS5_gssapi_negotiate()
577 (unsigned long)sspi_w_token[0].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
582 memcpy(socksreq, sspi_w_token[0].pvBuffer, sspi_w_token[0].cbBuffer); in Curl_SOCKS5_gssapi_negotiate()