Home
last modified time | relevance | path

Searched refs:MaskType (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DLog.h124 using MaskType = uint64_t;
126 template <MaskType Bit>
127 static constexpr MaskType ChannelFlag = MaskType(1) << Bit;
133 MaskType flag;
138 : name(name), description(description), flag(MaskType(mask)) { in Category()
140 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Category()
152 const MaskType default_flags;
158 default_flags(MaskType(default_flags)) { in Channel()
160 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Channel()
167 Log *GetLog(MaskType mask) { in GetLog()
[all …]
H A DLLDBLog.h18 enum class LLDBLog : Log::MaskType {
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DLog.cpp63 Log::MaskType Log::GetFlags(llvm::raw_ostream &stream, in GetFlags()
67 Log::MaskType flags = 0; in GetFlags()
70 flags |= std::numeric_limits<Log::MaskType>::max(); in GetFlags()
95 uint32_t options, Log::MaskType flags) { in Enable()
98 MaskType mask = m_mask.fetch_or(flags, std::memory_order_relaxed); in Enable()
106 void Log::Disable(Log::MaskType flags) { in Disable()
109 MaskType mask = m_mask.fetch_and(~flags, std::memory_order_relaxed); in Disable()
130 Log::MaskType Log::GetMask() const { in GetMask()
207 iter->second.Disable(std::numeric_limits<MaskType>::max()); in Unregister()
220 MaskType flags = categories.empty() in EnableLogChannel()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DOSLog.h77 StringRef MaskType; variable
83 MaskType(maskType) { in TheKind()
108 StringRef getMaskType() const { return MaskType; } in getMaskType()
H A DFormatString.h525 StringRef MaskType; variable
611 StringRef getMaskType() const { return MaskType; } in getMaskType()
612 void setMaskType(StringRef S) { MaskType = S; } in setMaskType()
748 virtual void handleInvalidMaskType(StringRef MaskType) {} in handleInvalidMaskType() argument
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DOSLog.cpp30 StringRef MaskType; member
132 ArgsData.back().MaskType = FS.getMaskType(); in HandlePrintfSpecifier()
139 if (!Data.MaskType.empty()) { in computeLayout()
142 Size, 0, Data.MaskType); in computeLayout()
H A DPrintfFormatString.cpp144 StringRef MaskType = MatchedStr.substr(sizeof("mask.") - 1); in ParsePrintfSpecifier() local
145 unsigned Size = MaskType.size(); in ParsePrintfSpecifier()
147 H.handleInvalidMaskType(MaskType); in ParsePrintfSpecifier()
148 FS.setMaskType(MaskType); in ParsePrintfSpecifier()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DLogChannelDWARF.h17 enum class DWARFLog : Log::MaskType {
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindowsLog.h17 enum class WindowsLog : Log::MaskType {
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIXLog.h18 enum class POSIXLog : Log::MaskType {
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDPLog.h17 enum class KDPLog : Log::MaskType {
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemoteLog.h18 enum class GDBRLog : Log::MaskType {
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp9703 void handleInvalidMaskType(StringRef MaskType) override;
9756 void CheckPrintfHandler::handleInvalidMaskType(StringRef MaskType) { in handleInvalidMaskType() argument
9757 S.Diag(getLocationOfByte(MaskType.data()), diag::err_invalid_mask_type_size); in handleInvalidMaskType()