Home
last modified time | relevance | path

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

/openssl/ssl/quic/
H A Dqlog.c19 static ossl_unused ossl_inline int bit_get(const size_t *p, uint32_t bit_no) in bit_get() argument
21 return p[bit_no / BITS_PER_WORD] & (((size_t)1) << (bit_no % BITS_PER_WORD)); in bit_get()
24 static ossl_unused ossl_inline void bit_set(size_t *p, uint32_t bit_no, int enable) in bit_set() argument
26 size_t mask = (((size_t)1) << (bit_no % BITS_PER_WORD)); in bit_set()
29 p[bit_no / BITS_PER_WORD] |= mask; in bit_set()
31 p[bit_no / BITS_PER_WORD] &= ~mask; in bit_set()

Completed in 6 milliseconds