Home
last modified time | relevance | path

Searched refs:UnsignedType (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fxcrt/
Dstring_view_template.h32 using UnsignedType = typename std::make_unsigned<CharType>::type; variable
43 : m_Span(reinterpret_cast<const UnsignedType*>(ptr), in StringViewTemplate()
47 : m_Span(reinterpret_cast<const UnsignedType*>(ptr), len) {} in StringViewTemplate()
51 : m_Span(reinterpret_cast<const UnsignedType*>(other.data()), in StringViewTemplate()
54 template <typename U = UnsignedType>
56 const UnsignedType* ptr,
62 template <typename U = UnsignedType>
73 : m_Span(reinterpret_cast<const UnsignedType*>(&ch), 1) {} in StringViewTemplate()
78 const std::vector<UnsignedType, AllocType>& vec) noexcept in StringViewTemplate() argument
82 m_Span = pdfium::span<const UnsignedType>(
[all …]
Dbytestring.cpp780 for (ByteStringView::UnsignedType c : str) in FX_HashCode_GetA()
783 for (ByteStringView::UnsignedType c : str) in FX_HashCode_GetA()
792 for (ByteStringView::UnsignedType c : str) in FX_HashCode_GetAsIfW()
795 for (ByteStringView::UnsignedType c : str) in FX_HashCode_GetAsIfW()
Dwidestring_unittest.cpp1232 std::vector<WideStringView::UnsignedType> null_vec; in TEST()
1236 std::vector<WideStringView::UnsignedType> lower_a_vec( in TEST()
1237 10, static_cast<WideStringView::UnsignedType>(L'a')); in TEST()
1242 std::vector<WideStringView::UnsignedType> cleared_vec; in TEST()
Dwidestring.cpp1119 for (WideStringView::UnsignedType c : str) in FX_HashCode_GetW()
/external/perfetto/include/perfetto/protozero/
Dproto_utils.h143 using UnsignedType = typename std::make_unsigned<T>::type; in ZigZagEncode() local
157 return (static_cast<UnsignedType>(value) << 1) ^ in ZigZagEncode()
158 static_cast<UnsignedType>(value >> (sizeof(T) * 8 - 1)); in ZigZagEncode()
164 using UnsignedType = typename std::make_unsigned<T>::type; in ZigZagDecode() local
166 auto u_value = static_cast<UnsignedType>(value); in ZigZagDecode()
167 auto mask = static_cast<UnsignedType>(-static_cast<SignedType>(u_value & 1)); in ZigZagDecode()
187 using UnsignedType = typename std::make_unsigned<MaybeExtendedType>::type; in WriteVarInt() local
190 UnsignedType unsigned_value = static_cast<UnsignedType>(extended_value); in WriteVarInt()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorIntDiv.h147 …eigen_assert(static_cast<typename UnsignedTraits<T>::type>(divider) < NumTraits<UnsignedType>::hig…
151 const int leading_zeros = count_leading_zeros(static_cast<UnsignedType>(divider));
165 …eigen_assert(static_cast<typename UnsignedTraits<T>::type>(numerator) < NumTraits<UnsignedType>::h…
168 UnsignedType t1 = muluh(multiplier, numerator);
169 UnsignedType t = (static_cast<UnsignedType>(numerator) - t1) >> shift1;
174 typedef typename DividerTraits<T>::type UnsignedType;
175 UnsignedType multiplier;
/external/protobuf/src/google/protobuf/stubs/
Dmathlimits.h83 typedef T UnsignedType; typedef
182 typedef UnsignedIntType UnsignedType; \
202 typedef IntType UnsignedType; \
272 typedef FP_Type UnsignedType; \
Dmathutil.h97 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff()
99 typedef typename MathLimits<T>::UnsignedType R; in AbsDiff()
/external/llvm-project/libc/spec/
Dllvm_libc_ext.td28 ArgSpec<UnsignedType>,
Dspec.td85 def UnsignedType : NamedType<"unsigned">;
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmsimpleexpression_unittest.cpp75 std::vector<WideStringView::UnsignedType> vec(140000, L'A'); in TEST()