Home
last modified time | relevance | path

Searched refs:nb_items (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/layers/
Dntp.py1523 while len(remain) >= pkt.data_item_size and item_counter < pkt.nb_items:
1641 while len(remain) >= pkt.data_item_size * pkt.nb_items and item_counter < pkt.nb_items:
1808 count_from=lambda p: p.nb_items
1819 count_from=lambda p: p.nb_items
/external/libusb/examples/
Dxusb.c559 int nb_bits = 0, nb_items = 0; in get_hid_record_size() local
572 nb_items = 0; in get_hid_record_size()
574 nb_items = ((uint32_t)hid_report_descriptor[i+j]) << (8*(j-1)); in get_hid_record_size()
590 nb_items = 0; in get_hid_record_size()
598 record_size[j] += nb_items*nb_bits; in get_hid_record_size()
/external/scapy/test/
Dregression.uts7069 assert(p.nb_items == 0)
7081 assert(p.nb_items == 0)
7093 assert(p.nb_items == 1)
7108 assert(p.nb_items == 1)
7372 assert(p.nb_items == 1)
7397 assert(p.nb_items == 0)
7410 assert(p.nb_items == 1)
7432 assert(p.nb_items == 0)
7445 assert(p.nb_items == 1)
7465 assert(p.nb_items == 1)
[all …]