Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 25 of 54) sorted by relevance

123

/dragonfly/contrib/flex/src/
H A Dtables.c193 flex_int32_t i, total_len; in yytbl_data_fwrite() local
212 total_len = yytbl_calc_total_len (td); in yytbl_data_fwrite()
213 for (i = 0; i < total_len; i++) { in yytbl_data_fwrite()
235 if (bwritten != (12 + total_len * (int) YYTDFLAGS2BYTES (td->td_flags))) { in yytbl_data_fwrite()
430 flex_int32_t i, total_len; in min_int_size() local
433 total_len = yytbl_calc_total_len (tbl); in min_int_size()
435 for (i = 0; i < total_len; i++) { in min_int_size()
463 flex_int32_t i, total_len; in yytbl_data_compress() local
484 total_len = yytbl_calc_total_len (tbl); in yytbl_data_compress()
485 newtbl.td_data = calloc ((size_t) total_len, newsz); in yytbl_data_compress()
[all …]
/dragonfly/contrib/wpa_supplicant/src/wps/
H A Dndef.c112 size_t total_len; in ndef_build_record() local
119 total_len = 2; /* flag + type length */ in ndef_build_record()
121 total_len += short_record ? sizeof(u8) : sizeof(u32); in ndef_build_record()
123 total_len += 1; in ndef_build_record()
124 total_len += type_length + id_length + payload_length; in ndef_build_record()
125 record = wpabuf_alloc(total_len); in ndef_build_record()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Daes-omac1.c49 size_t i, e, left, total_len; in omac1_aes_vector() local
59 total_len = 0; in omac1_aes_vector()
61 total_len += len[e]; in omac1_aes_vector()
62 left = total_len; in omac1_aes_vector()
93 if (left || total_len == 0) { in omac1_aes_vector()
/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_state.c427 size_t sopt_size, total_len = 0; in ip_fw3_ctl_state_get() local
441 total_len += LEN_IOC_FW3_STATE; in ip_fw3_ctl_state_get()
442 if (total_len > sopt_size) in ip_fw3_ctl_state_get()
456 total_len += LEN_IOC_FW3_STATE; in ip_fw3_ctl_state_get()
457 if (total_len > sopt_size) in ip_fw3_ctl_state_get()
471 total_len += LEN_IOC_FW3_STATE; in ip_fw3_ctl_state_get()
472 if (total_len > sopt_size) in ip_fw3_ctl_state_get()
487 if (total_len > sopt_size) in ip_fw3_ctl_state_get()
502 if (total_len > sopt_size) in ip_fw3_ctl_state_get()
517 if (total_len > sopt_size) in ip_fw3_ctl_state_get()
[all …]
/dragonfly/lib/libthread_xu/thread/
H A Dthr_distribute.c25 size_t len, size_t total_len);
29 size_t len, size_t total_len) in _libthread_distribute_static_tls() argument
39 memset(tlsbase + len, 0, total_len - len); in _libthread_distribute_static_tls()
/dragonfly/contrib/wpa_supplicant/src/p2p/
H A Dp2p_build.c479 size_t *total_len, u8 *attr_len) in p2p_buf_add_service_info() argument
490 if (info_len + *total_len > MAX_SVC_ADV_LEN) { in p2p_buf_add_service_info()
588 *total_len += info_len; in p2p_buf_add_service_info()
589 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info()
600 size_t total_len; in p2p_buf_add_service_instance() local
623 total_len = 0; in p2p_buf_add_service_instance()
627 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance()
634 &ie_len, &pos, &total_len, attr_len); in p2p_buf_add_service_instance()
638 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN; in p2p_buf_add_service_instance()
651 &total_len, in p2p_buf_add_service_instance()
[all …]
/dragonfly/share/examples/scsi_target/
H A Dscsi_cmds.c485 a_descr->total_len = count * sector_size; in tcmd_rdwr_decode()
486 if (a_descr->total_len == 0) { in tcmd_rdwr_decode()
516 ctio->dxfer_len = a_descr->total_len - a_descr->targ_req; in start_io()
519 ctio->dxfer_len = a_descr->total_len - a_descr->init_req; in start_io()
533 if (a_descr->targ_req == a_descr->total_len) { in start_io()
539 if (a_descr->targ_ack == a_descr->total_len) in start_io()
542 if (a_descr->init_req == a_descr->total_len && in start_io()
585 if (a_descr->init_req == a_descr->total_len) in tcmd_rdwr_done()
/dragonfly/sys/net/ipfw3_nat/
H A Dip_fw3_nat.c518 size_t sopt_size, total_len = 0; in ip_fw3_ctl_nat_get_record() local
537 total_len += LEN_IOC_NAT_STATE; in ip_fw3_ctl_nat_get_record()
538 if (total_len > sopt_size) in ip_fw3_ctl_nat_get_record()
562 total_len += LEN_IOC_NAT_STATE; in ip_fw3_ctl_nat_get_record()
563 if (total_len > sopt_size) in ip_fw3_ctl_nat_get_record()
593 total_len += LEN_IOC_NAT_STATE; in ip_fw3_ctl_nat_get_record()
594 if (total_len > sopt_size) in ip_fw3_ctl_nat_get_record()
618 if (total_len > sopt_size) in ip_fw3_ctl_nat_get_record()
650 if (total_len > sopt_size) in ip_fw3_ctl_nat_get_record()
674 if (total_len > sopt_size) in ip_fw3_ctl_nat_get_record()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dfloatformat.c427 unsigned int total_len, unsigned int start, unsigned int len) in get_field() argument
435 start = total_len - (start + len); in get_field()
441 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in get_field()
565 unsigned int total_len, unsigned int start, unsigned int len, in put_field() argument
573 start = total_len - (start + len); in put_field()
579 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in put_field()
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dfloatformat.c426 unsigned int total_len, unsigned int start, unsigned int len) in get_field() argument
434 start = total_len - (start + len); in get_field()
440 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in get_field()
564 unsigned int total_len, unsigned int start, unsigned int len, in put_field() argument
572 start = total_len - (start + len); in put_field()
578 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in put_field()
/dragonfly/contrib/gdb-7/libiberty/
H A Dfloatformat.c416 unsigned int total_len, unsigned int start, unsigned int len) in get_field() argument
424 start = total_len - (start + len); in get_field()
430 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in get_field()
554 unsigned int total_len, unsigned int start, unsigned int len, in put_field() argument
562 start = total_len - (start + len); in put_field()
568 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in put_field()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dfloatformat.c416 unsigned int total_len, unsigned int start, unsigned int len) in get_field() argument
424 start = total_len - (start + len); in get_field()
430 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in get_field()
565 unsigned int total_len, unsigned int start, unsigned int len, in put_field() argument
573 start = total_len - (start + len); in put_field()
579 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in put_field()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dfloatformat.c426 unsigned int total_len, unsigned int start, unsigned int len) in get_field() argument
434 start = total_len - (start + len); in get_field()
440 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in get_field()
564 unsigned int total_len, unsigned int start, unsigned int len, in put_field() argument
572 start = total_len - (start + len); in put_field()
578 cur_byte = (total_len - start - 1) / FLOATFORMAT_CHAR_BIT; in put_field()
/dragonfly/lib/libc/gen/
H A Delf_utils.c58 size_t total_len) in __libc_distribute_static_tls() argument
64 memset((char *)tlsbase + len, 0, total_len - len); in __libc_distribute_static_tls()
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_android.c27 int total_len; member
59 priv_cmd.total_len = sizeof(buf); in android_priv_cmd()
129 priv_cmd.total_len = bp; in android_pno_start()
/dragonfly/contrib/libarchive/libarchive/
H A Dxxhash.c323 U64 total_len; member
351 state->total_len = 0; in XXH32_resetState()
375 state->total_len += len; in XXH32_update_endian()
450 if (state->total_len >= 16) in XXH32_intermediateDigest_endian()
459 h32 += (U32) state->total_len; in XXH32_intermediateDigest_endian()
/dragonfly/sys/dev/netif/my/
H A Dif_my.c1091 int total_len = 0; in my_rxeof() local
1105 total_len = (rxstat & MY_FLNGMASK) >> MY_FLNGShift; in my_rxeof()
1106 total_len -= ETHER_CRC_LEN; in my_rxeof()
1108 if (total_len < MINCLSIZE) { in my_rxeof()
1110 total_len, 0, ifp); in my_rxeof()
1131 m->m_pkthdr.len = m->m_len = total_len; in my_rxeof()
1277 int total_len; in my_encap() local
1281 total_len = 0; in my_encap()
1283 total_len += m->m_len; in my_encap()
1310 total_len = m_new->m_len; in my_encap()
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Ddoublest.c47 unsigned int total_len, unsigned int start, unsigned int len) in get_field() argument
66 int excess = FLOATFORMAT_CHAR_BIT - (total_len % FLOATFORMAT_CHAR_BIT); in get_field()
68 cur_byte = (total_len / FLOATFORMAT_CHAR_BIT) in get_field()
279 unsigned int total_len, unsigned int start, unsigned int len, in put_field() argument
291 int excess = FLOATFORMAT_CHAR_BIT - (total_len % FLOATFORMAT_CHAR_BIT); in put_field()
293 cur_byte = (total_len / FLOATFORMAT_CHAR_BIT) in put_field()
/dragonfly/sys/vfs/hammer2/xxhash/
H A Dxxhash.h249 unsigned long long total_len; member
260 unsigned long long total_len; member
H A Dxxhash.c591 state->total_len += len; in XXH32_update_endian()
657 if (state->total_len >= 16) { in XXH32_digest_endian()
663 h32 += (U32) state->total_len; in XXH32_digest_endian()
710 state->total_len += len; in XXH64_update_endian()
774 if (state->total_len >= 32) { in XXH64_digest_endian()
789 h64 += (U64) state->total_len; in XXH64_digest_endian()
/dragonfly/sys/dev/netif/wb/
H A Dif_wb.c968 int total_len = 0; in wb_rxeof() local
1003 total_len = WB_RXBYTES(cur_rx->wb_ptr->wb_status); in wb_rxeof()
1012 total_len -= ETHER_CRC_LEN; in wb_rxeof()
1015 total_len + ETHER_ALIGN, 0, ifp); in wb_rxeof()
1211 int frag, total_len; in wb_encap() local
1218 total_len = 0; in wb_encap()
1224 total_len += m->m_len; in wb_encap()
1268 f->wb_ctl = total_len = m_new->m_len; in wb_encap()
1273 if (total_len < WB_MIN_FRAMELEN) { in wb_encap()
1275 f->wb_ctl = WB_MIN_FRAMELEN - total_len; in wb_encap()
/dragonfly/sbin/ipfw3/
H A Dipfw3.c685 int total_len; in rule_list() local
707 total_len = 0; in rule_list()
719 total_len += IOC_RULESIZE(rule); in rule_list()
720 if (total_len == nbytes) { in rule_list()
731 total_len = 0; in rule_list()
736 total_len += IOC_RULESIZE(rule); in rule_list()
737 if (total_len == nbytes) { in rule_list()
/dragonfly/sys/dev/netif/tl/
H A Dif_tl.c1389 int r = 0, total_len = 0; in tl_intvec_rxeof() local
1405 total_len = cur_rx->tl_ptr->tlist_frsize; in tl_intvec_rxeof()
1422 m->m_pkthdr.len = m->m_len = total_len; in tl_intvec_rxeof()
1739 int total_len; in tl_encap() local
1747 total_len = 0; in tl_encap()
1753 total_len+= m->m_len; in tl_encap()
1786 f->tlist_dcnt = total_len = m_new->m_len; in tl_encap()
1794 if (total_len < TL_MIN_FRAMELEN) { in tl_encap()
1800 f->tlist_dcnt = TL_MIN_FRAMELEN - total_len; in tl_encap()
1802 total_len += f->tlist_dcnt; in tl_encap()
[all …]
/dragonfly/sys/dev/netif/rl/
H A Dif_rl.c982 int total_len = 0; in rl_rxeof() local
1034 total_len = rxstat >> 16; in rl_rxeof()
1035 rx_bytes += total_len + 4; in rl_rxeof()
1044 total_len -= ETHER_CRC_LEN; in rl_rxeof()
1061 if (total_len > wrap) { in rl_rxeof()
1073 m_copyback(m, wrap, total_len - wrap, in rl_rxeof()
1076 cur_rx = (total_len - wrap + ETHER_CRC_LEN); in rl_rxeof()
1079 total_len + RL_ETHER_ALIGN, 0, ifp); in rl_rxeof()
1084 cur_rx += total_len + 4 + ETHER_CRC_LEN; in rl_rxeof()
/dragonfly/sys/bus/u4b/net/
H A Dif_kue.c587 int total_len; in kue_bulk_write_callback() local
606 total_len = (temp_len + (64 - (temp_len % 64))); in kue_bulk_write_callback()
617 usbd_frame_zero(pc, temp_len, total_len - temp_len); in kue_bulk_write_callback()
618 usbd_xfer_set_frame_len(xfer, 0, total_len); in kue_bulk_write_callback()

123