Lines Matching refs:Flags

279   enum class Flags : uint8_t {
289 Flags flags = Flags::kNone)
296 static_cast<Flags>(identifier & 255)) {}
305 constexpr Flags GetFlags() const { return flags_; }
325 Flags flags_;
643 static constexpr CTypeInfo::Flags Flags() { \
644 return CTypeInfo::Flags::kNone; \
694 static constexpr CTypeInfo::Flags Flags() { \
695 return CTypeInfo::Flags::kNone; \
719 static constexpr CTypeInfo::Flags Flags() { return CTypeInfo::Flags::kNone; }
729 static constexpr CTypeInfo::Flags Flags() { return CTypeInfo::Flags::kNone; }
739 static constexpr CTypeInfo::Flags Flags() { return CTypeInfo::Flags::kNone; }
751 static constexpr CTypeInfo::Flags Flags() { return CTypeInfo::Flags::kNone; }
766 template <typename T, CTypeInfo::Flags... Flags>
772 constexpr CTypeInfo::Flags kFlags =
773 MergeFlags(internal::TypeInfoHelper<T>::Flags(), Flags...);
779 uint8_t(kFlags) & uint8_t(CTypeInfo::Flags::kAllowSharedBit),
784 uint8_t(kFlags) & uint8_t(CTypeInfo::Flags::kEnforceRangeBit),
788 uint8_t(kFlags) & uint8_t(CTypeInfo::Flags::kClampBit),
792 uint8_t(kFlags) & uint8_t(CTypeInfo::Flags::kIsRestrictedBit),
810 static constexpr CTypeInfo::Flags MergeFlags(CTypeInfo::Flags flags,
812 return CTypeInfo::Flags(uint8_t(flags) | uint8_t(MergeFlags(rest...)));
814 static constexpr CTypeInfo::Flags MergeFlags() { return CTypeInfo::Flags(0); }
823 template <CTypeInfo::Flags... Flags>
826 CTypeInfoBuilder<typename RetBuilder::BaseType, Flags...>,
830 template <unsigned int N, CTypeInfo::Flags... Flags>
833 // template parameter pack Flags.
834 return ArgImpl<N, Flags...>(
854 template <bool Merge, unsigned int N, CTypeInfo::Flags... Flags>
858 // Flags in the template parameter pack are ignored.
859 template <unsigned int N, CTypeInfo::Flags... Flags>
860 struct GetArgBuilder<false, N, Flags...> {
867 template <unsigned int N, CTypeInfo::Flags... Flags>
868 struct GetArgBuilder<true, N, Flags...> {
874 Flags...>;
877 // Return a copy of the CFunctionBuilder, but merges the Flags on
878 // ArgBuilder index N with the new Flags passed in the template parameter
880 template <unsigned int N, CTypeInfo::Flags... Flags, size_t... I>
883 RetBuilder, typename GetArgBuilder<N == I, I, Flags...>::type...>(fn_);