Searched defs:max_pow2 (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/ots/src/
H A Dkern.cc102 unsigned max_pow2 = 0; local
103 while (1u << (max_pow2 + 1) <= num_pairs) {
104 ++max_pow2;
106 const uint16_t expected_search_range = (1u << max_pow2) * kFormat0PairSize;
111 if (subtable.entry_selector != max_pow2) {
H A Dots.cc190 unsigned max_pow2 = 0; local
191 while (1u << (max_pow2 + 1) <= header->num_tables) {
192 max_pow2++;
194 const uint16_t expected_search_range = (1u << max_pow2) << 4;
204 if (header->entry_selector != max_pow2) {
581 unsigned max_pow2 = 0; local
582 while (1u << (max_pow2 + 1) <= num_output_tables) {
583 max_pow2++;
585 const uint16_t output_search_range = (1u << max_pow2) << 4;
591 !output->WriteU16(max_pow2) ||
[all...]
H A Dwoff2.cc955 unsigned max_pow2 = 0; local
956 while (1u << (max_pow2 + 1) <= num_tables) {
957 max_pow2++;
959 const uint16_t output_search_range = (1u << max_pow2) << 4;
961 offset = Store16(result, offset, max_pow2);
/external/chromium_org/third_party/brotli/src/woff2/
H A Dfont.cc100 uint16_t max_pow2 = font.num_tables ? Log2Floor(font.num_tables) : 0; local
101 uint16_t search_range = max_pow2 ? 1 << (max_pow2 + 4) : 0;
104 Store16(max_pow2, &offset, dst);
H A Dnormalize.cc150 uint16_t max_pow2 = font.num_tables ? Log2Floor(font.num_tables) : 0; local
151 uint16_t search_range = max_pow2 ? 1 << (max_pow2 + 4) : 0;
154 checksum += (max_pow2 << 16 | range_shift);
H A Dwoff2_dec.cc819 unsigned max_pow2 = 0; local
820 while (1u << (max_pow2 + 1) <= num_tables) {
821 max_pow2++;
823 const uint16_t output_search_range = (1u << max_pow2) << 4;
825 offset = Store16(result, offset, max_pow2);

Completed in 859 milliseconds