Home
last modified time | relevance | path

Searched refs:Header (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
Dalloc_tracker_test.cpp23 struct Header { struct
58 Header hdr; in TEST()
73 Header hdr; in TEST()
101 Header hdr; in TEST()
150 Header hdr; in TEST()
/arkcompiler/runtime_core/libpandafile/
Dfile.h60 struct Header { struct
109 return offset_ > sizeof(Header); in IsValid()
150 const Header *GetHeader() const in GetHeader()
152 return reinterpret_cast<const Header *>(GetBase()); in GetHeader()
167 const Header *header = GetHeader(); in IsExternal()
180 const Header *header = GetHeader(); in GetSpanFromId()
188 const Header *header = GetHeader(); in GetClasses()
196 const Header *header = GetHeader(); in GetLiteralArrays()
204 const Header *header = GetHeader(); in GetIndexHeaders()
303 const Header *header = GetHeader(); in GetLineNumberProgramIndex()
Dfile.cpp419 …e_hashes(FILENAME_HASH, GetHash32(reinterpret_cast<const uint8_t *>(GetHeader()), sizeof(Header)))) in File()
487 if (size < sizeof(File::Header)) { in Open()
515 if (size < sizeof(File::Header)) { in OpenUncompressedArchive()
546 if (ptr.Get() == nullptr || ptr.GetSize() < sizeof(File::Header)) { in CheckHeader()
550 auto header = reinterpret_cast<const File::Header *>(reinterpret_cast<uintptr_t>(ptr.Get())); in CheckHeader()
572 if (header->file_size < sizeof(File::Header) || header->file_size > ptr.GetSize()) { in CheckHeader()
662 const Header *header = GetHeader(); in GetLiteralArraysId()
Dfile_item_container.cpp425 uint32_t class_idx_offset = sizeof(File::Header); in ComputeLayout()
563 if (!writer->Write<uint32_t>(sizeof(File::Header))) { in WriteHeaderIndexInfo()
579 uint32_t literalarray_idx_offset = sizeof(File::Header) + class_map_.size() * ID_SIZE; in WriteHeaderIndexInfo()
713 stat["header_item"] = sizeof(File::Header); in GetStat()
/arkcompiler/runtime_core/docs/
D2022-08-18-isa-changelog.md6 * Function Kind and Header index
22 ## Function Kind and Header index
26 We reuse the field 32-bit field `access_flags_` to encode Function Kind and Header index.
Dmemory-management.md43 * Compact Object Header for low-end target
73 | Object Header (128 bits) | Sta…
91 | Object Header (64 bits) | Sta…
110 | Object Header (64 bits) | Sta…
130 | Object Header (32 bits) | Sta…
163 | Object Header (64 bits) |
175 | Object Header (64 bits) |
187 | Object Header (64 bits) |
Dcode_metainfo.md51 Header is followed by data, which is a rows with fixed length. Row length is equal to sum of column…
61 | 5 | 2 | 0 | 15 | 8 | ; Header
Dfile_format.md200 ### Header subsection
253 from [Header](#header).
303 …header and size of the header > 16 bytes, any offset in the range `[0; sizeof(Header))` is invalid.
809 Number of elements in the index is `num_classes` from [Header](#header).
823 structures. Number of elements in the index is `num_lnps` from [Header](#header).
892 Number of elements in the index is `num_literalarrays` from [Header](#header).
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dllvm_stackmap_type.h110 struct Header { struct
212 struct Header head;
Dllvm_stackmap_parser.cpp120 llvmStackMap_.head = dataInfo_->Read<struct Header>(); in CalculateStackMap()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_test.cpp61 data.assign(header_ptr, header_ptr + sizeof(File::Header)); in GetEmptyPandaFileBytes()
63 ASSERT(data.size() == sizeof(File::Header)); in GetEmptyPandaFileBytes()
360 …EXPECT_EQ(File::OpenUncompressedArchive(fileno(fp), ARCHIVE_FILENAME, sizeof(File::Header), 0U), n…
Dfile_item_container_test.cpp103 File::Header header;
114 header.file_size = sizeof(File::Header);
131 File::Header header;
136 header.file_size = sizeof(File::Header);
173 File::Header header;
186 header.file_size = sizeof(File::Header);
204 File::Header header;
211 header.file_size = sizeof(File::Header);
305 EXPECT_EQ(panda_file->GetHeader()->class_idx_off, sizeof(File::Header));
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DobjectSpread.ts251 type Header = { head: string, body: string, authToken: string } alias
252 function from16326(this: { header: Header }, header: Header, authToken: string): Header {
/arkcompiler/runtime_core/libziparchive/tests/
Dlibziparchive_tests.cpp520 pf_data.assign(header_ptr, header_ptr + sizeof(panda_file::File::Header));
596 pf_data.assign(header_ptr, header_ptr + sizeof(panda_file::File::Header));
651 pf_data.assign(header_ptr, header_ptr + sizeof(panda_file::File::Header));
697 pf_data.assign(header_ptr, header_ptr + sizeof(panda_file::File::Header));
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_test.cpp250 const File::Header *header = file->GetHeader(); in HWTEST_F_L0()
296 sizeof(panda_file::File::Header)))); in HWTEST_F_L0()
/arkcompiler/runtime_core/libpandafile/templates/
Dtype.h.erb225 // The case when field's type encoding is >= sizeof(Header).