/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
H A D | decapsulate.c | 45 size_t total_len, 52 if (total_len < 1) 56 e = der_get_length (p, total_len - 1, &len, &len_len); 57 if (e || 1 + len_len + len != total_len) 59 if (total_len < 1 + len_len + 1) 64 e = der_get_length (p, total_len - 1 - len_len - 1, 75 size_t total_len, 81 mech_len = _gsskrb5_get_mech (*str, total_len, &p); 87 if (mech_len > total_len) 89 if (p - *str > total_len 44 _gsskrb5_get_mech(const u_char *ptr, size_t total_len, const u_char **mech_ret) argument 74 _gssapi_verify_mech_header(u_char **str, size_t total_len, gss_OID mech) argument 101 _gsskrb5_verify_header(u_char **str, size_t total_len, const void *type, gss_OID oid) argument [all...] |
H A D | encapsulate.c | 41 size_t *total_len, 50 *total_len = 1 + len_len + *len; 56 size_t *total_len, 59 _gssapi_encap_length(data_len + 2, len, total_len, mech); 39 _gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument 54 _gsskrb5_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
|
H A D | 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...] |
H A D | 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);
|
H A D | 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...] |
/netbsd-current/common/lib/libutil/ |
H A D | snprintb.c | 65 size_t total_len; member in struct:__anon1 74 if (s->total_len < s->bufsize) 75 s->buf[s->total_len] = c; 76 s->total_len++; 82 int num_len = s->total_len < s->bufsize 83 ? snprintf(s->buf + s->total_len, s->bufsize - s->total_len, 87 s->total_len += num_len; 94 if (s->total_len - s->line_pos > s->line_max) { 95 s->total_len [all...] |
/netbsd-current/external/mpl/bind/dist/bin/tests/system/rndc/ |
H A D | tests_cve-2023-3341.py | 28 total_len = 10 + (depth * 7) - 6 33 total_len.to_bytes(4, "big"), # <total lenght>
|
/netbsd-current/external/gpl2/groff/dist/src/utils/lkbib/ |
H A D | 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];
|
/netbsd-current/external/bsd/wpa/dist/src/crypto/ |
H A D | 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) {
|
/netbsd-current/external/bsd/elftoolchain/dist/libdwarf/ |
H A D | libdwarf_loclist.c | 37 Dwarf_Unsigned *total_len, Dwarf_Error *error) 42 if (total_len != NULL) 43 *total_len = 0; 53 if (total_len != NULL) 54 *total_len += 2 * cu->cu_pointer_size; 75 if (total_len != NULL) 76 *total_len += len; 35 _dwarf_loclist_add_locdesc(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, Dwarf_Unsigned *off, Dwarf_Locdesc **ld, Dwarf_Signed *ldlen, Dwarf_Unsigned *total_len, Dwarf_Error *error) argument
|
/netbsd-current/external/bsd/wpa/dist/src/wps/ |
H A D | ndef.c | 112 size_t total_len; local 119 total_len = 2; /* flag + type length */ 121 total_len += short_record ? sizeof(u8) : sizeof(u32); 123 total_len += 1; 124 total_len += type_length + id_length + payload_length; 125 record = wpabuf_alloc(total_len);
|
/netbsd-current/external/bsd/flex/dist/src/ |
H A D | 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, news 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...] |
/netbsd-current/sys/dev/usb/ |
H A D | if_upl.c | 226 upl_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) argument 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;
|
H A D | 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)); 651 udav_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument [all...] |
H A D | 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) argument 503 if (total_len < [all...] |
H A D | if_kue.c | 534 kue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument 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...] |
H A D | if_cdce.c | 257 cdce_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) argument 262 if (un->un_flags & CDCE_ZAURUS && total_len > 4) 263 total_len -= 4; 265 if (total_len < sizeof(struct ether_header)) { 270 usbnet_enqueue(un, c->unc_buf, total_len, 0, 0, 0);
|
H A D | if_axe.c | 993 axe_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) argument 1008 if (total_len < sizeof(hdr)) { 1015 DPRINTFN(20, "total_len %#jx len %#jx ilen %#jx", 1016 total_len, 1020 total_len -= sizeof(hdr); 1031 if (total_len < rxlen) { 1032 pktlen = total_len; 1033 total_len = 0; 1037 total_len -= rxlen; 1043 if (total_len < sizeo [all...] |
/netbsd-current/external/bsd/wpa/dist/src/drivers/ |
H A D | 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;
|
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/ |
H A D | buffer_iocp.c | 131 evbuf->total_len += nBytes; 191 if (!buf->total_len) { 195 } else if (at_most < 0 || (size_t)at_most > buf->total_len) { 196 at_most = buf->total_len;
|
/netbsd-current/external/bsd/libevent/dist/ |
H A D | buffer_iocp.c | 133 evbuf->total_len += nBytes; 193 if (!buf->total_len) { 197 } else if (at_most < 0 || (size_t)at_most > buf->total_len) { 198 at_most = buf->total_len;
|
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/ |
H A D | floatformat.c | 427 unsigned int total_len, unsigned int start, unsigned int len) 435 start = total_len - (start + len); 441 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 570 unsigned int total_len, unsigned int start, unsigned int len, 578 start = total_len - (start + len); 584 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 425 get_field(const unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len) argument 567 put_field(unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len, unsigned long stuff_to_put) argument
|
/netbsd-current/external/gpl3/binutils/dist/libiberty/ |
H A D | floatformat.c | 443 unsigned int total_len, unsigned int start, unsigned int len) 451 start = total_len - (start + len); 457 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 586 unsigned int total_len, unsigned int start, unsigned int len, 594 start = total_len - (start + len); 600 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 442 get_field(const unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len) argument 584 put_field(unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len, unsigned long stuff_to_put) argument
|
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/ |
H A D | floatformat.c | 432 unsigned int total_len, unsigned int start, unsigned int len) 440 start = total_len - (start + len); 446 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 575 unsigned int total_len, unsigned int start, unsigned int len, 583 start = total_len - (start + len); 589 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 430 get_field(const unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len) argument 572 put_field(unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len, unsigned long stuff_to_put) argument
|
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/ |
H A D | floatformat.c | 443 unsigned int total_len, unsigned int start, unsigned int len) 451 start = total_len - (start + len); 457 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 582 unsigned int total_len, unsigned int start, unsigned int len, 590 start = total_len - (start + len); 596 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; 442 get_field(const unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len) argument 580 put_field(unsigned char *data, enum floatformat_byteorders order, unsigned int total_len, unsigned int start, unsigned int len, unsigned long stuff_to_put) argument
|