Home
last modified time | relevance | path

Searched refs:first_len (Results 1 – 4 of 4) sorted by relevance

/freebsd/tools/tools/netmap/
H A Dnmreplay.c321 uint32_t magic, first_len = 0; in readpcap() local
398 first_len = len; in readpcap()
408 1e-9*pf->total_tx_time, (u_long)first_len); in readpcap()
417 if (pf->tot_bytes == first_len) { in readpcap()
419 first_pkt_time = first_len * 8; /* * 10^9 / bw */ in readpcap()
421 first_pkt_time = pf->total_tx_time * first_len / (pf->tot_bytes - first_len); in readpcap()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_bookmark.c165 size_t first_len = 0; in dsl_bookmark_create_nvl_validate() local
185 first_len = cp - bmark; in dsl_bookmark_create_nvl_validate()
187 if (strncmp(first, bmark, first_len) != 0) in dsl_bookmark_create_nvl_validate()
189 switch (*(bmark + first_len)) { in dsl_bookmark_create_nvl_validate()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1904 size_t first_len = MIN(M_TRAILINGSPACE(mbuf), size); in xnb_rxpkt2rsp_2slots() local
1905 mbuf->m_len = first_len; in xnb_rxpkt2rsp_2slots()
1906 mbuf->m_next->m_len = size - first_len; in xnb_rxpkt2rsp_2slots()
/freebsd/contrib/expat/tests/
H A Dbasic_tests.c3022 for (int first_len = 1; first_len >= 0; first_len--) { in START_TEST()
3023 set_subtest("with len=%d first", first_len); in START_TEST()
3026 assert_true(XML_GetBuffer(parser, first_len) != NULL);
3013 for (int first_len = 1; first_len >= 0; first_len--) { START_TEST() local