HomeSort by: relevance | last modified time | path
    Searched defs:total_len (Results 1 - 25 of 68) sorted by relevancy

1 2 3

  /src/external/bsd/wpa/dist/src/crypto/
aes-omac1.c 49 size_t i, e, left, total_len; local
59 total_len = 0;
61 total_len += len[e];
62 left = total_len;
93 if (left || total_len == 0) {
  /src/external/bsd/wpa/dist/src/drivers/
driver_nl80211_android.c 27 int total_len; member in struct:android_wifi_priv_cmd
59 priv_cmd.total_len = sizeof(buf);
129 priv_cmd.total_len = bp;
  /src/external/gpl2/groff/dist/src/utils/lkbib/
lkbib.cpp 113 int total_len = 0; local
116 total_len += strlen(argv[i]);
117 total_len += argc - optind - 1 + 1; // for spaces and '\0'
118 char *buffer = new char[total_len];
  /src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
get_mic.c 59 size_t len, total_len; local
61 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM);
63 message_token->length = total_len;
64 message_token->value = malloc (total_len);
166 size_t len, total_len; local
174 _gsskrb5_encap_length (36, &len, &total_len, GSS_KRB5_MECHANISM);
176 message_token->length = total_len;
177 message_token->value = malloc (total_len);
wrap.c 123 size_t len, total_len; local
127 _gsskrb5_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
129 total_len -= req_output_size; /* token length */
130 if (total_len < req_output_size) {
131 *max_input_size = (req_output_size - total_len);
222 size_t len, total_len, padlength, datalen; local
228 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM);
229 total_len += datalen;
235 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM);
238 output_message_buffer->length = total_len;
382 size_t len, total_len, padlength, datalen; local
    [all...]
arcfour.c 240 size_t len, total_len; local
244 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM);
246 message_token->length = total_len;
247 message_token->value = malloc (total_len);
450 size_t len, total_len, datalen; local
462 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
463 total_len += datalen;
467 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM);
470 output_message_buffer->length = total_len;
471 output_message_buffer->value = malloc (total_len);
847 size_t len, total_len; local
860 size_t len, total_len; local
978 size_t total_len; local
983 size_t total_len; local
    [all...]
  /src/common/lib/libutil/
snprintb.c 65 size_t total_len; member in struct:__anon73
83 if (s->total_len < s->bufsize)
84 s->buf[s->total_len] = c;
85 s->total_len++;
91 int num_len = s->total_len < s->bufsize
92 ? snprintf(s->buf + s->total_len, s->bufsize - s->total_len,
96 s->total_len += num_len;
103 if (s->total_len - s->line_pos > s->line_max) {
104 s->total_len = s->line_pos + s->line_max - 1
    [all...]
  /src/sys/dev/usb/
if_upl.c 226 upl_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len)
230 device_xname(un->un_dev), __func__, total_len));
232 usbnet_input(un, c->unc_buf, total_len);
238 int total_len; local
244 total_len = m->m_pkthdr.len;
246 DPRINTFN(10,("%s: %s: total_len=%d\n",
247 device_xname(un->un_dev), __func__, total_len));
249 return total_len;
if_kue.c 534 kue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
540 if (total_len <= 1)
543 DPRINTFN(10,("%s: %s: total_len=%d len=%d\n",
545 total_len, le16dec(buf)));
548 if (pktlen > total_len - ETHER_ALIGN)
549 pktlen = total_len - ETHER_ALIGN;
565 unsigned total_len, pkt_len; local
568 total_len = roundup2(pkt_len, 64);
570 if ((unsigned)total_len > un->un_tx_bufsz) {
572 device_xname(un->un_dev), __func__, pkt_len, total_len));
    [all...]
if_udav.c 622 int total_len; local
632 total_len = m->m_pkthdr.len;
633 if (total_len < UDAV_MIN_FRAME_LEN) {
634 memset(buf + 2 + total_len, 0,
635 UDAV_MIN_FRAME_LEN - total_len);
636 total_len = UDAV_MIN_FRAME_LEN;
640 buf[0] = (uint8_t)total_len;
641 buf[1] = (uint8_t)(total_len >> 8);
642 total_len += 2;
645 __func__, total_len));
    [all...]
if_url.c 471 int total_len; local
481 total_len = m->m_pkthdr.len;
483 if (total_len < URL_MIN_FRAME_LEN) {
484 memset(c->unc_buf + total_len, 0,
485 URL_MIN_FRAME_LEN - total_len);
486 total_len = URL_MIN_FRAME_LEN;
490 __func__, total_len));
492 return total_len;
496 url_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
503 if (total_len <= ETHER_CRC_LEN || total_len <= sizeof(rxhdr))
    [all...]
