Searched refs:unsigned_type (Results 1 – 7 of 7) sorted by relevance
101 using unsigned_type = std::make_unsigned_t<T>; in DecodeSigned() local103 constexpr size_t BITWIDTH = std::numeric_limits<unsigned_type>::digits; in DecodeSigned()111 result |= static_cast<unsigned_type>(byte & PAYLOAD_MASK) << shift; in DecodeSigned()183 using unsigned_type = std::make_unsigned_t<T>; in SignedEncodingSize() local184 auto udata = static_cast<unsigned_type>(data); in SignedEncodingSize()185 return MinimumBitsToStore(static_cast<unsigned_type>(udata | 1U)) / PAYLOAD_WIDTH + 1; in SignedEncodingSize()
35 using unsigned_type = std::make_unsigned_t<T>; in ToUnsigned() local36 return static_cast<unsigned_type>(v); in ToUnsigned()
67 using unsigned_type = panda::helpers::TypeHelperT<BITWIDTH, false>; in Read() local69 unsigned_type result = 0; in Read()73 unsigned_type tmp = static_cast<unsigned_type>((*sp)[i]) << (i * BYTE_WIDTH); in Read()
304 using unsigned_type = std::make_unsigned_t<int32_t>; in ShlWithTSType() local306 …static_cast<int32_t>(static_cast<unsigned_type>(opNumber0) << shift); // NOLINT(hicpp-signed-bitw… in ShlWithTSType()334 using unsigned_type = std::make_unsigned_t<uint32_t>; in AshrWithTSType() local336 …static_cast<uint32_t>(static_cast<unsigned_type>(opNumber0) >> shift); // NOLINT(hicpp-signed-bit… in AshrWithTSType()
1546 using unsigned_type = std::make_unsigned_t<int32_t>; in RuntimeShl2() local1548 …static_cast<int32_t>(static_cast<unsigned_type>(opNumber0) << shift); // NOLINT(hicpp-signed-bitw… in RuntimeShl2()1572 using unsigned_type = std::make_unsigned_t<uint32_t>; in RuntimeShr2() local1574 …static_cast<uint32_t>(static_cast<unsigned_type>(opNumber0) >> shift); // NOLINT(hicpp-signed-bitw… in RuntimeShr2()
1908 using unsigned_type = std::make_unsigned_t<int32_t>; in RunInternal() local1910 …static_cast<int32_t>(static_cast<unsigned_type>(opNumber0) << shift); // NOLINT(hicpp-signed-bitwi… in RunInternal()1919 using unsigned_type = std::make_unsigned_t<int32_t>; in RunInternal() local1921 …static_cast<int32_t>(static_cast<unsigned_type>(opNumber0) << shift); // NOLINT(hicpp-signed-bitwi… in RunInternal()1945 using unsigned_type = std::make_unsigned_t<uint32_t>; in RunInternal() local1947 …static_cast<uint32_t>(static_cast<unsigned_type>(opNumber0) >> shift); // NOLINT(hicpp-signed-bitw… in RunInternal()1956 using unsigned_type = std::make_unsigned_t<uint32_t>; in RunInternal() local1958 …static_cast<uint32_t>(static_cast<unsigned_type>(opNumber0) >> shift); // NOLINT(hicpp-signed-bitw… in RunInternal()
1258 using unsigned_type = std::make_unsigned_t<int32_t>; in HandleShl2Imm8V8() typedef1260 …static_cast<int32_t>(static_cast<unsigned_type>(opNumber0) << shift); // NOLINT(hicpp-signed-bitwi… in HandleShl2Imm8V8()1269 using unsigned_type = std::make_unsigned_t<int32_t>; in HandleShl2Imm8V8() typedef1271 …static_cast<int32_t>(static_cast<unsigned_type>(opNumber0) << shift); // NOLINT(hicpp-signed-bitwi… in HandleShl2Imm8V8()1298 using unsigned_type = std::make_unsigned_t<uint32_t>; in HandleShr2Imm8V8() typedef1300 …static_cast<uint32_t>(static_cast<unsigned_type>(opNumber0) >> shift); // NOLINT(hicpp-signed-bitw… in HandleShr2Imm8V8()1309 using unsigned_type = std::make_unsigned_t<uint32_t>; in HandleShr2Imm8V8() typedef1311 …static_cast<uint32_t>(static_cast<unsigned_type>(opNumber0) >> shift); // NOLINT(hicpp-signed-bitw… in HandleShr2Imm8V8()