/arkcompiler/ets_runtime/test/moduletest/arrayreducecase/ |
D | arrayreducecase.js | 62 Promise.resolve(input), 67 return new Promise((resolve, reject) => { 68 resolve(a * 5); 73 return new Promise((resolve, reject) => { 74 resolve(a * 2); 83 return new Promise((resolve, reject) => { 84 resolve(a * 4);
|
/arkcompiler/ets_frontend/ts2panda/ |
D | webpack.config.js | 24 root: path.resolve(__dirname), 35 resolve: { property 45 path: path.resolve(__dirname, 'dist/src'), 56 configFile: path.resolve(__dirname, './tsconfig.json'),
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/lambda/ |
D | capture_var.ets | 17 constructor(callback: (resolve: (value: int) => void) => void) { 20 instance.resolve(value); 24 private resolve(value: int): void { 32 let foo = new Foo((resolve: (value: int) => void): void => { 33 resolve(5);
|
D | capture_this.ets | 17 constructor(callback: (resolve: (value: int) => void) => void) { 19 this.resolve(value); 23 private resolve(value: int): void { 31 let foo = new Foo((resolve: (value: int) => void): void => { 32 resolve(5);
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/ |
D | promise_tests.ets | 72 let p = new Promise<Object>((resolve: (value: Object) => void): void => { 91 let p = new Promise<Object>((resolve: (value: Object) => void): void => { 92 resolve(obj); 114 let p = new Promise<Object>((resolve: (value: Object) => void): void throws => { 142 let p = new Promise<Object>((resolve: (value: Object) => void): void => { 143 fixture.fn = resolve; 180 let p = new Promise<Object>((resolve: (value: Object) => void): void => { 181 resolve(new Object()); 196 let p = new Promise<Object>((resolve: (value: Object) => void): void => { 197 resolve(new Object()); [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_promise_test.cpp | 68 JSHandle<JSTaggedValue> resolve(thread, reactions->GetResolveFunction()); in HWTEST_F_L0() local 70 EXPECT_EQ(resolve->IsCallable(), true); in HWTEST_F_L0() 84 JSHandle<JSPromiseReactionsFunction> resolve(thread, capbility->GetResolve()); in HWTEST_F_L0() local 86 EXPECT_EQ(resolve.GetTaggedValue().IsCallable(), true); in HWTEST_F_L0() 87 EXPECT_EQ(resolve.GetTaggedValue().IsCallable(), true); in HWTEST_F_L0() 89 JSHandle<JSPromise> resolvedPromise(thread, resolve->GetPromise()); in HWTEST_F_L0() 105 JSHandle<JSTaggedValue> resolve(thread, capbility->GetResolve()); in HWTEST_F_L0() local 107 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, resolve, undefined, undefi… in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
D | Promise.ets | 25 constructor(callback: (resolve: (value: T) => void) => void throws) { 35 …constructor(callback: (resolve: (value: T) => void throws, reject: (error: Object|null) => void) =… 162 static resolve(): Promise<void> { 168 static resolve<U>(value: U): Promise<U> { 182 …let p = new Promise<Object>((resolve: (value: Object) => void, reject: (error: Object|null) => voi… 184 new PromiseConcurrency(resolve, reject).all(promises); 190 …let p = new Promise<Object>((resolve: (value: Object) => void, reject: (error: Object|null) => voi… 192 new PromiseConcurrency(resolve, reject).allSettled(promises); 198 …let p = new Promise<Object>((resolve: (value: Object) => void, reject: (error: Object|null) => voi… 200 new PromiseConcurrency(resolve, reject).any(promises); [all …]
|
/arkcompiler/ets_runtime/test/moduletest/promise/ |
D | promise.js | 22 var p = new Promise((resolve, reject) => { 23 resolve(1479); 26 var p2 = Promise.resolve(2468);
|
/arkcompiler/ets_runtime/test/aottest/async_context/ |
D | ds_helper.ts | 22 return new Promise((resolve) => { 24 resolve(this.dsHelper)
|
D | expect_output.txt | 15 getDsHelper resolve 20 getDsHelper resolve
|
/arkcompiler/ets_runtime/test/executiontest/js/ |
D | termination_6.js | 18 new Promise((resolve, reject) => { 19 resolve(true);
|
D | termination_5.js | 29 new Promise((resolve, reject) => { 30 resolve(true);
|
/arkcompiler/ets_runtime/test/aottest/async_env/ |
D | async_env.ts | 25 return new Promise((resolve) => { 26 resolve(this.dsHelper)
|
/arkcompiler/ets_runtime/test/moduletest/deregistermodule/ |
D | deregistermodule.js | 23 return new Promise((resolve, reject)=> { 24 resolve("done");
|
/arkcompiler/runtime_core/disassembler/tests/js/ |
D | column-number6.js | 35 await Promise.resolve('a'); 49 let test = await Promise.resolve('a')
|
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
D | generic_function_call_5.ets | 17 constructor(callback: (resolve: (value: T) => void) => void throws) { 24 return new P<Object>((resolve: (obj: Object) => void): void => { 25 resolve("resolved");
|
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/ |
D | async_function_test.js | 48 await new Promise(resolve => setTimeout(resolve, time));
|
/arkcompiler/ets_frontend/arkguard/src/cli/ |
D | SecHarmony.ts | 37 configPath = path.resolve(configPath); 40 const resolved: string = path.resolve(value);
|
/arkcompiler/toolchain/tooling/test/testcases/js/ |
D | step.js | 19 return new Promise(resolve => { 20 resolve("test");
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_promise.cpp | 42 JSHandle<JSPromiseReactionsFunction> resolve = factory->CreateJSPromiseReactionsFunction( in CreateResolvingFunctions() local 45 resolve->SetPromise(thread, promise); in CreateResolvingFunctions() 47 resolve->SetAlreadyResolved(thread, record); in CreateResolvingFunctions() 57 reactions->SetResolveFunction(thread, resolve.GetTaggedValue()); in CreateResolvingFunctions()
|
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
D | lambda-lambda.ets | 16 function foo(callback: (resolve: (val: int) => void) => void): void { 20 foo((resolve: (val: int) => void): void => {
|
D | generic_resolve.ets | 24 promise.resolve(res); 29 private native resolve(value: T): void;
|
D | async_with_lambda.ets | 34 return new Promise<Object>((resolve: (value: Object) => void): void => { 35 resolve(new Object());
|
/arkcompiler/ets_frontend/arkguard/src/transformers/ |
D | TransformerManager.ts | 18 import {join, resolve} from 'path'; 52 let subPath: string = resolve(TransformerManager.sLoadPath + '/' + subFile);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_async_iterator.cpp | 54 JSHandle<JSTaggedValue> resolve(thread, pcap->GetResolve()); in Return() local 56 …EcmaRuntimeCallInfo* info = EcmaInterpreter::NewRuntimeCallInfo(thread, resolve, undefined, undefi… in Return()
|