Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkPaint.cpp231 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/node/deps/v8/tools/v8windbg/src/
Dv8-debug-helper-interop.cc49 uint8_t num_bits, uint8_t shift_bits) in StructField() argument
55 shift_bits(shift_bits) {} in StructField()
112 struct_field.shift_bits}); in GetPropertiesAsVector()
Dv8-debug-helper-interop.h34 uint8_t num_bits, uint8_t shift_bits);
68 uint8_t shift_bits; member
Dobject-inspection.cc217 uint8_t shift_bits, const std::u16string& type_name, in GetModelForBitField() argument
228 uint8_t shift_bytes = shift_bits / kBitsPerByte; in GetModelForBitField()
230 shift_bits -= shift_bytes * kBitsPerByte; in GetModelForBitField()
231 size_t bits_to_read = shift_bits + num_bits; in GetModelForBitField()
259 value = (value >> shift_bits) & ((1 << num_bits) - 1); in GetModelForBitField()
285 field.shift_bits, field.type_name, in GetModelForStruct()
/third_party/ffmpeg/libavcodec/
Ddcaadpcm.c132 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/node/deps/v8/tools/debug_helper/
Ddebug-helper-internal.h56 uint8_t shift_bits) in StructProperty() argument
61 shift_bits_(shift_bits) {} in StructProperty()
67 public_view_.shift_bits = shift_bits_; in GetPublicView()
Ddebug-helper.h101 uint8_t shift_bits; member
/third_party/node/deps/v8/include/
Dv8-internal.h83 int shift_bits = kSmiTagSize + kSmiShiftSize;
85 return static_cast<int32_t>(static_cast<uint32_t>(value)) >> shift_bits;
108 int shift_bits = kSmiTagSize + kSmiShiftSize;
110 return static_cast<int>(static_cast<intptr_t>(value) >> shift_bits);
/third_party/node/deps/v8/src/torque/
Dclass-debug-reader-generator.cc44 int shift_bits; member
378 << ", " << struct_field.shift_bits << "));\n"; in GenerateGetPropsChunkForField()
/third_party/node/deps/v8/src/compiler/
Dmachine-operator-reducer.cc2360 auto shift_bits = mshift.right().ResolvedValue(); in ReduceWord32EqualForConstantRhs() local
2364 if (shift_bits <= base::bits::CountLeadingZeros(mask) && in ReduceWord32EqualForConstantRhs()
2365 shift_bits <= base::bits::CountLeadingZeros(rhs) && in ReduceWord32EqualForConstantRhs()
2366 mask << shift_bits <= std::numeric_limits<uint32_t>::max()) { in ReduceWord32EqualForConstantRhs()
2368 uint32_t new_mask = static_cast<uint32_t>(mask << shift_bits); in ReduceWord32EqualForConstantRhs()
2369 uint32_t new_rhs = rhs << shift_bits; in ReduceWord32EqualForConstantRhs()
/third_party/node/deps/v8/src/compiler/backend/ppc/
Dcode-generator-ppc.cc2859 constexpr int shift_bits = 63; in AssembleArchInstruction() local
2860 __ xxspltib(kScratchSimd128Reg, Operand(shift_bits)); in AssembleArchInstruction()
2869 constexpr int shift_bits = 31; in AssembleArchInstruction() local
2870 __ xxspltib(kScratchSimd128Reg, Operand(shift_bits)); in AssembleArchInstruction()
2886 constexpr int shift_bits = 15; in AssembleArchInstruction() local
2887 __ xxspltib(kScratchSimd128Reg, Operand(shift_bits)); in AssembleArchInstruction()
2903 constexpr int shift_bits = 7; in AssembleArchInstruction() local
2904 __ xxspltib(kScratchSimd128Reg, Operand(shift_bits)); in AssembleArchInstruction()
/third_party/python/Objects/
Dlongobject.c2766 Py_ssize_t a_size, a_bits, shift_digits, shift_bits, x_size; in _PyLong_Frexp() local
2818 shift_bits = (DBL_MANT_DIG + 2 - a_bits) % PyLong_SHIFT; in _PyLong_Frexp()
2821 (int)shift_bits); in _PyLong_Frexp()
2827 shift_bits = (a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT; in _PyLong_Frexp()
2829 a_size - shift_digits, (int)shift_bits); in _PyLong_Frexp()