/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_nir_lower_vs_vertex_conversion.c | 59 nir_ssa_def *lshift, shift_right_func shr) in from_10_10_10_2_scaled() argument 62 return nir_i2f32(b, shr(b, nir_ishl(b, src, lshift), rshift)); in from_10_10_10_2_scaled() 66 from_10_10_10_2_snorm(nir_builder *b, nir_ssa_def *src, nir_ssa_def *lshift) in from_10_10_10_2_snorm() argument 68 nir_ssa_def *split = from_10_10_10_2_scaled(b, src, lshift, nir_ishr); in from_10_10_10_2_snorm() 78 from_10_10_10_2_unorm(nir_builder *b, nir_ssa_def *src, nir_ssa_def *lshift) in from_10_10_10_2_unorm() argument 80 nir_ssa_def *split = from_10_10_10_2_scaled(b, src, lshift, nir_ushr); in from_10_10_10_2_unorm()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | builtin_int64.h | 128 ir_expression *const r001F = lshift(swizzle_x(r000D), r0017); in udivmod64() 137 ir_expression *const r0022 = lshift(swizzle_x(r000D), r0017); in udivmod64() 140 ir_expression *const r0023 = lshift(body.constant(1u), r0017); in udivmod64() 212 ir_expression *const r002D = lshift(r0026, r000E); in udivmod64() 221 ir_expression *const r0030 = lshift(r0026, r000E); in udivmod64() 224 ir_expression *const r0031 = lshift(body.constant(1u), r000E); in udivmod64() 342 ir_expression *const r0049 = lshift(swizzle_x(r0036), r0041); in udiv64() 351 ir_expression *const r004C = lshift(swizzle_x(r0036), r0041); in udiv64() 354 ir_expression *const r004D = lshift(body.constant(1u), r0041); in udiv64() 426 ir_expression *const r0057 = lshift(r0050, r0038); in udiv64() [all …]
|
D | lower_packing_builtins.cpp | 225 return bit_or(lshift(swizzle_y(u), constant(16u)), in pack_uvec2_to_uint() 260 return bit_or(bit_or(lshift(swizzle_w(u), constant(24u)), in pack_uvec4_to_uint() 261 lshift(swizzle_z(u), constant(16u))), in pack_uvec4_to_uint() 262 bit_or(lshift(swizzle_y(u), constant(8u)), in pack_uvec4_to_uint() 308 return rshift(lshift(u2i(unpack_uint_to_uvec2(uint_rval)), in unpack_uint_to_ivec2() 389 return rshift(lshift(u2i(unpack_uint_to_uvec4(uint_rval)), in unpack_uint_to_ivec4() 1074 ir_rvalue *result = bit_or(lshift(swizzle_y(f16), in lower_pack_half_2x16() 1199 assign(u32, lshift(bit_or(add(e, constant(112u << 10u)), m), in unpack_half_1x16_nosign() 1287 lshift(bit_and(f16, in lower_unpack_half_2x16()
|
D | lower_instructions.cpp | 528 lshift(i2u(resulting_biased_exp), in ldexp_to_arith() 1127 sub(lshift(c1, bits), c1->clone(ir, NULL))); in extract_to_shifts() 1157 rshift(lshift(ir->operands[0], sub(temp, ir->operands[1])), temp); in extract_to_shifts() 1231 lshift(sub(lshift(c1, bits), in insert_to_shifts() 1239 ir->operands[1] = bit_and(lshift(ir->operands[1], offset), mask); in insert_to_shifts() 1290 lshift(bit_and(temp, c55555555->clone(ir, NULL)), in reverse_to_shifts() 1297 lshift(bit_and(temp, c33333333->clone(ir, NULL)), in reverse_to_shifts() 1305 lshift(bit_and(temp, c0F0F0F0F->clone(ir, NULL)), in reverse_to_shifts() 1316 lshift(bit_and(temp, c00FF00FF->clone(ir, NULL)), in reverse_to_shifts() 1323 ir->operands[1] = lshift(temp, c16->clone(ir, NULL)); in reverse_to_shifts() [all …]
|
D | ir_builder.h | 176 ir_expression *lshift(operand a, operand b);
|
/third_party/openssl/crypto/bn/ |
D | bn_div.c | 145 int rshift = BN_num_bits_word(d[top - 1]), lshift, i; in bn_left_align() local 147 lshift = BN_BITS2 - rshift; in bn_left_align() 154 d[i] = ((n << lshift) | m) & BN_MASK2; in bn_left_align() 158 return lshift; in bn_left_align()
|
/third_party/openssl/test/ |
D | bntests.pl | 44 my $lshift = bn($s{'LShift'}); 47 return if $lshift == $a->blsft($n);
|
D | bntest.c | 1355 BIGNUM *a = NULL, *lshift = NULL, *ret = NULL; in file_lshift() local 1359 || !TEST_ptr(lshift = getBN(s, "LShift")) in file_lshift() 1365 || !equalBN("A << N", lshift, ret) in file_lshift() 1366 || !TEST_true(BN_rshift(ret, lshift, n)) in file_lshift() 1373 BN_free(lshift); in file_lshift()
|
/third_party/python/Python/ |
D | dtoa.c | 796 lshift(Bigint *b, int k) in lshift() function 1316 b = lshift(b, 1); in bigcomp() 1355 b = lshift(b, b2); in bigcomp() 1362 d = lshift(d, d2); in bigcomp() 1885 bb = lshift(bb, bb2); in _Py_dg_strtod() 1897 bd = lshift(bd, bd2); in _Py_dg_strtod() 1903 bs = lshift(bs, bs2); in _Py_dg_strtod() 1966 delta = lshift(delta,Log2P); in _Py_dg_strtod() 2662 b = lshift(b, b2); in _Py_dg_dtoa() 2667 S = lshift(S, s2); in _Py_dg_dtoa() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | dxv.c | 346 int value, counter = 0, rshift = 10, lshift = 30; in fill_ltable() local 355 lshift -= rshift; in fill_ltable() 357 if (lshift < 16) { in fill_ltable() 362 mask += input << lshift; in fill_ltable() 363 lshift += 16; in fill_ltable() 381 if (lshift >= 16) in fill_ltable() 431 int sum, x, val, lshift, rshift, ret, i, idx; in get_opcodes() local 449 lshift = 32 - rshift; in get_opcodes() 454 sum = val + lshift; in get_opcodes() 455 x = (next << lshift) >> 1 >> (31 - val); in get_opcodes() [all …]
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | trope.py | 24 not_, and_, or_, xor, lshift, rshift, invert, is_, is_not, contains,
|
D | resources.py | 90 T.lshift: NO_IMPLEMENT,
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_format_convert.h | 109 nir_ssa_def *lshift = nir_imm_int(b, bit_size - (offset + bits[i])); in nir_format_unpack_int() local 112 comps[i] = nir_ishr(b, nir_ishl(b, chan, lshift), rshift); in nir_format_unpack_int() 114 comps[i] = nir_ushr(b, nir_ishl(b, chan, lshift), rshift); in nir_format_unpack_int()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.h | 93 static TConstantUnion lshift(const TConstantUnion &lhs,
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ConstantUnion.h | 95 static TConstantUnion lshift(const TConstantUnion &lhs,
|
/third_party/python/Lib/ |
D | operator.py | 96 def lshift(a, b): function 430 __lshift__ = lshift
|
/third_party/python/Lib/test/ |
D | test_operator.py | 208 self.assertRaises(TypeError, operator.lshift) 209 self.assertRaises(TypeError, operator.lshift, None, 42) 210 self.assertEqual(operator.lshift(5, 1), 10) 211 self.assertEqual(operator.lshift(5, 0), 5) 212 self.assertRaises(ValueError, operator.lshift, 2, -1)
|
/third_party/flutter/skia/tools/lua/ |
D | gradients.lua | 11 LuaDoubleNearlyZero = 1.0 / bit32.lshift(1.0, 12)
|
/third_party/boost/boost/multiprecision/cpp_bin_float/ |
D | io.hpp | 392 …int lshift = gb - (int)cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>::bit_coun… in operator =() local 393 q >>= lshift; in operator =() 394 final_exponent += static_cast<Exponent>(lshift); in operator =()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 342 unsigned lshift = dst_width - n; in lp_build_clamped_float_to_unsigned_norm() local 360 if (lshift) { in lp_build_clamped_float_to_unsigned_norm() 363 lshift), ""); in lp_build_clamped_float_to_unsigned_norm()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ci/ |
D | llvmpipe-glslparser.txt | 1184 spec/ext_gpu_shader4/compiler/lshift-int-int.frag: skip 1185 spec/ext_gpu_shader4/compiler/lshift-int-int.vert: skip 1186 spec/ext_gpu_shader4/compiler/lshift-ivec2-int.frag: skip 1187 spec/ext_gpu_shader4/compiler/lshift-ivec2-int.vert: skip 1188 spec/ext_gpu_shader4/compiler/lshift-ivec2-ivec2.frag: skip 1189 spec/ext_gpu_shader4/compiler/lshift-ivec2-ivec2.vert: skip 1190 spec/ext_gpu_shader4/compiler/lshift-ivec3-int.frag: skip 1191 spec/ext_gpu_shader4/compiler/lshift-ivec3-int.vert: skip 1192 spec/ext_gpu_shader4/compiler/lshift-ivec3-ivec3.frag: skip 1193 spec/ext_gpu_shader4/compiler/lshift-ivec3-ivec3.vert: skip [all …]
|
/third_party/boost/boost/multiprecision/ |
D | cpp_bin_float.hpp | 1150 …static const unsigned lshift = (cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>:… in eval_divide() local 1151 eval_left_shift(q, lshift); in eval_divide() 1152 res.exponent() -= lshift; in eval_divide() 1156 q.limbs()[0] |= static_cast<limb_type>(1u) << (lshift - 1); in eval_divide() 1158 q.limbs()[0] |= (static_cast<limb_type>(1u) << (lshift - 1)) + static_cast<limb_type>(1u); in eval_divide() 1268 …static const unsigned lshift = cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>::… in eval_divide() local 1269 eval_left_shift(q, lshift); in eval_divide() 1270 res.exponent() -= lshift; in eval_divide() 1274 q.limbs()[0] |= static_cast<limb_type>(1u) << (lshift - 1); in eval_divide() 1276 q.limbs()[0] |= (static_cast<limb_type>(1u) << (lshift - 1)) + static_cast<limb_type>(1u); in eval_divide()
|
/third_party/mesa3d/src/util/format/ |
D | u_format_pack.py | 460 lshift = depth - (shift + src_channel.size) 461 value = '%s << %u' % (value, lshift)
|
/third_party/boost/boost/python/ |
D | operators.hpp | 221 BOOST_PYTHON_BINARY_OPERATOR(lshift, rlshift, <<)
|
/third_party/python/Doc/library/ |
D | operator.rst | 128 .. function:: lshift(a, b) 403 | Left Shift | ``a << b`` | ``lshift(a, b)`` |
|