/arkcompiler/runtime_core/verifier/tests/ |
H A D | verify_sys_hap_abc.py | 147 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...] |
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
H A D | sample_writer.cpp | 34 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/runtime_core/scripts/ |
H A D | gc_pause_stats.py | 52 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 D | gc_phase_time_stats.py | 150 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 D | gc_pause_stats.py | 142 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...] |
/arkcompiler/ets_frontend/test262/ |
H A D | utils.py | 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") 204 LOGGING.debug(f"write file:{save_file}") 206 file.write(resul [all...] |
/arkcompiler/ets_runtime/test/moduletest/protobuf/ |
H A D | protobuf.js | 16 var write = require("./write.js"); variable 18 write.int64('11');
|
/arkcompiler/ets_runtime/ecmascript/ohos/tests/mock/ |
H A D | mock_aot_runtime_info.cpp | 69 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 D | output.rb | 27 def self.write(line) singleton method in Output 28 @@file.write line 32 @@file.write @@indent_str
|
/arkcompiler/toolchain/tooling/client/tcpServer/ |
H A D | tcp_server.cpp | 124 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()
|
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/ |
H A D | spectrac.rb | 86 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 D | spectrac.rb | 86 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/ets_frontend/ets2panda/public/headers_parser/ |
H A D | log_tools.py | 57 f.write("Warning! " + msg + "\n") 64 f.write(msg) 79 f.write(msg)
|
/arkcompiler/ets_frontend/testTs/ |
H A D | utils.py | 51 utils_clean.write("")
64 utils_write.write(write_content)
70 utils_append.write(add_content)
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot.cpp | 98 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/toolchain/build/toolchain/ |
H A D | clang_static_analyzer_wrapper.py | 62 sys.stderr.write(stderr) 66 sys.stderr.write(stderr)
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
H A D | pgo_file_info.cpp | 109 fileStream.write(reinterpret_cast<const char *>(this), Size()); in ProcessToBinary() 112 fileStream.write(reinterpret_cast<const char *>(this), sizeof(FileHeaderBase)); in ProcessToBinary() 115 fileStream.write(reinterpret_cast<const char *>(§ionNumber_), sectionSize); in ProcessToBinary()
|
H A D | pgo_method_type_set.cpp | 97 methodStream.write(reinterpret_cast<char *>(&infoRef), infoRef.Size()); in ProcessToBinary() 105 methodStream.write(reinterpret_cast<char *>(&infoRef), infoRef.Size()); in ProcessToBinary() 110 methodStream.write(reinterpret_cast<char *>(protoChainRef), protoChainRef->Size()); in ProcessToBinary() 122 methodStream.write(reinterpret_cast<char *>(&infoRef), infoRef.Size()); in ProcessToBinary() 126 stream.write(reinterpret_cast<char *>(&number), sizeof(uint32_t)); in ProcessToBinary()
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
H A D | merge_markdown.py | 76 dest_file.write(line) 85 dest_file.write("\n")
|
/arkcompiler/ets_frontend/es2panda/scripts/ |
H A D | ts2abc.js | 59 process.stdout.write(`${data}`); 75 process.stdout.write("0.0.0.2");
|
/arkcompiler/runtime_core/static_core/plugins/ets/snippet_verifier/ |
H A D | verify.py | 61 ets_file.write(indent_cropped_line) 63 ts_file.write(indent_cropped_line) 68 file.write("//" + expect_cte + "\n") 69 file.write("//" + frontend_status + "\n") 70 file.write("//" + expect_subset + "\n")
|
/arkcompiler/toolchain/test/autotest/aw/ |
H A D | utils.py | 146 def write(): function 149 file.write(line) 155 write_thread = threading.Thread(target=write)
|
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/ |
H A D | report_md.rb | 31 $stdout.write(render)
|
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/ |
H A D | report_md.rb | 31 $stdout.write(render)
|
/arkcompiler/ets_runtime/test/quickfix/ |
H A D | generate_js_and_merge_file.py | 176 fp.write(data) 224 outputfp.write(prefix + line) 242 outputfp.write(";".join(ll))
|