if_cue.c 560 cue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
566 DPRINTFN(5,("%s: %s: total_len=%d len=%d\n",
568 total_len, le16dec(buf)));
571 if (total_len < 2 ||
572 len > total_len - 2 ||
585 unsigned total_len; local
600 total_len = m->m_pkthdr.len + 2;
606 return total_len;
  /src/external/bsd/flex/dist/src/
tables.c 197 flex_int32_t i, total_len;
216 total_len = yytbl_calc_total_len (td);
217 for (i = 0; i < total_len; i++) {
239 if (bwritten != (12 + total_len * (int) YYTDFLAGS2BYTES (td->td_flags))) {
434 flex_int32_t i, total_len;
437 total_len = yytbl_calc_total_len (tbl);
439 for (i = 0; i < total_len; i++) {
467 flex_int32_t i, total_len;
488 total_len = yytbl_calc_total_len (tbl);
489 newtbl.td_data = calloc ((size_t) total_len, newsz)
196 flex_int32_t i, total_len; local
433 flex_int32_t i, total_len; local
466 flex_int32_t i, total_len; local
    [all...]
  /src/external/bsd/wpa/dist/src/wps/
ndef.c 118 size_t total_len; local
125 total_len = 2; /* flag + type length */
127 total_len += short_record ? sizeof(u8) : sizeof(u32);
129 total_len += 1;
130 total_len += type_length + id_length + payload_length;
131 record = wpabuf_alloc(total_len);
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_sstream.c 97 size_t num_iov_ = 0, src_len = 0, total_len = 0, i; local
134 if (total_len >= max_len)
138 range->range.start + total_len,
147 if (total_len + src_len > max_len)
148 src_len = (size_t)(max_len - total_len);
153 total_len += src_len;
158 hdr->len = total_len;
  /src/crypto/external/apache2/openssl/dist/test/
quic_stream_test.c 16 size_t i, total_len = 0; local
20 total_len += iov[i].buf_len;
22 if (ref_len != total_len)
  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/
advertising_proxy_services.c 565 size_t total_len = name_len + value_len + 2; local
566 uint8_t *buf = malloc(total_len);
574 0, buf, total_len);
  /src/external/bsd/wpa/dist/src/p2p/
p2p_build.c 485 size_t *total_len, u8 *attr_len)
496 if (info_len + *total_len > MAX_SVC_ADV_LEN) {
594 *total_len += info_len;
595 WPA_PUT_LE16(attr_len, (u16) *total_len);
606 size_t total_len; local
629 total_len = 0;
633 WPA_PUT_LE16(attr_len, (u16) total_len);
640 &ie_len, &pos, &total_len, attr_len);
644 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN;
657 &total_len,
    [all...]
  /src/external/bsd/zstd/dist/contrib/linux-kernel/test/include/linux/
xxhash.h 161 uint64_t total_len; member in struct:xxh64_state
633 state->total_len += len;
698 if (state->total_len >= 32) {
714 h64 += (uint64_t)state->total_len;
  /src/external/gpl2/gettext/dist/gettext-tools/src/
msgfilter.c 763 size_t total_len; local
780 for (p = msgstr, k = 0, total_len = 0; k < nsubstrings; k++)
789 total_len += length + 1;
795 total_str = (char *) xmalloc (total_len);
807 mp->msgstr_len = total_len;
  /src/sys/dev/ic/
rtl81x9.c 915 u_int total_len, wrap; local
950 total_len = rxstat >> 16;
951 if (total_len == RTK_RXSTAT_UNFINISHED)
955 total_len < ETHER_MIN_LEN ||
956 total_len > (MCLBYTES - RTK_ETHER_ALIGN)) {
986 rx_bytes += total_len + RTK_RXSTAT_LEN;
1011 if (total_len > wrap)
1012 new_rx = total_len - wrap;
1014 new_rx = cur_rx + total_len;
1022 total_len -= ETHER_CRC_LEN
    [all...]
  /src/crypto/external/apache2/openssl/dist/demos/http3/
ossl-nghttp3.c 573 size_t i, num_vecs, written, total_written, total_len; local
637 total_len = nghttp3_vec_len(vecs, num_vecs);
690 if (fin && total_written == total_len) {
692 if (total_len == 0) {
  /src/crypto/external/bsd/heimdal/dist/lib/hx509/
name.c 124 append_string(char **str, size_t *total_len, const char *ss,
134 s = realloc(*str, len + *total_len + 1);
137 memcpy(s + *total_len, qs, len);
140 s[*total_len + len] = '\0';
142 *total_len += len;
205 size_t total_len = 0; local
301 append_string(str, &total_len, oidname, strlen(oidname), 0);
303 append_string(str, &total_len, "=", 1, 0);
304 append_string(str, &total_len, ss, len, 1);
311 append_string(str, &total_len, "+", 1, 0)
    [all...]
  /src/external/bsd/libarchive/dist/libarchive/
xxhash.c 327 U64 total_len; member in struct:XXH_state32_t
355 state->total_len = 0;
379 state->total_len += len;
454 if (state->total_len >= 16)
463 h32 += (U32) state->total_len;
  /src/external/bsd/libevent/dist/
evbuffer-internal.h 104 size_t total_len; member in struct:evbuffer

Completed in 54 milliseconds

1 2 3