/arkcompiler/ets_runtime/test/moduletest/protobuf/ |
H A D | write.js | 16 var Writer = {}; 17 module.exports = Writer; 22 Writer.int64 = function write_uint64(value) {
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | file_writer.h | 32 class Writer { class 96 Writer() = default; 97 virtual ~Writer() = default; 99 NO_COPY_SEMANTIC(Writer); 100 NO_MOVE_SEMANTIC(Writer); 103 class MemoryWriter : public Writer { 131 class MemoryBufferWriter : public Writer { 170 class FileWriter : public Writer {
|
H A D | file_items.cpp | 31 static bool WriteUlebTaggedValue(Writer *writer, Tag tag, Val v) in WriteUlebTaggedValue() 45 static bool WriteSlebTaggedValue(Writer *writer, Tag tag, Val v) in WriteSlebTaggedValue() 59 static bool WriteTaggedValue(Writer *writer, Tag tag, Val v) in WriteTaggedValue() 73 static bool WriteIdTaggedValue(Writer *writer, Tag tag, BaseItem *item) in WriteIdTaggedValue() 174 bool StringItem::Write(Writer *writer) in Write() 209 bool BaseClassItem::Write(Writer *writer) in Write() 280 bool ClassItem::WriteIfaces(Writer *writer) in WriteIfaces() 302 bool ClassItem::WriteAnnotations(Writer *writer) in WriteAnnotations() 331 bool ClassItem::WriteTaggedData(Writer *writer) in WriteTaggedData() 356 bool ClassItem::Write(Writer *write [all...] |
H A D | file_items.h | 229 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; 581 bool WriteValue(Writer *writer); 583 bool WriteAnnotations(Writer *writer); 585 bool WriteTaggedData(Writer *writer); 672 bool Write(Writer *writer) override; 752 bool Write(Writer *write [all...] |
H A D | file_item_container.h | 119 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 534 bool WriteHeader(Writer *writer, ssize_t *checksumOffset); 536 bool WriteHeaderIndexInfo(Writer *writer);
|
H A D | file_item_container.cpp | 63 class ItemWriter : public Writer { 582 bool ItemContainer::WriteHeaderIndexInfo(Writer *writer) in WriteHeaderIndexInfo() 617 bool ItemContainer::WriteHeader(Writer *writer, ssize_t *checksumOffset) in WriteHeader() 660 bool ItemContainer::Write(Writer *writer, bool deduplicateItems, bool computeLayout) in Write() 825 bool ItemContainer::RegionHeaderItem::Write(Writer *writer) in Write() 891 bool ItemContainer::IndexItem::Write(Writer *writer) in Write() 976 bool ItemContainer::RegionSectionItem::Write(Writer *writer) in Write()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | futex_test.cpp | 32 void Writer() in Writer() function 121 std::thread thr(Writer); in TEST() 124 // Wait a bit, to get a chance to Writer in TEST() 128 // Check that Writer cannot change GLOBAL in critical section in TEST() 132 // Check that both Writer and main correctly incremented in critical section in TEST() 140 std::thread thr(Writer); in TEST() 144 // Wait a bit, to get a chance to Writer in TEST() 150 // Check that both Writer and main correctly incremented in critical section in TEST() 158 std::thread thr(Writer); in TEST() 159 std::thread thr2(Writer); in TEST() [all...] |
/arkcompiler/runtime_core/libpandafile/ |
H A D | file_writer.h | 33 class Writer { class 104 Writer() = default; 105 virtual ~Writer() = default; 107 NO_COPY_SEMANTIC(Writer); 108 NO_MOVE_SEMANTIC(Writer); 111 class MemoryWriter : public Writer { 139 class MemoryBufferWriter : public Writer { 178 class FileWriter : public Writer {
|
H A D | file_items.cpp | 67 static bool WriteUlebTaggedValue(Writer *writer, Tag tag, Val v) in WriteUlebTaggedValue() 81 static bool WriteSlebTaggedValue(Writer *writer, Tag tag, Val v) in WriteSlebTaggedValue() 95 static bool WriteTaggedValue(Writer *writer, Tag tag, Val v) in WriteTaggedValue() 109 static bool WriteIdTaggedValue(Writer *writer, Tag tag, BaseItem *item) in WriteIdTaggedValue() 217 bool StringItem::Write(Writer *writer) in Write() 252 bool BaseClassItem::Write(Writer *writer) in Write() 323 bool ClassItem::WriteIfaces(Writer *writer) in WriteIfaces() 345 bool ClassItem::WriteAnnotations(Writer *writer) in WriteAnnotations() 374 bool ClassItem::WriteTaggedData(Writer *writer) in WriteTaggedData() 399 bool ClassItem::Write(Writer *write [all...] |
H A D | file_items.h | 253 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; 598 bool WriteValue(Writer *writer); 600 bool WriteAnnotations(Writer *writer); 602 bool WriteTaggedData(Writer *writer); 667 bool Write(Writer *writer) override; 741 bool Write(Writer *write [all...] |
H A D | file_item_container.h | 109 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 559 bool WriteHeader(Writer *writer, ssize_t *checksum_offset); 561 bool WriteItems(Writer *writer); 563 bool WriteHeaderIndexInfo(Writer *writer);
|
H A D | file_item_container.cpp | 51 class ItemWriter : public Writer { 597 bool ItemContainer::WriteHeaderIndexInfo(Writer *writer) in WriteHeaderIndexInfo() 642 bool ItemContainer::WriteHeader(Writer *writer, ssize_t *checksum_offset) in WriteHeader() 684 bool ItemContainer::WriteItems(Writer *writer) in WriteItems() 713 bool ItemContainer::Write(Writer *writer, bool deduplicateItems) in Write() 879 bool ItemContainer::IndexHeaderItem::Write(Writer *writer) in Write() 956 bool ItemContainer::IndexItem::Write(Writer *writer) in Write() 1043 bool ItemContainer::IndexSectionItem::Write(Writer *writer) in Write()
|
/arkcompiler/runtime_core/assembler/ |
H A D | assembly-emitter.h | 55 static bool Emit(panda_file::Writer *writer, const Program &program, std::map<std::string, size_t> *stat = nullptr,
|
H A D | assembly-emitter.cpp | 60 using panda::panda_file::Writer; 1512 bool AsmEmitter::Emit(Writer *writer, const Program &program, std::map<std::string, size_t> *stat, in Emit()
|
/arkcompiler/runtime_core/static_core/assembler/ |
H A D | assembly-emitter.h | 58 PANDA_PUBLIC_API static bool Emit(panda_file::Writer *writer, const Program &program,
|
H A D | assembly-emitter.cpp | 55 using ark::panda_file::Writer; 1533 bool AsmEmitter::Emit(Writer *writer, const Program &program, std::map<std::string, size_t> *stat, in Emit()
|