Home
last modified time | relevance | path

Searched refs:Component (Results 1 – 25 of 29) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dlog_wrapper.h22 #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_ECMA_IF(cond, level) (cond) && ARK_LOG(level, Component::ALL)
[all …]
Dlog.h41 enum Component { enum
72 static inline bool LogIsLoggable(Level level, Component component) in LogIsLoggable()
76 static inline std::string GetComponentStr(Component component) in GetComponentStr()
80 case Component::NO_TAG: in GetComponentStr()
82 case Component::GC: in GetComponentStr()
84 case Component::ECMASCRIPT: in GetComponentStr()
86 case Component::INTERPRETER: in GetComponentStr()
88 case Component::DEBUGGER: in GetComponentStr()
90 case Component::COMPILER: in GetComponentStr()
92 case Component::BUILTINS: in GetComponentStr()
[all …]
Dlog.cpp67 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::TRACE; in SetLogComponentFromString()
/arkcompiler/runtime_core/libpandabase/tests/
Dlogger_test.cpp40 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/ets_runtime/test/typeinfer/automatedcases/
DthisIndexOnExistingReadonlyFieldIsNotNever.ts21 declare class Component<P, S = {}> {
28 type AnchorType<P> = Component<P>;
32 AssertType(class CoachMarkAnchor extends Component<CoachMarkAnchorProps<AnchorType<P>> & P, {}> { …
34 AssertType(Component, "Component<CoachMarkAnchorProps<AnchorType<P>> & P, {}>");
35 … return class CoachMarkAnchor extends Component<CoachMarkAnchorProps<AnchorType<P>> & P, {}> {
DintersectionOfTypeVariableHasApparentSignatures.ts21 interface Component<P> {
29 declare function f<T extends Props>(i: Component<T>): void;
DinstantiateContextualTypes.ts50 declare class Component<P> { constructor(props: P); props: P; } class
52 extends Component<Props & BaseProps<Values>> {
169 declare class Component<P> { class
174 new (props: P): Component<P>;
194 class InferFunctionTypes extends Component<{children: (foo: number) => string}> {}
DintersectionThisTypes.ts74 interface Component { interface
78 interface Label extends Component {
DnonNullReferenceMatching.ts32 class Component { class
/arkcompiler/runtime_core/libpandabase/utils/
Dlogger.h56 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 …]
Dlogger.cpp94 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/libpandabase/templates/
Dlogger.rb32 class Component class
61 @components = data.components.map { |op| Component.new(op) }
62 @dfx_components = data.dfx_components.map { |op| Component.new(op) }
Dlogger_impl_gen.inc.erb18 static const char *GetComponentTag(Logger::Component component)
21 if (component == Logger::Component::<%= c.enum %>) {
57 return panda::Logger::ComponentMask().set(Logger::Component::<%= c.enum %>);
Dlogger_enum_gen.h.erb25 enum Component : uint32_t {
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/implementsClause/
Dindex.ts25 class C implements types.Component {}
26 class D implements nestedNamespace.types.Component {}
Dtypes.ts22 export interface Component {}
/arkcompiler/ets_frontend/es2panda/test/hotreload/hotreload-throwerror/modify-class-1/
Dexpected.txt14 …not changed and you are changing UI Component, please only change one Component at a time and make…
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/subclassThisTypeAssignable02/
Dtile1.ts27 tag: Component<Attrs, State>;
30 interface Component<Attrs, State extends Lifecycle<Attrs, State>> { interface
/arkcompiler/runtime_core/disassembler/
Ddisasm.cpp75 panda::Logger::ComponentMask().set(panda::Logger::Component::DISASSEMBLER)); in ProcessArgs()
79 panda::Logger::ComponentMask().set(panda::Logger::Component::DISASSEMBLER)); in ProcessArgs()
83 … panda::Logger::ComponentMask().set(panda::Logger::Component::DISASSEMBLER)); in ProcessArgs()
/arkcompiler/runtime_core/assembler/
Dpandasm.cpp86 component_mask.set(panda::Logger::Component::ASSEMBLER); in PrepareArgs()
87 component_mask.set(panda::Logger::Component::BYTECODE_OPTIMIZER); in PrepareArgs()
91 component_mask.set(panda::Logger::Component::ASSEMBLER); in PrepareArgs()
92 component_mask.set(panda::Logger::Component::BYTECODE_OPTIMIZER); in PrepareArgs()
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp645 const uint32_t COMPONENT_MASK = panda::Logger::Component::ASSEMBLER | in OptimizeProgram()
646 panda::Logger::Component::BYTECODE_OPTIMIZER | in OptimizeProgram()
647 panda::Logger::Component::COMPILER; in OptimizeProgram()
/arkcompiler/ets_frontend/arkguard/
DREADME-cn.md99 @Component struct MyExample {
DREADME.md110 @Component struct MyExample {
/arkcompiler/runtime_core/compiler/tests/
Dunit_test.h301 Logger::EnableComponent(Logger::Component::COMPILER);
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp1452 mask.set(panda::Logger::Component::ASSEMBLER); in EmitProgram()
1453 mask.set(panda::Logger::Component::BYTECODE_OPTIMIZER); in EmitProgram()
1454 mask.set(panda::Logger::Component::COMPILER); in EmitProgram()

12