Home
last modified time | relevance | path

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

/external/sfntly/cpp/src/test/
Dcmap_iterator_test.cc108 for (int32_t next_bit = current - beginning; in CompareCMapIterAndBitSet() local
110 next_bit = current - init_beginning) { in CompareCMapIterAndBitSet()
112 EXPECT_TRUE(c <= next_bit || current == end); in CompareCMapIterAndBitSet()
113 if (!(c <= next_bit || current == end)) in CompareCMapIterAndBitSet()
115 if (c == next_bit) { in CompareCMapIterAndBitSet()
/external/boringssl/src/crypto/ec/
Dwnaf.c98 int bit, next_bit, mask; in compute_wNAF() local
119 next_bit = bit << 1; /* at most 256 */ in compute_wNAF()
120 mask = next_bit - 1; /* at most 255 */ in compute_wNAF()
154 digit = window_val - next_bit; /* -2^w < digit < 0 */ in compute_wNAF()
180 if (window_val != 0 && window_val != next_bit && window_val != bit) { in compute_wNAF()
191 if (window_val > next_bit) { in compute_wNAF()
/external/harfbuzz_ng/src/
Dhb-ot-map.cc185 unsigned int next_bit = 1; in compile() local
198 if (!info->max_value || next_bit + bits_needed > 8 * sizeof (hb_mask_t)) in compile()
245 map->shift = next_bit; in compile()
246 map->mask = (1 << (next_bit + bits_needed)) - (1 << next_bit); in compile()
247 next_bit += bits_needed; in compile()