Home
last modified time | relevance | path

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

/external/grpc-grpc/third_party/address_sorting/
Daddress_sorting.c73 int cur_bit = 0; in ipv6_prefix_match_length() local
74 while (cur_bit < 128) { in ipv6_prefix_match_length()
76 int a_val = a[cur_bit / CHAR_BIT] & (high_bit >> (cur_bit % CHAR_BIT)); in ipv6_prefix_match_length()
77 int b_val = b[cur_bit / CHAR_BIT] & (high_bit >> (cur_bit % CHAR_BIT)); in ipv6_prefix_match_length()
79 cur_bit++; in ipv6_prefix_match_length()
84 return cur_bit; in ipv6_prefix_match_length()
/external/strace/
Dutil.c133 next_set_bit(const void *bit_array, unsigned cur_bit, unsigned size_bits) in next_set_bit() argument
139 unsigned pos = cur_bit / 8; in next_set_bit()
146 if (cur_bit >= size_bits) in next_set_bit()
150 cur_bit = (cur_bit + 8) & (-8); in next_set_bit()
154 bitmask = 1 << (cur_bit & 7); in next_set_bit()
157 return cur_bit; in next_set_bit()
158 cur_bit++; in next_set_bit()
159 if (cur_bit >= size_bits) in next_set_bit()
Ddefs.h628 extern int next_set_bit(const void *bit_array, unsigned cur_bit, unsigned size_bits);
/external/libavc/decoder/
Dih264d_parse_cavlc.c212 UWORD32 word, word2, cur_bit, cur_word, code_val, code_num, clz; in ih264d_uvlc() local
215 cur_bit = u4_bitstrm_ofst & 0x1F; in ih264d_uvlc()
220 if(cur_bit != 0) in ih264d_uvlc()
222 word <<= cur_bit; in ih264d_uvlc()
223 word2 >>= (32 - cur_bit); in ih264d_uvlc()