/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi.cpp | 23 #include "ecmascript/base/json_parser.h" 24 #include "ecmascript/base/json_stringifier.h" 25 #include "ecmascript/base/typed_array_helper-inl.h" 26 #include "ecmascript/builtins/builtins_object.h" 28 #include "ecmascript/dfx/cpu_profiler/cpu_profiler.h" 30 #include "ecmascript/checkpoint/thread_state_transition.h" 31 #include "ecmascript/interpreter/fast_runtime_stub-inl.h" 32 #include "ecmascript/js_generator_object.h" 33 #include "ecmascript/js_regexp.h" 34 #include "ecmascript/modul [all...] |
H A D | jsnapi_expo.cpp | 20 #include "ecmascript/base/json_stringifier.h" 21 #include "ecmascript/base/typed_array_helper-inl.h" 22 #include "ecmascript/builtins/builtins_object.h" 23 #include "ecmascript/pgo_profiler/pgo_profiler_manager.h" 25 #include "ecmascript/dfx/cpu_profiler/cpu_profiler.h" 27 #include "ecmascript/checkpoint/thread_state_transition.h" 28 #include "ecmascript/ecma_global_storage.h" 29 #include "ecmascript/interpreter/fast_runtime_stub-inl.h" 30 #include "ecmascript/interpreter/interpreter_assembly.h" 31 #include "ecmascript/jsnapi_sendabl [all...] |
H A D | jsnapi_helper.h | 19 #include "ecmascript/ecma_runtime_call_info.h" 20 #include "ecmascript/js_handle.h" 21 #include "ecmascript/js_tagged_value.h" 22 #include "ecmascript/napi/include/jsnapi.h" 144 static inline Local<T> ToLocal(ecmascript::JSHandle<ecmascript::JSTaggedValue> from) in ToLocal() 149 static inline ecmascript::JSTaggedValue ToJSTaggedValue(JSValueRef *from) in ToJSTaggedValue() 152 return *reinterpret_cast<ecmascript::JSTaggedValue *>(from); in ToJSTaggedValue() 155 static inline ecmascript::JSMutableHandle<ecmascript [all...] |
H A D | dfx_jsnapi.cpp | 17 #include "ecmascript/napi/include/dfx_jsnapi.h" 19 #include "ecmascript/base/block_hook_scope.h" 20 #include "ecmascript/builtins/builtins_ark_tools.h" 21 #include "ecmascript/checkpoint/thread_state_transition.h" 22 #include "ecmascript/debugger/debugger_api.h" 23 #include "ecmascript/debugger/js_debugger_manager.h" 24 #include "ecmascript/dfx/stackinfo/js_stackinfo.h" 25 #include "ecmascript/dfx/tracing/tracing.h" 26 #include "ecmascript/mem/heap-inl.h" 27 #include "ecmascript/ji [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | constant_folding_test.cpp | 15 #include "ecmascript/compiler/bytecodes.h" 16 #include "ecmascript/compiler/circuit_builder.h" 17 #include "ecmascript/compiler/constant_folding.h" 18 #include "ecmascript/compiler/gate_accessor.h" 19 #include "ecmascript/compiler/graph_editor.h" 20 #include "ecmascript/compiler/pass.h" 21 #include "ecmascript/compiler/share_opcodes.h" 22 #include "ecmascript/compiler/stub_builder.h" 23 #include "ecmascript/compiler/type.h" 24 #include "ecmascript/compile [all...] |
H A D | combined_pass_visitor_test.cpp | 16 #include "ecmascript/compiler/combined_pass_visitor.h" 17 #include "ecmascript/compiler/dead_code_elimination.h" 18 #include "ecmascript/compiler/early_elimination.h" 19 #include "ecmascript/compiler/later_elimination.h" 20 #include "ecmascript/compiler/verifier.h" 21 #include "ecmascript/tests/test_helper.h" 26 using ecmascript::kungfu::Chunk; 27 using ecmascript::kungfu::CombinedPassVisitor; 28 using ecmascript::kungfu::Circuit; 29 using ecmascript [all...] |
H A D | meta_data_equal_test.cpp | 15 #include "ecmascript/compiler/gate_accessor.h" 16 #include "ecmascript/compiler/share_opcodes.h" 17 #include "ecmascript/compiler/verifier.h" 18 #include "ecmascript/compiler/typed_bytecode_lowering.h" 19 #include "ecmascript/compiler/typed_hcr_lowering.h" 20 #include "ecmascript/pgo_profiler/types/pgo_profiler_type.h" 21 #include "ecmascript/elements.h" 22 #include "ecmascript/mem/concurrent_marker.h" 23 #include "ecmascript/mem/native_area_allocator.h" 24 #include "ecmascript/test [all...] |
H A D | loop_optimization_test.cpp | 15 #include "ecmascript/compiler/bytecodes.h" 16 #include "ecmascript/compiler/circuit_builder.h" 17 #include "ecmascript/compiler/early_elimination.h" 18 #include "ecmascript/compiler/gate_accessor.h" 19 #include "ecmascript/compiler/graph_editor.h" 20 #include "ecmascript/compiler/loop_analysis.h" 21 #include "ecmascript/compiler/loop_peeling.h" 22 #include "ecmascript/compiler/pass.h" 23 #include "ecmascript/compiler/stub_builder.h" 24 #include "ecmascript/compile [all...] |
H A D | global_value_numbering_test.cpp | 15 #include "ecmascript/compiler/gate_accessor.h" 16 #include "ecmascript/compiler/pass.h" 17 #include "ecmascript/compiler/share_gate_meta_data.h" 18 #include "ecmascript/compiler/share_opcodes.h" 19 #include "ecmascript/compiler/value_numbering.h" 20 #include "ecmascript/compiler/verifier.h" 21 #include "ecmascript/compiler/typed_bytecode_lowering.h" 22 #include "ecmascript/compiler/typed_hcr_lowering.h" 23 #include "ecmascript/elements.h" 24 #include "ecmascript/me [all...] |
H A D | dead_code_elimination_test.cpp | 16 #include "ecmascript/compiler/combined_pass_visitor.h" 17 #include "ecmascript/compiler/dead_code_elimination.h" 18 #include "ecmascript/compiler/verifier.h" 19 #include "ecmascript/tests/test_helper.h" 24 using ecmascript::kungfu::Chunk; 25 using ecmascript::kungfu::CombinedPassVisitor; 26 using ecmascript::kungfu::Circuit; 27 using ecmascript::kungfu::CircuitBuilder; 28 using ecmascript::kungfu::DeadCodeElimination; 29 using ecmascript [all...] |
H A D | typed_array_lowering_test.cpp | 15 #include "ecmascript/compiler/gate_accessor.h" 16 #include "ecmascript/compiler/type.h" 17 #include "ecmascript/compiler/verifier.h" 18 #include "ecmascript/compiler/typed_bytecode_lowering.h" 19 #include "ecmascript/compiler/typed_hcr_lowering.h" 20 #include "ecmascript/mem/chunk.h" 21 #include "ecmascript/mem/native_area_allocator.h" 22 #include "ecmascript/tests/test_helper.h" 29 using ecmascript::kungfu::Circuit; 30 using ecmascript [all...] |
H A D | instruction_combine_test.cpp | 15 #include "ecmascript/compiler/bytecodes.h" 16 #include "ecmascript/compiler/circuit.h" 17 #include "ecmascript/compiler/gate_accessor.h" 18 #include "ecmascript/compiler/lcr_gate_meta_data.h" 19 #include "ecmascript/compiler/pass.h" 20 #include "ecmascript/compiler/share_gate_meta_data.h" 21 #include "ecmascript/compiler/share_opcodes.h" 22 #include "ecmascript/compiler/instruction_combine.h" 23 #include "ecmascript/compiler/verifier.h" 24 #include "ecmascript/compile [all...] |
H A D | aot_version_test.cpp | 15 #include "ecmascript/tests/test_helper.h" 17 #include "ecmascript/compiler/aot_file/aot_version.h" 20 using FileHeaderBase = panda::ecmascript::base::FileHeaderBase; 36 int32_t ret = panda::ecmascript::GetAOTVersion(version); in HWTEST_F_L0() 37 std::string aotVersionActual = panda::ecmascript::AOTFileVersion::GetAOTVersion(); in HWTEST_F_L0() 38 EXPECT_EQ(version.size(), FileHeaderBase::VERSION_SIZE * ecmascript::AOTFileVersion::VERSION_MULTIPLE_SIZE - 1); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_date_test.cpp | 16 #include "ecmascript/ecma_vm.h" 17 #include "ecmascript/global_env.h" 18 #include "ecmascript/js_date.h" 19 #include "ecmascript/js_function.h" 20 #include "ecmascript/js_handle.h" 21 #include "ecmascript/tests/test_helper.h" 23 using namespace panda::ecmascript; 55 double const day1 = ecmascript::JSDate::MakeDay(0, 11, 31); in HWTEST_F_L0() 56 double const time1 = ecmascript::JSDate::MakeTime(0, 0, 0, 0); in HWTEST_F_L0() 57 double ms1 = ecmascript in HWTEST_F_L0() [all...] |
H A D | test_helper.h | 19 #include "ecmascript/interpreter/interpreter.h" 20 #include "ecmascript/ecma_runtime_call_info.h" 21 #include "ecmascript/ecma_string-inl.h" 22 #include "ecmascript/ecma_vm.h" 23 #include "ecmascript/js_function.h" 24 #include "ecmascript/js_handle.h" 25 #include "ecmascript/js_thread.h" 26 #include "ecmascript/mem/mem_common.h" 27 #include "ecmascript/napi/include/jsnapi.h" 28 #include "ecmascript/object_factor [all...] |
H A D | huge_object_test.cpp | 15 #include "ecmascript/ecma_vm.h" 16 #include "ecmascript/global_env.h" 17 #include "ecmascript/js_handle.h" 18 #include "ecmascript/mem/space.h" 19 #include "ecmascript/mem/verification.h" 20 #include "ecmascript/object_factory.h" 21 #include "ecmascript/tagged_array-inl.h" 22 #include "ecmascript/tests/ecma_test_common.h" 24 using namespace panda::ecmascript; 39 [[maybe_unused]] ecmascript in LargeArrayTestCreate() [all...] |
/arkcompiler/ets_runtime/ecmascript/ohos/tests/ |
H A D | crash_test.cpp | 24 #include "ecmascript/napi/include/jsnapi.h" 25 #include "ecmascript/ohos/aot_runtime_info.h" 26 #include "ecmascript/ohos/tests/mock/mock_aot_runtime_info.h" 27 #include "ecmascript/platform/aot_crash_info.h" 28 #include "ecmascript/platform/file.h" 29 #include "ecmascript/tests/test_helper.h" 32 using namespace panda::ecmascript; 33 using namespace panda::ecmascript::kungfu; 87 runtimeInfo->BuildCrashRuntimeInfo(ecmascript::ohos::RuntimeInfoType::AOT_CRASH); in HWTEST_F_L0() 88 runtimeInfo->BuildCrashRuntimeInfo(ecmascript in HWTEST_F_L0() [all...] |
/arkcompiler/toolchain/tooling/ |
H A D | debugger_service.h | 24 namespace panda::ecmascript { namespace in panda 26 } // namespace panda::ecmascript 28 namespace panda::ecmascript::tooling { 35 TOOLCHAIN_EXPORT void InitializeDebugger(::panda::ecmascript::EcmaVM *vm, 38 TOOLCHAIN_EXPORT void UninitializeDebugger(::panda::ecmascript::EcmaVM *vm); 40 TOOLCHAIN_EXPORT void OnMessage(const ::panda::ecmascript::EcmaVM *vm, std::string &&message); 42 TOOLCHAIN_EXPORT void WaitForDebugger(const ::panda::ecmascript::EcmaVM *vm); 44 TOOLCHAIN_EXPORT void ProcessMessage(const ::panda::ecmascript::EcmaVM *vm); 46 TOOLCHAIN_EXPORT int32_t GetDispatchStatus(const ::panda::ecmascript::EcmaVM *vm); 53 } // panda::ecmascript [all...] |
H A D | debugger_service.cpp | 20 #include "ecmascript/debugger/js_debugger_manager.h" 21 #include "ecmascript/ecma_vm.h" 23 namespace panda::ecmascript::tooling { 24 void InitializeDebugger(::panda::ecmascript::EcmaVM *vm, in InitializeDebugger() 39 void UninitializeDebugger(::panda::ecmascript::EcmaVM *vm) in UninitializeDebugger() 50 void WaitForDebugger(const ::panda::ecmascript::EcmaVM *vm) in WaitForDebugger() 62 void OnMessage(const ::panda::ecmascript::EcmaVM *vm, std::string &&message) in OnMessage() 74 void ProcessMessage(const ::panda::ecmascript::EcmaVM *vm) in ProcessMessage() 86 int32_t GetDispatchStatus(const ::panda::ecmascript::EcmaVM *vm) in GetDispatchStatus() 98 } // namespace panda::ecmascript in GetDispatchStatus() [all...] |
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | c_string.h | 23 #include "ecmascript/common.h" 24 #include "ecmascript/mem/caddress_allocator.h" 26 namespace panda::ecmascript { namespace in panda 35 using argument_type = panda::ecmascript::CString; 60 CString PUBLIC_API ConvertToString(const ecmascript::EcmaString *s, 62 CString ConvertToString(ecmascript::JSTaggedValue key); 94 } // namespace panda::ecmascript 98 struct hash<panda::ecmascript::CString> { 99 using argument_type = panda::ecmascript::CStringHash::argument_type; 100 using result_type = panda::ecmascript [all...] |
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | dfx_jsnapi.h | 26 #include "ecmascript/common.h" 27 #include "ecmascript/dfx/hprof/file_stream.h" 28 #include "ecmascript/dfx/hprof/heap_profiler_interface.h" 33 namespace ecmascript { namespace 46 using EcmaVM = ecmascript::EcmaVM; 47 using Stream = ecmascript::Stream; 48 using Progress = ecmascript::Progress; 49 using ProfileInfo = ecmascript::ProfileInfo; 50 using JsFrameInfo = ecmascript::JsFrameInfo; 51 using SamplingInfo = ecmascript [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | aot_version.cpp | 16 #include "ecmascript/compiler/aot_file/aot_version.h" 18 namespace panda::ecmascript { namespace in panda 19 using FileHeaderBase = panda::ecmascript::base::FileHeaderBase; 22 aotVersion = panda::ecmascript::AOTFileVersion::GetAOTVersion(); in GetAOTVersion() 28 }; // namespace panda::ecmascript
|
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/ark_hz/ |
H A D | ark_js_runtime.cpp | 20 #include "ecmascript/base/string_helper.h" 21 #include "ecmascript/napi/include/jsnapi.h" 29 return ecmascript::COMMON_HELP_HEAD_MSG + ecmascript::HELP_OPTION_MSG; in GetHelper() 40 if (!ecmascript::base::StringHelper::EndsWith(files, ".abc")) { in ProcessOptions() 52 *filenames = ecmascript::base::StringHelper::SplitString(files, ":"); in ProcessOptions()
|
/arkcompiler/toolchain/tooling/client/manager/ |
H A D | stack_manager.h | 26 using PtJson = panda::ecmascript::tooling::PtJson; 27 using Result = panda::ecmascript::tooling::Result; 28 using CallFrame = panda::ecmascript::tooling::CallFrame; 29 using Scope = panda::ecmascript::tooling::Scope;
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | log.h | 23 #include "ecmascript/common.h" 24 #include "ecmascript/napi/include/jsnapi.h" 67 namespace panda::ecmascript { namespace in panda 101 return "[ecmascript] "; in GetComponentStr() 228 #define ARK_LOG(level, component) panda::ecmascript::Log::LogIsLoggable(level, component) && \ 229 panda::ecmascript::HiLog<LOG_##level, (component)>() 231 #define ARK_LOG(level, component) panda::ecmascript::AndroidLog<(level)>() 234 #define ARK_LOG(level, component) ((level >= INFO) || panda::ecmascript::Log::LogIsLoggable(level, component)) && \ 235 panda::ecmascript::StdLog<(level), (component)>() 237 #define ARK_LOG(level, component) panda::ecmascript [all...] |