/arkcompiler/ets_runtime/ecmascript/ |
D | log_wrapper.h | 22 #define LOG_NO_TAG(level) ARK_LOG(level, Component::NO_TAG) 23 #define LOG_ECMA(level) ARK_LOG(level, Component::ECMASCRIPT) 24 #define LOG_FULL(level) ARK_LOG(level, Component::ALL) << __func__ << ":" << __LINE__ << " " 25 #define LOG_GC(level) ARK_LOG(level, Component::GC) 26 #define LOG_INTERPRETER(level) ARK_LOG(level, Component::INTERPRETER) 27 #define LOG_COMPILER(level) ARK_LOG(level, Component::COMPILER) 28 #define LOG_DEBUGGER(level) ARK_LOG(level, Component::DEBUGGER) 29 #define LOG_BUILTINS(level) ARK_LOG(level, Component::BUILTINS) 30 #define LOG_TRACE(level) ARK_LOG(level, Component::TRACE) 31 #define LOG_JIT(level) ARK_LOG(level, Component::JIT) [all …]
|
D | log.h | 41 enum Component { enum 73 static inline bool LogIsLoggable(Level level, Component component) in LogIsLoggable() 77 static inline std::string GetComponentStr(Component component) in GetComponentStr() 81 case Component::NO_TAG: in GetComponentStr() 83 case Component::GC: in GetComponentStr() 85 case Component::ECMASCRIPT: in GetComponentStr() 87 case Component::INTERPRETER: in GetComponentStr() 89 case Component::DEBUGGER: in GetComponentStr() 91 case Component::COMPILER: in GetComponentStr() 93 case Component::BUILTINS: in GetComponentStr() [all …]
|
D | log.cpp | 67 ComponentMark Log::components_ = Component::ALL; 148 components_ = Component::NONE; in SetLogComponentFromString() 151 components_ = Component::ALL; in SetLogComponentFromString() 155 components_ |= Component::GC; in SetLogComponentFromString() 159 components_ |= Component::ECMASCRIPT; in SetLogComponentFromString() 163 components_ |= Component::INTERPRETER; in SetLogComponentFromString() 167 components_ |= Component::DEBUGGER; in SetLogComponentFromString() 171 components_ |= Component::COMPILER; in SetLogComponentFromString() 175 components_ |= Component::BUILTINS; in SetLogComponentFromString() 179 components_ |= Component::JIT; in SetLogComponentFromString() [all …]
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
D | logger_test.cpp | 35 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 50 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 72 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 91 componentMask.set(Logger::Component::COMPILER); in DEATH_TEST() 94 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); in DEATH_TEST() 95 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); in DEATH_TEST() 96 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); in DEATH_TEST() 97 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::COMPILER)); in DEATH_TEST() 98 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::ASSEMBLER)); in DEATH_TEST() 99 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::DISASSEMBLER)); in DEATH_TEST() [all …]
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | logger_test.cpp | 40 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 55 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 77 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 96 component_mask.set(Logger::Component::COMPILER); 99 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); 100 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); 101 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); 102 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::COMPILER)); 103 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::ASSEMBLER)); 104 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::DISASSEMBLER)); [all …]
|
/arkcompiler/runtime_core/libpandabase/utils/ |
D | logger.h | 56 using ComponentMask = std::bitset<Component::LAST>; 109 Message(Level level, Component component, bool print_system_error) in Message() 126 Component component_; 184 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() 190 static bool IsLoggingOnOrAbort(Level level, Component component) in IsLoggingOnOrAbort() 206 …static bool IsMessageSuppressed([[maybe_unused]] Level level, [[maybe_unused]] Component component… 209 static void Log(Level level, Component component, const std::string &str); 236 static void EnableComponent(Component component) in EnableComponent() 248 static void DisableComponent(Component component) in DisableComponent() 301 virtual void LogLineInternal(Level level, Component component, const std::string &str) = 0; [all …]
|
D | logger.cpp | 94 bool Logger::IsMessageSuppressed([[maybe_unused]] Level level, [[maybe_unused]] Component component) in IsMessageSuppressed() 154 void Logger::Log(Level level, Component component, const std::string &str) in Log() 185 std::string GetPrefix(Logger::Level level, Logger::Component component) in GetPrefix() 218 logger->LogLineInternal(Level::ERROR, Component::COMMON, msg); in InitializeFileLogging() 329 void FileLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal() 335 void FastFileLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal() 342 void HiLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal() 368 void StderrLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
D | logger.h | 54 using ComponentMask = std::bitset<Component::LAST>; 107 PANDA_PUBLIC_API Message(Level level, Component component, bool printSystemError) in Message() 124 Component component_; 179 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() 185 PANDA_PUBLIC_API static bool IsLoggingOnOrAbort(Level level, Component component) in IsLoggingOnOrAbort() 202 [[maybe_unused]] Component component); 213 static void Log(Level level, Component component, const std::string &str); 240 static void EnableComponent(Component component) in EnableComponent() 252 static void DisableComponent(Component component) in DisableComponent() 305 virtual void LogLineInternal(Level level, Component component, const std::string &str) = 0;
|
D | logger.cpp | 87 bool Logger::IsMessageSuppressed([[maybe_unused]] Level level, [[maybe_unused]] Component component) in IsMessageSuppressed() 143 void Logger::Log(Level level, Component component, const std::string &str) in Log() 174 std::string GetPrefix(Logger::Level level, Logger::Component component) in GetPrefix() 207 logger_->LogLineInternal(Level::ERROR, Component::COMMON, msg); in InitializeFileLogging() 308 void FileLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal() 314 void FastFileLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal() 320 void StderrLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal()
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test_extended_features/ |
D | UI_Decorators_@BuilderParam.ets | 18 @Component 52 @Component 66 Text("Component Builder func param to Component Builder func") 74 Text("Global builder func param to Component Builder func")
|
D | UI_Decorators_@Consume.ets | 18 @Component 33 @Component 44 @Component 53 @Component
|
D | UI_Decorators_@Provide.ets | 18 @Component 33 @Component 44 @Component 53 @Component
|
D | UI_Decorators_@LocalStorageLink.ets | 21 @Component 34 // make LocalStorage accessible from the @Component 36 @Component 47 // Child @Component receives access to CompA' LocalStorage instance automatically.
|
D | UI_Decorators_@Builder.ets | 16 @Component 37 @Component 55 @Component 72 @Component
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/annotations/ |
D | annotation_@Builder_2.ets | 22 @Component 56 @Component 70 Text("Component Builder func param to Component Builder func") 78 Text("Global builder func param to Component Builder func")
|
D | annotation_@Consume.ets | 22 @Component 37 @Component 48 @Component 57 @Component
|
D | annotation_@Provide.ets | 17 desc: 04.07.02 Decorated @Component variables of type Set 22 @Component 49 @Component 67 @Component 94 @Component
|
D | annotation_@State_3.ets | 22 @Component 37 @Component 48 @Component
|
D | annotation_@State.ets | 17 desc: 04.01 State owned by a Component @State 22 @Component 35 @Component
|
D | annotation_@Link.ets | 22 @Component 33 @Component 45 @Component
|
/arkcompiler/runtime_core/libpandabase/templates/ |
D | logger.rb | 32 class Component class 61 @components = data.components.map { |op| Component.new(op) } 62 @dfx_components = data.dfx_components.map { |op| Component.new(op) }
|
/arkcompiler/runtime_core/static_core/libpandabase/templates/ |
D | logger.rb | 32 class Component class 61 @components = data.components.map { |op| Component.new(op) } 62 @dfx_components = data.dfx_components.map { |op| Component.new(op) }
|
/arkcompiler/ets_frontend/ets2panda/linter/test/ |
D | arkui_decorators.ts | 22 let Component: PropDecorator = (x, y) => {}; variable 47 @Component 91 @Component
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
D | arkui_decorators.ts | 22 let Component: PropDecorator = (x, y) => {}; variable 47 @Component 91 @Component
|
/arkcompiler/ets_frontend/ets2panda/util/ |
D | generateBin.cpp | 34 componentMask.set(panda::Logger::Component::ASSEMBLER); in GenerateProgram() 35 componentMask.set(panda::Logger::Component::COMPILER); in GenerateProgram() 36 componentMask.set(panda::Logger::Component::BYTECODE_OPTIMIZER); in GenerateProgram()
|