Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/pb/
Dvarint.int.h115 int high_bit = val ? 63 - __builtin_clzll(val) : 0; in upb_value_size() local
117 int high_bit = 0; in upb_value_size()
119 while(tmp >>= 1) high_bit++; in upb_value_size()
121 return val == 0 ? 1 : high_bit / 8 + 1; in upb_value_size()
/external/libaom/libaom/av1/encoder/
Dhash.c34 const uint32_t high_bit = 1 << (p_crc_calculator->bits - 1); in crc_calculator_init_table() local
41 remainder ^= high_bit; in crc_calculator_init_table()
44 if (remainder & high_bit) { in crc_calculator_init_table()
/external/mesa3d/src/util/
Dregister_allocate.c717 for (int i = BITSET_WORDS(g->count) - 1, high_bit = top_word_high_bit; in ra_simplify() local
718 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()
724 for (int j = high_bit; j >= 0; j--) { in ra_simplify()
740 for (int i = BITSET_WORDS(g->count) - 1, high_bit = top_word_high_bit; in ra_simplify() local
741 i >= 0; i--, high_bit = BITSET_WORDBITS - 1) { in ra_simplify()
742 BITSET_WORD mask = ~(BITSET_WORD)0 >> (31 - high_bit); in ra_simplify()
756 for (int j = high_bit; j >= 0; j--) { in ra_simplify()
774 for (int j = high_bit; j >= 0; j--) { in ra_simplify()
/external/webrtc/modules/video_coding/utility/
Dvp9_uncompressed_header_parser.cc29 uint32_t high_bit; in Vp9ReadProfile() local
32 RETURN_FALSE_IF_ERROR(br->ReadBits(&high_bit, 1)); in Vp9ReadProfile()
33 *profile = (high_bit << 1) + low_bit; in Vp9ReadProfile()
/external/grpc-grpc/third_party/address_sorting/
Daddress_sorting.c75 int high_bit = 1 << (CHAR_BIT - 1); in ipv6_prefix_match_length() local
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()
/external/rust/crates/grpcio-sys/grpc/third_party/address_sorting/
Daddress_sorting.c75 int high_bit = 1 << (CHAR_BIT - 1); in ipv6_prefix_match_length() local
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()
/external/python/cpython3/Lib/
Denum.py712 high_bit = _high_bit(last_value)
716 return 2 ** (high_bit+1)
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddef.c171 const uint32_t high_bit = 1 << 30; in field_rank() local
172 UPB_ASSERT(ret < high_bit); in field_rank()
174 ret |= high_bit; in field_rank()
/external/protobuf/php/ext/google/protobuf/
Dupb.h6841 int high_bit = 63 - __builtin_clzll(val); /* 0-based, undef if val == 0. */
6843 int high_bit = 0;
6845 while(tmp >>= 1) high_bit++;
6847 return val == 0 ? 1 : high_bit / 8 + 1;
Dupb.c1289 const uint32_t high_bit = 1 << 30; in field_rank() local
1290 UPB_ASSERT(ret < high_bit); in field_rank()
1292 ret |= high_bit; in field_rank()
/external/vixl/src/aarch64/
Dassembler-aarch64.cc5586 unsigned high_bit = (8 << (extend & 0x3)) - 1; in EmitExtendShift() local
5590 if ((non_shift_bits > high_bit) || (non_shift_bits == 0)) { in EmitExtendShift()
5595 ubfm(rd, rn_, non_shift_bits, high_bit); in EmitExtendShift()
5600 sbfm(rd, rn_, non_shift_bits, high_bit); in EmitExtendShift()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h10141 int high_bit = 63 - __builtin_clzll(val); /* 0-based, undef if val == 0. */
10143 int high_bit = 0;
10145 while(tmp >>= 1) high_bit++;
10147 return val == 0 ? 1 : high_bit / 8 + 1;
Dupb.c1342 const uint32_t high_bit = 1 << 30; in field_rank() local
1343 UPB_ASSERT(ret < high_bit); in field_rank()
1345 ret |= high_bit; in field_rank()