![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Typedefs | |
| template<typename T> | |
| using | IsSpan = IsSpanImpl<typename std::decay<T>::type> |
| template<typename T> | |
| using | IsStdArray = IsStdArrayImpl<typename std::decay<T>::type> |
| template<typename From, typename To> | |
| using | IsLegalSpanConversion = std::is_convertible<From*, To*> |
| template<typename Container, typename T> | |
| using | ContainerHasConvertibleData |
| template<typename Container> | |
| using | ContainerHasIntegralSize |
| template<typename From, typename To> | |
| using | EnableIfLegalSpanConversion |
| template<typename Container, typename T> | |
| using | EnableIfSpanCompatibleContainer |
| template<typename Container, typename T> | |
| using | EnableIfConstSpanCompatibleContainer |
Enumerations | |
| enum | IntegerRepresentation { INTEGER_REPRESENTATION_UNSIGNED , INTEGER_REPRESENTATION_SIGNED } |
| enum | NumericRangeRepresentation { NUMERIC_RANGE_NOT_CONTAINED , NUMERIC_RANGE_CONTAINED } |
| enum | ArithmeticPromotionCategory { LEFT_PROMOTION , RIGHT_PROMOTION } |
| enum | NumericRepresentation { NUMERIC_INTEGER , NUMERIC_FLOATING , NUMERIC_UNKNOWN } |
Functions | |
| template<typename Dst, typename Src> | |
| constexpr bool | IsValueInRangeForNumericType (Src value) |
| template<typename Dst, class CheckHandler = internal::CheckOnFailure, typename Src> | |
| constexpr Dst | checked_cast (Src value) |
| template<typename Dst, template< typename > class S, typename Src> | |
| constexpr Dst | saturated_cast_impl (Src value, RangeCheck constraint) |
| template<typename Dst, template< typename > class SaturationHandler = SaturationDefaultLimits, typename Src> | |
| constexpr Dst | saturated_cast (Src value) |
| template<typename Dst, typename Src> | |
| constexpr Dst | strict_cast (Src value) |
| template<typename T> | |
| constexpr StrictNumeric< typename UnderlyingType< T >::type > | MakeStrictNum (const T value) |
| template<typename T, typename std::enable_if< std::is_signed< T >::value >::type * = nullptr> | |
| constexpr bool | IsValueNegative (T value) |
| template<typename T> | |
| constexpr std::make_signed< T >::type | ConditionalNegate (T x, bool is_negative) |
| template<typename T> | |
| constexpr std::make_unsigned< T >::type | SafeUnsignedAbs (T value) |
| template<typename Dst, template< typename > class Bounds = std::numeric_limits, typename Src> | |
| constexpr RangeCheck | DstRangeRelationToSrcRange (Src value) |
| INTEGER_FOR_DIGITS_AND_SIGN (int8_t) | |
| INTEGER_FOR_DIGITS_AND_SIGN (uint8_t) | |
| INTEGER_FOR_DIGITS_AND_SIGN (int16_t) | |
| INTEGER_FOR_DIGITS_AND_SIGN (uint16_t) | |
| INTEGER_FOR_DIGITS_AND_SIGN (int32_t) | |
| INTEGER_FOR_DIGITS_AND_SIGN (uint32_t) | |
| INTEGER_FOR_DIGITS_AND_SIGN (int64_t) | |
| INTEGER_FOR_DIGITS_AND_SIGN (uint64_t) | |
| template<typename Src> | |
| constexpr std::make_signed< typenameinternal::UnderlyingType< Src >::type >::type | as_signed (const Src value) |
| template<typename Src> | |
| constexpr std::make_unsigned< typenameinternal::UnderlyingType< Src >::type >::type | as_unsigned (const Src value) |
| template<typename L, typename R> | |
| constexpr bool | IsLessImpl (const L lhs, const R rhs, const RangeCheck l_range, const RangeCheck r_range) |
| template<typename L, typename R> | |
| constexpr bool | IsLessOrEqualImpl (const L lhs, const R rhs, const RangeCheck l_range, const RangeCheck r_range) |
| template<typename L, typename R> | |
| constexpr bool | IsGreaterImpl (const L lhs, const R rhs, const RangeCheck l_range, const RangeCheck r_range) |
| template<typename L, typename R> | |
| constexpr bool | IsGreaterOrEqualImpl (const L lhs, const R rhs, const RangeCheck l_range, const RangeCheck r_range) |
| template<template< typename, typename > class C, typename L, typename R> | |
| constexpr bool | SafeCompare (const L lhs, const R rhs) |
| template<typename Dst, typename Src> | |
| constexpr bool | IsMaxInRangeForNumericType () |
| template<typename Dst, typename Src> | |
| constexpr bool | IsMinInRangeForNumericType () |
| template<typename Dst, typename Src> | |
| constexpr Dst | CommonMax () |
| template<typename Dst, typename Src> | |
| constexpr Dst | CommonMin () |
| template<typename Dst, typename Src = Dst> | |
| constexpr Dst | CommonMaxOrMin (bool is_min) |
| template<typename Dst, typename Src> | |
| constexpr bool | IsValidForType (const CheckedNumeric< Src > value) |
| template<typename Dst, typename Src> | |
| constexpr StrictNumeric< Dst > | ValueOrDieForType (const CheckedNumeric< Src > value) |
| template<typename Dst, typename Src, typename Default> | |
| constexpr StrictNumeric< Dst > | ValueOrDefaultForType (const CheckedNumeric< Src > value, const Default default_value) |
| template<typename T> | |
| constexpr CheckedNumeric< typename UnderlyingType< T >::type > | MakeCheckedNum (const T value) |
| template<template< typename, typename, typename > class M, typename L, typename R> | |
| constexpr CheckedNumeric< typename MathWrapper< M, L, R >::type > | CheckMathOp (const L lhs, const R rhs) |
| template<template< typename, typename, typename > class M, typename L, typename R, typename... Args> | |
| constexpr auto | CheckMathOp (const L lhs, const R rhs, const Args... args) |
| template<typename L, typename R> | |
| L * | operator+ (L *lhs, const StrictNumeric< R > rhs) |
| template<typename L, typename R> | |
| L * | operator- (L *lhs, const StrictNumeric< R > rhs) |
| template<typename T> | |
| constexpr ClampedNumeric< typename UnderlyingType< T >::type > | MakeClampedNum (const T value) |
| template<template< typename, typename, typename > class M, typename L, typename R> | |
| constexpr ClampedNumeric< typename MathWrapper< M, L, R >::type > | ClampMathOp (const L lhs, const R rhs) |
| template<template< typename, typename, typename > class M, typename L, typename R, typename... Args> | |
| constexpr auto | ClampMathOp (const L lhs, const R rhs, const Args... args) |
| template<typename T> | |
| constexpr bool | CheckedAddImpl (T x, T y, T *result) |
| template<typename T> | |
| constexpr bool | CheckedSubImpl (T x, T y, T *result) |
| template<typename T> | |
| constexpr bool | CheckedMulImpl (T x, T y, T *result) |
| template<typename T, typename std::enable_if< std::is_integral< T >::value &&std::is_signed< T >::value >::type * = nullptr> | |
| constexpr T | SaturatedNegWrapper (T value) |
| template<typename T, typename std::enable_if< std::is_integral< T >::value >::type * = nullptr> | |
| constexpr T | SaturatedAbsWrapper (T value) |
| template<typename T, typename std::enable_if< std::is_integral< T >::value >::type * = nullptr> | |
| constexpr T | NegateWrapper (T value) |
| template<typename T, typename std::enable_if< std::is_integral< T >::value >::type * = nullptr> | |
| constexpr std::make_unsigned< T >::type | InvertWrapper (T value) |
| template<typename T, typename std::enable_if< std::is_integral< T >::value >::type * = nullptr> | |
| constexpr T | AbsWrapper (T value) |
| void * | Alloc2D (size_t w, size_t h, size_t member_size) |
| void * | AllocOrDie (size_t num_members, size_t member_size) |
| void * | AllocOrDie2D (size_t w, size_t h, size_t member_size) |
| void * | CallocOrDie (size_t num_members, size_t member_size) |
| void * | CallocOrDie2D (size_t w, size_t h, size_t member_size) |
| void * | ReallocOrDie (void *ptr, size_t num_members, size_t member_size) |
| void * | StringAllocOrDie (size_t num_members, size_t member_size) |
| void * | Alloc (size_t num_members, size_t member_size) |
| void * | Calloc (size_t num_members, size_t member_size) |
| void * | Realloc (void *ptr, size_t num_members, size_t member_size) |
| void | Dealloc (void *ptr) |
| void * | StringAlloc (size_t num_members, size_t member_size) |
| void | StringDealloc (void *ptr) |
Variables | |
| constexpr bool | kEnableAsmCode = false |
| constexpr size_t | kMallocSizeLimit = std::numeric_limits<int>::max() - (1 << 12) |
| using pdfium::internal::ContainerHasConvertibleData |
| using pdfium::internal::ContainerHasIntegralSize |
| using pdfium::internal::EnableIfConstSpanCompatibleContainer |
| using pdfium::internal::EnableIfLegalSpanConversion |
| using pdfium::internal::EnableIfSpanCompatibleContainer |
| using pdfium::internal::IsLegalSpanConversion = std::is_convertible<From*, To*> |
| using pdfium::internal::IsSpan = IsSpanImpl<typename std::decay<T>::type> |
| using pdfium::internal::IsStdArray = IsStdArrayImpl<typename std::decay<T>::type> |
| Enumerator | |
|---|---|
| LEFT_PROMOTION | |
| RIGHT_PROMOTION | |
Definition at line 442 of file safe_conversions_impl.h.
| Enumerator | |
|---|---|
| INTEGER_REPRESENTATION_UNSIGNED | |
| INTEGER_REPRESENTATION_SIGNED | |
Definition at line 119 of file safe_conversions_impl.h.
| Enumerator | |
|---|---|
| NUMERIC_RANGE_NOT_CONTAINED | |
| NUMERIC_RANGE_CONTAINED | |
Definition at line 129 of file safe_conversions_impl.h.
| Enumerator | |
|---|---|
| NUMERIC_INTEGER | |
| NUMERIC_FLOATING | |
| NUMERIC_UNKNOWN | |
Definition at line 496 of file checked_math_impl.h.
|
constexpr |
Definition at line 160 of file safe_math_shared_impl.h.
| void * pdfium::internal::Alloc | ( | size_t | num_members, |
| size_t | member_size ) |
Definition at line 26 of file fx_memory_malloc.cpp.
| void * pdfium::internal::Alloc2D | ( | size_t | w, |
| size_t | h, | ||
| size_t | member_size ) |
Definition at line 134 of file fx_memory.cpp.
| void * pdfium::internal::AllocOrDie | ( | size_t | num_members, |
| size_t | member_size ) |
Definition at line 142 of file fx_memory.cpp.
References FX_OutOfMemoryTerminate().
| void * pdfium::internal::AllocOrDie2D | ( | size_t | w, |
| size_t | h, | ||
| size_t | member_size ) |
Definition at line 150 of file fx_memory.cpp.
References FX_OutOfMemoryTerminate().
|
constexpr |
Definition at line 671 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 683 of file safe_conversions_impl.h.
| void * pdfium::internal::Calloc | ( | size_t | num_members, |
| size_t | member_size ) |
Definition at line 34 of file fx_memory_malloc.cpp.
| void * pdfium::internal::CallocOrDie | ( | size_t | num_members, |
| size_t | member_size ) |
Definition at line 156 of file fx_memory.cpp.
References FX_OutOfMemoryTerminate().
| void * pdfium::internal::CallocOrDie2D | ( | size_t | w, |
| size_t | h, | ||
| size_t | member_size ) |
Definition at line 164 of file fx_memory.cpp.
References FX_OutOfMemoryTerminate().
|
constexpr |
Definition at line 104 of file safe_conversions.h.
|
constexpr |
Definition at line 24 of file checked_math_impl.h.
|
constexpr |
Definition at line 150 of file checked_math_impl.h.
|
constexpr |
Definition at line 87 of file checked_math_impl.h.
|
constexpr |
Definition at line 309 of file checked_math.h.
|
constexpr |
Definition at line 322 of file checked_math.h.
|
constexpr |
Definition at line 205 of file clamped_math.h.
|
constexpr |
Definition at line 218 of file clamped_math.h.
|
constexpr |
Definition at line 823 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 840 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 830 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 68 of file safe_conversions_impl.h.
Definition at line 50 of file fx_memory_malloc.cpp.
Referenced by TEST(), and TEST().
|
constexpr |
Definition at line 401 of file safe_conversions_impl.h.
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | int16_t | ) |
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | int32_t | ) |
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | int64_t | ) |
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | int8_t | ) |
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | uint16_t | ) |
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | uint32_t | ) |
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | uint64_t | ) |
| pdfium::internal::INTEGER_FOR_DIGITS_AND_SIGN | ( | uint8_t | ) |
|
constexpr |
Definition at line 154 of file safe_math_shared_impl.h.
|
constexpr |
Definition at line 730 of file safe_conversions_impl.h.
References pdfium::internal::RangeCheck::IsOverflow(), pdfium::internal::RangeCheck::IsUnderflow(), and pdfium::internal::RangeCheck::operator==().
|
constexpr |
Definition at line 750 of file safe_conversions_impl.h.
References pdfium::internal::RangeCheck::IsOverflow(), pdfium::internal::RangeCheck::IsUnderflow(), and pdfium::internal::RangeCheck::operator==().
|
constexpr |
Definition at line 690 of file safe_conversions_impl.h.
References pdfium::internal::RangeCheck::IsOverflow(), pdfium::internal::RangeCheck::IsUnderflow(), and pdfium::internal::RangeCheck::operator==().
|
constexpr |
Definition at line 710 of file safe_conversions_impl.h.
References pdfium::internal::RangeCheck::IsOverflow(), pdfium::internal::RangeCheck::IsUnderflow(), and pdfium::internal::RangeCheck::operator==().
|
constexpr |
Definition at line 811 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 817 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 280 of file checked_math.h.
|
constexpr |
Definition at line 88 of file safe_conversions.h.
|
constexpr |
Definition at line 52 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 300 of file checked_math.h.
|
constexpr |
Definition at line 196 of file clamped_math.h.
|
constexpr |
Definition at line 321 of file safe_conversions.h.
|
constexpr |
Definition at line 139 of file safe_math_shared_impl.h.
| L * pdfium::internal::operator+ | ( | L * | lhs, |
| const StrictNumeric< R > | rhs ) |
Definition at line 343 of file checked_math.h.
| L * pdfium::internal::operator- | ( | L * | lhs, |
| const StrictNumeric< R > | rhs ) |
Definition at line 351 of file checked_math.h.
Definition at line 42 of file fx_memory_malloc.cpp.
Definition at line 171 of file fx_memory.cpp.
References FX_OutOfMemoryTerminate().
|
constexpr |
Definition at line 796 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 81 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 209 of file safe_conversions.h.
|
constexpr |
Definition at line 144 of file safe_conversions.h.
References pdfium::internal::RangeCheck::IsOverflowFlagSet(), and pdfium::internal::RangeCheck::IsUnderflowFlagSet().
|
constexpr |
Definition at line 51 of file clamped_math_impl.h.
|
constexpr |
Definition at line 27 of file clamped_math_impl.h.
|
constexpr |
Definition at line 225 of file safe_conversions.h.
| void * pdfium::internal::StringAlloc | ( | size_t | num_members, |
| size_t | member_size ) |
Definition at line 54 of file fx_memory_malloc.cpp.
| void * pdfium::internal::StringAllocOrDie | ( | size_t | num_members, |
| size_t | member_size ) |
Definition at line 179 of file fx_memory.cpp.
References FX_OutOfMemoryTerminate().
Definition at line 62 of file fx_memory_malloc.cpp.
Referenced by fxcrt::StringDataTemplate< CharType >::Release().
|
constexpr |
Definition at line 291 of file checked_math.h.
|
constexpr |
Definition at line 285 of file checked_math.h.
|
constexpr |
Definition at line 99 of file safe_conversions_impl.h.
|
constexpr |
Definition at line 24 of file fx_memory_malloc.cpp.