Lines Matching refs:blen
95 static ssize_t gtls_push(void *s, const void *buf, size_t blen) in gtls_push() argument
106 nwritten = Curl_conn_cf_send(cf->next, data, buf, blen, FALSE, &result); in gtls_push()
108 blen, nwritten, result); in gtls_push()
118 static ssize_t gtls_pull(void *s, void *buf, size_t blen) in gtls_pull() argument
138 nread = Curl_conn_cf_recv(cf->next, data, buf, blen, &result); in gtls_pull()
140 blen, nread, result); in gtls_pull()
1754 const void *buf, size_t blen) in gtls_set_earlydata() argument
1762 if(blen) { in gtls_set_earlydata()
1763 if(blen > connssl->earlydata_max) in gtls_set_earlydata()
1764 blen = connssl->earlydata_max; in gtls_set_earlydata()
1765 nwritten = Curl_bufq_write(&connssl->earlydata, buf, blen, &result); in gtls_set_earlydata()
1767 blen, nwritten); in gtls_set_earlydata()
1784 size_t blen; in gtls_send_earlydata() local
1789 while(Curl_bufq_peek(&connssl->earlydata, &buf, &blen)) { in gtls_send_earlydata()
1790 n = gnutls_record_send_early_data(backend->gtls.session, buf, blen); in gtls_send_earlydata()
1792 blen, n); in gtls_send_earlydata()
1804 n = (ssize_t)blen; in gtls_send_earlydata()
1946 size_t blen, in gtls_connect_deferred() argument
1955 result = gtls_set_earlydata(cf, data, buf, blen); in gtls_connect_deferred()
1981 size_t blen, in gtls_send() argument
1994 *curlcode = gtls_connect_deferred(cf, data, buf, blen, &done); in gtls_send()
2008 if(connssl->earlydata_skip >= blen) { in gtls_send()
2009 connssl->earlydata_skip -= blen; in gtls_send()
2011 rc = (ssize_t)blen; in gtls_send()
2017 blen -= connssl->earlydata_skip; in gtls_send()
2022 while(blen) { in gtls_send()
2024 rc = gnutls_record_send(backend->gtls.session, buf, blen); in gtls_send()
2041 DEBUGASSERT(nwritten <= blen); in gtls_send()
2043 blen -= nwritten; in gtls_send()