Home
last modified time | relevance | path

Searched refs:Write (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot_json_serializer.cpp57 writer_->Write("{\"snapshot\":\n"); // 1. in SerializeSnapshotHeader()
58 writer_->Write("{\"meta\":\n"); // 2. in SerializeSnapshotHeader()
60 …writer_->Write("{\"node_fields\":[\"type\",\"name\",\"id\",\"self_size\",\"edge_count\",\"trace_no… in SerializeSnapshotHeader()
61 writer_->Write("\"detachedness\"],\n"); // 3. in SerializeSnapshotHeader()
63 …writer_->Write("\"node_types\":[[\"hidden\",\"array\",\"string\",\"object\",\"code\",\"closure\",\… in SerializeSnapshotHeader()
65 …writer_->Write("\"number\",\"native\",\"synthetic\",\"concatenated string\",\"slicedstring\",\"sym… in SerializeSnapshotHeader()
67 …writer_->Write("\"bigint\"],\"string\",\"number\",\"number\",\"number\",\"number\",\"number\"],\n"… in SerializeSnapshotHeader()
69 writer_->Write("\"edge_fields\":[\"type\",\"name_or_index\",\"to_node\"],\n"); // 5. in SerializeSnapshotHeader()
71 …writer_->Write("\"edge_types\":[[\"context\",\"element\",\"property\",\"internal\",\"hidden\",\"sh… in SerializeSnapshotHeader()
73 writer_->Write("\"weak\"],\"string_or_number\",\"node\"],\n"); // 6. in SerializeSnapshotHeader()
[all …]
Dheap_snapshot_json_serializer.h43 void Write(const CString &str) in Write() function
64 void Write(uint64_t num) in Write() function
66 Write(ToCString(num)); in Write()
/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()
559 if (!writer->Write<uint32_t>(class_map_.size())) { in WriteHeaderIndexInfo()
563 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
567 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetNumItems())) { in WriteHeaderIndexInfo()
571 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetOffset())) { in WriteHeaderIndexInfo()
575 if (!writer->Write<uint32_t>(literalarray_map_.size())) { in WriteHeaderIndexInfo()
580 if (!writer->Write<uint32_t>(literalarray_idx_offset)) { in WriteHeaderIndexInfo()
584 if (!writer->Write<uint32_t>(index_section_item_.GetNumHeaders())) { in WriteHeaderIndexInfo()
589 return writer->Write<uint32_t>(index_section_off); in WriteHeaderIndexInfo()
605 if (!writer->Write(checksum)) { in WriteHeader()
[all …]
Dfile_items.h242 virtual bool Write(Writer *writer) = 0;
419 bool Write([[maybe_unused]] Writer *writer) override in Write() function
443 bool Write(Writer *writer) override;
502 bool Write(Writer *writer) override;
540 bool Write(Writer *writer) override;
640 bool Write(Writer *writer) override;
714 bool Write(Writer *writer) override;
780 bool Write(Writer *writer) override;
933 bool Write(Writer *writer) override;
1002 bool Write(Writer *writer) override;
[all …]
Dfile_item_container.h108 bool Write(Writer *writer, bool deduplicateItems = true);
239 bool Write(Writer *writer) override;
355 bool Write(Writer *writer) override;
408 bool Write(Writer *writer) override;
511 bool Write([[maybe_unused]] Writer *writer) override in Write() function
Dfile_writer.h61 bool Write(T data) in Write() function
Dbytecode_instruction.h118 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write() function
/arkcompiler/runtime_core/libpandabase/mem/
Dalloc_tracker.cpp42 static void Write(uint32_t val, std::ostream &out) in Write() function
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()
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()
167 Write(alloc->GetTag(), out); in Dump()
168 Write(alloc->GetId(), out); in Dump()
169 Write(alloc->GetSize(), out); in Dump()
170 Write(alloc->GetSpace(), out); in Dump()
171 Write(id_map[alloc->GetStacktraceId()], out); in Dump()
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DkeyofInferenceLowerPriorityThanReturn.ts22 declare class Write {
23 protected dummy: Write;
35 [P in keyof T1]: Col<Write, T1[P]>;
37 [P in keyof T2]: Col<Write, T2[P]>;
/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()
Dbit_table.h53 static void Write(BitMemoryStreamOut<Container> &stream, const std::array<uint32_t, N> &data) in Write() function
57 … stream.Write(INLINE_MAX + BitsToBytesRoundUp(MinimumBitsToStore(value)), INLINE_BITS); in Write()
59 stream.Write(value, INLINE_BITS); in Write()
64 stream.Write(value, BitsToBytesRoundUp(MinimumBitsToStore(value)) * BITS_PER_BYTE); in Write()
598 VarintPack::Write(stream, columns_width); in Encode()
602 stream.Write(entry[i] - NO_VALUE_DIFF, columns_width[i]); in Encode()
678 VarintPack::Write(stream, columns); in Encode()
681 stream.Write(row.first, row.second, columns[0]); in Encode()
Dbit_memory_region.h138 void Write(bool value, size_t offset) in Write() function
201 void Write(uint32_t value, size_t offset, size_t length) in Write() function
/arkcompiler/runtime_core/libpandabase/tests/
Dbit_memory_region_test.cpp45 region1.Write(value, 0); in TEST()
50 region2.Write(value, offset); in TEST()
71 region1.Write(value, 0, length); in TEST()
76 region2.Write(value, offset, length); in TEST()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dfile.h63 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write() function
74 auto res = Write(buf, n); in WriteAll()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_test.cpp111 ASSERT_TRUE(container.Write(&mem_writer));
269 ASSERT_TRUE(container.Write(&writer));
297 ASSERT_TRUE(container.Write(&writer));
318 ASSERT_TRUE(container.Write(&writer));
Dfile_items_test.cpp49 ASSERT_TRUE(item.Write(&writer));
Dfile_item_container_test.cpp90 ASSERT_TRUE(container.Write(&writer));
290 ASSERT_TRUE(container.Write(&mem_writer));
425 ASSERT_TRUE(container.Write(&mem_writer));
517 ASSERT_TRUE(container.Write(&mem_writer)); in TestProtos()
642 ASSERT_TRUE(container.Write(&mem_writer));
718 ASSERT_TRUE(container.Write(&mem_writer));
764 ASSERT_TRUE(container.Write(&writer));
790 ASSERT_TRUE(container.Write(&writer));
802 ASSERT_TRUE(container.Write(&writer));
Ddebug_info_extractor_test.cpp314 ASSERT_TRUE(container.Write(&writer)); in SetUpTestSuite()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dfile.h70 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write() function
81 auto res = Write(buf, n); in WriteAll()
/arkcompiler/runtime_core/docs/diagrams/
Dstatic-analyzer-warnings-generation.puactivity36 :Write warnings to the file;
/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
Dinstruction.h69 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write() function
/arkcompiler/ets_frontend/merge_abc/
DHowToWriteProtoForAssemblyStuff.md1 # How To Write Proto For Assembly
/arkcompiler/runtime_core/compiler/tests/
Daot_test.cpp237 aot_builder.Write(cmdline, tmpfile.c_str()); in TEST_F()
582 aot_builder.Write(cmdline, tmpfile.c_str()); in TEST_F()
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.cpp1367 return items.Write(&writer); in EmitPrograms()
1421 return items.Write(writer); in Emit()
1447 if (!items.Write(&writer)) { in Emit()

12