• Home
  • Raw
  • Download

Lines Matching +full:non +full:- +full:static

7  * http://www.apache.org/licenses/LICENSE-2.0
44 static constexpr size_t MAGIC_SIZE = 8;
45 static constexpr size_t VERSION_SIZE = 4;
46 static const std::array<uint8_t, MAGIC_SIZE> MAGIC;
81 uint32_t utf16_length; // NOLINT(misc-non-private-member-variables-in-classes)
82 const uint8_t *data; // NOLINT(misc-non-private-member-variables-in-classes)
83 bool is_ascii; // NOLINT(misc-non-private-member-variables-in-classes)
86 // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions, hicpp-special-member-functions)
105 static constexpr size_t GetSize() in GetSize()
149 uint32_t foreign_begin = header->foreign_off; in IsExternal()
150 uint32_t foreign_end = foreign_begin + header->foreign_size; in IsExternal()
156 return EntityId(ptr - GetBase()); in GetIdFromPointer()
162 Span file(GetBase(), header->file_size); in GetSpanFromId()
163 return file.Last(file.size() - id.GetOffset()); in GetSpanFromId()
169 Span file(GetBase(), header->file_size); in GetClasses()
170 … Span class_idx_data = file.SubSpan(header->class_idx_off, header->num_classes * sizeof(uint32_t)); in GetClasses()
171 return Span(reinterpret_cast<const uint32_t *>(class_idx_data.data()), header->num_classes); in GetClasses()
177 Span file(GetBase(), header->file_size); in GetLiteralArrays()
178 …Span litarr_idx_data = file.SubSpan(header->literalarray_idx_off, header->num_literalarrays * size… in GetLiteralArrays()
179 …return Span(reinterpret_cast<const uint32_t *>(litarr_idx_data.data()), header->num_literalarrays); in GetLiteralArrays()
185 Span file(GetBase(), header->file_size); in GetIndexHeaders()
186 … auto sp = file.SubSpan(header->index_section_off, header->num_indexes * sizeof(IndexHeader)); in GetIndexHeaders()
187 return Span(reinterpret_cast<const IndexHeader *>(sp.data()), header->num_indexes); in GetIndexHeaders()
207 Span file(GetBase(), header->file_size); in GetClassIndex()
208 …auto sp = file.SubSpan(index_header->class_idx_off, index_header->class_idx_size * EntityId::GetSi… in GetClassIndex()
209 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->class_idx_size); in GetClassIndex()
217 Span file(GetBase(), header->file_size); in GetMethodIndex()
218 …auto sp = file.SubSpan(index_header->method_idx_off, index_header->method_idx_size * EntityId::Get… in GetMethodIndex()
219 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->method_idx_size); in GetMethodIndex()
227 Span file(GetBase(), header->file_size); in GetFieldIndex()
228 …auto sp = file.SubSpan(index_header->field_idx_off, index_header->field_idx_size * EntityId::GetSi… in GetFieldIndex()
229 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->field_idx_size); in GetFieldIndex()
237 Span file(GetBase(), header->file_size); in GetProtoIndex()
238 …auto sp = file.SubSpan(index_header->proto_idx_off, index_header->proto_idx_size * EntityId::GetSi… in GetProtoIndex()
239 return Span(reinterpret_cast<const EntityId *>(sp.data()), index_header->proto_idx_size); in GetProtoIndex()
245 Span file(GetBase(), header->file_size); in GetLineNumberProgramIndex()
246 … Span lnp_idx_data = file.SubSpan(header->lnp_idx_off, header->num_lnps * EntityId::GetSize()); in GetLineNumberProgramIndex()
247 return Span(reinterpret_cast<const EntityId *>(lnp_idx_data.data()), header->num_lnps); in GetLineNumberProgramIndex()
300 static uint32_t CalcFilenameHash(const std::string &filename);
302static std::unique_ptr<const File> Open(std::string_view filename, OpenMode open_mode = READ_ONLY);
304 static std::unique_ptr<const File> OpenFromMemory(os::mem::ConstBytePtr &&ptr);
306static std::unique_ptr<const File> OpenFromMemory(os::mem::ConstBytePtr &&ptr, std::string_view fi…
308static std::unique_ptr<const File> OpenUncompressedArchive(int fd, const std::string_view &filenam…
362 // NOLINTNEXTLINE(readability-identifier-naming)