Searched refs:max_shift (Results 1 - 3 of 3) sorted by relevance

/external/openssl/crypto/bn/
H A Dbn_mod.c265 int max_shift; local
268 max_shift = BN_num_bits(m) - BN_num_bits(r);
269 /* max_shift >= 0 */
271 if (max_shift < 0)
277 if (max_shift > n)
278 max_shift = n;
280 if (max_shift)
282 if (!BN_lshift(r, r, max_shift)) return 0;
283 n -= max_shift;
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Ddiv.c502 int max_shift; local
505 max_shift = BN_num_bits(m) - BN_num_bits(r);
506 /* max_shift >= 0 */
508 if (max_shift < 0) {
513 if (max_shift > n) {
514 max_shift = n;
517 if (max_shift) {
518 if (!BN_lshift(r, r, max_shift)) {
521 n -= max_shift;
/external/chromium_org/ui/gfx/
H A Drender_text.cc67 const int max_shift = std::abs(display_height - font_height); local
78 return baseline + std::max(min_shift, std::min(max_shift, baseline_shift));

Completed in 508 milliseconds