Home
last modified time | relevance | path

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

/openthread-latest/third_party/tcplp/lib/
Dbitmap.c43 #define _bmp_getrangeinfo(buf, start, len, first_bit_id, first_byte_ptr, last_bit_id, last_byte_ptr… argument
45 first_bit_id = (start & 0x7); \
47 last_bit_id = (len & 0x7) + first_bit_id; \
53 uint8_t first_bit_id; in bmp_setrange() local
58 _bmp_getrangeinfo(buf, start, len, first_bit_id, first_byte_set, in bmp_setrange()
61 first_byte_mask = (uint8_t) (0xFF >> first_bit_id); in bmp_setrange()
77 uint8_t first_bit_id; in bmp_clrrange() local
82 _bmp_getrangeinfo(buf, start, len, first_bit_id, first_byte_clear, in bmp_clrrange()
85 first_byte_mask = (uint8_t) (0xFF << (8 - first_bit_id)); in bmp_clrrange()
101 uint8_t first_bit_id; in bmp_countset() local
[all …]