Home
last modified time | relevance | path

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

/ark/runtime_core/libpandafile/
Dfile_items.cpp63 if (!writer->Write(v)) { in WriteTaggedValue()
96 bool StringItem::Write(Writer *writer) in Write() function in panda::panda_file::StringItem
132 bool BaseClassItem::Write(Writer *writer) in Write() function in panda::panda_file::BaseClassItem
135 return name_.Write(writer); in Write()
216 if (!writer->Write<uint16_t>(iface->GetIndex(this))) { in WriteIfaces()
279 bool ClassItem::Write(Writer *writer) in Write() function in panda::panda_file::ClassItem
281 if (!BaseClassItem::Write(writer)) { in Write()
286 if (!writer->Write(offset)) { in Write()
307 if (!field->Write(writer)) { in Write()
313 if (!method->Write(writer)) { in Write()
[all …]
Dfile_item_container.cpp123 [[maybe_unused]] auto res = item_->Write(&writer); in Initialize()
531 if (!writer->Write<uint32_t>(class_map_.size())) { in WriteHeaderIndexInfo()
535 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
539 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetNumItems())) { in WriteHeaderIndexInfo()
543 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetOffset())) { in WriteHeaderIndexInfo()
547 if (!writer->Write<uint32_t>(literalarray_map_.size())) { in WriteHeaderIndexInfo()
552 if (!writer->Write<uint32_t>(literalarray_idx_offset)) { in WriteHeaderIndexInfo()
556 if (!writer->Write<uint32_t>(index_section_item_.GetNumHeaders())) { in WriteHeaderIndexInfo()
561 return writer->Write<uint32_t>(index_section_off); in WriteHeaderIndexInfo()
576 if (!writer->Write(checksum)) { in WriteHeader()
[all …]
Dfile_items.h181 virtual bool Write(Writer *writer) = 0;
338 bool Write([[maybe_unused]] Writer *writer) override in Write() function
360 bool Write(Writer *writer) override;
404 bool Write(Writer *writer) override;
442 bool Write(Writer *writer) override;
541 bool Write(Writer *writer) override;
613 bool Write(Writer *writer) override;
661 bool Write(Writer *writer) override;
811 bool Write(Writer *writer) override;
879 bool Write(Writer *writer) override;
[all …]
Dfile_item_container.h90 bool Write(Writer *writer);
114 bool Write(Writer *writer) override;
233 bool Write(Writer *writer) override;
286 bool Write(Writer *writer) override;
396 bool Write([[maybe_unused]] Writer *writer) override in Write() function
Dfile_writer.h65 bool Write(T data) in Write() function
193 auto res = Write<uint32_t>(checksum_); in WriteChecksum()
/ark/runtime_core/libpandabase/mem/
Dalloc_tracker.cpp43 static void Write(uint32_t val, std::ostream &out) in Write() function
48 static void Write(const std::string &str, std::ostream &out) in Write() function
50 Write(static_cast<uint32_t>(str.size()), out); in Write()
149 Write(0, out); // nuber of items, will be updated later in Dump()
150 Write(0, out); // number of stacktraces, will be updated later in Dump()
171 Write(alloc->GetTag(), out); in Dump()
172 Write(alloc->GetId(), out); in Dump()
173 Write(alloc->GetSize(), out); in Dump()
174 Write(alloc->GetSpace(), out); in Dump()
175 Write(id_map[alloc->GetStacktraceId()], out); in Dump()
[all …]
/ark/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()
594 VarintPack::Write(stream, columns_width); in Encode()
598 stream.Write(entry[i] - NO_VALUE_DIFF, columns_width[i]); in Encode()
668 VarintPack::Write(stream, columns); in Encode()
671 stream.Write(row.first, row.second, columns[0]); in Encode()
Dbit_memory_region.h139 void Write(bool value, size_t offset) in Write() function
202 void Write(uint32_t value, size_t offset, size_t length) in Write() function
/ark/runtime_core/runtime/tests/
Dinvokation_helper.h46 writer->Write(arg); in WriteArgImpl()
71 writer->Write(0.0f); in WriteArgImpl()
74 writer->Write(arg); in WriteArgImpl()
93 writer.Write(method); in InvokeEntryPoint()
148 writer.Write(method); in InvokeEntryPoint()
171 writer.Write(method); in InvokeDynEntryPoint()
172 writer.Write(num_args); in InvokeDynEntryPoint()
Dinterpreter_test.cpp127 container.Write(&mem_writer); in CreateMethod()
/ark/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()
/ark/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp85 ASSERT_TRUE(container.Write(&writer)); in TEST()
222 ASSERT_TRUE(container.Write(&mem_writer)); in TEST()
354 ASSERT_TRUE(container.Write(&mem_writer)); in TEST()
444 ASSERT_TRUE(container.Write(&mem_writer)); in TestProtos()
554 ASSERT_TRUE(container.Write(&mem_writer)); in TEST()
621 ASSERT_TRUE(container.Write(&mem_writer)); in TEST()
666 ASSERT_TRUE(container.Write(&writer)); in TEST()
688 ASSERT_TRUE(container.Write(&writer)); in TEST()
700 ASSERT_TRUE(container.Write(&writer)); in TEST()
Dfile_items_test.cpp49 ASSERT_TRUE(item.Write(&writer)); in TEST()
Dfile_test.cpp126 ASSERT_TRUE(container.Write(&mem_writer)); in TEST()
Ddebug_info_extractor_test.cpp314 ASSERT_TRUE(container.Write(&writer)); in SetUpTestCase()
/ark/runtime_core/libpandabase/os/windows/
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()
/ark/runtime_core/libpandabase/os/unix/
Dfile.h61 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write() function
72 auto res = Write(buf, n); in WriteAll()
/ark/runtime_core/docs/diagrams/
Dstatic-analyzer-warnings-generation.puactivity36 :Write warnings to the file;
/ark/runtime_core/runtime/arch/
Dhelpers.h215 void Write(T v)
276 void Write(T v) // CODECHECK-NOLINT(C_RULE_ID_FUNCTION_SIZE)
/ark/runtime_core/assembler/
Dassembly-emitter.cpp1491 return items.Write(writer); in Emit()
1521 if (!items.Write(&writer)) { in Emit()
/ark/runtime_core/docs/
Dmemory-management.md527 ##### GC Write Barriers
/ark/ts2abc/testTs/
Dtest-case.patch13211 +let qu9 = new Write();