Home
last modified time | relevance | path

Searched full:mode (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
DCMakeLists.txt27 # MODE "INT" "JIT" "AOT" "LLVMAOT" "JITOSR"
40 set(multiValues OPTIONS IMPL OPTION_SETS_THREADED OPTION_SETS_STACKFUL WORKERS MODE)
67 set(additional_options "--coroutine-js-mode=true")
71 set(additional_options "--coroutine-js-mode=true" "--use-coroutine-pool=true")
82 MODE ${ARG_MODE}
94 MODE "INT" "JIT" "AOT"
103 MODE "INT" "JIT"
111 MODE "INT" "JIT" "AOT"
120 MODE "INT" "JIT"
128 MODE "INT" "JIT"
[all …]
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb17 template<const BytecodeInstMode Mode>
18 constexpr bool BytecodeInst<Mode>::HasId(Format format, size_t idx) {
36 template<const BytecodeInstMode Mode>
37 constexpr bool BytecodeInst<Mode>::HasVReg(Format format, size_t idx) {
55 template<const BytecodeInstMode Mode>
56 constexpr bool BytecodeInst<Mode>::HasImm(Format format, size_t idx) {
74 template<const BytecodeInstMode Mode>
75 constexpr size_t BytecodeInst<Mode>::Size(Format format) { // NOLINTNEXTLINE(readability-function-…
88 template <const BytecodeInstMode Mode>
89 template <typename BytecodeInst<Mode>::Format format, size_t idx /* = 0 */>
[all …]
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dfile.cpp25 static int GetFlags(Mode mode) in GetFlags() argument
27 switch (mode) { in GetFlags()
28 case Mode::READONLY: in GetFlags()
31 case Mode::READWRITE: in GetFlags()
34 case Mode::WRITEONLY: in GetFlags()
37 case Mode::READWRITECREATE: in GetFlags()
47 File Open(std::string_view filename, Mode mode) in Open() argument
52 return File(open(filename.data(), GetFlags(mode), PERM)); in Open()
/arkcompiler/runtime_core/static_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb19 template<const BytecodeInstMode MODE>
20 constexpr bool BytecodeInst<MODE>::HasId(Format format, size_t idx) {
38 template<const BytecodeInstMode MODE>
39 constexpr bool BytecodeInst<MODE>::HasVReg(Format format, size_t idx) {
57 template<const BytecodeInstMode MODE>
58 constexpr bool BytecodeInst<MODE>::HasImm(Format format, size_t idx) {
76 template<const BytecodeInstMode MODE>
77 constexpr size_t BytecodeInst<MODE>::Size(Format format) { // NOLINT(readability-function-size)
91 template<const BytecodeInstMode MODE>
92 constexpr bool BytecodeInst<MODE>::IsVregArgsShort(Format format)
[all …]
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Drun_ohos_sdk_test.sh22 echo "Usage: $0 [--mode <debug|release>]"
33 --mode)
60 local mode=$1
66 echo "\nconsole.log('$mode')" >> "$file"
70 printf "%-20s %-10s\n" "cases" "result ($mode)"
76 local mode=$1
77 if [ "$mode" == "debug" ]; then
79 elif [ "$mode" == "release" ]; then
86 for mode in "${modes[@]}"; do
87 compile_command=$(get_compile_command "$mode")
[all …]
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dfile.cpp26 static int GetFlags(Mode mode) in GetFlags() argument
28 switch (mode) { in GetFlags()
29 case Mode::READONLY: in GetFlags()
32 case Mode::READWRITE: in GetFlags()
35 case Mode::WRITEONLY: in GetFlags()
38 case Mode::READWRITECREATE: in GetFlags()
48 File Open(std::string_view filename, Mode mode) in Open() argument
53 return File(open(filename.data(), GetFlags(mode), perm)); in Open()
/arkcompiler/ets_frontend/ets2panda/linter/src/
DTestRunner.ts44 enum Mode { enum
50 RESULT_EXT[Mode.DEFAULT] = '.json';
51 RESULT_EXT[Mode.AUTOFIX] = '.autofix.json';
61 * Set the IDE mode manually to enable storing information
85 // Run each test in Default and Autofix mode:
105 if (runTest(testDir, tsName, Mode.DEFAULT)) {
111 if (runTest(testDir, tsName, Mode.AUTOFIX)) {
124 function parseArgs(testDir: string, testFile: string, mode: Mode): CommandLineOptions {
137 if (mode === Mode.AUTOFIX) {
144 function compareExpectedAndActual(testDir: string, testFile: string, mode: Mode, resultNodes: TestN…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/
DCMakeLists.txt25 set(singleValues FILE MODE)
43 message(FATAL_ERROR "Mode ${ARG_MODE} is not defined. Available modes: INT/AOT/JIT")
97 add_ets_gc_test(FILE pin_object.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE
98 add_ets_gc_test(FILE get_object_address_test.sts OPTIONS "--gc-trigger-type=debug-never" MODE "INT")
99 …test(FILE space_type_test.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE "INT")
100 …c_test(FILE weak_ref_test.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE "INT")
101 …(FILE concurrent_start_gc.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE "INT")
102 …_test.sts OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
103 …_test.sts OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
104 …ONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" "--gc-use-nth-alloc-trigger=true" MODE "INT")
[all …]
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dfile.cpp30 static int GetFlags(Mode mode) in GetFlags() argument
32 switch (mode) { in GetFlags()
33 case Mode::READONLY: in GetFlags()
36 case Mode::READWRITE: in GetFlags()
39 case Mode::WRITEONLY: in GetFlags()
42 case Mode::READWRITECREATE: in GetFlags()
52 File Open(std::string_view filename, Mode mode) in Open() argument
57 _sopen_s(&fh, filename.data(), GetFlags(mode), _SH_DENYNO, PERM); in Open()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dfile.cpp30 static int GetFlags(Mode mode) in GetFlags() argument
32 switch (mode) { in GetFlags()
33 case Mode::READONLY: in GetFlags()
36 case Mode::READWRITE: in GetFlags()
39 case Mode::WRITEONLY: in GetFlags()
42 case Mode::READWRITECREATE: in GetFlags()
52 File Open(std::string_view filename, Mode mode) in Open() argument
57 _sopen_s(&fh, filename.data(), GetFlags(mode), _SH_DENYNO, PERM); in Open()
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/
Dtask_queue.h113 …* @brief Pops task from task queue with specified execution mode. Operation is thread-safe. The me…
114 …* a new task if queue with specified execution mode is empty and method WaitForQueueEmptyAndFinish…
117 * @param mode - execution mode of task that we want to pop.
119 [[nodiscard]] std::optional<Task> PopTask(TaskExecutionMode mode) override in PopTask() argument
121 if (UNLIKELY(!HasTaskWithExecutionMode(mode))) { in PopTask()
125 if (UNLIKELY(mode != TaskExecutionMode::FOREGROUND)) { in PopTask()
157 * @param mode - Execution mode of task you wast to pop
160 …oHelperThread(const AddTaskToHelperFunc &addTaskFunc, size_t size, TaskExecutionMode mode) override in PopTasksToHelperThread() argument
162 if (!HasTaskWithExecutionMode(mode)) { in PopTasksToHelperThread()
166 if (mode != TaskExecutionMode::FOREGROUND) { in PopTasksToHelperThread()
[all …]
Dschedulable_task_queue_interface.h62 …* @brief Pops task from task queue with specified execution mode. Operation is thread-safe. The me…
63 …* new task if queue with specified execution mode is empty and method WaitForQueueEmptyAndFinish h…
65 * @param mode - execution mode of task that we want to pop.
67 [[nodiscard]] virtual std::optional<Task> PopTask(TaskExecutionMode mode) = 0;
84 * @param mode - Execution mode of task you wast to pop
88 TaskExecutionMode mode) = 0;
/arkcompiler/ets_runtime/ecmascript/
Don_heap.h30 static bool IsNone(OnHeapMode mode) in IsNone() argument
32 return !(mode == OnHeapMode::ON_HEAP || mode == OnHeapMode::NOT_ON_HEAP); in IsNone()
43 static bool ToBoolean(OnHeapMode mode) in ToBoolean() argument
45 ASSERT(!IsNone(mode)); in ToBoolean()
46 return mode == OnHeapMode::ON_HEAP; in ToBoolean()
/arkcompiler/runtime_core/static_core/libpandafile/
Dbytecode_instruction.h219 template <const BytecodeInstMode MODE = BytecodeInstMode::FAST>
222 class BytecodeInst : public BytecodeInstBase<MODE> {
223 using Base = BytecodeInstBase<MODE>;
232 …template <const BytecodeInstMode M = MODE, typename = std::enable_if_t<M == BytecodeInstMode::FAST…
237 …template <const BytecodeInstMode M = MODE, typename = std::enable_if_t<M == BytecodeInstMode::SAFE…
242 template <Format FORMAT, typename EnumT = BytecodeInst<MODE>::Opcode, size_t IDX = 0>
254 template <typename EnumT = BytecodeInst<MODE>::Opcode>
259 template <typename EnumT = BytecodeInst<MODE>::Opcode>
263 template <typename EnumT = BytecodeInst<MODE>::Opcode>
278 template <typename EnumT = BytecodeInst<MODE>::Opcode>
[all …]
Dbytecode_instruction-inl.h24 template <const BytecodeInstMode MODE>
26 inline auto BytecodeInst<MODE>::ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size… in ReadHelper()
48 template <const BytecodeInstMode MODE>
50 inline auto BytecodeInst<MODE>::Read() const in Read()
63 template <const BytecodeInstMode MODE>
65 inline auto BytecodeInst<MODE>::Read64(size_t offset, size_t width) const in Read64()
82 template <const BytecodeInstMode MODE>
84 inline size_t BytecodeInst<MODE>::GetSize() const in GetSize()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump/
Dmain.cpp31 enum class Mode : uint8_t { enum in panda::ecmascript::pgo::Option
53 Mode GetMode() const in GetMode()
79 mode_ = Mode::TO_TEXT; in ParseCommand()
82 mode_ = Mode::TO_BINARY; in ParseCommand()
91 mode_ = Mode::MERGE; in ParseCommand()
96 mode_ = Mode::VERSION_QUERY; in ParseCommand()
134 Mode mode_ { Mode::TO_TEXT };
148 case Option::Mode::VERSION_QUERY: in Main()
151 case Option::Mode::TO_TEXT: { in Main()
160 case Option::Mode::TO_BINARY: { in Main()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dbytecode_instruction-inl.h24 template <const BytecodeInstMode Mode>
26 inline auto BytecodeInst<Mode>::ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size… in ReadHelper()
50 template <const BytecodeInstMode Mode>
52 inline auto BytecodeInst<Mode>::Read() const in Read()
65 template <const BytecodeInstMode Mode>
67 inline auto BytecodeInst<Mode>::Read64(size_t offset, size_t width) const in Read64()
84 template <const BytecodeInstMode Mode>
85 inline size_t BytecodeInst<Mode>::GetSize() const in GetSize()
/arkcompiler/ets_frontend/ets2panda/linter/scripts/
Dupdate-test-results.mjs24 class Mode { class
30 RESULT_EXT[Mode.DEFAULT] = '.json';
31 RESULT_EXT[Mode.AUTOFIX] = '.autofix.json';
72 function updateTest(testDir, testFile, mode) { argument
73 let resultExt = RESULT_EXT[mode];
78 if (mode === Mode.AUTOFIX && fs.existsSync(path.join(testDir, testFile + AUTOFIX_SKIP_EXT))) {
118 updateTest(testDir, testFile, Mode.DEFAULT);
119 updateTest(testDir, testFile, Mode.AUTOFIX);
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DDataView.sts.j280 {%- for mode in ["Int", "Uint", "Float"] %}
81 {%- if mode != "Float" or bit >= 32 %}
82 // === {{mode}}{{bit}} ===
87 {%- if mode == "Float" %}
90 {%- elif mode == "Int" %}
92 {%- elif mode == "Uint" %}
95 … {%- set methodName = ('Big' if bit == 64 and mode != 'Float' else '') + mode + '{}'.format(bit) %}
195 {%- set resType = type2nameBits[bit] if mode == "Float" else type2name[bit] %}
203 {%- if bit == 32 and mode == "Float" %}
205 {%- elif bit == 64 and mode == "Float" %}
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dclass_initializer.cpp34 template <MTModeT MODE>
44 /// The "TASK" multithreading mode implies that M coroutines are running on N worker threads
86 template <MTModeT MODE>
200 template <MTModeT MODE>
201 bool ClassInitializer<MODE>::Initialize(ClassLinker *classLinker, ManagedThread *thread, Class *kla… in Initialize()
208 … [[maybe_unused]] typename ClassInitGuard<MODE>::Guard guard(thread->GetVM()->GetThreadManager()); in Initialize()
210 using ObjectLockT = typename ObjectLockConfig<MODE>::LockT; in Initialize()
231 if constexpr (MODE == MT_MODE_TASK) { in Initialize()
241 if constexpr ((MODE == MT_MODE_MULTI) || (MODE == MT_MODE_TASK)) { in Initialize()
248 if constexpr (MODE == MT_MODE_TASK) { in Initialize()
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dpaoc.md4 There are four [modes](#--paoc-mode) of `paoc`:
5 1. `AOT-mode` (default) - compile the files using Ark AOT Compiler and produce an executable;
6 1. `LLVM-mode` - compile the files using LLVM AOT Compiler and produce an executable;
7 …1. `JIT-mode` - only run compiler (IR builder, optimizations) without generating an executable. Th…
8 …1. `OSR-mode` - similiar to `JIT-mode`. Takes into account differences of [OSR](../../docs/on-stac…
26 #### `--paoc-mode`
28 - A string that specifies paoc's mode.
/arkcompiler/ets_runtime/script/
Dgen_expect_output.sh15 MODE=$1
16 if [ $# -ne 3 ] || ([ $MODE != "pgo" ] && [ $MODE != "aot" ]); then
26 grep -Po "//($MODE)?: \K.*$" $INPUT >> $OUTPUT
/arkcompiler/ets_runtime/ecmascript/platform/unix/ohos/
Ddirectory.cpp31 mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in SetDirModeAsDefault() local
32 return OHOS::ChangeModeDirectory(path, mode); in SetDirModeAsDefault()
37 mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in SetFileModeAsDefault() local
38 return OHOS::ChangeModeFile(filename, mode); in SetFileModeAsDefault()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/containers/
DCMakeLists.txt27 # MODE "INT" "JIT" "AOT" "LLVMAOT" "JITOSR"
34 set(multiValues OPTIONS IMPL OPTION_SETS_THREADED OPTION_SETS_STACKFUL WORKERS MODE)
61 set(additional_options "--coroutine-js-mode=true")
65 set(additional_options "--coroutine-js-mode=true" "--use-coroutine-pool=true")
74 MODE ${ARG_MODE}
88 MODE "INT" "JIT" "AOT"
/arkcompiler/runtime_core/static_core/compiler/cmake/
Dbenchmark_coverage.cmake34 …y-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} --target-arch=arm64 --paoc-mode=aot 2>/dev/null
39 …y-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} --target-arch=arm64 --paoc-mode=jit 2>/dev/null
44 …y-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} --target-arch=arm64 --paoc-mode=osr 2>/dev/null
49 …-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} --target-arch=x86_64 --paoc-mode=jit 2>/dev/null
54 …-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} --target-arch=x86_64 --paoc-mode=aot 2>/dev/null
60 …age.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} --target-arch=arm --paoc-mode=jit

12345678910>>...23