Home
last modified time | relevance | path

Searched refs:Write (Results 1 - 25 of 56) sorted by relevance

123

/arkcompiler/runtime_core/libpandafile/
H A 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(write in Write()
470 bool ParamAnnotationsItem::Write(Writer *writer) Write() function in panda::panda_file::ParamAnnotationsItem
535 bool ProtoItem::Write(Writer *writer) Write() function in panda::panda_file::ProtoItem
568 bool BaseMethodItem::Write(Writer *writer) Write() function in panda::panda_file::BaseMethodItem
724 bool MethodItem::Write(Writer *writer) Write() function in panda::panda_file::MethodItem
741 bool CodeItem::CatchBlock::Write(Writer *writer) Write() function in panda::panda_file::CodeItem::CatchBlock
792 bool CodeItem::TryBlock::Write(Writer *writer) Write() function in panda::panda_file::CodeItem::TryBlock
856 bool CodeItem::Write(Writer *writer) Write() function in panda::panda_file::CodeItem
974 bool ScalarValueItem::Write(Writer *writer) Write() function in panda::panda_file::ScalarValueItem
1044 bool ArrayValueItem::Write(Writer *writer) Write() function in panda::panda_file::ArrayValueItem
1167 bool LiteralItem::Write(Writer *writer) Write() function in panda::panda_file::LiteralItem
1234 bool LiteralArrayItem::Write(Writer *writer) Write() function in panda::panda_file::LiteralArrayItem
1264 bool BaseFieldItem::Write(Writer *writer) Write() function in panda::panda_file::BaseFieldItem
1388 bool FieldItem::Write(Writer *writer) Write() function in panda::panda_file::FieldItem
1409 bool AnnotationItem::Write(Writer *writer) Write() function in panda::panda_file::AnnotationItem
1616 bool LineNumberProgramItem::Write(Writer *writer) Write() function in panda::panda_file::LineNumberProgramItem
1645 bool DebugInfoItem::Write(Writer *writer) Write() function in panda::panda_file::DebugInfoItem
1711 bool MethodHandleItem::Write(Writer *writer) Write() function in panda::panda_file::MethodHandleItem
[all...]
H A Dfile_item_container.cpp123 [[maybe_unused]] auto res = item_->Write(&writer); in Initialize()
599 if (!writer->Write<uint32_t>(class_map_.size())) { in WriteHeaderIndexInfo()
603 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
607 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetNumItems())) { in WriteHeaderIndexInfo()
611 if (!writer->Write<uint32_t>(line_number_program_index_item_.GetOffset())) { in WriteHeaderIndexInfo()
627 if (!writer->Write<uint32_t>(num_literalarrays)) { in WriteHeaderIndexInfo()
631 if (!writer->Write<uint32_t>(literalarray_idx_offset)) { in WriteHeaderIndexInfo()
635 if (!writer->Write<uint32_t>(index_section_item_.GetNumHeaders())) { in WriteHeaderIndexInfo()
639 return writer->Write<uint32_t>(index_section_off); in WriteHeaderIndexInfo()
655 if (!writer->Write(checksu in WriteHeader()
713 bool ItemContainer::Write(Writer *writer, bool deduplicateItems) Write() function in panda::panda_file::ItemContainer
879 bool ItemContainer::IndexHeaderItem::Write(Writer *writer) Write() function in panda::panda_file::ItemContainer::IndexHeaderItem
956 bool ItemContainer::IndexItem::Write(Writer *writer) Write() function in panda::panda_file::ItemContainer::IndexItem
1043 bool ItemContainer::IndexSectionItem::Write(Writer *writer) Write() function in panda::panda_file::ItemContainer::IndexSectionItem
[all...]
H A Dfile_items.h253 virtual bool Write(Writer *writer) = 0;
441 bool Write([[maybe_unused]] Writer *writer) override
465 bool Write(Writer *writer) override;
524 bool Write(Writer *writer) override;
567 bool Write(Writer *writer) override;
667 bool Write(Writer *writer) override;
741 bool Write(Writer *writer) override;
807 bool Write(Writer *writer) override;
960 bool Write(Writer *writer) override;
1029 bool Write(Write
[all...]
H A Dfile_item_container.h109 bool Write(Writer *writer, bool deduplicateItems = true);
273 bool Write(Writer *writer) override;
392 bool Write(Writer *writer) override;
445 bool Write(Writer *writer) override;
548 bool Write([[maybe_unused]] Writer *writer) override
/arkcompiler/runtime_core/static_core/libpandafile/
H A 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(write in Write()
427 bool ParamAnnotationsItem::Write(Writer *writer) Write() function in ark::panda_file::ParamAnnotationsItem
485 bool ProtoItem::Write(Writer *writer) Write() function in ark::panda_file::ProtoItem
517 bool BaseMethodItem::Write(Writer *writer) Write() function in ark::panda_file::BaseMethodItem
671 bool MethodItem::Write(Writer *writer) Write() function in ark::panda_file::MethodItem
688 bool CodeItem::CatchBlock::Write(Writer *writer) Write() function in ark::panda_file::CodeItem::CatchBlock
738 bool CodeItem::TryBlock::Write(Writer *writer) Write() function in ark::panda_file::CodeItem::TryBlock
802 bool CodeItem::Write(Writer *writer) Write() function in ark::panda_file::CodeItem
920 bool ScalarValueItem::Write(Writer *writer) Write() function in ark::panda_file::ScalarValueItem
990 bool ArrayValueItem::Write(Writer *writer) Write() function in ark::panda_file::ArrayValueItem
1107 bool LiteralItem::Write(Writer *writer) Write() function in ark::panda_file::LiteralItem
1170 bool LiteralArrayItem::Write(Writer *writer) Write() function in ark::panda_file::LiteralArrayItem
1200 bool BaseFieldItem::Write(Writer *writer) Write() function in ark::panda_file::BaseFieldItem
1324 bool FieldItem::Write(Writer *writer) Write() function in ark::panda_file::FieldItem
1345 bool AnnotationItem::Write(Writer *writer) Write() function in ark::panda_file::AnnotationItem
1555 bool LineNumberProgramItem::Write(Writer *writer) Write() function in ark::panda_file::LineNumberProgramItem
1584 bool DebugInfoItem::Write(Writer *writer) Write() function in ark::panda_file::DebugInfoItem
1650 bool MethodHandleItem::Write(Writer *writer) Write() function in ark::panda_file::MethodHandleItem
[all...]
H A Dfile_item_container.cpp135 [[maybe_unused]] auto res = item_->Write(&writer); in Initialize()
584 if (!writer->Write<uint32_t>(classMap_.size())) { in WriteHeaderIndexInfo()
588 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
592 if (!writer->Write<uint32_t>(lineNumberProgramIndexItem_.GetNumItems())) { in WriteHeaderIndexInfo()
596 if (!writer->Write<uint32_t>(lineNumberProgramIndexItem_.GetOffset())) { in WriteHeaderIndexInfo()
600 if (!writer->Write<uint32_t>(literalarrayMap_.size())) { in WriteHeaderIndexInfo()
605 if (!writer->Write<uint32_t>(literalarrayIdxOffset)) { in WriteHeaderIndexInfo()
609 if (!writer->Write<uint32_t>(regionSectionItem_.GetNumHeaders())) { in WriteHeaderIndexInfo()
614 return writer->Write<uint32_t>(indexSectionOff); in WriteHeaderIndexInfo()
629 if (!writer->Write(checksu in WriteHeader()
660 bool ItemContainer::Write(Writer *writer, bool deduplicateItems, bool computeLayout) Write() function in ark::panda_file::ItemContainer
825 bool ItemContainer::RegionHeaderItem::Write(Writer *writer) Write() function in ark::panda_file::ItemContainer::RegionHeaderItem
891 bool ItemContainer::IndexItem::Write(Writer *writer) Write() function in ark::panda_file::ItemContainer::IndexItem
976 bool ItemContainer::RegionSectionItem::Write(Writer *writer) Write() function in ark::panda_file::ItemContainer::RegionSectionItem
[all...]
H A Dfile_items.h229 virtual bool Write(Writer *writer) = 0;
414 bool Write([[maybe_unused]] Writer *writer) override
438 bool Write(Writer *writer) override;
502 bool Write(Writer *writer) override;
545 bool Write(Writer *writer) override;
672 bool Write(Writer *writer) override;
752 bool Write(Writer *writer) override;
810 bool Write(Writer *writer) override;
978 bool Write(Writer *writer) override;
1066 bool Write(Write
[all...]
H A Dfile_item_container.h119 bool Write(Writer *writer, bool deduplicateItems = true, bool computeLayout = true);
238 bool Write(Writer *writer) override;
360 bool Write(Writer *writer) override;
413 bool Write(Writer *writer) override;
523 bool Write([[maybe_unused]] Writer *writer) override
/arkcompiler/runtime_core/libpandabase/mem/
H A 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()
151 // Write end marker to the current arena 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(allo in Dump()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A 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()
151 // Write end marker to the current arena 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(allo in Dump()
[all...]
/arkcompiler/runtime_core/libpandabase/utils/
H A Dbit_memory_stream.h38 void Write(size_t value, size_t length) in Write() function in panda::BitMemoryStreamOut
44 region.Write(value, 0, length); in Write()
49 void Write(uint32_t *ptr, size_t payload_length, size_t length) in Write() function in panda::BitMemoryStreamOut
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()
H A Dbit_table.h53 static void Write(BitMemoryStreamOut<Container> &stream, const std::array<uint32_t, N> &data) in Write() function in panda::VarintPack
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);
602 stream.Write(entry[i] - NO_VALUE_DIFF, columns_width[i]);
678 VarintPack::Write(stream, columns);
681 stream.Write(row.first, row.second, columns[0]);
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dbit_memory_stream.h38 void Write(size_t value, size_t length) in Write() function in ark::BitMemoryStreamOut
44 region.Write(value, 0, length); in Write()
49 void Write(uint32_t *ptr, size_t payloadLength, size_t length) in Write() function in ark::BitMemoryStreamOut
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()
H A Dbit_table.h53 static void Write(BitMemoryStreamOut<Container> &stream, const std::array<uint32_t, N> &data) in Write() function in ark::VarintPack
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()
619 VarintPack::Write(stream, columnsWidth);
623 stream.Write(entry[i] - NO_VALUE_DIFF, columnsWidth[i]);
699 VarintPack::Write(stream, columns);
702 stream.Write(row.first, row.second, columns[0]);
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dinvokation_helper.h46 writer->Write(arg); 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/arch/
H A Dhelpers.h78 (ARG_WRITER).template Write<int8_t>(v); \
83 (ARG_WRITER).template Write<uint8_t>(v); \
88 (ARG_WRITER).template Write<int16_t>(v); \
93 (ARG_WRITER).template Write<uint16_t>(v); \
98 (ARG_WRITER).template Write<int32_t>(v); \
103 (ARG_WRITER).template Write<uint32_t>(v); \
108 (ARG_WRITER).template Write<float>(v); \
113 (ARG_WRITER).template Write<double>(v); \
118 (ARG_WRITER).template Write<int64_t>(v); \
123 (ARG_WRITER).template Write<uint64_
[all...]
/arkcompiler/runtime_core/static_core/runtime/
H A Drelayout_profiler.cpp45 auto ret = profileFile.Write(itemWithLine.c_str(), itemWithLine.size()); in WriteProfileData()
53 auto ret = profileFile.Write(itemWithLine.c_str(), itemWithLine.size()); in WriteProfileData()
61 auto ret = profileFile.Write(itemWithLine.c_str(), itemWithLine.size()); in WriteProfileData()
/arkcompiler/runtime_core/libpandabase/tests/
H A 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/static_core/libpandabase/tests/
H A Dbit_memory_region_test.cpp47 region1.Write(value, 0U); in TEST()
52 region2.Write(value, offset); in TEST()
73 region1.Write(value, 0U, length); in TEST()
78 region2.Write(value, offset, length); in TEST()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
H A Dets_napi_helpers.cpp55 ALWAYS_INLINE typename std::enable_if_t<std::is_same<T, ObjectHeader **>::value, void> Write(T v) in Write() function in ark::ets::napi::__anon184::ArgWriter
57 arch::ArgWriter<RUNTIME_ARCH>::Write<EtsReference *>( in Write()
62 ALWAYS_INLINE typename std::enable_if_t<!std::is_same<T, ObjectHeader **>::value, void> Write(T v) in Write() function in ark::ets::napi::__anon184::ArgWriter
66 arch::ArgWriter<RUNTIME_ARCH>::Write(v); in Write()
288 argWriter.Write(static_cast<EtsEnv *>(etsNapiEnv)); in EtsNapiBegin()
289 argWriter.Write(classOrThisRef); in EtsNapiBegin()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
H A Dfile.h59 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write() function in ark::os::windows::file::File
70 auto res = Write(buf, n); in WriteAll()
/arkcompiler/runtime_core/static_core/compiler/tools/debug/
H A Djit_writer.cpp89 bool JitDebugWriter::Write() in Write() function in ark::compiler::JitDebugWriter
130 builder.Write(elf_); in WriteImpl()
/arkcompiler/runtime_core/libpandafile/tests/
H A Dfile_test.cpp111 ASSERT_TRUE(container.Write(&mem_writer)); in HWTEST()
277 ASSERT_TRUE(container.Write(&writer)); in HWTEST()
301 // Write panda file to disk in HWTEST()
305 ASSERT_TRUE(container.Write(&writer)); in HWTEST()
322 // Write panda file to disk in HWTEST()
326 ASSERT_TRUE(container.Write(&writer)); in HWTEST()
394 // Write panda file to disk in HWTEST()
398 ASSERT_TRUE(container.Write(&writer)); in HWTEST()
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Dfile_items_test.cpp49 ASSERT_TRUE(item.Write(&writer)); in TEST()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A Dfile.h70 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write() function in panda::os::unix::file::File
81 auto res = Write(buf, n); in WriteAll()

Completed in 22 milliseconds

123