Home
last modified time | relevance | path

Searched refs:component (Results 1 – 25 of 63) sorted by relevance

123

/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()
155 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog() argument
180 std::string panda_component = "Ark " + std::string(component); in WriteMobileLog()
184 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() argument
187 (logger->component_mask_.test(component) || level == Level::FATAL); in IsLoggingOn()
190 static bool IsLoggingOnOrAbort(Level level, Component component) in IsLoggingOnOrAbort() argument
192 if (IsLoggingOn(level, component)) { in IsLoggingOnOrAbort()
206 …tatic bool IsMessageSuppressed([[maybe_unused]] Level level, [[maybe_unused]] Component component);
209 static void Log(Level level, Component component, const std::string &str);
[all …]
Dlogger.cpp94 bool Logger::IsMessageSuppressed([[maybe_unused]] Level level, [[maybe_unused]] Component component) in IsMessageSuppressed() argument
154 void Logger::Log(Level level, Component component, const std::string &str) in Log() argument
156 if (!IsLoggingOn(level, component)) { in Log()
161 if (!IsLoggingOn(level, component)) { in Log()
167 logger->LogLineInternal(level, component, str); in Log()
168 logger->WriteMobileLog(level, GetComponentTag(component), str.c_str()); in Log()
173 logger->LogLineInternal(level, component, line); in Log()
174 logger->WriteMobileLog(level, GetComponentTag(component), line.c_str()); in Log()
179 logger->LogLineInternal(level, component, str.substr(i)); in Log()
180 logger->WriteMobileLog(level, GetComponentTag(component), str.substr(i).c_str()); in Log()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dlog.h73 static inline bool LogIsLoggable(Level level, Component component) in LogIsLoggable() argument
75 return (level >= level_) && ((components_ & component) != 0ULL); in LogIsLoggable()
77 static inline std::string GetComponentStr(Component component) in GetComponentStr() argument
79 switch (component) in GetComponentStr()
118 template<LogLevel level, Component component>
123 std::string str = Log::GetComponentStr(component); in HiLog()
175 template<Level level, Component component>
180 std::string str = Log::GetComponentStr(component); in StdLog()
209 #define ARK_LOG(level, component) panda::ecmascript::Log::LogIsLoggable(level, component) && \ argument
210 panda::ecmascript::HiLog<LOG_##level, (component)>()
[all …]
Dlog.cpp149 for (const auto &component : components) { in SetLogComponentFromString() local
150 if (component == "all") { in SetLogComponentFromString()
154 if (component == "gc") { in SetLogComponentFromString()
158 if (component == "ecmascript") { in SetLogComponentFromString()
162 if (component == "interpreter") { in SetLogComponentFromString()
166 if (component == "debugger") { in SetLogComponentFromString()
170 if (component == "compiler") { in SetLogComponentFromString()
174 if (component == "builtins") { in SetLogComponentFromString()
178 if (component == "jit") { in SetLogComponentFromString()
182 if (component == "trace") { in SetLogComponentFromString()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dlogger.h107 PANDA_PUBLIC_API Message(Level level, Component component, bool printSystemError) in Message() argument
108 : level_(level), component_(component), printSystemError_(printSystemError) in Message()
150 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog() argument
175 std::string pandaComponent = "Ark " + std::string(component); in WriteMobileLog()
179 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() argument
182 (logger_->componentMask_.test(component) || level == Level::FATAL); in IsLoggingOn()
185 PANDA_PUBLIC_API static bool IsLoggingOnOrAbort(Level level, Component component) in IsLoggingOnOrAbort() argument
187 if (IsLoggingOn(level, component)) { in IsLoggingOnOrAbort()
202 [[maybe_unused]] Component component);
213 static void Log(Level level, Component component, const std::string &str);
[all …]
Dlogger.cpp87 bool Logger::IsMessageSuppressed([[maybe_unused]] Level level, [[maybe_unused]] Component component) in IsMessageSuppressed() argument
143 void Logger::Log(Level level, Component component, const std::string &str) in Log() argument
145 if (!IsLoggingOn(level, component)) { in Log()
150 if (!IsLoggingOn(level, component)) { in Log()
156 logger_->LogLineInternal(level, component, str); in Log()
157 logger_->WriteMobileLog(level, GetComponentTag(component), str.c_str()); in Log()
162 logger_->LogLineInternal(level, component, line); in Log()
163 logger_->WriteMobileLog(level, GetComponentTag(component), line.c_str()); in Log()
168 logger_->LogLineInternal(level, component, str.substr(i)); in Log()
169 logger_->WriteMobileLog(level, GetComponentTag(component), str.substr(i).c_str()); in Log()
[all …]
/arkcompiler/runtime_core/scripts/
Dinstall-third-party91 while read -r component
93 component=$(echo "$component" | perl -lane 'chomp; s/^\s+//; s/\s+$//; print $_')
95 if [[ "$component" == "" || "$component" =~ ^# ]] ; then
99 IFS=',' read -r -a info <<< "$component"
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dtask_manager-components.plantuml16 component "Worker thread 1" {
21 component "Worker thread 2" {
26 component "Worker thread 3" {
33 component TaskManager {
/arkcompiler/runtime_core/static_core/templates/messages/
Dmessages.h.erb17 % component = Messages.component.upcase
18 #ifndef PANDA_<%= component %>_MESSAGES_GEN_H_
19 #define PANDA_<%= component %>_MESSAGES_GEN_H_
45 LOG(<%= level %>, <%= component %>) << <%= msg.stream_ops(true) %>; \
48 LOG(DEBUG, <%= component %>) << <%= msg.stream_ops(false) %>;
84 #endif // PANDA_<%= component %>_MESSAGES_GEN_H_
/arkcompiler/runtime_core/templates/messages/
Dmessages.h.erb17 % component = Messages.component.upcase
18 #ifndef PANDA_<%= component %>_MESSAGES_GEN_H_
19 #define PANDA_<%= component %>_MESSAGES_GEN_H_
43 LOG(<%= level %>, <%= component %>) << <%= msg.stream_ops(true) %>; \
46 LOG(DEBUG, <%= component %>) << <%= msg.stream_ops(false) %>;
80 #endif // PANDA_<%= component %>_MESSAGES_GEN_H_
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Dws_logger.cpp40 auto component = Logger::Component::DEBUGGER; 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/plugins/ets/runtime/
Dets_vm_api.cpp24 static void LogPrint([[maybe_unused]] int id, int level, const char *component, [[maybe_unused]] co… in LogPrint() argument
53 OH_LOG_Print(LOG_APP, LOG_DEBUG, 0xFF00, "ArkEtsVm", "%s: %s", component, msg); in LogPrint()
56 OH_LOG_Print(LOG_APP, LOG_INFO, 0xFF00, "ArkEtsVm", "%s: %s", component, msg); in LogPrint()
59 OH_LOG_Print(LOG_APP, LOG_ERROR, 0xFF00, "ArkEtsVm", "%s: %s", component, msg); in LogPrint()
62 OH_LOG_Print(LOG_APP, LOG_FATAL, 0xFF00, "ArkEtsVm", "%s: %s", component, msg); in LogPrint()
65 OH_LOG_Print(LOG_APP, LOG_WARN, 0xFF00, "ArkEtsVm", "%s: %s", component, msg); in LogPrint()
73 …gPrint([[maybe_unused]] int id, [[maybe_unused]] int level, [[maybe_unused]] const char *component, in LogPrint() argument
/arkcompiler/runtime_core/static_core/scripts/
Dinstall-third-party153 while read -r component
155 component=$(echo "$component" | perl -lane 'chomp; s/^\s+//; s/\s+$//; print $_')
157 if [[ "$component" == "" || "$component" =~ ^# ]] ; then
161 IFS=',' read -r -a info <<< "$component"
/arkcompiler/runtime_core/templates/
Dmessages.rb18 ['LOG', component, Messages.split_words(name)].flatten.join('_').upcase
30 msg = is_short ? "#{component} #{level} #{number}: #{short_message}" : message
70 @component = data.component.capitalize
79 component: @component,
/arkcompiler/runtime_core/static_core/templates/
Dmessages.rb18 ['LOG', component, Messages.split_words(name)].flatten.join('_').upcase
30 msg = is_short ? "#{component} #{level} #{number}: #{short_message}" : message
70 @component = data.component.capitalize
79 component: @component,
/arkcompiler/runtime_core/static_core/gn/build/
Dfixup-third-party.sh32 for component in $COMPONENTS
34 find . -regex ".*/$component.*/BUILD.gn" -exec rm -rf {} \;
/arkcompiler/runtime_core/gn/build/
Dfixup-third-party.sh32 for component in $COMPONENTS
34 find . -regex ".*/$component.*/BUILD.gn" -exec rm -rf {} \;
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D16_gui.rst179 The following syntax conventions apply to any builder function (component’s
180 main builder, component’s custom builder, or stand-alone global custom builder):
183 custom component *C* is to initialize the component with the data
188 component’s fields.
191 custom component *C* is to initialize the component, and to render it
192 by passing the data from the :math:`\{...\}` block to the component’s
216 Restrictions apply to any builder function (component’s main builder,
217 component’s custom builder, or stand-alone global custom builder), and
337 between a child component *at an arbitrary nesting level*, and a parent
338 component.
[all …]
/arkcompiler/runtime_core/static_core/verification/gen/templates/
Dverifier_messages_data_gen.cpp.erb17 % component = Messages.component.upcase
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/02.evaluation_of_expressions/02.normal_and_abrupt_completion_of_expression_evaluation/
Dase1.ets17 desc: ArrayStoreException is thrown by an assignment to an array component of
18 reference type when the component type of the array is incompatible with
/arkcompiler/ets_frontend/ets2panda/test/tsconfig/extends/
Dexpected.txt1 ./build/src/component/index.abc
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/annotations/
Dannotation_@Builder.ets17 …desc: 02.04.06 Custom component variable holding a @Builder function reference @BuilderParam and B…
64 Text(`2 + 3 - component builder`)
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
Dark_inlining.cpp99 llvm::PreservedAnalyses IrtocInlineChecker::run(llvm::LazyCallGraph::SCC &component, in run() argument
103 for (const auto &node : component) { in run()
/arkcompiler/runtime_core/libpandabase/templates/
Dlogger_impl_gen.inc.erb18 static const char *GetComponentTag(Logger::Component component)
21 if (component == Logger::Component::<%= c.enum %>) {
/arkcompiler/runtime_core/static_core/libpandabase/templates/
Dlogger_impl_gen.inc.erb18 static const char *GetComponentTag(Logger::Component component)
21 if (component == Logger::Component::<%= c.enum %>) {

123