Home
last modified time | relevance | path

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

12345678910>>...16

/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/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/static_core/libpandafile/
Dfile_items.cpp65 if (!writer->Write(v)) { in WriteTaggedValue()
173 bool StringItem::Write(Writer *writer) in Write() function in ark::panda_file::StringItem
208 bool BaseClassItem::Write(Writer *writer) in Write() function in ark::panda_file::BaseClassItem
211 return name_.Write(writer); in Write()
292 if (!writer->Write<uint16_t>(iface->GetIndex(this))) { in WriteIfaces()
355 bool ClassItem::Write(Writer *writer) in Write() function in ark::panda_file::ClassItem
357 if (!BaseClassItem::Write(writer)) { in Write()
362 if (!writer->Write(offset)) { in Write()
383 if (!field->Write(writer)) { in Write()
389 if (!method->Write(writer)) { in Write()
[all …]
Dfile_item_container.cpp135 [[maybe_unused]] auto res = item_->Write(&writer); in Initialize()
583 if (!writer->Write<uint32_t>(classMap_.size())) { in WriteHeaderIndexInfo()
587 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
591 if (!writer->Write<uint32_t>(lineNumberProgramIndexItem_.GetNumItems())) { in WriteHeaderIndexInfo()
595 if (!writer->Write<uint32_t>(lineNumberProgramIndexItem_.GetOffset())) { in WriteHeaderIndexInfo()
599 if (!writer->Write<uint32_t>(literalarrayMap_.size())) { in WriteHeaderIndexInfo()
604 if (!writer->Write<uint32_t>(literalarrayIdxOffset)) { in WriteHeaderIndexInfo()
608 if (!writer->Write<uint32_t>(regionSectionItem_.GetNumHeaders())) { in WriteHeaderIndexInfo()
613 return writer->Write<uint32_t>(indexSectionOff); in WriteHeaderIndexInfo()
628 if (!writer->Write(checksum)) { in WriteHeader()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dfile_items.cpp101 if (!writer->Write(v)) { in WriteTaggedValue()
217 bool StringItem::Write(Writer *writer) in Write() function in panda::panda_file::StringItem
252 bool BaseClassItem::Write(Writer *writer) in Write() function in panda::panda_file::BaseClassItem
255 return name_.Write(writer); in Write()
336 if (!writer->Write<uint16_t>(iface->GetIndex(this))) { in WriteIfaces()
399 bool ClassItem::Write(Writer *writer) in Write() function in panda::panda_file::ClassItem
401 if (!BaseClassItem::Write(writer)) { in Write()
406 if (!writer->Write(offset)) { in Write()
427 if (!field->Write(writer)) { in Write()
433 if (!method->Write(writer)) { in Write()
[all …]
Dfile_item_container.cpp123 [[maybe_unused]] auto res = item_->Write(&writer); in Initialize()
593 if (!writer->Write<uint32_t>(class_map_.size())) { in WriteHeaderIndexInfo()
597 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
601 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetNumItems())) { in WriteHeaderIndexInfo()
605 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetOffset())) { in WriteHeaderIndexInfo()
609 if (!writer->Write<uint32_t>(literalarray_map_.size())) { in WriteHeaderIndexInfo()
614 if (!writer->Write<uint32_t>(literalarray_idx_offset)) { in WriteHeaderIndexInfo()
618 if (!writer->Write<uint32_t>(index_section_item_.GetNumHeaders())) { in WriteHeaderIndexInfo()
623 return writer->Write<uint32_t>(index_section_off); in WriteHeaderIndexInfo()
639 if (!writer->Write(checksum)) { in WriteHeader()
[all …]
/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_frontend/ets2panda/test/runtime/ets/
DEnum6.sts18 WRITE = 2,
29 test_access_enum_bitwise(Access.WRITE);
30 assert (Access.WRITE & Access.READWRITE) == 2;
39 assert (enum_val & Access.WRITE) == 2
/arkcompiler/ets_runtime/test/moduletest/protobuf/
Dprotobuf.js16 var write = require("./write.js"); variable
18 write.int64('11');
/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/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")
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("All times in ms\n\n")
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dbit_memory_stream.h38 void Write(size_t value, size_t length) in Write() function
44 region.Write(value, 0, length); in Write()
49 void Write(uint32_t *ptr, size_t payloadLength, size_t length) in Write() function
59 region.Write(ptr[i], i * BITS_PER_WORD, BITS_PER_WORD); in Write()
64 region.Write(ptr[i], i * BITS_PER_WORD, payloadLength % BITS_PER_WORD); in Write()
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_memory_stream.h38 void Write(size_t value, size_t length) in Write() function
44 region.Write(value, 0, length); in Write()
49 void Write(uint32_t *ptr, size_t payload_length, size_t length) in Write() function
59 region.Write(ptr[i], i * bits_per_word, bits_per_word); in Write()
64 region.Write(ptr[i], i * bits_per_word, payload_length % bits_per_word); in Write()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dinvokation_helper.h46 writer->Write(arg); in WriteArgImpl()
68 // So write additional float if necessary to prevent packing in WriteArgImpl()
72 writer->Write(0.0F); in WriteArgImpl()
75 writer->Write(arg); in WriteArgImpl()
94 writer.Write(method); in InvokeEntryPoint()
123 writer.Write(method); in InvokeEntryPoint()
146 writer.Write(method); in InvokeDynEntryPoint()
147 writer.Write(numArgs); in InvokeDynEntryPoint()
/arkcompiler/runtime_core/static_core/runtime/
Drelayout_profiler.cpp43 // write classItem in WriteProfileData()
45 auto ret = profileFile.Write(itemWithLine.c_str(), itemWithLine.size()); in WriteProfileData()
51 // write StringItem in WriteProfileData()
53 auto ret = profileFile.Write(itemWithLine.c_str(), itemWithLine.size()); in WriteProfileData()
59 // write CodeItem in WriteProfileData()
61 auto ret = profileFile.Write(itemWithLine.c_str(), itemWithLine.size()); in WriteProfileData()
/arkcompiler/ets_runtime/compiler_service/interface/
Daot_compiler_interface_stub.cpp69 LOG_SA(ERROR) << "Write Int32 failed!"; in CommandAOTCompiler()
80 LOG_SA(ERROR) << "Write sigData array failed!"; in CommandAOTCompiler()
92 LOG_SA(ERROR) << "Write Int32 failed!"; in CommandStopAOTCompiler()
103 LOG_SA(ERROR) << "Write Int32 failed!"; in CommandGetAOTVersion()
120 LOG_SA(ERROR) << "Write Int32 failed!"; in CommandNeedReCompile()
Daot_compiler_interface_proxy.cpp31 LOG_SA(ERROR) << "Write interface token failed!"; in AotCompiler()
43 LOG_SA(ERROR) << "Write [(it->first)] failed!"; in AotCompiler()
47 LOG_SA(ERROR) << "Write [(it->second)] failed!"; in AotCompiler()
89 LOG_SA(ERROR) << "Write interface token failed!"; in StopAotCompiler()
121 LOG_SA(ERROR) << "Write interface token failed!"; in GetAOTVersion()
155 LOG_SA(ERROR) << "Write interface token failed!"; in NeedReCompile()
/arkcompiler/runtime_core/static_core/irtoc/lang/
Doutput.rb27 def self.write(line) singletonMethod in Output
28 @@file.write line
32 @@file.write @@indent_str
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot.cpp98 std::fstream write(realPath.c_str(), std::ios::out | std::ios::binary | std::ios::app); in SerializeBuiltins() local
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()
254 writer.write(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in WriteToFile()
265 // Write the index in the head of string. in WriteToFile()
268 writer.write(reinterpret_cast<char *>(&indexHeader), headerSize); in WriteToFile()
269 writer.write(reinterpret_cast<char *>(str) + headerSize, strSize - headerSize); in WriteToFile()
[all …]
/arkcompiler/runtime_core/static_core/runtime/arch/
Dhelpers.h76 …(ARG_WRITER).template Write<int8_t>(v); …
81 …(ARG_WRITER).template Write<uint8_t>(v); …
86 …(ARG_WRITER).template Write<int16_t>(v); …
91 …(ARG_WRITER).template Write<uint16_t>(v); …
96 …(ARG_WRITER).template Write<int32_t>(v); …
101 …(ARG_WRITER).template Write<uint32_t>(v); …
106 …(ARG_WRITER).template Write<float>(v); …
111 …(ARG_WRITER).template Write<double>(v); …
116 …(ARG_WRITER).template Write<int64_t>(v); …
121 …(ARG_WRITER).template Write<uint64_t>(v); …
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dfile_stream.cpp124 LOG_ECMA(ERROR) << "Write FD print failed, ret" << ret; in WriteChunk()
129 LOG_ECMA(ERROR) << "Write FD file failed, ret" << ret; in WriteChunk()
140 ssize_t written = write(fd_, data, size); in WriteBinBlock()
142 perror("write"); in WriteBinBlock()
/arkcompiler/ets_runtime/test/sharedtest/sharedarray/
Dexpect_output.txt171 Index access write out of range failed. err: BusinessError: The value of index is out of range., co…
172 write element while iterate array fail. err: BusinessError: Concurrent modification exception, errC…
177 String Index access write out of range failed. err: BusinessError: The value of index is out of ran…
178 String index write element while iterate array fail. err: BusinessError: Concurrent modification ex…
181 [IC] Index access write in range success.
183 [IC] Index access write out of range failed. err: BusinessError: The value of index is out of range…
186 [IC] String Index access write in range success.
187 [IC] String Index access write out of range failed. err: BusinessError: The value of index is out o…
/arkcompiler/ets_frontend/testTs/
Dutils.py51 utils_clean.write("")
64 utils_write.write(write_content)
70 utils_append.write(add_content)

12345678910>>...16