Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/arkcompiler/ets_runtime/ecmascript/
Dlog_wrapper.h22 #define LOG_NO_TAG(level) ARK_LOG(level, Component::NO_TAG) argument
23 #define LOG_ECMA(level) ARK_LOG(level, Component::ECMASCRIPT) argument
24 #define LOG_FULL(level) ARK_LOG(level, Component::ALL) << __func__ << ":" << __LINE__ << " " argument
25 #define LOG_GC(level) ARK_LOG(level, Component::GC) argument
26 #define LOG_INTERPRETER(level) ARK_LOG(level, Component::INTERPRETER) argument
27 #define LOG_COMPILER(level) ARK_LOG(level, Component::COMPILER) argument
28 #define LOG_DEBUGGER(level) ARK_LOG(level, Component::DEBUGGER) argument
29 #define LOG_BUILTINS(level) ARK_LOG(level, Component::BUILTINS) argument
30 #define LOG_TRACE(level) ARK_LOG(level, Component::TRACE) argument
31 #define LOG_JIT(level) ARK_LOG(level, Component::JIT) argument
[all …]
Dlog.h73 static inline bool LogIsLoggable(Level level, Component component) in LogIsLoggable() argument
75 return (level >= level_) && ((components_ & component) != 0ULL); in LogIsLoggable()
105 static std::string LevelToString(Level level);
106 static Level ConvertFromRuntime(LOG_LEVEL level);
109 static void SetLogLevelFromString(const std::string& level);
111 …static int32_t PrintLogger(int32_t, int32_t level, const char *, const char *, const char *message…
118 template<LogLevel level, Component component>
128 if constexpr (level == LOG_LEVEL_MIN) { in ~HiLog()
130 } else if constexpr (level == LOG_DEBUG) { in ~HiLog()
132 } else if constexpr (level == LOG_INFO) { in ~HiLog()
[all …]
Dlog.cpp29 Level level = Level::ERROR; in ConvertToLevel() local
33 level = Level::INFO; in ConvertToLevel()
36 level = Level::WARN; in ConvertToLevel()
39 level = Level::ERROR; in ConvertToLevel()
43 level = Level::FATAL; in ConvertToLevel()
47 level = Level::DEBUG; in ConvertToLevel()
51 return level; in ConvertToLevel()
56 for (int32_t level = LogLevel::LOG_LEVEL_MIN; level <= LogLevel::LOG_LEVEL_MAX; level++) { in GetHiLogLevel() local
57 if (HiLogIsLoggable(ARK_DOMAIN, TAG, static_cast<LogLevel>(level))) { in GetHiLogLevel()
58 return static_cast<LogLevel>(level); in GetHiLogLevel()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dlogger.h109 Message(Level level, Component component, bool print_system_error) in Message() argument
110 : level_(level), component_(component), print_system_error_(print_system_error) in Message()
136 …static void InitializeFileLogging(const std::string &log_file, Level level, ComponentMask componen…
139 static void InitializeHiLogging(Level level, ComponentMask component_mask);
142 static void InitializeStdLogging(Level level, ComponentMask component_mask);
144 … static void InitializeDummyLogging(Level level = Level::DEBUG, ComponentMask component_mask = 0);
153 static uint32_t GetLevelNumber(Logger::Level level);
155 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog() argument
161 switch (level) { in WriteMobileLog()
184 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() argument
[all …]
Dlogger.cpp44 Level level = Level::LAST; in Initialize() local
47 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
49 level = Level::FATAL; in Initialize()
51 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
53 level = Level::ERROR; in Initialize()
55 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
57 level = Level::WARNING; in Initialize()
59 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
61 level = Level::INFO; in Initialize()
63 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dlogger.cpp44 Level level = Level::LAST; in Initialize() local
47 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
49 level = Level::FATAL; in Initialize()
51 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
53 level = Level::ERROR; in Initialize()
55 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
57 level = Level::WARNING; in Initialize()
59 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
61 level = Level::INFO; in Initialize()
63 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
[all …]
Dlogger.h107 PANDA_PUBLIC_API Message(Level level, Component component, bool printSystemError) in Message() argument
108 : level_(level), component_(component), printSystemError_(printSystemError) in Message()
134 PANDA_PUBLIC_API static void InitializeFileLogging(const std::string &logFile, Level level,
137 PANDA_PUBLIC_API static void InitializeStdLogging(Level level, ComponentMask componentMask);
139 …PANDA_PUBLIC_API static void InitializeDummyLogging(Level level = Level::DEBUG, ComponentMask comp…
148 static uint32_t GetLevelNumber(Logger::Level level);
150 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog() argument
156 switch (level) { in WriteMobileLog()
179 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() argument
181 return IsInitialized() && level <= logger_->level_ && in IsLoggingOn()
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/
Dllvm_logger.h48 static inline bool IsComponentEnabled(LLVMLoggerComponents comp, Logger::Level level) in IsComponentEnabled() argument
50 return components_.test(comp) || level == Logger::Level::FATAL; in IsComponentEnabled()
67 #define LLVM_LOG(level, comp) … argument
69 … panda::Logger::Level::level) && \
70 LOG(level, LLVM) << "[" #comp "] "
73 #define LLVM_LOG_IF(cond, level, comp) (cond) && LLVM_LOG(level, comp) argument
/arkcompiler/ets_frontend/ts2panda/src/
Dlexenv.ts44 level: number; property in VariableAccessBase
46 constructor(scope: Scope, level: number, variable: Variable) {
49 this.level = level;
68 constructor(scope: Scope, level: number, variable: Variable) {
69 super(scope, level, variable);
101 insns.push(loadLexicalVar(this.level, slot));
115 …constructor(scope: Scope, level: number, variable: Variable, isDeclaration: boolean, node: ts.Node…
116 super(scope, level, variable);
172 insns.push(loadLexicalVar(this.level, slot));
181 insns.push(storeLexicalVar(this.level, slot));
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dloop_unswitch.cpp45 for (uint32_t level = 0; !loops_.empty() && level < maxLevel_ && budget > 0; ++level) { in TransformLoop() local
53 … << "Level #" << level << ": estimated loop iterations < 2, skip loop " << loop->GetId(); in TransformLoop()
59 … << "Level #" << level << ": cannot find unswitch instruction, skip loop " << loop->GetId(); in TransformLoop()
83 …<< "Level #" << level << ": unswitch loop " << origLoop->GetId() << ", new loop " << newLoop->GetI… in TransformLoop()
/arkcompiler/ets_frontend/ts2panda/tests/
Dscope.test.ts36 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
46 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
56 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
66 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
84 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
94 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
104 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
114 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
133 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable
135 let { scope: spParent, level: lvParent, v: outVariableParent } = parent.find("x"); variable
[all …]
/arkcompiler/ets_runtime/test/typeinfer/parainfer_class/
Dparainfer_class.ts39 private level: number; property in Manager
42 constructor(name: string, age: number, level: number) {
44 this.level = level;
/arkcompiler/runtime_core/compiler/
Dcompiler_logger.h69 #define COMPILER_LOG(level, comp) \ argument
70 …CompilerLogger::IsComponentEnabled(CompilerLoggerComponents::comp) && LOG(level, COMPILER) << "[" …
75 #define COMPILER_LOG(level, comp) \ argument
76 …CompilerLogger::IsComponentEnabled(CompilerLoggerComponents::comp) && LOG(level, COMPILER) << "[" …
/arkcompiler/runtime_core/static_core/compiler/
Dcompiler_logger.h67 #define COMPILER_LOG(level, comp) \ argument
68 …CompilerLogger::IsComponentEnabled(CompilerLoggerComponents::comp) && LOG(level, COMPILER) << "[" …
70 #define COMPILER_LOG_IF(cond, level, comp) … argument
71 …CompilerLogger::IsComponentEnabled(CompilerLoggerComponents::comp) && LOG_IF(cond, level, COMPILER…
/arkcompiler/runtime_core/templates/
Dmessages.rb30 msg = is_short ? "#{component} #{level} #{number}: #{short_message}" : message
75 level = msg_data.level || data.default_level
81 level: level,
/arkcompiler/runtime_core/static_core/templates/
Dmessages.rb30 msg = is_short ? "#{component} #{level} #{number}: #{short_message}" : message
75 level = msg_data.level || data.default_level
81 level: level,
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
Dstring_logger.rb22 def log(level, *args) argument
28 @content.puts(args) if level <= $VERBOSITY
45 def log(_level, *args)
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/
Dstring_logger.rb22 def log(level, *args) argument
28 @content.puts(args) if level <= $VERBOSITY
45 def log(_level, *args)
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Dws_logger.cpp39 auto level = channel_log_level(channel); in write() local
42 if (!Logger::IsLoggingOnOrAbort(level, component)) { in write()
47 if (Logger::IsMessageSuppressed(level, component)) { in write()
52 Logger::Message message(level, component, false); in write()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/inline_ir/
Dmark_always_inline.cpp59 bool MarkAlwaysInline::InlineCallTree(Function *function, int32_t level, int32_t maxLevel) in InlineCallTree() argument
63 if (level == maxLevel) { in InlineCallTree()
66 ASSERT(level < maxLevel); in InlineCallTree()
93 InlineCallTree(call->getCalledFunction(), level + 1, maxLevel); in InlineCallTree()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dlogger.h23 #define INTEROP_LOG(level) LOG(level, ETS_INTEROP_JS) argument
59 #define TS2ETS_LOGGER(level, ...) \ argument
62 LOG(level, ETS) << "interop_js: " << msgTs2etsLogger; \
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddropframe_manager.cpp55 uint16_t level = 0; in ReadStlexvarParams() local
59 level = READ_INST_4_0(); in ReadStlexvarParams()
63 level = READ_INST_8_0(); in ReadStlexvarParams()
67 level = READ_INST_16_1(); in ReadStlexvarParams()
73 return std::make_pair(level, slot); in ReadStlexvarParams()
93 uint16_t level; in MethodEntry() local
95 std::tie(level, slot) = lexVarPos; in MethodEntry()
98 if ((level < newEnvCount || i >= level - newEnvCount) && in MethodEntry()
105 if (i >= level) { in MethodEntry()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/08.function_declarations/05.shadowing_parameters/
Dscope1.ets24 let q: int = 1; // top-level scope
27 return q; // returns top-level q
31 q = q + 10; // top-level scope, no shadowing
36 let q: int; // function foo scope, top-level q is shadowed
42 let q: int; // function main scope, top-level q is shadowed
/arkcompiler/toolchain/common/
Dlog_wrapper.cpp44 void StdLog::PrintLog(LogLevel level, const char* fmt, ...) in PrintLog() argument
51 __android_log_vprint(static_cast<int>(level), tag, formatted.c_str(), args); in PrintLog()
58 void StdLog::PrintLog(LogLevel level, const char* fmt, ...) in PrintLog() argument
73 switch (level) { in PrintLog()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_scope.cpp27 if (level == 0) { in IsSubScope()
65 level++; in IncLevel()
98 int32 ind = static_cast<int32>(level != 0); in Dump()
99 if (level != 0) { in Dump()
126 if (level != 0) { in Dump()

12345678910>>...12