Home
last modified time | relevance | path

Searched refs:Uint (Results 1 – 25 of 65) sorted by relevance

123

/external/vulkan-validation-layers/layers/
Dcast_utils.h31 template <typename HandleType, typename Uint>
32 static inline HandleType CastFromUint(Uint untyped_handle) { in CastFromUint()
33 …static_assert(sizeof(HandleType) == sizeof(Uint), "HandleType must be the same size as untyped han… in CastFromUint()
36 template <typename HandleType, typename Uint>
37 static inline Uint CastToUint(HandleType handle) { in CastToUint()
38 …static_assert(sizeof(HandleType) == sizeof(Uint), "HandleType must be the same size as untyped han… in CastToUint()
39 return *reinterpret_cast<Uint *>(&handle); in CastToUint()
50 … uint32_t, uint64_t>::type>::type>::type Uint; in CastFromUint64() typedef
51 return CastFromUint<HandleType, Uint>(static_cast<Uint>(untyped_handle)); in CastFromUint64()
61 … uint32_t, uint64_t>::type>::type>::type Uint; in CastToUint64() typedef
[all …]
/external/libcppbor/tests/
Dcppbor_test.cpp63 Uint val(testCase.first); in TEST()
71 EXPECT_EQ("\x00"s, Uint(0u).toString()); in TEST()
72 EXPECT_EQ("\x01"s, Uint(1u).toString()); in TEST()
73 EXPECT_EQ("\x0a"s, Uint(10u).toString()); in TEST()
74 EXPECT_EQ("\x17"s, Uint(23u).toString()); in TEST()
75 EXPECT_EQ("\x18\x18"s, Uint(24u).toString()); in TEST()
76 EXPECT_EQ("\x18\x19"s, Uint(25u).toString()); in TEST()
77 EXPECT_EQ("\x18\x64"s, Uint(100u).toString()); in TEST()
78 EXPECT_EQ("\x19\x03\xe8"s, Uint(1000u).toString()); in TEST()
79 EXPECT_EQ("\x1a\x00\x0f\x42\x40"s, Uint(1000000u).toString()); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_precision_test.cc459 template <typename Fp, typename Uint, int kNumTestcases, int kNumInputs>
461 const Uint (&test_values)[kNumInputs][kNumTestcases],
493 template <typename Fp, typename Uint, int kNumTestcases, int kNumInputs>
496 const Uint (&test_values)[kNumInputs][kNumTestcases], int operation_index) { in DoIt()
504 const Uint sign_bit = Uint{1} << (sizeof(Fp) * 8 - 1); in DoIt()
511 input_values.push_back(absl::bit_cast<Fp, Uint>(test_value[0] ^ sign_bit)); in DoIt()
513 absl::bit_cast<Fp, Uint>(test_value[operation_index] ^ sign_bit)); in DoIt()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/i386/
DDNBArchImplI386.cpp1182 e_regSetGPR, gpr_##reg16, #reg16, NULL, Uint, Hex, 2, 0, \
1188 e_regSetGPR, gpr_##reg8, #reg8, NULL, Uint, Hex, 1, 1, INVALID_NUB_REGNUM, \
1194 e_regSetGPR, gpr_##reg8, #reg8, NULL, Uint, Hex, 1, 0, INVALID_NUB_REGNUM, \
1258 {e_regSetGPR, gpr_eax, "eax", NULL, Uint, Hex, GPR_SIZE(eax),
1261 {e_regSetGPR, gpr_ebx, "ebx", NULL, Uint, Hex, GPR_SIZE(ebx),
1264 {e_regSetGPR, gpr_ecx, "ecx", NULL, Uint, Hex, GPR_SIZE(ecx),
1267 {e_regSetGPR, gpr_edx, "edx", NULL, Uint, Hex, GPR_SIZE(edx),
1270 {e_regSetGPR, gpr_edi, "edi", NULL, Uint, Hex, GPR_SIZE(edi),
1273 {e_regSetGPR, gpr_esi, "esi", NULL, Uint, Hex, GPR_SIZE(esi),
1276 {e_regSetGPR, gpr_ebp, "ebp", "fp", Uint, Hex, GPR_SIZE(ebp),
[all …]
/external/vixl/src/aarch64/
Dlogic-aarch64.cc501 uint64_t ua = src1.Uint(vform, i); in cmp()
502 uint64_t ub = src2.Uint(vform, i); in cmp()
553 uint64_t ua = src1.Uint(vform, i); in cmptst()
554 uint64_t ub = src2.Uint(vform, i); in cmptst()
660 uint64_t val1 = src1.Uint(vform, i); in udiv()
661 uint64_t val2 = src2.Uint(vform, i); in udiv()
704 dst.SetUint(vform, i, src1.Uint(vform, i) * src2.Uint(vform, i)); in mul()
759 uint64_t val1 = src1.Uint(vform, i); in umulh()
760 uint64_t val2 = src2.Uint(vform, i); in umulh()
1121 PolynomialMult(src1.Uint(vform, i), src2.Uint(vform, i))); in pmul()
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/x86_64/
DDNBArchImplX86_64.cpp1581 e_regSetGPR, gpr_##reg, #reg, NULL, Uint, Hex, GPR_SIZE(reg), \
1587 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, GPR_SIZE(reg), \
1593 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, GPR_SIZE(reg), \
1599 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, GPR_SIZE(reg), \
1605 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, GPR_SIZE(reg), \
1612 e_regSetGPR, gpr_##reg32, #reg32, NULL, Uint, Hex, 4, 0, \
1618 e_regSetGPR, gpr_##reg16, #reg16, NULL, Uint, Hex, 2, 0, \
1624 e_regSetGPR, gpr_##reg8, #reg8, NULL, Uint, Hex, 1, 1, INVALID_NUB_REGNUM, \
1630 e_regSetGPR, gpr_##reg8, #reg8, NULL, Uint, Hex, 1, 0, INVALID_NUB_REGNUM, \
1748 {e_regSetFPU, fpu_fcw, "fctrl", NULL, Uint, Hex, FPU_SIZE_UINT(fcw),
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c256 d.ui = data[i].Uint | (uint64_t)data[i+1].Uint << 32; in dump_imm_data()
263 d.i = data[i].Uint | (uint64_t)data[i+1].Uint << 32; in dump_imm_data()
270 d.ui = data[i].Uint | (uint64_t)data[i+1].Uint << 32; in dump_imm_data()
282 UID(data[i].Uint); in dump_imm_data()
Dtgsi_text.c1242 ret = parse_double(&ctx->cur, &values[i].Uint, &values[i+1].Uint); in parse_immediate_data()
1246 ret = parse_int64(&ctx->cur, &values[i].Uint, &values[i+1].Uint); in parse_immediate_data()
1250 ret = parse_uint64(&ctx->cur, &values[i].Uint, &values[i+1].Uint); in parse_immediate_data()
1257 ret = parse_uint(&ctx->cur, &values[i].Uint); in parse_immediate_data()
/external/libcppbor/include/cppbor/
Dcppbor.h58 class Uint; variable
121 virtual Uint* asUint() { return nullptr; } in asUint()
122 const Uint* asUint() const { return const_cast<Item*>(this)->asUint(); } in asUint()
295 class Uint : public Int {
299 explicit Uint(uint64_t v) : mValue(v) {} in Uint() function
301 bool operator==(const Uint& other) const& { return mValue == other.mValue; }
305 Uint* asUint() override { return this; } in asUint()
320 std::unique_ptr<Item> clone() const override { return std::make_unique<Uint>(mValue); } in clone()
797 Uint* asUint() override { return mTaggedItem->asUint(); } in asUint()
995 p = new Uint(static_cast<uint64_t>(v));
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/
DDNBArchImplARM64.cpp1555 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, 8, GPR_OFFSET_IDX(idx), \
1561 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, 8, GPR_OFFSET_NAME(reg), \
1566 e_regSetGPR, gpr_##reg, #reg, NULL, Uint, Hex, 4, 0, INVALID_NUB_REGNUM, \
1619 e_regSetGPR, gpr_fp, "fp", "x29", Uint, Hex, 8, GPR_OFFSET_IDX(28) + 8,
1623 e_regSetGPR, gpr_lr, "lr", "x30", Uint, Hex, 8, GPR_OFFSET_IDX(28) + 16,
1627 e_regSetGPR, gpr_sp, "sp", "xsp", Uint, Hex, 8, GPR_OFFSET_IDX(28) + 24,
1631 e_regSetGPR, gpr_pc, "pc", NULL, Uint, Hex, 8, GPR_OFFSET_IDX(28) + 32,
1640 {e_regSetGPR, gpr_cpsr, "cpsr", "flags", Uint, Hex, 4,
1810 {e_regSetVFP, vfp_fpsr, "fpsr", NULL, Uint, Hex, 4,
1813 {e_regSetVFP, vfp_fpcr, "fpcr", NULL, Uint, Hex, 4,
[all …]
/external/libcppbor/
DREADME.md23 * `Uint` corresponds to major type 0, and can hold unsigned integers
30 * `Int` is an abstract base of `Uint` and `Nint` that facilitates
50 * Signed and unsigned integers convert to `Uint` or `Nint`, as
70 cppbor::Uint val(0);
94 an integer literal or variable, a `Uint` or `Nint` is added, depending
/external/golang-protobuf/proto/
Dequal.go222 return v1.Uint() == v2.Uint()
Dlib.go903 s.less = func(a, b reflect.Value) bool { return a.Uint() < b.Uint() }
934 return v.Uint() == 0
/external/deqp-deps/amber/src/
Dscript_test.cc322 Result r = s.AddType("my_type", type::Number::Uint(8)); in TEST_F()
325 r = s.AddType("my_type", type::Number::Uint(8)); in TEST_F()
331 auto type = type::Number::Uint(8); in TEST_F()
Dtype.cc59 std::unique_ptr<Number> Number::Uint(uint32_t bits) { in Uint() function in amber::type::Number
Dformat_test.cc448 auto u32 = type::Number::Uint(32); in TEST_F()
468 auto u32 = type::Number::Uint(32); in TEST_F()
492 auto u32 = type::Number::Uint(32); in TEST_F()
513 auto u32 = type::Number::Uint(32); in TEST_F()
539 auto u32 = type::Number::Uint(32); in TEST_F()
564 auto u32 = type::Number::Uint(32); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h2575 using Uint = typename UintWithSize<sizeof(NativeT)>::type;
2576 Uint value_as_int = absl::bit_cast<Uint>(elem);
2585 const Uint last_mantissa_bit_mask =
2586 Uint{1} << (src_mantissa_bits - dest_mantissa_bits);
2591 const Uint base_rounding_bias = (last_mantissa_bit_mask >> 1) - 1;
2592 const Uint x_last_mantissa_bit =
2595 const Uint x_rounding_bias =
2602 const Uint truncation_mask = ~(last_mantissa_bit_mask - 1);
2608 const Uint sign_bit_mask = Uint{1} << 8 * sizeof(NativeT) - 1;
2609 const Uint exp_bits_mask = (Uint{1 << src_exponent_bits} - 1)
[all …]
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp298 inline GLValue::Uint getRandom (deRandom& rnd, GLValue::Uint min, GLValue::Uint max) in getRandom()
303 …return GLValue::Uint::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint3… in getRandom()
362 inline GLValue::Uint minValue (void) in minValue()
364 return GLValue::Uint::create(4 * 16777216); in minValue()
419 inline GLValue::Uint abs (GLValue::Uint val) in abs()
1228 rangesHi[(int)Array::INPUTTYPE_UNSIGNED_INT] = GLValue(Uint::create(4294967295u)); in getMaxValue()
1246 rangesLo[(int)Array::INPUTTYPE_UNSIGNED_INT] = GLValue(Uint::create(0)); in getMinValue()
1377 alignmentSafeAssignment<deUint32>(data, getRandom<GLValue::Uint>(rnd, min.ui, max.ui)); in setData()
1451 …data = createQuads<GLValue::Uint>(seed, count, componentCount, offset, stride, primitive, min.ui, … in generateQuads()
1699 …data = createPerQuads<GLValue::Uint>(seed, count, componentCount, stride, primitive, min.ui, max.u… in generatePerQuad()
DglsDrawTest.cpp435 typedef WrappedType<deUint32> Uint; typedef in deqp::gls::__anonde041cf70111::GLValue
508 explicit GLValue (Uint value) : type(DrawTestSpec::INPUTTYPE_UNSIGNED_INT), ui(value) {} in GLValue()
529 Uint ui;
614 rangesHi[(int)DrawTestSpec::INPUTTYPE_UNSIGNED_INT] = GLValue(Uint::create(4294967295u)); in getMaxValue()
632 rangesLo[(int)DrawTestSpec::INPUTTYPE_UNSIGNED_INT] = GLValue(Uint::create(0)); in getMinValue()
649 template<> struct GLValueTypeTraits<GLValue::Uint> { static const DrawTestSpec::InputType Type = D…
663 template<> GLValue::Uint inline extractGLValue<GLValue::Uint> (const GLValue& v) { return v.ui; }; in extractGLValue()
754 inline GLValue::Uint getRandom (deRandom& rnd, GLValue::Uint min, GLValue::Uint max) in getRandom()
759 …return GLValue::Uint::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint3… in getRandom()
815 inline GLValue::Uint minValue (void) in minValue()
[all …]
DglsVertexArrayTests.hpp316 typedef WrappedType<deUint32> Uint; typedef in deqp::gls::GLValue
393 explicit GLValue (Uint value) : type(Array::INPUTTYPE_UNSIGNED_INT), ui(value) {} in GLValue()
414 Uint ui;
/external/deqp-deps/amber/src/vkscript/
Ddatum_type_parser.cc96 type = type::Number::Uint(num_bits); in Parse()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/
DDNBArchImpl.cpp1557 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, 4, GPR_OFFSET_IDX(idx), \
1562 e_regSetGPR, gpr_##reg, #reg, alt, Uint, Hex, 4, GPR_OFFSET_NAME(reg), \
1743 {e_regSetVFP, vfp_fpsr, "fpsr", NULL, Uint, Hex, 4, VFP_OFFSET_NAME(fpsr),
1746 {e_regSetVFP, vfp_fpcr, "fpcr", NULL, Uint, Hex, 4, VFP_OFFSET_NAME(fpcr),
1750 {e_regSetVFP, vfp_fpscr, "fpscr", NULL, Uint, Hex, 4,
1759 {e_regSetVFP, exc_exception, "exception", NULL, Uint, Hex, 4,
1762 {e_regSetVFP, exc_fsr, "fsr", NULL, Uint, Hex, 4, EXC_OFFSET(fsr),
1765 {e_regSetVFP, exc_far, "far", NULL, Uint, Hex, 4, EXC_OFFSET(far),
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c252 d.ui = data[i].Uint | (uint64_t)data[i+1].Uint << 32; in dump_imm_data()
264 UID(data[i].Uint); in dump_imm_data()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dstring_utils_test.cpp34 TEST(ToString, Uint) { in TEST() argument
/external/swiftshader/third_party/SPIRV-Tools/test/
Dstring_utils_test.cpp34 TEST(ToString, Uint) { in TEST() argument

123