Home
last modified time | relevance | path

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

12345678910>>...39

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
DCMakeLists.txt28 # MODE "INT" "JIT" "AOT" "LLVMAOT" "JITOSR"
41 set(multiValues OPTIONS IMPL OPTION_SETS_THREADED OPTION_SETS_STACKFUL WORKERS MODE)
85 MODE ${ARG_MODE}
98 MODE "INT" "JIT" "AOT"
107 MODE "INT" "JIT" "AOT"
115 MODE "INT" "JIT" "AOT"
123 MODE "INT" "JIT" "AOT"
132 MODE "INT" "JIT"
140 MODE "INT" "JIT"
148 MODE "INT" "JIT"
[all …]
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/
Dstandalone_cp_libs_for_interop_tests.sh17 MODE=$1
31 if [[ "${MODE}" != "release" && "${MODE}" != "debug" && "${MODE}" != "fastverify" ]]; then
32 …echo "Error: 'MODE' parameter must be passed with one of the following values: 'release', 'debug' …
33 echo "Current 'MODE' value is \"$MODE\""
45 "$ARK_STANDALONE_ROOT/out/x64.$MODE/arkui/napi/libace_napi.so"
46 "$ARK_STANDALONE_ROOT/out/x64.$MODE/arkcompiler/ets_runtime/libark_jsruntime.so"
47 "$ARK_STANDALONE_ROOT/out/x64.$MODE/thirdparty/libuv/libuv.so"
48 "$ARK_STANDALONE_ROOT/out/x64.$MODE/thirdparty/icu/libhmicui18n.so"
49 "$ARK_STANDALONE_ROOT/out/x64.$MODE/thirdparty/bounds_checking_function/libsec_shared.so"
50 "$ARK_STANDALONE_ROOT/out/x64.$MODE/thirdparty/icu/libhmicuuc.so"
[all …]
/arkcompiler/runtime_core/libabckit/tests/wrong_mode_tests/
Dwrong_mode_tests_IsaApiDynamicImpl_1.cpp34 // abc-kind=NoABC, category=negative-mode, extension=c
41 // abc-kind=NoABC, category=negative-mode, extension=c
48 // abc-kind=NoABC, category=negative-mode, extension=c
55 // abc-kind=NoABC, category=negative-mode, extension=c
62 // abc-kind=NoABC, category=negative-mode, extension=c
69 // abc-kind=NoABC, category=negative-mode, extension=c
76 // abc-kind=NoABC, category=negative-mode, extension=c
83 // abc-kind=NoABC, category=negative-mode, extension=c
90 // abc-kind=NoABC, category=negative-mode, extension=c
97 // abc-kind=NoABC, category=negative-mode, extension=c
[all …]
Dwrong_mode_tests_IsaApiDynamicImpl_0.cpp34 // abc-kind=NoABC, category=negative-mode, extension=c
41 // abc-kind=NoABC, category=negative-mode, extension=c
48 // abc-kind=NoABC, category=negative-mode, extension=c
55 // abc-kind=NoABC, category=negative-mode, extension=c
62 // abc-kind=NoABC, category=negative-mode, extension=c
69 // abc-kind=NoABC, category=negative-mode, extension=c
76 // abc-kind=NoABC, category=negative-mode, extension=c
83 // abc-kind=NoABC, category=negative-mode, extension=c
90 // abc-kind=NoABC, category=negative-mode, extension=c
97 // abc-kind=NoABC, category=negative-mode, extension=c
[all …]
Dwrong_mode_tests_IsaApiStaticImpl_0.cpp34 // abc-kind=NoABC, category=negative-mode, extension=c
41 // abc-kind=NoABC, category=negative-mode, extension=c
48 // abc-kind=NoABC, category=negative-mode, extension=c
55 // abc-kind=NoABC, category=negative-mode, extension=c
62 // abc-kind=NoABC, category=negative-mode, extension=c
69 // abc-kind=NoABC, category=negative-mode, extension=c
76 // abc-kind=NoABC, category=negative-mode, extension=c
83 // abc-kind=NoABC, category=negative-mode, extension=c
90 // abc-kind=NoABC, category=negative-mode, extension=c
97 // abc-kind=NoABC, category=negative-mode, extension=c
[all …]
/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()
35 static bool IsOnHeap(OnHeapMode mode) in IsOnHeap() argument
37 return mode == OnHeapMode::ON_HEAP; in IsOnHeap()
40 static bool IsNotOnHeap(OnHeapMode mode) in IsNotOnHeap() argument
42 return mode == OnHeapMode::NOT_ON_HEAP; in IsNotOnHeap()
53 static bool ToBoolean(OnHeapMode mode) in ToBoolean() argument
55 ASSERT(!IsNone(mode)); in ToBoolean()
56 return mode == OnHeapMode::ON_HEAP; in ToBoolean()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dfile.cpp22 static int GetFlags(Mode mode) in GetFlags() argument
24 switch (mode) { in GetFlags()
25 case Mode::READONLY: in GetFlags()
28 case Mode::READWRITE: in GetFlags()
31 case Mode::WRITEONLY: in GetFlags()
34 case Mode::READWRITECREATE: in GetFlags()
44 File Open(std::string_view filename, Mode mode) in Open() argument
49 return File(open(filename.data(), GetFlags(mode), PERM)); in Open()
/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/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/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/ets2panda/linter/src/testRunner/
DTestArgs.ts29 * Common arguments applied to each test mode. Will be overriden
30 * by arguments specified for a certain mode.
35 * Specifies the test modes. If omitted, test will run only in 'default' mode.
37 * To 'enable' a certain mode for a test, specify corresponding property
38 * in the 'mode' property. Each mode creates additional test result file
41 * Additional arguments may be provided to a certain mode with a string value.
44 mode?: { property
48 * for default mode. Test will run in default mode regardless
54 * Enables 'autofix' mode, runs test with '--autofix' option.
60 * Enables 'ArkTS 2.0' mode, runs test with '--arkts-2' option.
[all …]
DTestFactory.ts56 if (testArgs.mode) {
57 for (const mode of Object.keys(testArgs.mode)) { constant
58 const testModeProps = testModePropsMap.get(mode);
60 throw new Error(`Failed to create test. Unknown mode: '${mode}'`);
62 const testModeArgs: string | undefined = testArgs.mode[mode]; constant
71 if (testArgs.mode?.default === undefined) {
72 // For convenience, always add 'default' mode as first
73 testArgs.mode = Object.assign({ default: '' }, testArgs.mode);
79 if (createTestOpts.testModeProps.mode === TestMode.MIGRATE) {
93 * - [test_args_file] --> the arguments specified for a mode;
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/scripts/
Dupdate-test-results.mjs24 class Mode { class
32 LINT_RESULT_EXT[Mode.DEFAULT] = '.json';
33 LINT_RESULT_EXT[Mode.AUTOFIX] = '.autofix.json';
34 LINT_RESULT_EXT[Mode.ARKTS2] = '.arkts2.json';
35 LINT_RESULT_EXT[Mode.MIGRATE] = '.migrate.json';
78 let testModes = [Mode.DEFAULT];
83 if (testArgs?.mode?.autofix !== undefined) testModes.push(Mode.AUTOFIX);
84 if (testArgs?.mode?.arkts2 !== undefined) testModes.push(Mode.ARKTS2);
85 if (testArgs?.mode?.migrate !== undefined) testModes.push(Mode.MIGRATE);
88 for (const mode of testModes) {
[all …]
/arkcompiler/runtime_core/libabckit/src/
Disa_dynamic_impl_instr_2.cpp39 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLoadString()
51 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdnan()
63 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdinfinity()
75 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdundefined()
87 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdnull()
99 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdsymbol()
111 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdglobal()
123 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdtrue()
135 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdfalse()
147 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICLdhole()
[all …]
Disa_dynamic_impl_instr_1.cpp30 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICThrowConstassignment()
44 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICThrowIfnotobject()
60 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICThrowUndefinedifhole()
74 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICThrowIfsupernotcorrectcall()
90 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICThrowUndefinedifholewithname()
104 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICCallarg0()
120 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICCallarg1()
139 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICCallargs2()
160 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICCallargs3()
173 LIBABCKIT_WRONG_MODE(graph, Mode::DYNAMIC, nullptr); in IcreateDYNAMICCallrange()
[all …]
Disa_static_impl.cpp45 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateCmp()
58 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateLoadString()
73 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateReturn()
95 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateIf()
110 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateNeg()
124 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateNot()
139 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateAdd()
154 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateSub()
170 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateMul()
186 LIBABCKIT_WRONG_MODE(graph, Mode::STATIC, nullptr); in IcreateDiv()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/interop_js/
D99_backlog_features_recheck.rst23 Strict mode
26 You can declare the strict mode by adding ``'use strict';`` or ``"use strict";`` at the beginning o…
28 A complete program may be composed of both strict mode and non-strict mode source text units.
30 * Strict mode for scripts
35 // Whole-script strict mode syntax
37 const v = "Hi! I'm a strict mode script!";
39 * Strict mode for functions
45 // Function-level strict mode syntax
50 return `Hi! I'm a strict mode function! ${nested()}`;
59 * Strict mode for modules
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/concurrency/
DAsyncLock.ets65 * @param { AsyncLockMode } mode - mode of the lock operation.
68 public lockAsync<T>(callback: AsyncLockCallback<T>, mode: AsyncLockMode): Promise<T> {
69 return this.lockAsync(callback, mode, new AsyncLockOptions());
82 * @param { AsyncLockMode } mode - mode of the lock operation.
87 …public lockAsync<T, U>(callback: AsyncLockCallback<T>, mode: AsyncLockMode, options: AsyncLockOpti…
89 let asyncLockInfo = new AsyncLockInfo(this.name, mode, callerCID);
91 … let wrapped = (l: AsyncLock) => { return l.wrapper<T, U>(callback, callerCID, mode, options); }
92 if (this.canAcquireLock(mode, callerCID, asyncLockInfo)) {
103 …private canAcquireLock<T>(mode: AsyncLockMode, callerCID: int, asyncLockInfo: AsyncLockInfo) : boo…
106 if (this.holderCID == 0 && this.mode == AsyncLockMode.UNLOCKED) {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/
DCMakeLists.txt25 set(singleValues FILE MODE TIMEOUT_CMD TIMEOUT_TIME)
44 message(FATAL_ERROR "Mode ${ARG_MODE} is not defined. Available modes: INT/AOT/JIT")
98 add_ets_gc_test(FILE pin_object.ets OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE
100 …address_test.ets OPTIONS "--gc-trigger-type=debug-never" "--profilesaver-enabled=false" MODE "INT")
101 …test(FILE space_type_test.ets OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE "INT")
103 …in-place" "--max-free=1" "--gc-trigger-type=debug-never" "--profilesaver-enabled=false" MODE "INT")
104 …(FILE concurrent_start_gc.ets OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE "INT")
105 …_test.ets OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
106 …_test.ets OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
107 …coros.ets OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/modules/
DCMakeLists.txt137 "--verification-mode=on-the-fly"
278 … run_sts_app_mode(${TARGET}-run-sts-app-mode ${WORK_DIR} "@app.module1.MainAbility" "${ABC_FILES}"
282 add_dependencies(${TARGET}-run-sts-app-mode ${TARGET}-app)
287 DEPENDS ${TARGET}-run-sts-app-mode
306 … run_sts_app_mode(${TARGET}-run-sts-app-mode ${WORK_DIR} "@app.module1.MainAbility" "${ABC_FILES}"
309 add_dependencies(${TARGET}-run-sts-app-mode ${TARGET}-app ${TARGET_INCOMPATIBLE_FOO})
314 DEPENDS ${TARGET}-run-sts-app-mode
324 …run_sts_app_mode(${TARGET}-extends-final-run-sts-app-mode ${WORK_DIR} "@app.module4.MainAbility" "…
326 add_dependencies(${TARGET}-extends-final-run-sts-app-mode ${TARGET}-app)
329 DEPENDS ${TARGET}-extends-final-run-sts-app-mode
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ani/docs/
Dani_protection.md6 - **Fast mode** - no protection
7 - **Security mode** - validate argument types passed to ANI API
8 - **Strong security mode** - validate argument types passed to ANI API, protect an invalid pointer …
9 - **Micro-service mode** - executing the native code in another process
11 …VM |Fast mode|Security mode|Strong security mode|Micro-servi…
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp-inl.h52 template <RBMode mode>
60 JSTaggedValue pattern = regexpObj->GetOriginalSource<mode>(thread); in FindCachedResult()
61 JSTaggedValue flags = regexpObj->GetOriginalFlags<mode>(thread); in FindCachedResult()
70 … if (!Match<mode>(thread, entry, pattern, flags, inputValue, lastIndexInput, extendValue, type)) { in FindCachedResult()
72 … if (!Match<mode>(thread, entry2, pattern, flags, inputValue, lastIndexInput, extendValue, type)) { in FindCachedResult()
81 JSTaggedValue cachedStr = Get<mode>(thread, index + INPUT_STRING_INDEX); in FindCachedResult()
88 result = Get<mode>(thread, index + RESULT_REPLACE_INDEX); in FindCachedResult()
91 result = Get<mode>(thread, index + RESULT_SPLIT_INDEX); in FindCachedResult()
94 result = Get<mode>(thread, index + RESULT_MATCH_INDEX); in FindCachedResult()
97 result = Get<mode>(thread, index + RESULT_EXEC_INDEX); in FindCachedResult()
[all …]
/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/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()

12345678910>>...39