Lines Matching refs:bitmask
24 #define RSMBLY_BITMASK_MARK(bitmask, start, end) { \ argument
27 … for (ii = (start); ii < (end); ii++) bitmask[((ii) >> 3)] |= (1 << ((ii) & 7)); \
30 bitmask[((start) >> 3)] |= bitmask_start_values[((start) & 7)]; \
31 … for (ii = (((start) >> 3) + 1); ii < ((((end) - 1)) >> 3); ii++) bitmask[ii] = 0xff; \
32 bitmask[(((end) - 1) >> 3)] |= bitmask_end_values[((end) & 7)]; \
35 #define RSMBLY_BITMASK_IS_COMPLETE(bitmask, msg_len, is_complete) { \ argument
38 … if (bitmask[(((msg_len) - 1) >> 3)] != bitmask_end_values[((msg_len) & 7)]) is_complete = 0; \
40 if (bitmask[ii] != 0xff) { is_complete = 0; break; } }
65 unsigned char *bitmask = NULL; in dtls1_hm_fragment_new() local
82 bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
83 if (bitmask == NULL) { in dtls1_hm_fragment_new()
90 frag->reassembly = bitmask; in dtls1_hm_fragment_new()