Home
last modified time | relevance | path

Searched full:work (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/arkcompiler/runtime_core/static_core/plugins/ets/tests/libani_helpers/tests/async_work/
Dasync_work_test.cpp66 AsyncWork *work = nullptr; in TEST_F() local
67 …ASSERT_EQ(CreateAsyncWork(nullptr, OnExecStub, OnCompleteStub, nullptr, &work), WorkStatus::INVALI… in TEST_F()
68 …ASSERT_EQ(CreateAsyncWork(env_, nullptr, OnCompleteStub, nullptr, &work), WorkStatus::INVALID_ARGS… in TEST_F()
69 ASSERT_EQ(CreateAsyncWork(env_, OnExecStub, nullptr, nullptr, &work), WorkStatus::INVALID_ARGS); in TEST_F()
75 AsyncWork *work = nullptr; in TEST_F() local
76 ASSERT_EQ(CreateAsyncWork(env_, OnExecStub, OnCompleteStub, nullptr, &work), WorkStatus::OK); in TEST_F()
77 ASSERT_NE(work, nullptr); in TEST_F()
79 ASSERT_EQ(QueueAsyncWork(nullptr, work), WorkStatus::INVALID_ARGS); in TEST_F()
82 ASSERT_EQ(DeleteAsyncWork(env_, work), WorkStatus::OK); in TEST_F()
87 AsyncWork *work = nullptr; in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/toolchain/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/jsvm/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/ets_runtime/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/runtime_core/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/ets_frontend/ets2panda/
DLICENSE.txt36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/
DLICENSE35 "Work" shall mean the work of authorship, whether in Source or
37 copyright notice that is included in or attached to the work
40 "Derivative Works" shall mean any work, whether in Source or Object
41 form, that is based on (or derived from) the Work and for which the
43 represent, as a whole, an original work of authorship. For the purposes
46 the Work and Derivative Works thereof.
48 "Contribution" shall mean any work of authorship, including
49 the original version of the Work and any modifications or additions
50 to that Work or Derivative Works thereof, that is intentionally
51 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/homecheck/
DLICENSE35 "Work" shall mean the work of authorship, whether in Source or
37 copyright notice that is included in or attached to the work
40 "Derivative Works" shall mean any work, whether in Source or Object
41 form, that is based on (or derived from) the Work and for which the
43 represent, as a whole, an original work of authorship. For the purposes
46 the Work and Derivative Works thereof.
48 "Contribution" shall mean any work of authorship, including
49 the original version of the Work and any modifications or additions
50 to that Work or Derivative Works thereof, that is intentionally
51 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/ets_frontend/arkguard/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/ets_frontend/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
44 represent, as a whole, an original work of authorship. For the purposes
47 the Work and Derivative Works thereof.
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/libani_helpers/
Dconcurrency_helpers.cpp43 AsyncWork *CastWork(void *work) in CastWork() argument
45 return reinterpret_cast<AsyncWork *>(work); in CastWork()
94 WorkStatus QueueAsyncWork(ani_env *env, AsyncWork *work) in QueueAsyncWork() argument
97 CHECK_PTR_ARG(work); in QueueAsyncWork()
100 if (!work->status.compare_exchange_strong(initial, QUEUED)) { in QueueAsyncWork()
110 reinterpret_cast<int64_t>(CompleteCallbackInternal), work); in QueueAsyncWork()
115 WorkStatus CancelAsyncWork(ani_env *env, AsyncWork *work) in CancelAsyncWork() argument
118 CHECK_PTR_ARG(work); in CancelAsyncWork()
121 if (!work->status.compare_exchange_strong(prevState, CANCELED)) { in CancelAsyncWork()
123 if (!work->status.compare_exchange_strong(prevState, CANCELED)) { in CancelAsyncWork()
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/checker/migration/
DInteropRuleInfo.ts29 description: "ArkTS 1.1 Object's built-in methods work on ArkTS 1.2 objects",
37 description: "ArkTS 1.1 Reflect's built-in methods work on ArkTS 1.2 objects",
45 description: "ArkTS 1.2 Object's built-in methods work on ArkTS 1.1 objects",
53 description: "ArkTS 1.2 Reflect's built-in methods work on ArkTS 1.1 objects",
61 description: "ArkTS 1.1 Object's built-in methods work on ArkTS 1.2 objects",
69 description: "ArkTS 1.1 Reflect's built-in methods work on ArkTS 1.2 objects",
77 description: "ArkTS 1.2 Object's built-in methods work on ArkTS 1.1 objects",
85 description: "ArkTS 1.2 Reflect's built-in methods work on ArkTS 1.1 objects",
91 description: "TypeScript Object's built-in methods work on ArkTS objects",
97 description: "TypeScript Reflect's built-in methods work on ArkTS objects",
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/cfg/workflows/
Dpanda-aot.yaml19 work-dir: ${parameters.work-dir}
45 work-dir: ${parameters.work-dir}
54 work-dir: ${parameters.work-dir}
64 work-dir: ${parameters.work-dir}
Dpanda-aot-pgo.yaml19 work-dir: ${parameters.work-dir}
42 work-dir: ${parameters.work-dir}
51 work-dir: ${parameters.work-dir}
63 work-dir: ${parameters.work-dir}
Dpanda-int.yaml20 work-dir: ${parameters.work-dir}
41 work-dir: ${parameters.work-dir}
52 work-dir: ${parameters.work-dir}
Dpanda-jit.yaml20 work-dir: ${parameters.work-dir}
46 work-dir: ${parameters.work-dir}
56 work-dir: ${parameters.work-dir}
Dark-aot-pgo.yaml21 ark-aot-profdata-file: "${parameters.work-dir}/intermediate/${test-id}.bin"
32 work-dir: ${parameters.work-dir}
38 output-file: "${parameters.work-dir}/intermediate/${test-id}.abc"
39 paoc-output-file: "${parameters.work-dir}/intermediate/${test-id}.an"
45 work-dir: ${parameters.work-dir}
Donly-ark-aot.yaml19 work-dir: ${parameters.work-dir}
26 output-file: "${parameters.work-dir}/intermediate/${test-id}.abc"
27 paoc-output-file: "${parameters.work-dir}/intermediate/${test-id}.an"
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dunary_wrong_types.ets.json24 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
34 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
44 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
54 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
64 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
74 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule55.ets.json24 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
34 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
44 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
54 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
64 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
74 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/setter/ts_to_ets/
Dsetter_ts.ets92 errLog('tuple type object setter not work.');
101 … return check(SetterAnyTypeObject.value as string, strContent, 'setter any type object not work.');
107 return check(UnionSetterObject.value as int, numContent, 'setter union type object not work.');
113 …turn check(InterfaceSetterObject.value as string, strContent, 'setter interface object not work.');
119 return check(BaseClassObject.value as string, strContent, 'setter user object not work.');
125 …rn check(SubsetRefSetObject.value as string, strContent, 'setter subset ref set object not work.');
137 …heck(SubsetValueSetObject.value as string, strContent, 'setter subset value set object not work.');
143 …n check(AbstractClassObject.value as string, strContent, 'setter abstract class object not work.');
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dinterop_not_have_property_num_arkts2.ets.migrate.json44 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
54 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
64 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
74 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
84 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
94 …"rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)",
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/cfg/workflows/arkjs/
Dhzjsvm_vs_panda.yaml24 input-file: "${general.work-dir}/gen/${test-id}"
25 output-file-ohos: "${general.work-dir}/intermediate/${test-id}.ohos.abc"
26 output-file-panda: "${general.work-dir}/intermediate/${test-id}.panda.abc"
63 - "${general.work-dir}/gen/${test-id}"
64 - "${general.work-dir}/gen/${test-id}.ts"
78 - "${general.work-dir}/gen/${test-id}.js"
79 - "${general.work-dir}/gen/${test-id}.ts"
89 - "${general.work-dir}/gen/${test-id}.js"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/03.types/References_Types/unions/
Dunion_cast_01.ets27 let b1: Padding = a1 as string // should work
31 let b2: Padding = a2 as number // should work
35 let b3: Padding = a3 as number // should work

12345678910>>...14