| /arkcompiler/ets_runtime/test/moduletest/bindfunction/ |
| H A D | bindfunction.js | 18 * @tc.desc:test bind function 31 const boundGetX = unboundGetX.bind(module); 49 const leadingThirtysevenList = list.bind(null, 37); 52 const addThirtySeven = addArguments.bind(null, 37); 66 // TestCase: builtins bind function. 71 var bfoo = foo.bind(undefined, 1); 78 const v21 = Float32Array.bind(v6, 1, 2); 81 // TestCase: bind proxy 83 const bind_proxy = proxy.bind(); 87 const f = ArrayBuffer.bind(); [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_class_methods_returning_values/js_to_ets/ |
| H A D | test_class_methods.js | 252 this.returnIntegerAsAny = exports.returnIntegerAsAny.bind(this); 253 this.returnStringAsAny = exports.returnStringAsAny.bind(this); 254 this.returnBigIntegerAsAny = exports.returnBigIntegerAsAny.bind(this); 255 this.returnBooleanAsAny = exports.returnBooleanAsAny.bind(this); 256 this.returnUndefinedAsAny = exports.returnUndefinedAsAny.bind(this); 257 this.returnNullAsAny = exports.returnNullAsAny.bind(this); 258 this.returnMapAsAny = exports.returnMapAsAny.bind(this); 259 this.returnSetAsAny = exports.returnSetAsAny.bind(this); 260 this.returnStrLiteral = exports.returnStrLiteral.bind(this); 261 this.returnIntLiteral = exports.returnIntLiteral.bind(thi [all...] |
| /arkcompiler/toolchain/tooling/client/utils/ |
| H A D | cli_command.cpp | 151 {std::make_pair("allocationtrack", "at"), std::bind(&CliCommand::HeapProfilerCommand, this, "allocationtrack")}, in CreateCommandMap() 153 std::bind(&CliCommand::HeapProfilerCommand, this, "allocationtrack-stop")}, in CreateCommandMap() 154 {std::make_pair("heapdump", "hd"), std::bind(&CliCommand::HeapProfilerCommand, this, "heapdump")}, in CreateCommandMap() 156 std::bind(&CliCommand::HeapProfilerCommand, this, "heapprofiler-enable")}, in CreateCommandMap() 158 std::bind(&CliCommand::HeapProfilerCommand, this, "heapprofiler-disable")}, in CreateCommandMap() 159 {std::make_pair("sampling", "sampling"), std::bind(&CliCommand::HeapProfilerCommand, this, "sampling")}, in CreateCommandMap() 161 std::bind(&CliCommand::HeapProfilerCommand, this, "sampling-stop")}, in CreateCommandMap() 162 {std::make_pair("collectgarbage", "gc"), std::bind(&CliCommand::HeapProfilerCommand, this, "collectgarbage")}, in CreateCommandMap() 163 {std::make_pair("cpuprofile", "cp"), std::bind(&CliCommand::CpuProfileCommand, this, "cpuprofile")}, in CreateCommandMap() 165 std::bind( in CreateCommandMap() [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_callable/ |
| H A D | test_callable.js | 37 exports.callBoundFunction = callNamedFunction.bind(null); 40 this.callNamedFunction = callNamedFunction.bind(this); 41 this.callAnonymousFunction = exports.callAnonymousFunction.bind(this); 42 this.callArrowFunction = exports.callArrowFunction.bind(this); 43 this.callConstructedFunction = exports.callConstructedFunction.bind(this); 44 this.callBoundFunction = exports.callBoundFunction.bind(this);
|
| /arkcompiler/toolchain/tooling/client/domain/ |
| H A D | debugger_client.cpp | 32 { "break", std::bind(&DebuggerClient::BreakCommand, this)}, in DispatcherCmd() 33 { "backtrack", std::bind(&DebuggerClient::BacktrackCommand, this)}, in DispatcherCmd() 34 { "continue", std::bind(&DebuggerClient::ResumeCommand, this)}, in DispatcherCmd() 35 { "delete", std::bind(&DebuggerClient::DeleteCommand, this)}, in DispatcherCmd() 36 { "jump", std::bind(&DebuggerClient::JumpCommand, this)}, in DispatcherCmd() 37 { "disable", std::bind(&DebuggerClient::DisableCommand, this)}, in DispatcherCmd() 38 { "display", std::bind(&DebuggerClient::DisplayCommand, this)}, in DispatcherCmd() 39 { "enable", std::bind(&DebuggerClient::EnableCommand, this)}, in DispatcherCmd() 40 { "finish", std::bind(&DebuggerClient::FinishCommand, this)}, in DispatcherCmd() 41 { "frame", std::bind( in DispatcherCmd() [all...] |
| H A D | heapprofiler_client.cpp | 33 { "allocationtrack", std::bind(&HeapProfilerClient::AllocationTrackCommand, this)}, in DispatcherCmd() 34 { "allocationtrack-stop", std::bind(&HeapProfilerClient::AllocationTrackStopCommand, this)}, in DispatcherCmd() 35 { "heapdump", std::bind(&HeapProfilerClient::HeapDumpCommand, this)}, in DispatcherCmd() 36 { "heapprofiler-enable", std::bind(&HeapProfilerClient::Enable, this)}, in DispatcherCmd() 37 { "heapprofiler-disable", std::bind(&HeapProfilerClient::Disable, this)}, in DispatcherCmd() 38 { "sampling", std::bind(&HeapProfilerClient::Samping, this)}, in DispatcherCmd() 39 { "sampling-stop", std::bind(&HeapProfilerClient::SampingStop, this)}, in DispatcherCmd() 40 { "collectgarbage", std::bind(&HeapProfilerClient::CollectGarbage, this)} in DispatcherCmd()
|
| H A D | test_client.cpp | 28 { "success", std::bind(&TestClient::SuccessCommand, this)}, in DispatcherCmd() 29 { "fail", std::bind(&TestClient::FailCommand, this)}, in DispatcherCmd()
|
| H A D | runtime_client.cpp | 30 { "heapusage", std::bind(&RuntimeClient::HeapusageCommand, this)}, in DispatcherCmd() 31 { "runtime-enable", std::bind(&RuntimeClient::RuntimeEnableCommand, this)}, in DispatcherCmd() 32 { "runtime-disable", std::bind(&RuntimeClient::RuntimeDisableCommand, this)}, in DispatcherCmd() 33 { "print", std::bind(&RuntimeClient::GetPropertiesCommand, this)}, in DispatcherCmd() 34 { "run", std::bind(&RuntimeClient::RunIfWaitingForDebuggerCommand, this)}, in DispatcherCmd()
|
| H A D | profiler_client.cpp | 33 { "cpuprofile", std::bind(&ProfilerClient::CpuprofileCommand, this)}, in DispatcherCmd() 34 { "cpuprofile-stop", std::bind(&ProfilerClient::CpuprofileStopCommand, this)}, in DispatcherCmd() 35 { "cpuprofile-setSamplingInterval", std::bind(&ProfilerClient::SetSamplingIntervalCommand, this)}, in DispatcherCmd() 36 { "cpuprofile-enable", std::bind(&ProfilerClient::CpuprofileEnableCommand, this)}, in DispatcherCmd() 37 { "cpuprofile-disable", std::bind(&ProfilerClient::CpuprofileDisableCommand, this)}, in DispatcherCmd()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_composite_types/ |
| H A D | test_composite_types.js | 82 this.returnTuple = exports.returnTuple.bind(this); 83 this.returnStrArray = exports.returnStrArray.bind(this); 84 this.returnNumArray = exports.returnNumArray.bind(this); 85 this.returnRecord = exports.returnRecord.bind(this); 86 this.returnInterface = exports.returnInterface.bind(this);
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
| H A D | inspector.cpp | 72 // NOLINTBEGIN(modernize-avoid-bind) in Inspector() 73 inspectorServer_.OnCallDebuggerContinueToLocation(std::bind(&Inspector::ContinueToLocation, this, _1, _2, _3)); in Inspector() 75 std::bind(&Inspector::GetPossibleBreakpoints, this, _1, _2, _3, _4)); in Inspector() 76 inspectorServer_.OnCallDebuggerGetScriptSource(std::bind(&Inspector::GetSourceCode, this, _1)); in Inspector() 77 inspectorServer_.OnCallDebuggerPause(std::bind(&Inspector::Pause, this, _1)); in Inspector() 78 inspectorServer_.OnCallDebuggerRemoveBreakpoint(std::bind(&Inspector::RemoveBreakpoint, this, _1, _2)); in Inspector() 79 inspectorServer_.OnCallDebuggerRestartFrame(std::bind(&Inspector::RestartFrame, this, _1, _2)); in Inspector() 80 inspectorServer_.OnCallDebuggerResume(std::bind(&Inspector::Continue, this, _1)); in Inspector() 81 inspectorServer_.OnCallDebuggerSetBreakpoint(std::bind(&Inspector::SetBreakpoint, this, _1, _2, _3, _4)); in Inspector() 82 inspectorServer_.OnCallDebuggerSetBreakpointByUrl(std::bind( in Inspector() [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_return_this/ |
| H A D | test_return_this.js | 60 this.getThis = getThis.bind(this); 61 this.getThisAsFunction = getThisAsFunction.bind(this); 62 this.getThisAsAsyncFunction = getThisAsAsyncFunction.bind(this);
|
| /arkcompiler/ets_runtime/test/moduletest/regressfunction/ |
| H A D | regressfunction.js | 19 let f = foo.bind(foo, 1, 2, 3, 4, 5, 6, 7, 8, 9);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/ets_to_js/indirect_call/js_suites/type_value/ |
| H A D | test_function_type_value_boolean_bind_without_arg.js | 22 let boundWithArg = functionTypeValueBoolean.bind(null);
|
| H A D | test_function_type_value_boolean_bind_with_arg.js | 22 let boundWithArg = functionTypeValueBoolean.bind(null, true);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/ets_to_js/indirect_call/js_suites/type_ref/ |
| H A D | test_function_type_ref_array_bind_without_arg.js | 23 let boundWithoutArg = functionTypeRefArray.bind(null);
|
| H A D | test_function_type_ref_array_bind_with_arg.js | 23 let boundWithArg = functionTypeRefArray.bind(null, ARG);
|
| H A D | test_function_type_ref_tuple_bind_without_arg.js | 23 let boundWithoutArg = functionTypeRefTuple.bind(null);
|
| H A D | test_function_type_ref_tuple_bind_with_arg.js | 23 let boundWithArg = functionTypeRefTuple.bind(null, ARG);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/ets_to_js/indirect_call/js_suites/type_union/ |
| H A D | test_function_return_type_union_number_bind_without_arg.js | 25 let boundWithArg = indirectCallReturnTypeUnion.bind(null);
|
| H A D | test_function_return_type_union_number_bind_with_arg.js | 25 let boundWithArg = indirectCallReturnTypeUnion.bind(null, ARG);
|
| H A D | test_function_arg_type_union_string_bind_without_arg.js | 25 let boundWithoutArg = indirectCallArgTypeUnion.bind(null);
|
| H A D | test_function_arg_type_union_number_bind_without_arg.js | 25 let boundWithoutArg = indirectCallArgTypeUnion.bind(null);
|
| H A D | test_function_arg_type_union_string_bind_with_arg.js | 25 let boundWithArg = indirectCallArgTypeUnion.bind(null, ARG);
|
| H A D | test_function_arg_type_union_number_bind_with_arg.js | 25 let boundWithArg = indirectCallArgTypeUnion.bind(null, ARG);
|