Home
last modified time | relevance | path

Searched refs:shift_bits (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc/tools/codegen/core/
Dgen_stats_data.py73 def shift_works_until(mapped_bounds, shift_bits): argument
76 if (a >> shift_bits) == (b >> shift_bits):
83 for shift_bits in reversed(range(0, 64)):
84 n = shift_works_until(mapped_bounds, shift_bits)
86 table_size = mapped_bounds[n - 1] >> shift_bits
90 best = (shift_bits, n, table_size)
92 best = (shift_bits, n, table_size)
/external/skia/src/core/
DSkPaint.cpp262 template <typename T> uint32_t shift_bits(T value, unsigned shift, unsigned bits) { in shift_bits() function
281 packed |= shift_bits(((unsigned)paint.isDither() << 1) | in pack_v68()
283 packed |= shift_bits(paint.getBlendMode(), 8, 8); in pack_v68()
284 packed |= shift_bits(paint.getStrokeCap(), 16, 2); in pack_v68()
285 packed |= shift_bits(paint.getStrokeJoin(), 18, 2); in pack_v68()
286 packed |= shift_bits(paint.getStyle(), 20, 2); in pack_v68()
287 packed |= shift_bits(paint.getFilterQuality(), 22, 2); in pack_v68()
288 packed |= shift_bits(flatFlags, 24, 8); in pack_v68()
/external/boringssl/src/crypto/fipsmodule/bn/
Dshift.c138 unsigned shift_bits = shift % BN_BITS2; in bn_rshift_words() local
144 if (shift_bits == 0) { in bn_rshift_words()
149 (a[i] >> shift_bits) | (a[i + 1] << (BN_BITS2 - shift_bits)); in bn_rshift_words()
151 r[num - 1 - shift_words] = a[num - 1] >> shift_bits; in bn_rshift_words()
/external/skqp/src/core/
DSkPaint.cpp328 template <typename T> uint32_t shift_bits(T value, unsigned shift, unsigned bits) { in shift_bits() function
347 packed |= shift_bits(((unsigned)paint.isDither() << 1) | in pack_v68()
349 packed |= shift_bits(paint.getBlendMode(), 8, 8); in pack_v68()
350 packed |= shift_bits(paint.getStrokeCap(), 16, 2); in pack_v68()
351 packed |= shift_bits(paint.getStrokeJoin(), 18, 2); in pack_v68()
352 packed |= shift_bits(paint.getStyle(), 20, 2); in pack_v68()
353 packed |= shift_bits(paint.getFilterQuality(), 22, 2); in pack_v68()
354 packed |= shift_bits(flatFlags, 24, 8); in pack_v68()
/external/tensorflow/tensorflow/compiler/tests/
Dquantized_ops_test.py66 shift_bits = 8
75 total_shift_bits = shift_bits * (num_elements_per_pack - p - 1)
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_connmark.h34 __u8 shift_dir, shift_bits, mode; member
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dquantize.h114 XlaOp shift_bits =
132 broadcast_input, Transpose(Broadcast(shift_bits, shape.dimensions()),
/external/python/cpython2/Objects/
Dlongobject.c2218 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local
2269 shift_bits = (DBL_MANT_DIG + 2 - a_bits) % PyLong_SHIFT; in _PyLong_Frexp()
2274 (int)shift_bits); in _PyLong_Frexp()
2280 shift_bits = (a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT; in _PyLong_Frexp()
2282 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()
/external/python/cpython3/Objects/
Dlongobject.c2751 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local
2802 shift_bits = (DBL_MANT_DIG + 2 - a_bits) % PyLong_SHIFT; in _PyLong_Frexp()
2807 (int)shift_bits); in _PyLong_Frexp()
2813 shift_bits = (a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT; in _PyLong_Frexp()
2815 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()
/external/v8/include/
Dv8.h199 int shift_bits = kSmiTagSize + kSmiShiftSize;
201 return static_cast<int>(reinterpret_cast<intptr_t>(value)) >> shift_bits;
229 int shift_bits = kSmiTagSize + kSmiShiftSize;
231 return static_cast<int>(reinterpret_cast<intptr_t>(value) >> shift_bits);