/third_party/mindspore/mindspore/core/utils/ |
D | hashing.h | 40 constexpr int shift_bits = (sizeof(std::size_t) == 8 ? 3 : 1); in operator() local 41 return (reinterpret_cast<std::size_t>(ptr) >> shift_bits); in operator() 48 constexpr int shift_bits = (sizeof(std::size_t) == 8 ? 3 : 1); 49 return (reinterpret_cast<std::size_t>(ptr.get()) >> shift_bits);
|
/third_party/grpc/tools/codegen/core/ |
D | gen_stats_data.py | 73 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)
|
/third_party/skia/src/core/ |
D | SkPaint.cpp | 231 template <typename T> uint32_t shift_bits(T value, unsigned shift, unsigned bits) { in shift_bits() function 256 packed |= shift_bits(((unsigned)paint.isDither() << 1) | in pack_v68() 258 packed |= shift_bits(mode, 8, 8); in pack_v68() 259 packed |= shift_bits(paint.getStrokeCap(), 16, 2); in pack_v68() 260 packed |= shift_bits(paint.getStrokeJoin(), 18, 2); in pack_v68() 261 packed |= shift_bits(paint.getStyle(), 20, 2); in pack_v68() 262 packed |= shift_bits(0, 22, 2); // was filterquality in pack_v68() 263 packed |= shift_bits(flatFlags, 24, 8); in pack_v68()
|
/third_party/iptables/extensions/ |
D | libxt_CONNMARK.c | 199 info->shift_bits = 0; in connmark_tg_init_v2() 312 info->shift_bits = cb->val.u8; in connmark_tg_parse_v2() 316 info->shift_bits = cb->val.u8; in connmark_tg_parse_v2() 461 info->shift_bits != 0) { in connmark_tg_print_v2() 462 printf(" %s %u", shift_op, info->shift_bits); in connmark_tg_print_v2() 546 info->shift_bits != 0) { in connmark_tg_save_v2() 547 printf(" --%s %u", shift_op, info->shift_bits); in connmark_tg_save_v2() 636 info->shift_bits != 0) { in connmark_tg_xlate_v2() 637 xt_xlate_add(xl, " %s %u", shift_op, info->shift_bits); in connmark_tg_xlate_v2()
|
/third_party/flutter/skia/src/core/ |
D | SkPaint.cpp | 262 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()
|
/third_party/ffmpeg/libavcodec/ |
D | dcaadpcm.c | 132 int shift_bits; in ff_dcaadpcm_subband_analysis() local 139 shift_bits = av_log2(max) - 11; in ff_dcaadpcm_subband_analysis() 143 input_buffer2[i] = norm__(in[i], shift_bits); in ff_dcaadpcm_subband_analysis()
|
/third_party/iptables/include/linux/netfilter/ |
D | xt_connmark.h | 28 __u8 shift_dir, shift_bits, mode; member
|
/third_party/python/Objects/ |
D | longobject.c | 2740 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local 2792 shift_bits = (DBL_MANT_DIG + 2 - a_bits) % PyLong_SHIFT; in _PyLong_Frexp() 2795 (int)shift_bits); in _PyLong_Frexp() 2801 shift_bits = (a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT; in _PyLong_Frexp() 2803 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()
|