Home
last modified time | relevance | path

Searched full:write (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/arkcompiler/ets_frontend/ets2panda/bindings/test/
Dprepare.ps122 Write-Error "Error: 'ets' directory not found in $ScriptDir."
23 Write-Error "Please make sure the 'ets' directory exists before running bindings test."
37 Write-Host "Restoring path '$ScriptDir' back to '$OldPath' in files..."
40 Write-Host "Replacing path '$OldPath' with '$ScriptDir' in files..."
49 Write-Host "Directory $directory does not exist. Skipping." in Process-Directory()
53 Write-Host "Processing directory: $directory" in Process-Directory()
58 Write-Host "Processing file: $($file.FullName)" in Process-Directory()
79 Write-Host "Removed '$ScriptDir\..\ets2panda' directory."
81 Write-Host "Path restoration completed."
89 Write-Error "Source directory '$sourceDir' does not exist."
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/
DArkStream.ts26 public write(s: string): this { method in ArkCodeBuffer
32 this.write(s);
33 this.write('\n');
41 this.write(s);
42 this.write(' ');
47 this.write(`'${s}'`);
52 this.write(this.indent);
89 public write(s: string): this { method in ArkStream
90 this.streamOut.write(s);
DViewTreePrinter.ts45 this.printer.write(DOT_FILE_HEADER);
47 this.printer.write('}');
78 this.printer.write(` ${id} [label="${item.name}" style=filled color="green"]\n`);
80 this.printer.write(` ${id} [label="${item.name}"]\n`);
84 this.printer.write(` ${map.get(parent)!} -> ${id}\n`);
92 this.printer.write(` {rank="same"; ${id};${map.get(item)};}\n`);
93 this.printer.write(` ${id} -> ${map.get(item)}[style=dotted]\n`);
96 this.printer.write(` {rank="same"; ${id};${map.get(item.signature!)};}\n`);
97 this.printer.write(` ${id} -> ${map.get(item.signature!)}[style=dotted]\n`);
116 this.printer.write(
[all …]
/arkcompiler/runtime_core/verifier/tests/
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("<h1>Verification Report</h1>\n")
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
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_INDI… 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.che… 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/taihe/compiler/taihe/codegen/abi/
Dwriter.py46 f.write("#pragma clang diagnostic push\n")
47 f.write('#pragma clang diagnostic ignored "-Weverything"\n')
48 f.write('#pragma clang diagnostic warning "-Wextra"\n')
49 f.write('#pragma clang diagnostic warning "-Wall"\n')
51 f.write(f'#include "{header}"\n')
56 f.write("#pragma clang diagnostic pop\n")
68 f.write("#pragma once\n")
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/source/
DSourceClass.ts74 .write(`${this.classOriginTypeToString(this.cls.getCategory())} `);
77 this.printer.write(this.cls.getName());
81 this.printer.write(`<${this.transformer.typeArrayToString(genericsTypes)}>`);
84 this.printer.write(` extends ${this.cls.getSuperClassName()}`);
87 this.printer.write(` implements ${this.cls.getImplementedInterfaceNames().join(', ')}`);
99 this.printer.write(v.dump());
103 this.printer.writeIndent().write('}');
111 this.printer.write('{');
116 this.printer.write(name);
118 this.printer.write(`'${name}'`);
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dalloc_tracker.cpp42 static void Write(uint32_t val, std::ostream &out) in Write() function
44 out.write(reinterpret_cast<char *>(&val), sizeof(val)); in Write()
47 static void Write(const std::string &str, std::ostream &out) in Write() function
49 Write(static_cast<uint32_t>(str.size()), out); in Write()
50 out.write(str.c_str(), static_cast<std::streamsize>(str.length())); in Write()
134 << "\nCheck the directory has write permissions or" in Dump()
145 Write(0, out); // number of items, will be updated later in Dump()
146 Write(0, out); // number of stacktraces, will be updated later in Dump()
151 // Write end marker to the current arena in Dump()
167 Write(alloc->GetTag(), out); in Dump()
[all …]
/arkcompiler/runtime_core/libpandabase/mem/
Dalloc_tracker.cpp42 static void Write(uint32_t val, std::ostream &out) in Write() function
44 out.write(reinterpret_cast<char *>(&val), sizeof(val)); in Write()
47 static void Write(const std::string &str, std::ostream &out) in Write() function
49 Write(static_cast<uint32_t>(str.size()), out); in Write()
50 out.write(str.c_str(), str.length()); in Write()
134 << "\nCheck the directory has write permissions or" in Dump()
145 Write(0, out); // number of items, will be updated later in Dump()
146 Write(0, out); // number of stacktraces, will be updated later in Dump()
151 // Write end marker to the current arena in Dump()
167 Write(alloc->GetTag(), out); in Dump()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dfile_items.cpp107 if (!writer->Write(v)) { in WriteTaggedValue()
223 bool StringItem::Write(Writer *writer) in Write() function in panda::panda_file::StringItem
258 bool BaseClassItem::Write(Writer *writer) in Write() function in panda::panda_file::BaseClassItem
261 return name_.Write(writer); in Write()
342 if (!writer->Write<uint16_t>(iface->GetIndex(this))) { in WriteIfaces()
405 bool ClassItem::Write(Writer *writer) in Write() function in panda::panda_file::ClassItem
407 if (!BaseClassItem::Write(writer)) { in Write()
412 if (!writer->Write(offset)) { in Write()
433 if (!field->Write(writer)) { in Write()
439 if (!method->Write(writer)) { in Write()
[all …]
Dfile_item_container.cpp120 [[maybe_unused]] auto res = item_->Write(&writer); in Initialize()
607 if (!writer->Write<uint32_t>(class_map_.size())) { in WriteHeaderIndexInfo()
611 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
615 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetNumItems())) { in WriteHeaderIndexInfo()
619 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetOffset())) { in WriteHeaderIndexInfo()
635 if (!writer->Write<uint32_t>(num_literalarrays)) { in WriteHeaderIndexInfo()
639 if (!writer->Write<uint32_t>(literalarray_idx_offset)) { in WriteHeaderIndexInfo()
643 if (!writer->Write<uint32_t>(index_section_item_.GetNumHeaders())) { in WriteHeaderIndexInfo()
647 return writer->Write<uint32_t>(index_section_off); in WriteHeaderIndexInfo()
663 if (!writer->Write(checksum)) { in WriteHeader()
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dfile_items.cpp65 if (!writer->Write(v)) { in WriteTaggedValue()
174 bool StringItem::Write(Writer *writer) in Write() function in ark::panda_file::StringItem
209 bool BaseClassItem::Write(Writer *writer) in Write() function in ark::panda_file::BaseClassItem
212 return name_.Write(writer); in Write()
293 if (!writer->Write<uint16_t>(iface->GetIndex(this))) { in WriteIfaces()
356 bool ClassItem::Write(Writer *writer) in Write() function in ark::panda_file::ClassItem
358 if (!BaseClassItem::Write(writer)) { in Write()
363 if (!writer->Write(offset)) { in Write()
384 if (!field->Write(writer)) { in Write()
390 if (!method->Write(writer)) { in Write()
[all …]
/arkcompiler/runtime_core/taihe/compiler/
Dgenerate-grammar71 file.write(
108 file.write(f" {node_kind} = Union[\n")
114 file.write(f" {attr_hint},\n")
115 file.write(f" ]\n" f"\n")
118 file.write(f" @dataclass\n" f" class {node_kind}(any):\n")
121 file.write(f" {attr_name}: {attr_hint}\n")
122 file.write(
132 file.write(
159 file.write(
164 file.write(
/arkcompiler/ets_frontend/test262/
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(result + "\n")
[all …]
/arkcompiler/ets_runtime/test/moduletest/protobuf/
Dprotobuf.js16 var write = require("./write.js"); variable
18 write.int64('11');
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DEnum6.ets18 WRITE = 2,
29 test_access_enum_bitwise(Access.WRITE);
30 assertEQ((Access.WRITE & Access.READWRITE), 2)
39 assertEQ((enum_val & Access.WRITE), 2)
Denum-initialize-with-itself.ets19 Write = 1 << 2,
20 ReadWrite = Read | Write
26 Write = 1 << 2,
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/base/
DExportPrinter.ts49 …this.printer.writeIndent().write(`export ${this.info.getNameBeforeAs()} as ${this.info.getExportCl…
51 this.printer.writeIndent().write(`export ${this.info.getExportClauseName()}`);
56 …this.printer.write(`export {${this.info.getNameBeforeAs()} as ${this.info.getExportClauseName()}}`…
58 this.printer.write(`export {${this.info.getExportClauseName()}}`);
62 this.printer.write(` from '${this.info.getFrom() as string}'`);
/arkcompiler/runtime_core/static_core/scripts/
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_Generated by phase pause stats script_\n\n")
/arkcompiler/runtime_core/scripts/
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("All times in ms\n\n")
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/StringDecoder/
DEncodingTest.ets47 const decoded = decoder.write(input);
63 const decoded = decoder.write(input);
79 const decoded = decoder.write(input);
95 const decoded = decoder.write(input);
134 const decoded1 = decoder.write(input1)
135 const decoded2 = decoder.write(input2)
144 const decoded3 = decoder.write(input3)
145 const decodedend3 = decoder.write(input33)
151 const decoded4 = decoder.write(input4)
152 const decodedend4 = decoder.write(input44)
[all …]
/arkcompiler/runtime_core/taihe/compiler/taihe/utils/
Doutputs.py94 self._out.write("\n")
103 line: The line to write (must not contain newlines)
108 self._out.write("\n")
111 self._out.write(self._current_indent)
112 self._out.write(line)
113 self._out.write("\n")
119 *lines: One or more lines to write
131 text_block: The block of text to write
142 comment: The comment text to write. Can be multi-line.
145 self._out.write(self._current_indent)
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/modify_api/literals/
Dliterals_test.cpp45 // Write output file in TEST_F()
60 // Write output file in TEST_F()
75 // Write output file in TEST_F()
90 // Write output file in TEST_F()
105 // Write output file in TEST_F()
120 // Write output file in TEST_F()
135 // Write output file in TEST_F()
150 // Write output file in TEST_F()
170 // Write output file in TEST_F()
185 // Write output file in TEST_F()
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/inspect_api/literals/
Dliterals_test.cpp45 // Write output file in TEST_F()
61 // Write output file in TEST_F()
77 // Write output file in TEST_F()
93 // Write output file in TEST_F()
109 // Write output file in TEST_F()
125 // Write output file in TEST_F()
141 // Write output file in TEST_F()
157 // Write output file in TEST_F()
178 // Write output file in TEST_F()
194 // Write output file in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/11.Enumerations/
Denum_const_expr_02_02.ets25 WRITE = 1 << 1,
26 READ_WRITE = READ | WRITE
33 assertEQ( ConstExpr.WRITE.getValue(), 2)

12345678910>>...23