/arkcompiler/toolchain/test/autotest/aw/cdp/ |
H A D | debugger.py | 91 command = {'method': 'Debugger.enable'} 92 return command 96 command = {'method': 'Debugger.resume'} 97 return command 101 command = {'method': 'Debugger.removeBreakpointsByUrl', 103 return command 110 command = {'method': 'Debugger.getPossibleAndSetBreakpointByUrl', 112 return command 116 command = {'method': 'Debugger.stepOver'} 117 return command [all...] |
H A D | runtime.py | 34 command = {'method': 'Runtime.enable'} 35 return command 39 command = {'method': 'Runtime.runIfWaitingForDebugger'} 40 return command 44 command = {'method': 'Runtime.getProperties', 50 command['params']['nonIndexedPropertiesOnly'] = params.non_indexed_properties_only 51 return command
|
/arkcompiler/toolchain/build/toolchain/ |
H A D | gcc_link_wrapper.py | 6 """Runs a linking command and optionally a strip command. 19 def is_static_link(command): 20 if "-static" in command: 32 def update_crt(command): 33 for item in command: 35 index = command.index(item) 38 command[index] = new_crtbegin 39 return command 48 help='Executable file produced by linking command', [all...] |
H A D | gcc_solink_wrapper.py | 50 help='Shared object file produced by linking command', 57 parser.add_argument('command', nargs='+', help='Linking command') 62 for a in args.command: 73 result = subprocess.call(args.command, env=fast_env)
|
/arkcompiler/ets_runtime/tools/ap_file_viewer/ |
H A D | build.py | 52 def run_command(command): 53 process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) 64 command = ["npm", "install"] 65 print(f"Running command: {command}") 66 run_command(command) 69 command = ["/bin/bash", "build.sh", "--product-name", "ohos-sdk", "--build-target", 71 print(f"Running command: {command}") 72 run_command(command) [all...] |
/arkcompiler/ets_runtime/test/workloadtest/ |
H A D | work_load.py | 74 def execute_shell_command(command: str): 75 process = subprocess.Popen(command, shell=False) 79 def execute_shell_command_add(command: list): 80 for file in glob.glob(command[-1]): 81 command[-1] = file 82 process = subprocess.Popen(command, shell=False) 87 command = ['git', 'clone', repository_url, destination_path] 89 subprocess.run(command, check=True, shell=False) 91 subprocess.run(command, check=True) 95 command [all...] |
/arkcompiler/runtime_core/compiler/tests/ |
H A D | draw_cfg_test.cpp | 70 std::string command(script); in DrawCfg() 72 command.push_back(' '); in DrawCfg() 73 command.append(arg); in DrawCfg() 75 command.append(" --out " DRAW_CFG_TEST_OUT_DIR); in DrawCfg() 76 command.append(" < " + dump_file); in DrawCfg() 78 int ret = system(command.c_str()); in DrawCfg()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | cli.py | 73 def add_gen_opts(parser: argparse.ArgumentParser, command: Command) -> None: 77 required=(command == Command.GEN), 172 def __init__(self, command: Command) -> None: 174 prog=f'vmb {command.value}', 190 if command in (Command.GEN, Command.ALL): 191 add_gen_opts(self, command) 194 if command in (Command.RUN, Command.ALL): 196 if command in (Command.REPORT,): 209 self.command = None 224 self.command [all...] |
H A D | vmb.py | 75 if args.command == Command.VERSION: 79 if args.command == Command.LIST: 83 if args.command == Command.REPORT: 87 if args.command == Command.GEN: 92 if args.command == Command.ALL:
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | runtime.py | 262 command = [ 269 command.append("--debugger-break-on-start") 270 command.append(f"--debugger-library-path={str(o.debugger_library_path)}") 271 command.extend([f"--log-debug={c}" for c in o.log_debug]) 272 command.append(str(module.entry_abc)) 273 command.append(entry_point) 280 command=command, 285 LOG.info("Exec runtime %s", command)
|
/arkcompiler/ets_frontend/arkguard/scripts/ |
H A D | obfuscate_script.js | 22 const command = `node --loader=ts-node/esm src/cli/SecHarmony.ts ${obfDir} --config-path ${obfConfig} --test-type grammar`; 23 exec(command, (error, stdout, stderr) => { 25 console.error(`Error executing command: ${error.message}`);
|
H A D | execute_result_statistics.js | 31 const command = `node ./node_modules/ts-node/dist/bin.js ${filePath}`; 32 execSync(command);
|
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | update_master_and_branch.sh | 26 local command=$1 28 echo "attempt $i to execute the command \"$command\"" 29 $command && return 0 34 echo "the command \"$command\" failed, checkout to the source branch \"$BRANCH\""
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/ |
H A D | coverage.py | 51 def run_command(self, command: List[str], stdout: Union[TextIO, int] = subprocess.PIPE) -> Union[TextIO, int]: 53 args=command, 60 Log.all(_LOGGER, f"Timeout when try execute {command}") 64 command = ['genhtml'] + args 65 return self.run_command(command) 145 command = self.llvm_cov_commands.llvm_cov_export_command(args) 149 self.linux_commands.run_command(command, stdout=file_dot_info)
|
/arkcompiler/toolchain/tooling/client/tcpServer/test/ |
H A D | js_test_base.py | 75 def send_command(self, command): 76 if command == '': 78 sent = self.tcp_client_socket.send(command.encode('utf-8')) 80 self.fail('Failed to send command: %s' % command)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
H A D | swiftc.py | 35 self.command = f'{self.swiftc} ' \ 43 self.command = f'{self.swiftc} -O -gnone -wmo -v {self.custom} ' \ 59 cmd = self.command.format(exe=exe, src=src)
|
/arkcompiler/ets_runtime/test/regresstest/ |
H A D | run_regress_test.py | 245 command: List[str] = dataclasses.field(default_factory=list) # command to run 254 cmd = " ".join([str(cmd) for cmd in self.command]) 491 command = [ 498 step_result = StepResult(self.name, command=command, fileinfo=file_info_content) 499 Utils.exec_command(command, test_report.test_id, step_result, self.args.timeout, 552 command = self.get_test_ap_cmd(test_report) 553 step = StepResult(self.name, command=command) [all...] |
/arkcompiler/runtime_core/verifier/tests/ |
H A D | verify_262abc_files.py | 37 command = [verifier_path, "--input_file", file_path] 38 result = subprocess.run(command, shell=False)
|
H A D | verify_es2panda_test_abc.py | 87 def run_command(command): 88 result = subprocess.run(command, capture_output=True, text=True)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/ |
H A D | test_cli.py | 38 test.assertTrue(args.command == Command.GEN) 43 test.assertTrue(args.command == Command.ALL)
|
/arkcompiler/toolchain/test/autotest/aw/ |
H A D | utils.py | 52 async def communicate_with_debugger_server(cls, instance_id, to_send_queue, received_queue, command, message_id): 58 command['id'] = message_id 59 await WebSocket.send_msg_to_debugger_server(instance_id, to_send_queue, command)
|
/arkcompiler/ets_runtime/test/aotjsperftest/ |
H A D | run_js_perf_test.sh | 27 command=$1 28 type "$command" >/dev/null 2>&1
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/gc-hung/ |
H A D | gc_hung.cpp | 167 PandaString command = "P=" + ToPandaString(pid); in SendZerohungEvent() local 168 zrhungSendEvent_(ZRHUNG_WP_GC, command.c_str(), msg.c_str()); in SendZerohungEvent()
|
/arkcompiler/ets_frontend/test262/ |
H A D | utils.py | 167 LOGGING.debug("command: " + self.cmd) 173 def run_cmd(command): 174 cmd = Command(command) 185 LOGGING.debug("command: " + cmd + " | " + "dir: " + self.cwd)
|
/arkcompiler/ets_runtime/test/ffiworkloadtest/ |
H A D | run_ffi_workload_test.sh | 32 command=$1 33 if type "$command" >/dev/null 2>&1; then return $ret_ok; else return $ret_error; fi
|