Home
last modified time | relevance | path

Searched refs:totlen (Results 1 – 14 of 14) sorted by relevance

/third_party/openssl/test/
Dtls13encryptiontest.c206 size_t totlen = 0; in multihexstr2buf() local
210 totlen += strlen(str[outer]); in multihexstr2buf()
211 if ((totlen & 1) != 0) in multihexstr2buf()
215 totlen /= 2; in multihexstr2buf()
216 outbuf = OPENSSL_malloc(totlen); in multihexstr2buf()
235 *len = totlen; in multihexstr2buf()
/third_party/FreeBSD/sys/dev/usb/
Dusb_util.c161 uint8_t totlen; in usb_make_str_desc() local
181 totlen = (max_len + 1) * 2; in usb_make_str_desc()
183 p->bLength = totlen; in usb_make_str_desc()
189 return (totlen); in usb_make_str_desc()
/third_party/libbpf/src/
Dnlattr.c27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local
29 *remaining -= totlen; in nla_next()
30 return (struct nlattr *)((void *)nla + totlen); in nla_next()
/third_party/openssl/ssl/record/
Drec_layer_s3.c676 size_t totlen = 0, len, wpinited = 0; in do_ssl3_write() local
680 totlen += pipelens[j]; in do_ssl3_write()
687 return ssl3_write_pending(s, type, buf, totlen, written); in do_ssl3_write()
707 if (totlen == 0 && !create_empty_fragment) in do_ssl3_write()
845 totlen = 0; in do_ssl3_write()
906 SSL3_RECORD_set_input(thiswr, (unsigned char *)&buf[totlen]); in do_ssl3_write()
907 totlen += pipelens[j]; in do_ssl3_write()
1143 s->rlayer.wpend_tot = totlen; in do_ssl3_write()
1146 s->rlayer.wpend_ret = totlen; in do_ssl3_write()
1149 return ssl3_write_pending(s, type, buf, totlen, written); in do_ssl3_write()
/third_party/node/deps/openssl/openssl/ssl/record/
Drec_layer_s3.c676 size_t totlen = 0, len, wpinited = 0; in do_ssl3_write() local
680 totlen += pipelens[j]; in do_ssl3_write()
687 return ssl3_write_pending(s, type, buf, totlen, written); in do_ssl3_write()
707 if (totlen == 0 && !create_empty_fragment) in do_ssl3_write()
845 totlen = 0; in do_ssl3_write()
906 SSL3_RECORD_set_input(thiswr, (unsigned char *)&buf[totlen]); in do_ssl3_write()
907 totlen += pipelens[j]; in do_ssl3_write()
1143 s->rlayer.wpend_tot = totlen; in do_ssl3_write()
1146 s->rlayer.wpend_ret = totlen; in do_ssl3_write()
1149 return ssl3_write_pending(s, type, buf, totlen, written); in do_ssl3_write()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genrsa.c475 uint8_t *p = pkey_asn1, *totlen, *end = pkey_asn1 + pkey_asn1_len - 1; local
506 totlen = p;
550 *totlen++ = (uint8_t)((n - 4) >> 8);
551 *totlen = (uint8_t)((n - 4) & 0xff);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_pwd.c419 u16 totlen = 0; in eap_pwd_build_req() local
491 totlen = wpabuf_len(data->outbuf) + in eap_pwd_build_req()
495 "total length = %d", totlen); in eap_pwd_build_req()
506 (totlen ? sizeof(u16) : 0), in eap_pwd_build_req()
515 wpabuf_put_be16(req, totlen); in eap_pwd_build_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_pwd.c419 u16 totlen = 0; in eap_pwd_build_req() local
491 totlen = wpabuf_len(data->outbuf) + in eap_pwd_build_req()
495 "total length = %d", totlen); in eap_pwd_build_req()
506 (totlen ? sizeof(u16) : 0), in eap_pwd_build_req()
515 wpabuf_put_be16(req, totlen); in eap_pwd_build_req()
/third_party/toybox/toys/posix/
Dls.c389 unsigned c, totlen = columns; in listfiles() local
399 totlen += (*len)-colsizes[c]; in listfiles()
401 if (totlen > TT.screen_width) break; in listfiles()
/third_party/toybox/porting/liteos_a/toys/posix/
Dls.c380 unsigned c, totlen = columns; in listfiles() local
390 totlen += (*len)-colsizes[c]; in listfiles()
392 if (totlen > TT.screen_width) break; in listfiles()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_mbuf.c1273 int totlen = 0; in m_copyback() local
1279 totlen += mlen; in m_copyback()
1297 totlen += mlen; in m_copyback()
1309 out: if (((m = m0)->m_flags & M_PKTHDR) && (m->m_pkthdr.len < totlen)) in m_copyback()
1310 m->m_pkthdr.len = totlen; in m_copyback()
/third_party/ltp/testcases/network/stress/broken_ip/
D00_Descriptions.txt9 broken_ip4-totlen
/third_party/openssl/ssl/statem/
Dstatem_clnt.c3676 size_t totlen = 0, len, maxlen, maxverok = 0; in ssl_cipher_list_to_bytes() local
3711 for (i = 0; i < sk_SSL_CIPHER_num(sk) && totlen < maxlen; i++) { in ssl_cipher_list_to_bytes()
3737 totlen += len; in ssl_cipher_list_to_bytes()
3740 if (totlen == 0 || !maxverok) { in ssl_cipher_list_to_bytes()
3751 if (totlen != 0) { in ssl_cipher_list_to_bytes()
/third_party/node/deps/openssl/openssl/ssl/statem/
Dstatem_clnt.c3684 size_t totlen = 0, len, maxlen, maxverok = 0; in ssl_cipher_list_to_bytes() local
3719 for (i = 0; i < sk_SSL_CIPHER_num(sk) && totlen < maxlen; i++) { in ssl_cipher_list_to_bytes()
3745 totlen += len; in ssl_cipher_list_to_bytes()
3748 if (totlen == 0 || !maxverok) { in ssl_cipher_list_to_bytes()
3759 if (totlen != 0) { in ssl_cipher_list_to_bytes()