Home
last modified time | relevance | path

Searched refs:sys (Results 1 - 25 of 200) sorted by relevance

12345678

/arkcompiler/toolchain/build/misc/mac/
H A Dfind_sdk.py18 import sys namespace
62 print(out, file=sys.stderr)
63 print(err, file=sys.stderr)
88 print('', file=sys.stderr)
90 file=sys.stderr)
91 print('', file=sys.stderr)
94 % min_sdk_version, file=sys.stderr)
97 file=sys.stderr)
98 print('', file=sys.stderr)
100 file=sys
[all...]
H A Dcheck_return_value.py13 import sys namespace
16 if not subprocess.call(sys.argv[1:], stdout=devnull, stderr=devnull):
/arkcompiler/toolchain/test/autotest/
H A Drun.py23 import sys namespace
27 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
32 current_version = sys.version_info
41 sys.exit(1)
46 subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-r', requirements_file], timeout=10)
50 sys.exit(1)
66 args = sys.argv[1:]
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/scripts/
H A Dhandle_fileinfo.py21 import sys namespace
37 if len(sys.argv) != 4:
38 print(f"Usage: {sys.argv[0]} <input_file> <output_file> <prefix_path>")
39 sys.exit(1)
40 main(sys.argv[1], sys.argv[2], sys.argv[3])
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/
H A Dmain.py20 import sys namespace
25 sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
26 sys.exit(pytest.main())
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dmerge_markdown.py19 import sys namespace
89 if len(sys.argv) != 4:
90 sys.exit("Usage:\n" + sys.argv[0] + "source_dir target build_dir")
92 source_dir = sys.argv[1]
93 target = sys.argv[2]
94 build_dir = sys.argv[3]
/arkcompiler/ets_frontend/ets2panda/linter/
H A Dcompare_branches.py19 import sys namespace
67 if len(sys.argv) != 3:
68 print('Usage:\n{} first_branch_name second_branch_name'.format(sys.argv[0]))
71 first_branch_name = sys.argv[1]
72 second_branch_name = sys.argv[2]
91 sys.exit(main())
/arkcompiler/runtime_core/scripts/
H A Dgc_pause_stats.py16 import sys namespace
168 if len(sys.argv) < 3:
169 print("Incorrect parameters count", file=sys.stderr)
170 print("Usage: ", file=sys.stderr)
172 f" python3 {sys.argv[0]} <gc_log_1...> <results_path>", file=sys.stderr)
173 print(f" gc_log_num -- Path to gc logs or application logs with gc logs", file=sys.stderr)
175 f" results_path -- Path to result file with pause stats", file=sys.stderr)
177 f"Example: python3 {sys.argv[0]} gc_log.txt result.md", file=sys
[all...]
H A Drun_check_atomic_format.py21 import sys namespace
23 if len(sys.argv) < 2:
24 sys.exit("File name to be checked was not specified")
25 FILE = sys.argv[1]
123 sys.exit(process_results(COMMENTS, OPERATIONS))
/arkcompiler/toolchain/build/scripts/
H A Dcheck_mac_system_and_cpu.py17 import sys namespace
55 if sys.argv[1] == "cpu":
57 elif sys.argv[1] == "system":
63 sys.exit(main())
/arkcompiler/toolchain/build/toolchain/
H A Dclang_static_analyzer_wrapper.py13 import sys namespace
62 sys.stderr.write(stderr)
66 sys.stderr.write(stderr)
72 sys.exit(main())
H A Dget_concurrent_links.py16 import sys namespace
20 if sys.platform in ('win32', 'cygwin'):
39 elif sys.platform.startswith('linux'):
48 elif sys.platform == 'darwin':
91 sys.exit(main())
H A Dget_cpu_count.py10 import sys namespace
24 sys.exit(main())
/arkcompiler/toolchain/build/toolchain/mac/
H A Dfilter_libtool.py10 import sys namespace
43 print(line, file=sys.stderr)
55 sys.exit(main(sys.argv[1:]))
H A Dget_tool_mtime.py8 import sys namespace
17 for f in sys.argv[1:]:
/arkcompiler/ets_frontend/test262/
H A Dutils.py23 import sys namespace
49 sys.stderr.write("Aborted (core dumped)")
51 sys.stderr.write("Aborted (core dumped)")
53 sys.stderr.write("Segmentation fault (core dumped)")
55 sys.stderr.write(str(msg))
57 sys.stderr.write("Unknown Error: " + str(retcode))
120 sys.stderr.write("\n")
121 sys.stderr.write(" ".join(cmd_args))
122 sys.stderr.write("\n")
226 sys
[all...]
/arkcompiler/toolchain/websocket/
H A Ddefine.h30 #include <sys/socket.h>
31 #include <sys/types.h>
32 #include <sys/un.h>
/arkcompiler/runtime_core/static_core/scripts/
H A Dgc_pause_stats.py16 import sys namespace
139 print(f"{self.name}: No gc logs", file=sys.stderr)
254 if len(sys.argv) < 3:
255 print("Incorrect parameters count", file=sys.stderr)
256 print("Usage: ", file=sys.stderr)
258 f" python3 {sys.argv[0]} <gc_log_1...> <results_path>", file=sys.stderr)
259 print(f" gc_log_num -- Path to gc logs or application logs with gc logs", file=sys.stderr)
261 f" results_path -- Path to result file with pause stats", file=sys.stderr)
263 f"Example: python3 {sys
[all...]
/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/
H A Dos.cpp20 #include <sys/mman.h>
21 #include <sys/prctl.h>
22 #include <sys/ptrace.h>
23 #include <sys/sysinfo.h>
24 #include <sys/types.h>
25 #include <sys/xattr.h>
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/
H A Dcmake_checker.py26 import sys namespace
89 os.path.relpath(file, directory), line_number), file=sys.stderr)
120 args = [sys.argv[0], directory]
126 sys.exit("Failed: cmake-checker doesn't work properly.")
132 arg_directory = sys.argv[1]
133 if len(sys.argv) == 3:
/arkcompiler/ets_frontend/test/scripts/sdk_test/
H A Drun.py23 import sys namespace
39 sys.exit(1)
43 sys.exit(1)
/arkcompiler/toolchain/build/config/mac/
H A Dsdk_info.py12 import sys namespace
88 sys.stderr.write(
90 os.path.basename(sys.argv[0]))
91 sys.exit(1)
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dkill.cpp18 #include <sys/types.h>
19 #include <sys/wait.h>
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/
H A Dmain.py23 import sys namespace
94 dst = os.path.join(result_folder, f"{os.path.splitext(os.path.relpath(path, sys.argv[1]))[0]}.yaml")
102 if len(sys.argv) < 4:
105 lib_gen_dir = sys.argv[2]
111 files_list = list(sys.argv[3:])
/arkcompiler/toolchain/tooling/client/tcpServer/test/
H A Djs_test_base.py20 import sys namespace
58 sys.exit(0)
103 sys.exit(0)
111 sys.exit(0)

Completed in 7 milliseconds

12345678