Lines Matching refs:outbuf

886   SecBuffer outbuf;  in schannel_connect_step1()  local
1047 InitSecBuffer(&outbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
1048 InitSecBufferDesc(&outbuf_desc, &outbuf, 1); in schannel_connect_step1()
1112 "sending %lu bytes.", outbuf.cbBuffer)); in schannel_connect_step1()
1116 outbuf.pvBuffer, outbuf.cbBuffer, FALSE, in schannel_connect_step1()
1118 Curl_pSecFn->FreeContextBuffer(outbuf.pvBuffer); in schannel_connect_step1()
1119 if((result != CURLE_OK) || (outbuf.cbBuffer != (size_t) written)) { in schannel_connect_step1()
1121 "sent %zd of %lu bytes", written, outbuf.cbBuffer); in schannel_connect_step1()
1150 SecBuffer outbuf[3]; in schannel_connect_step2() local
1251 InitSecBuffer(&outbuf[0], SECBUFFER_TOKEN, NULL, 0); in schannel_connect_step2()
1252 InitSecBuffer(&outbuf[1], SECBUFFER_ALERT, NULL, 0); in schannel_connect_step2()
1253 InitSecBuffer(&outbuf[2], SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step2()
1254 InitSecBufferDesc(&outbuf_desc, outbuf, 3); in schannel_connect_step2()
1299 if(outbuf[i].BufferType == SECBUFFER_TOKEN && outbuf[i].cbBuffer > 0) { in schannel_connect_step2()
1301 "sending %lu bytes.", outbuf[i].cbBuffer)); in schannel_connect_step2()
1305 outbuf[i].pvBuffer, outbuf[i].cbBuffer, in schannel_connect_step2()
1308 (outbuf[i].cbBuffer != (size_t) written)) { in schannel_connect_step2()
1310 "sent %zd of %lu bytes", written, outbuf[i].cbBuffer); in schannel_connect_step2()
1316 if(outbuf[i].pvBuffer) { in schannel_connect_step2()
1317 Curl_pSecFn->FreeContextBuffer(outbuf[i].pvBuffer); in schannel_connect_step2()
1774 SecBuffer outbuf[4]; in schannel_send() local
1810 InitSecBuffer(&outbuf[0], SECBUFFER_STREAM_HEADER, in schannel_send()
1812 InitSecBuffer(&outbuf[1], SECBUFFER_DATA, in schannel_send()
1814 InitSecBuffer(&outbuf[2], SECBUFFER_STREAM_TRAILER, in schannel_send()
1817 InitSecBuffer(&outbuf[3], SECBUFFER_EMPTY, NULL, 0); in schannel_send()
1818 InitSecBufferDesc(&outbuf_desc, outbuf, 4); in schannel_send()
1821 memcpy(outbuf[1].pvBuffer, buf, len); in schannel_send()
1832 len = outbuf[0].cbBuffer + outbuf[1].cbBuffer + outbuf[2].cbBuffer; in schannel_send()
1908 written = outbuf[1].cbBuffer; in schannel_send()
2328 SecBuffer outbuf; in schannel_shutdown() local
2347 InitSecBuffer(&outbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_shutdown()
2348 InitSecBufferDesc(&outbuf_desc, &outbuf, 1); in schannel_shutdown()
2367 outbuf.pvBuffer, outbuf.cbBuffer, in schannel_shutdown()
2369 Curl_pSecFn->FreeContextBuffer(outbuf.pvBuffer); in schannel_shutdown()
2371 if(written < (ssize_t)outbuf.cbBuffer) { in schannel_shutdown()