Home
last modified time | relevance | path

Searched refs:args (Results 1 - 25 of 552) sorted by relevance

12345678910>>...23

/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
H A Dcalling_methods_test_helper.h35 std::va_list args; in CallVoidMethodListHelper() local
36 va_start(args, methodId); in CallVoidMethodListHelper()
37 env->CallVoidMethodList(obj, methodId, args); in CallVoidMethodListHelper()
42 std::va_list args; in CallObjectMethodListHelper() local
43 va_start(args, methodId); in CallObjectMethodListHelper()
44 return env->CallObjectMethodList(obj, methodId, args); in CallObjectMethodListHelper()
49 std::va_list args; in CallBooleanMethodListHelper() local
50 va_start(args, methodId); in CallBooleanMethodListHelper()
51 return env->CallBooleanMethodList(obj, methodId, args); in CallBooleanMethodListHelper()
56 std::va_list args; in CallByteMethodListHelper() local
63 std::va_list args; CallCharMethodListHelper() local
70 std::va_list args; CallShortMethodListHelper() local
77 std::va_list args; CallIntMethodListHelper() local
84 std::va_list args; CallLongMethodListHelper() local
91 std::va_list args; CallFloatMethodListHelper() local
98 std::va_list args; CallDoubleMethodListHelper() local
106 std::va_list args; CallNonvirtualVoidMethodListHelper() local
114 std::va_list args; CallNonvirtualObjectMethodListHelper() local
122 std::va_list args; CallNonvirtualBooleanMethodListHelper() local
130 std::va_list args; CallNonvirtualByteMethodListHelper() local
138 std::va_list args; CallNonvirtualCharMethodListHelper() local
146 std::va_list args; CallNonvirtualShortMethodListHelper() local
154 std::va_list args; CallNonvirtualIntMethodListHelper() local
162 std::va_list args; CallNonvirtualLongMethodListHelper() local
170 std::va_list args; CallNonvirtualFloatMethodListHelper() local
178 std::va_list args; CallNonvirtualDoubleMethodListHelper() local
185 std::va_list args; CallStaticVoidMethodListHelper() local
193 std::va_list args; CallStaticObjectMethodListHelper() local
201 std::va_list args; CallStaticBooleanMethodListHelper() local
208 std::va_list args; CallStaticByteMethodListHelper() local
215 std::va_list args; CallStaticCharMethodListHelper() local
222 std::va_list args; CallStaticShortMethodListHelper() local
229 std::va_list args; CallStaticIntMethodListHelper() local
236 std::va_list args; CallStaticLongMethodListHelper() local
243 std::va_list args; CallStaticFloatMethodListHelper() local
251 std::va_list args; CallStaticDoubleMethodListHelper() local
[all...]
/arkcompiler/ets_frontend/test262/
H A Drun_test262.py161 args = parser.parse_args()
162 if args.abc2program and (args.run_pgo or args.ark_aot):
164 return args
180 def excuting_npm_install(args):
182 if args.ark_frontend:
183 ark_frontend = args.ark_frontend
189 if args.ark_frontend_binary:
190 ark_frontend_binary = os.path.join(args
[all...]
/arkcompiler/ets_runtime/script/
H A Drun_ark_executable.py55 def get_command_and_env_path(args: object) -> [str, str]:
56 """get command and environment path from args for running excutable."""
57 env_path_list = list(set(get_env_path_from_rsp(args.script_file)))
58 env_path_list.append(args.clang_lib_path)
60 if args.qemu_binary_path:
61 if not os.path.exists(args.qemu_binary_path):
70 "{}".format(args.qemu_binary_path) + \
71 " -L {}".format(args.qemu_ld_prefix) + \
73 " {}".format(args.script_file)
75 cmd = "{}".format(args
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/
H A Dtracing.cpp97 std::string args = "{\"data\":{\"frameTreeNodeId\":1,\"frames\":[{"; in TraceEventRecordTracingStart() local
98 args += "\"frame\":\"0\",\"name\":\"\","; in TraceEventRecordTracingStart()
99 args += "\"processId\":" + std::to_string(getpid()) + ","; in TraceEventRecordTracingStart()
100 args += "\"url\":\"https://url not exist/\"}],"; in TraceEventRecordTracingStart()
101 args += "\"persistentIds\":true}}"; in TraceEventRecordTracingStart()
107 event.SetArgs(args); in TraceEventRecordTracingStart()
123 std::string args = "{\"data\":{\"jsHeapSizeUsed\":" + std::to_string(DFXJSNApi::GetHeapUsedSize(vm_)) + "}}"; in TraceEventRecordMemory() local
124 event.SetArgs(args); in TraceEventRecordMemory()
132 std::string args = "{\"data\":{\"startTime\":" + std::to_string(profileInfo->startTime) + "}}"; in TraceEventRecordCpuProfilerStart() local
137 event.SetArgs(args); in TraceEventRecordCpuProfilerStart()
155 struct TraceEventCpuProfileArg args; TraceEventRecordCpuProfiler() local
184 std::string args = "{\\"data\\":{\\"cpuProfile\\":{"; TraceEventUpdateCpuProfiler() local
255 std::string args = "{\\"data\\":{\\"endTime\\":" + std::to_string(profileInfo->stopTime) + "}}"; TraceEventRecordCpuProfilerEnd() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
H A Dets_napi.h208 ets_object (*NewObjectList)(EtsEnv *env, ets_class cls, ets_method p_method, va_list args);
209 ets_object (*NewObjectArray)(EtsEnv *env, ets_class cls, ets_method p_method, const ets_value *args);
214 ets_object (*CallObjectMethodList)(EtsEnv *env, ets_object obj, ets_method p_method, va_list args);
215 ets_object (*CallObjectMethodArray)(EtsEnv *env, ets_object obj, ets_method p_method, const ets_value *args);
217 ets_boolean (*CallBooleanMethodList)(EtsEnv *env, ets_object obj, ets_method p_method, va_list args);
218 ets_boolean (*CallBooleanMethodArray)(EtsEnv *env, ets_object obj, ets_method p_method, const ets_value *args);
220 ets_byte (*CallByteMethodList)(EtsEnv *env, ets_object obj, ets_method p_method, va_list args);
221 ets_byte (*CallByteMethodArray)(EtsEnv *env, ets_object obj, ets_method p_method, const ets_value *args);
223 ets_char (*CallCharMethodList)(EtsEnv *env, ets_object obj, ets_method p_method, va_list args);
224 ets_char (*CallCharMethodArray)(EtsEnv *env, ets_object obj, ets_method p_method, const ets_value *args);
609 va_list args; NewObject() local
637 va_list args; CallObjectMethod() local
653 va_list args; CallBooleanMethod() local
669 va_list args; CallByteMethod() local
685 va_list args; CallCharMethod() local
701 va_list args; CallShortMethod() local
717 va_list args; CallIntMethod() local
733 va_list args; CallLongMethod() local
749 va_list args; CallFloatMethod() local
765 va_list args; CallDoubleMethod() local
781 va_list args; CallVoidMethod() local
796 va_list args; CallNonvirtualObjectMethod() local
813 va_list args; CallNonvirtualBooleanMethod() local
830 va_list args; CallNonvirtualByteMethod() local
846 va_list args; CallNonvirtualCharMethod() local
862 va_list args; CallNonvirtualShortMethod() local
878 va_list args; CallNonvirtualIntMethod() local
894 va_list args; CallNonvirtualLongMethod() local
910 va_list args; CallNonvirtualFloatMethod() local
926 va_list args; CallNonvirtualDoubleMethod() local
943 va_list args; CallNonvirtualVoidMethod() local
1038 va_list args; CallStaticObjectMethod() local
1054 va_list args; CallStaticBooleanMethod() local
1070 va_list args; CallStaticByteMethod() local
1086 va_list args; CallStaticCharMethod() local
1102 va_list args; CallStaticShortMethod() local
1118 va_list args; CallStaticIntMethod() local
1134 va_list args; CallStaticLongMethod() local
1150 va_list args; CallStaticFloatMethod() local
1166 va_list args; CallStaticDoubleMethod() local
1182 va_list args; CallStaticVoidMethod() local
[all...]
H A Dets_napi_native_interface.cpp86 static ArgVector<Value> GetArgValues(ScopedManagedCodeFix *s, EtsMethod *method, va_list args, ets_object object) in GetArgValues() argument
103 parsedArgs.emplace_back(va_arg(args, uint32_t)); in GetArgValues()
108 parsedArgs.emplace_back(va_arg(args, int32_t)); in GetArgValues()
111 parsedArgs.emplace_back(va_arg(args, int64_t)); in GetArgValues()
114 parsedArgs.push_back(ConstructValueFromFloatingPoint(static_cast<float>(va_arg(args, double)))); in GetArgValues()
117 parsedArgs.push_back(ConstructValueFromFloatingPoint(va_arg(args, double))); in GetArgValues()
120 auto param = va_arg(args, ets_object); in GetArgValues()
132 static ArgVector<Value> GetArgValues(ScopedManagedCodeFix *s, EtsMethod *method, const ets_value *args, in GetArgValues() argument
144 auto *arg = args; in GetArgValues()
220 static NapiType GeneralMethodCall(EtsEnv *env, ets_object obj, ets_method methodId, Args args) in GeneralMethodCall() argument
722 CallObjectMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallObjectMethodList() argument
734 va_list args; CallObjectMethod() local
741 CallObjectMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallObjectMethodArray() argument
751 CallBooleanMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallBooleanMethodList() argument
763 va_list args; CallBooleanMethod() local
770 CallBooleanMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallBooleanMethodArray() argument
780 CallByteMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallByteMethodList() argument
792 va_list args; CallByteMethod() local
799 CallByteMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallByteMethodArray() argument
809 CallCharMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallCharMethodList() argument
821 va_list args; CallCharMethod() local
828 CallCharMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallCharMethodArray() argument
838 CallShortMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallShortMethodList() argument
850 va_list args; CallShortMethod() local
857 CallShortMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallShortMethodArray() argument
867 CallIntMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallIntMethodList() argument
879 va_list args; CallIntMethod() local
886 CallIntMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallIntMethodArray() argument
896 CallLongMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallLongMethodList() argument
908 va_list args; CallLongMethod() local
915 CallLongMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallLongMethodArray() argument
925 CallFloatMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallFloatMethodList() argument
937 va_list args; CallFloatMethod() local
944 CallFloatMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallFloatMethodArray() argument
954 CallDoubleMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallDoubleMethodList() argument
966 va_list args; CallDoubleMethod() local
973 CallDoubleMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallDoubleMethodArray() argument
983 CallVoidMethodList(EtsEnv *env, ets_object obj, ets_method methodId, va_list args) CallVoidMethodList() argument
996 va_list args; CallVoidMethod() local
1002 CallVoidMethodArray(EtsEnv *env, ets_object obj, ets_method methodId, const ets_value *args) CallVoidMethodArray() argument
1012 CallNonvirtualObjectMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualObjectMethodList() argument
1027 va_list args; CallNonvirtualObjectMethod() local
1034 CallNonvirtualObjectMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualObjectMethodArray() argument
1045 CallNonvirtualBooleanMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualBooleanMethodList() argument
1060 va_list args; CallNonvirtualBooleanMethod() local
1067 CallNonvirtualBooleanMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualBooleanMethodArray() argument
1078 CallNonvirtualByteMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualByteMethodList() argument
1092 va_list args; CallNonvirtualByteMethod() local
1099 CallNonvirtualByteMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualByteMethodArray() argument
1110 CallNonvirtualCharMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualCharMethodList() argument
1124 va_list args; CallNonvirtualCharMethod() local
1131 CallNonvirtualCharMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualCharMethodArray() argument
1142 CallNonvirtualShortMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualShortMethodList() argument
1157 va_list args; CallNonvirtualShortMethod() local
1164 CallNonvirtualShortMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualShortMethodArray() argument
1175 CallNonvirtualIntMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualIntMethodList() argument
1189 va_list args; CallNonvirtualIntMethod() local
1196 CallNonvirtualIntMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualIntMethodArray() argument
1206 CallNonvirtualLongMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualLongMethodList() argument
1220 va_list args; CallNonvirtualLongMethod() local
1227 CallNonvirtualLongMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualLongMethodArray() argument
1238 CallNonvirtualFloatMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualFloatMethodList() argument
1253 va_list args; CallNonvirtualFloatMethod() local
1260 CallNonvirtualFloatMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualFloatMethodArray() argument
1271 CallNonvirtualDoubleMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualDoubleMethodList() argument
1286 va_list args; CallNonvirtualDoubleMethod() local
1293 CallNonvirtualDoubleMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualDoubleMethodArray() argument
1304 CallNonvirtualVoidMethodList(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallNonvirtualVoidMethodList() argument
1319 va_list args; CallNonvirtualVoidMethod() local
1325 CallNonvirtualVoidMethodArray(EtsEnv *env, ets_object obj, [[maybe_unused]] ets_class cls, ets_method methodId, const ets_value *args) CallNonvirtualVoidMethodArray() argument
1512 CallStaticObjectMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticObjectMethodList() argument
1524 va_list args; CallStaticObjectMethod() local
1531 CallStaticObjectMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticObjectMethodArray() argument
1540 CallStaticBooleanMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticBooleanMethodList() argument
1552 va_list args; CallStaticBooleanMethod() local
1559 CallStaticBooleanMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticBooleanMethodArray() argument
1568 CallStaticByteMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticByteMethodList() argument
1580 va_list args; CallStaticByteMethod() local
1587 CallStaticByteMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticByteMethodArray() argument
1596 CallStaticCharMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticCharMethodList() argument
1608 va_list args; CallStaticCharMethod() local
1615 CallStaticCharMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticCharMethodArray() argument
1624 CallStaticShortMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticShortMethodList() argument
1636 va_list args; CallStaticShortMethod() local
1643 CallStaticShortMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticShortMethodArray() argument
1652 CallStaticIntMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticIntMethodList() argument
1664 va_list args; CallStaticIntMethod() local
1671 CallStaticIntMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticIntMethodArray() argument
1680 CallStaticLongMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticLongMethodList() argument
1692 va_list args; CallStaticLongMethod() local
1699 CallStaticLongMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticLongMethodArray() argument
1708 CallStaticFloatMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticFloatMethodList() argument
1720 va_list args; CallStaticFloatMethod() local
1727 CallStaticFloatMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticFloatMethodArray() argument
1736 CallStaticDoubleMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticDoubleMethodList() argument
1748 va_list args; CallStaticDoubleMethod() local
1755 CallStaticDoubleMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticDoubleMethodArray() argument
1764 CallStaticVoidMethodList(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, va_list args) CallStaticVoidMethodList() argument
1777 va_list args; CallStaticVoidMethod() local
1783 CallStaticVoidMethodArray(EtsEnv *env, [[maybe_unused]] ets_class cls, ets_method methodId, ets_value *args) CallStaticVoidMethodArray() argument
2594 NewObjectList(EtsEnv *env, ets_class cls, ets_method pMethod, va_list args) NewObjectList() argument
2619 va_list args; NewObject() local
2626 NewObjectArray(EtsEnv *env, ets_class cls, ets_method pMethod, const ets_value *args) NewObjectArray() argument
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dexec.h34 PANDA_PUBLIC_API Expected<int, Error> Exec(Span<const char *> args);
35 PANDA_PUBLIC_API Expected<int, Error> ExecNoWait(Span<const char *> args);
39 decltype(auto) Exec(Args... args) in Exec() argument
41 std::array<const char *, sizeof...(args) + 1> arguments = {args..., nullptr}; in Exec()
46 decltype(auto) ExecNoWait(Args... args) in ExecNoWait() argument
48 std::array<const char *, sizeof...(args) + 1> arguments = {args..., nullptr}; in ExecNoWait()
53 decltype(auto) ExecWithCallback(Callback callback, Args... args) in ExecWithCallback() argument
55 std::array<const char *, sizeof...(args) in ExecWithCallback()
60 ExecWithCallbackNoWait(Callback callback, Args... args) ExecWithCallbackNoWait() argument
[all...]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dvmb.py42 def print_list(args: Args) -> None:
48 if args.extra_plugins:
49 for f in sorted(args.extra_plugins.joinpath(p).glob('*.py')):
55 args = Args()
64 TRACE_LOG_LEVEL)))[args.log_level]
68 if args.get('no_color', False):
75 if args.command == Command.VERSION:
79 if args.command == Command.LIST:
80 print_list(args)
83 if args
[all...]
/arkcompiler/ets_frontend/es2panda/scripts/
H A Dts2abc.js24 let args = process.argv.splice(2);
26 if (args[0].startsWith("es2abc=")) {
27 es2abc = args[0].replace("es2abc=", "");
28 args = args.splice(1);
48 function callEs2abc(args) {
52 let proc = spawn(`${es2abc}`, args);
64 if (args.length == 1 && args[0] == "--bc-version") {
65 callEs2abc(args);
[all...]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
H A Dtest_cli.py37 args = Args()
38 test.assertTrue(args.command == Command.GEN)
39 test.assertTrue(args.langs == {'blah'})
40 test.assertTrue(args.get('platform') is None)
42 args = Args()
43 test.assertTrue(args.command == Command.ALL)
44 test.assertTrue(args.langs == {'blah', 'foo'})
45 test.assertTrue(args.src_langs == {'.this', '.that'})
46 test.assertTrue(args.tests == set())
47 test.assertTrue(args
[all...]
/arkcompiler/runtime_core/assembler/
H A Dasm_metadata.rb138 args = ['attribute']
139 args << 'value' unless is_bool
140 body << "#{indent}return pandasm::#{class_name(item_type)}::Validate(#{args.join(', ')});"
174 args = ['attribute']
175 args << 'value' unless is_bool
176 body << "#{indent}pandasm::#{class_name(item_type)}::SetFlags(#{args.join(', ')});"
210 args = ['attribute']
211 args << 'value' unless is_bool
212 body << "#{indent}pandasm::#{class_name(item_type)}::RemoveFlags(#{args.join(', ')});"
219 args
[all...]
/arkcompiler/runtime_core/static_core/assembler/
H A Dasm_metadata.rb138 args = ['attribute']
139 args << 'value' unless is_bool
140 body << "#{indent}return pandasm::#{class_name(item_type)}::Validate(#{args.join(', ')});"
174 args = ['attribute']
175 args << 'value' unless is_bool
176 body << "#{indent}pandasm::#{class_name(item_type)}::SetFlags(#{args.join(', ')});"
210 args = ['attribute']
211 args << 'value' unless is_bool
212 body << "#{indent}pandasm::#{class_name(item_type)}::RemoveFlags(#{args.join(', ')});"
219 args
[all...]
/arkcompiler/toolchain/build/toolchain/
H A Dgcc_solink_wrapper.py58 args = parser.parse_args()
60 if args.sofile.endswith(".dll"):
62 for a in args.command:
73 result = subprocess.call(args.command, env=fast_env)
78 if args.strip:
79 result = subprocess.call([args.strip, '-o', args.output, args.sofile])
80 if args.libfile:
81 libfile_name = os.path.basename(args
[all...]
H A Dgcc_link_wrapper.py57 args = parser.parse_args()
62 if is_static_link(args.command):
63 command = update_crt(args.command)
64 if args.clang_rt_dso_path is not None:
67 command = args.command
73 if args.strip:
74 result = subprocess.call([args.strip, '-o', args.output, args.unstripped_file])
/arkcompiler/ets_runtime/test/
H A Druntest.py54 parser.add_argument('--frontend-args', metavar='args', help='pass to frontend args')
55 parser.add_argument('--aot-args', metavar='args', help='pass to aot compiler args')
56 parser.add_argument('--jsvm-args', metavar='args', help='pass to jsvm args')
57 parser.add_argument('-i', '--info', action='store_true', help='add log level of info to args')
[all...]
/arkcompiler/ets_runtime/test/regresstest/
H A Drun_regress_test.py45 def init_log_file(args):
46 logging.basicConfig(filename=args.out_log, format=RegressTestConfig.DEFAULT_LOG_FORMAT, level=logging.INFO)
100 def check_ark_frontend_binary(args) -> bool:
101 if args.ark_frontend_binary is None:
107 def check_frontend_library(args) -> bool:
109 current_frontend_binary = os.path.join(current_dir, str(args.ark_frontend_binary))
110 test_tool_frontend_binary = os.path.join(RegressTestConfig.TEST_TOOL_FILE_DIR, args.ark_frontend_binary)
114 args.ark_frontend_binary = current_frontend_binary if os.path.exists(
116 args.ark_frontend_binary = os.path.abspath(args
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
H A Dcl_parser.cpp56 RetCode CommandLine::ParseJoinedOption(size_t &argsIndex, const std::deque<std::string_view> &args, KeyArg &keyArg, in ParseJoinedOption() argument
61 RetCode err = option->Parse(argsIndex, args, keyArg); in ParseJoinedOption()
77 RetCode CommandLine::ParseOption(size_t &argsIndex, const std::deque<std::string_view> &args, KeyArg &keyArg, in ParseOption() argument
80 RetCode err = opt->Parse(argsIndex, args, keyArg); in ParseOption()
93 RetCode CommandLine::ParseEqualOption(size_t &argsIndex, const std::deque<std::string_view> &args, KeyArg &keyArg, in ParseEqualOption() argument
97 auto &arg = args[argsIndex]; in ParseEqualOption()
109 return ParseOption(argsIndex, args, keyArg, optCategory, item->second); in ParseEqualOption()
112 return ParseJoinedOption(argsIndex, args, keyArg, optCategory); in ParseEqualOption()
116 RetCode CommandLine::ParseSimpleOption(size_t &argsIndex, const std::deque<std::string_view> &args, KeyArg &keyArg, in ParseSimpleOption() argument
120 auto &arg = args[argsInde in ParseSimpleOption()
133 HandleInputArgs(const std::deque<std::string_view> &args, OptionCategory &optCategory) HandleInputArgs() argument
190 std::deque<std::string_view> args; Parse() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/callable_signature/ts_to_sts/
H A Dmain.js20 let args = [];
22 args[_i] = arg[_i];
24 return args;
29 let args = [];
31 args[_i] = arg[_i];
33 return fn._call.apply(fn, args);
37 apply: function (target, thisArg, args) { return target._call.apply(target, args); }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/scripts/micro-benchmarks/
H A Drun_micro_benchmarks.py52 def __init__(self, args):
53 self.log_level = args.log_level
71 def __init__(self, args, logger, ark_opts, aot_opts):
73 self.mode = args.mode
74 self.interpreter_type = args.interpreter_type
75 self.is_device = args.target == "device"
76 self.host_build_dir = args.host_builddir if self.is_device else os.path.join(
77 args.bindir, "..")
81 args.bindir, "..", "micro-benchmarks") if self.is_device else None
88 self.stdlib_path = os.path.join(args
[all...]
/arkcompiler/ets_runtime/test/workloadtest/
H A Dwork_load.py111 def execute_shell_script(script_path, args):
112 command = ['bash', script_path] + args
137 def configure_environment(args, code_v, tools_type):
139 if args.swift_tools_path:
140 swift_tools_path = args.swift_tools_path
142 if args.Ninja_ReleaseAssert:
143 ninja_releaseAssert = args.Ninja_ReleaseAssert
145 f"--ts-tools-path {args.code_path}\n" \
151 args = os.O_RDWR | os.O_CREAT
152 file_descriptor = os.open('toolspath.txt', args, sta
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dhcr_circuit_builder.cpp23 GateRef CircuitBuilder::NoLabelCallRuntime(GateRef glue, GateRef depend, size_t index, std::vector<GateRef> &args, in NoLabelCallRuntime() argument
30 inputs.insert(inputs.end(), args.begin(), args.end()); in NoLabelCallRuntime()
31 auto numValuesIn = args.size() + 2; // 2: target & glue in NoLabelCallRuntime()
57 GateRef CircuitBuilder::CallStub(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args, in CallStub() argument
69 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallStub()
71 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallStub()
76 GateRef CircuitBuilder::CallBuiltinRuntime(GateRef glue, GateRef depend, const std::vector<GateRef> &args, bool isNew) in CallBuiltinRuntime() argument
93 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), name.c_str()); in CallBuiltinRuntime()
97 GateRef CircuitBuilder::CallBuiltinRuntimeWithNewTarget(GateRef glue, GateRef depend, const std::vector<GateRef> &args) in CallBuiltinRuntimeWithNewTarget() argument
115 Call(const CallSignature* cs, GateRef glue, GateRef target, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) Call() argument
169 CallBCHandler(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBCHandler() argument
181 CallBuiltin(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBuiltin() argument
193 CallBuiltinWithArgv(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBuiltinWithArgv() argument
205 CallBCDebugger(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBCDebugger() argument
217 CallRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) CallRuntime() argument
248 CallNGCRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) CallNGCRuntime() argument
267 CallNGCRuntime(GateRef glue, GateRef gate, int index, const std::vector<GateRef> &args, bool useLabel) CallNGCRuntime() argument
282 StartCallTimer(GateRef glue, GateRef gate, const std::vector<GateRef> &args, bool useLabel) StartCallTimer() argument
293 EndCallTimer(GateRef glue, GateRef gate, const std::vector<GateRef> &args, bool useLabel) EndCallTimer() argument
304 FastCallOptimized(GateRef glue, GateRef code, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate) FastCallOptimized() argument
322 CallOptimized(GateRef glue, GateRef code, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate) CallOptimized() argument
358 std::vector<GateRef> args = {currentControl, currentDepend, receiver, accessor}; CallPrivateGetter() local
381 std::vector<GateRef> args = {currentControl, currentDepend, receiver, accessor, value}; CallPrivateSetter() local
404 std::vector<GateRef> args = { currentControl, currentDepend, receiver, propertyLookupResult, holder }; CallGetter() local
427 std::vector<GateRef> args = { currentControl, currentDepend, receiver, propertyLookupResult, holder, value }; CallSetter() local
440 Float32ArrayConstructor(GateRef hirGate, std::vector<GateRef> args) Float32ArrayConstructor() argument
459 Construct(GateRef hirGate, std::vector<GateRef> args) Construct() argument
477 CallInternal(GateRef hirGate, std::vector<GateRef> args, uint64_t pcOffset) CallInternal() argument
494 CallNew(GateRef hirGate, std::vector<GateRef> args, bool needPushArgv) CallNew() argument
[all...]
/arkcompiler/ets_runtime/test/moduletest/callframe/
H A Dcallframe.js51 function foo4(a, ...args) {
52 return args[a];
56 function foo5(a, ...args) {
60 this.a = args[a];
64 function foo6(a, ...args) {
66 return args[a];
71 function foo7(a, ...args) {
73 return args[a];
75 this.a = args[a];
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dexec.h32 Expected<int, Error> ExecWithCallbackNoWait(Callback callback, Span<const char *> args) in ExecWithCallbackNoWait() argument
34 ASSERT(!args.Empty()); in ExecWithCallbackNoWait()
35 ASSERT_PRINT(args[args.Size() - 1] == nullptr, "Last argument must be a nullptr"); in ExecWithCallbackNoWait()
40 execv(args[0], const_cast<char **>(args.Data())); in ExecWithCallbackNoWait()
50 Expected<int, Error> ExecWithCallback(Callback callback, Span<const char *> args) in ExecWithCallback() argument
52 auto res = ExecWithCallbackNoWait(callback, args); in ExecWithCallback()
H A Dexec.cpp23 Expected<int, Error> ExecNoWait(Span<const char *> args) in ExecNoWait() argument
25 ASSERT(!args.Empty()); in ExecNoWait()
26 ASSERT_PRINT(args[args.Size() - 1] == nullptr, "Last argument must be a nullptr"); in ExecNoWait()
30 execv(args[0], const_cast<char **>(args.Data())); in ExecNoWait()
60 Expected<int, Error> Exec(Span<const char *> args) in Exec() argument
62 auto res = ExecNoWait(args); in Exec()
/arkcompiler/ets_frontend/es2panda/test/benchmark/
H A Drun_benchmark.py52 def __init__(self, args):
53 self.args = args
59 cmds = {ES2ABC: [self.args.es2abc_tool]}
60 if self.args.parse_only and not self.args.engine_comp:
65 if self.args.opt_level and not self.args.engine_comp:
66 cmds[ES2ABC].append(f'--opt-level {self.args.opt_level}')
67 self.select_params.append(f'{OPT_LEVEL}:{self.args
[all...]

Completed in 16 milliseconds

12345678910>>...23