Home
last modified time | relevance | path

Searched refs:write (Results 1 - 25 of 1411) sorted by relevance

12345678910>>...57

/arkcompiler/runtime_core/verifier/tests/
H A Dverify_sys_hap_abc.py147 f.write("<html><head><title>Verification Report</title>")
148 f.write("<style>")
149 f.write("body {font-family: Arial, sans-serif;}")
150 f.write("table {width: 100%; border-collapse: collapse;}")
151 f.write("th, td {border: 1px solid black; padding: 8px; text-align: left;}")
152 f.write("th {background-color: #f2f2f2;}")
153 f.write("tr:nth-child(even) {background-color: #f9f9f9;}")
154 f.write("tr:hover {background-color: #f1f1f1;}")
155 f.write("</style></head><body>\n")
156 f.write("<h
[all...]
/test/testfwk/developer_test/local_coverage/interface_coverage/
H A Dmake_report.py99 report.write(HTML_HEAD)
100 report.write(HTML_BODY_START)
134 report.write(report_title)
170 report.write(table_title)
171 report.write(table_start)
172 report.write(table_head)
175 report.write(content)
176 report.write(table_ended)
214 report.write(tabletitle)
215 report.write(table_star
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
H A Dsample_writer.cpp34 writeStreamPtr_->write(reinterpret_cast<const char *>(&sample.threadInfo.threadId), in WriteSample()
36 writeStreamPtr_->write(reinterpret_cast<const char *>(&sample.threadInfo.threadStatus), in WriteSample()
38 writeStreamPtr_->write(reinterpret_cast<const char *>(&sample.stackInfo.managedStackSize), in WriteSample()
40 writeStreamPtr_->write(reinterpret_cast<const char *>(sample.stackInfo.managedStack.data()), in WriteSample()
57 writeStreamPtr_->write(reinterpret_cast<const char *>(&MODULE_INDICATOR_VALUE), sizeof(MODULE_INDICATOR_VALUE)); in WriteModule()
58 writeStreamPtr_->write(reinterpret_cast<const char *>(&moduleInfo.ptr), sizeof(moduleInfo.ptr)); in WriteModule()
59 writeStreamPtr_->write(reinterpret_cast<const char *>(&moduleInfo.checksum), sizeof(moduleInfo.checksum)); in WriteModule()
60 writeStreamPtr_->write(reinterpret_cast<const char *>(&strSize), sizeof(moduleInfo.pathname.length())); in WriteModule()
61 writeStreamPtr_->write(moduleInfo.pathname.data(), moduleInfo.pathname.length() * sizeof(char)); in WriteModule()
/arkcompiler/ets_frontend/test262/
H A Dutils.py49 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")
204 LOGGING.debug(f"write file:{save_file}")
206 file.write(resul
[all...]
/arkcompiler/runtime_core/scripts/
H A Dgc_pause_stats.py52 file.write(f"GC logs: {gc_log_path}\n\n")
53 file.write("| Parameter |")
56 file.write(f" {gc_type} |")
57 file.write("\n|:----|")
59 file.write(":---:|")
61 file.write(f"\n| {stat_type} |")
63 file.write(f" {stats.get(trigger_stat).get(stat_type)} |")
64 file.write("\n\n")
191 result_file.write("_Generated by gc pause stats script_\n\n")
192 result_file.write("Al
[all...]
/arkcompiler/runtime_core/static_core/scripts/
H A Dgc_phase_time_stats.py150 result_file.write(f"<details><summary>{gc_log_file}</summary>\n\n")
151 result_file.write(title_str + '\n')
152 result_file.write(delim_table_str + '\n')
153 result_file.write(count_str + '\n')
154 result_file.write(avg_str + '\n')
155 result_file.write(median_str + '\n')
156 result_file.write(max_str + '\n')
157 result_file.write(min_str + '\n')
158 result_file.write("\n</details>\n")
167 result_file.write("\n_Generate
[all...]
H A Dgc_pause_stats.py142 file.write(f"<details><summary>{self.name}</summary>\n\n")
143 file.write("| Parameter |")
146 file.write(f" {gc_type[0]} |")
147 file.write("\n|:----|")
149 file.write(":---:|")
151 file.write(f"\n| {stat_type} |")
153 file.write(f" {trigger_stat[1].get(stat_type)} |")
154 file.write("\n\n</details>\n\n")
180 result_file.write("_Generated by gc pause stats script_\n\n")
181 result_file.write("Al
[all...]
/test/xts/hats/kernel/syscalls/fileio/write/
H A DWriteApiTest.cpp54 static const char *TEST_DATA = "Hello write!";
60 * @tc.desc : write data to file success.
75 ret = write(fd, TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
93 * @tc.desc : write to invalid fd fail.
106 ret = write(fd, TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
113 ret = write(pipefd[0], TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
123 * @tc.desc : write fd is not open for write fail.
137 ret = write(fd, TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
146 ret = write(f in HWTEST_F()
[all...]
/test/xts/acts/graphic/vktest/
H A Dgenlocal.py153 f.write("<?xml version='1.0' encoding='UTF-8'?>\n")
154 f.write("<testsuites name=\"{}\" timestamp=\"{}\" time=\"0.0\" errors=\"0\" disabled=\"0\" failures=\"{}\" tests=\"{}\" ignored=\"0\" unavailable=\"{}\" productinfo=\"{}\">\n".format(suitename, curtime, failcnt, total, unavailablecnt, "{}"))
155 f.write(" <testsuite name=\"{}\" time=\"0.0\" errors=\"0\" disabled=\"0\" failures=\"{}\" ignored=\"0\" tests=\"{}\" message=\"\">\n".format(suitename, failcnt, total))
163 f.write(" <testcase name=\"{}\" status=\"{}\" time=\"0.0\" classname=\"{}\" result=\"{}\" level=\"1\" message=\"\" />\n".format(recasename, casestate, suitename, caseresult))
164 f.write(" </testsuite>\n")
165 f.write("</testsuites>\n")
/test/testfwk/developer_test/src/core/build/
H A Dbuild_manager.py67 gn_file.write("group(\"make_temp_test\") {\n")
68 gn_file.write(" testonly = true\n")
69 gn_file.write(" deps = []\n")
71 gn_file.write(" deps += [\n")
74 gn_file.write(" \"%s\",\n" % target)
75 gn_file.write(" ]\n")
76 gn_file.write("}\n")
/test/testfwk/developer_test/aw/python/distributed/common/
H A Dcommon.py91 file_desc.write('<?xml version="1.0" encoding="UTF-8"?>\n')
92 file_desc.write(
96 file_desc.write(
101 file_desc.write(' </testsuite>\n')
102 file_desc.write('</testsuites>\n')
/arkcompiler/toolchain/tooling/client/tcpServer/
H A Dtcp_server.cpp124 write(cfd, data, strlen(data)); in StartTcpServer()
156 write(cfd, g_inputStr.c_str(), strlen(g_inputStr.c_str())); in TcpServerWrite()
162 write(cfd, g_inputStr.c_str(), strlen(g_inputStr.c_str())); in TcpServerWrite()
167 write(cfd, g_inputStr.c_str(), strlen(g_inputStr.c_str())); in TcpServerWrite()
177 write(cfd, g_inputStr.c_str(), strlen(g_inputStr.c_str())); in TcpServerWrite()
/test/testfwk/developer_test/local_coverage/restore_comment/
H A Dbuild_before_generate.py68 write_fp.write(line)
72 write_fp.write("%s //LCOV_EXCL_BR_LINE" % line.strip("\n").strip("\n\r"))
73 write_fp.write("\n")
76 write_fp.write(line)
116 out_file.write(new_json)
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot.cpp98 std::fstream write(realPath.c_str(), std::ios::out | std::ios::binary | std::ios::app); in SerializeBuiltins()
99 if (!write.good()) { in SerializeBuiltins()
100 write.close(); in SerializeBuiltins()
105 if (write.tellg()) { in SerializeBuiltins()
107 write.close(); in SerializeBuiltins()
127 WriteToFile(write, nullptr, rootObjSize, processor); in SerializeBuiltins()
256 writer.write(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in WriteToFile()
270 writer.write(reinterpret_cast<char *>(&indexHeader), headerSize); in WriteToFile()
271 writer.write(reinterpret_cast<char *>(str) + headerSize, strSize - headerSize); in WriteToFile()
278 writer.write(static_cas in WriteToFile()
[all...]
/arkcompiler/ets_runtime/ecmascript/ohos/tests/mock/
H A Dmock_aot_runtime_info.cpp69 write(fd, lines[i], strlen(lines[i])); in SetRuntimeInfo()
73 write(fd, buffer, strlen(buffer)); in SetRuntimeInfo()
76 write(fd, "\n", 1); in SetRuntimeInfo()
/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Doutput.rb27 def self.write(line) singleton method in Output
28 @@file.write line
32 @@file.write @@indent_str
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb86 File.write(options.report, summary.report.to_yaml) if options.report
87 File.write(options.uncovered, summary.uncovered.to_yaml) if options.uncovered
88 File.write(options.full, fullspec.data.to_yaml) if options.full
89 File.write(options.orphaned, fullspec.orphaned.to_yaml) if options.orphaned
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb86 File.write(options.report, summary.report.to_yaml) if options.report
87 File.write(options.uncovered, summary.uncovered.to_yaml) if options.uncovered
88 File.write(options.full, fullspec.data.to_yaml) if options.full
89 File.write(options.orphaned, fullspec.orphaned.to_yaml) if options.orphaned
/test/testfwk/developer_test/local_coverage/automate_execute/
H A Dbuild_part.py112 finput.write("1\n")
113 finput.write(run_cmd)
114 finput.write("quit\n")
115 finput.write("exit(0)\n")
/arkcompiler/ets_runtime/test/moduletest/protobuf/
H A Dprotobuf.js16 var write = require("./write.js"); variable
18 write.int64('11');
/test/testfwk/developer_test/local_coverage/
H A Dcoverage_tools.py55 out_file.write(new_json)
98 f.write("")
102 f.write("\n\n")
103 f.write("# Location for temporary directories\n")
104 f.write(f"lcov_tmp_dir = {tmp_cov_path}")
/test/xts/hats/kernel/syscalls/fileio/splice/
H A DSpliceApiTest.cpp50 write(fd, TEST_DATA, TEST_DATA_LEN); in SetUp()
117 ssize_t size = write(pipeFd[1], TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
151 ssize_t size = write(pipeFd[1], TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
243 ssize_t size = write(pipeFd[1], TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
271 ssize_t size = write(pipeFd[1], TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/
H A Dlog_tools.py57 f.write("Warning! " + msg + "\n")
64 f.write(msg)
79 f.write(msg)
/arkcompiler/ets_frontend/testTs/
H A Dutils.py51 utils_clean.write("")
64 utils_write.write(write_content)
70 utils_append.write(add_content)
/test/testfwk/developer_test/libs/fuzzlib/
H A Dfuzzer_helper.py139 filehandle.write(PROJECT_XML_TEMPLATE % template_args)
145 filehandle.write(PROJECT_DEMO_TEMPLATE % template_args)
151 filehandle.write(PROJECT_HEADER_TEMPLATE % template_args)
156 filehandle.write(PROJECT_GN_TEMPLATE % template_args)
164 filehandle.write("FUZZ")
206 file_handle.write(args.project_name.encode())

Completed in 9 milliseconds

12345678910>>...57