/art/runtime/ |
image.cc | 26 const uint8_t ImageHeader::kImageMagic[] = { 'a', 'r', 't', '\n' }; 27 const uint8_t ImageHeader::kImageVersion[] = { '0', '3', '0', '\0' }; 29 ImageHeader::ImageHeader(uint32_t image_begin, 78 void ImageHeader::RelocateImage(off_t delta) { 89 void ImageHeader::RelocateImageObjects(off_t delta) { 94 void ImageHeader::RelocateImageMethods(off_t delta) { 100 bool ImageHeader::IsValid() const { 126 const char* ImageHeader::GetMagic() const { 131 ArtMethod* ImageHeader::GetImageMethod(ImageMethod index) const [all...] |
image-inl.h | 28 inline mirror::Object* ImageHeader::GetImageRoot(ImageRoot image_root) const { 34 inline mirror::ObjectArray<mirror::Object>* ImageHeader::GetImageRoots() const { 49 inline void ImageHeader::VisitPackedImTables(const Visitor& visitor, 67 inline void ImageHeader::VisitPackedImtConflictTables(const Visitor& visitor,
|
image.h | 73 class PACKED(4) ImageHeader { 83 ImageHeader() 103 ImageHeader(uint32_t image_begin, 221 return GetImageSection(ImageHeader::kSectionArtFields); 364 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageMethod& policy); 365 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageRoot& policy); 366 std::ostream& operator<<(std::ostream& os, const ImageHeader::ImageSections& section); 368 std::ostream& operator<<(std::ostream& os, const ImageHeader::StorageMode& mode);
|
intern_table.cc | 179 const ImageHeader* const header = &image_space->GetImageHeader(); 181 const ImageSection& section = header->GetImageSection(ImageHeader::kSectionInternedStrings); 186 mirror::Object* root = header->GetImageRoot(ImageHeader::kDexCaches); 217 mirror::Object* root = image_space->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches);
|
oat_file_assistant.cc | [all...] |
runtime.cc | 840 ImageHeader::GetOatLocationFromImageLocation(system_filename.c_str()); 842 ImageHeader::GetOatLocationFromImageLocation(image_locations[index].c_str()); [all...] |
class_linker.cc | [all...] |
oat_file_assistant_test.cc | 132 const ImageHeader& image_header = image_spaces[0]->GetImageHeader(); [all...] |
/art/runtime/gc/space/ |
image_space.h | 60 static ImageHeader* ReadImageHeaderOrDie(const char* image_location, 66 static ImageHeader* ReadImageHeader(const char* image_location, 80 const ImageHeader& GetImageHeader() const { 81 return *reinterpret_cast<ImageHeader*>(Begin());
|
image_space.cc | 110 oat_file_option_string += ImageHeader::GetOatLocationFromImageLocation(image_filename); 180 static bool ReadSpecificImageHeader(const char* filename, ImageHeader* image_header) { 185 const bool success = image_file->ReadFully(image_header, sizeof(ImageHeader)); 230 static ImageHeader* ReadSpecificImageHeader(const char* filename, std::string* error_msg) { 231 std::unique_ptr<ImageHeader> hdr(new ImageHeader); 239 ImageHeader* ImageSpace::ReadImageHeaderOrDie(const char* image_location, 242 ImageHeader* image_header = ReadImageHeader(image_location, image_isa, &error_msg); 249 ImageHeader* ImageSpace::ReadImageHeader(const char* image_location, 262 std::unique_ptr<ImageHeader> sys_hdr(new ImageHeader) [all...] |
/art/patchoat/ |
patchoat.h | 34 class ImageHeader; 81 static bool IsImagePic(const ImageHeader& image_header, const std::string& image_path); 118 void PatchArtFields(const ImageHeader* image_header) SHARED_REQUIRES(Locks::mutator_lock_); 119 void PatchArtMethods(const ImageHeader* image_header) SHARED_REQUIRES(Locks::mutator_lock_); 120 void PatchImTables(const ImageHeader* image_header) SHARED_REQUIRES(Locks::mutator_lock_); 121 void PatchImtConflictTables(const ImageHeader* image_header) 123 void PatchInternedStrings(const ImageHeader* image_header) 125 void PatchClassTable(const ImageHeader* image_header)
|
patchoat.cc | 204 ImageHeader image_header; 236 ImageHeader::GetOatLocationFromImageLocation(input_image_filename); 264 ImageHeader::GetOatLocationFromImageLocation(output_image_filename); 332 ImageHeader::GetOatLocationFromImageLocation(output_image_filename); 383 bool PatchOat::IsImagePic(const ImageHeader& image_header, const std::string& image_path) { 473 void PatchOat::PatchArtFields(const ImageHeader* image_header) { 491 void PatchOat::PatchArtMethods(const ImageHeader* image_header) { 497 void PatchOat::PatchImTables(const ImageHeader* image_header) { 508 void PatchOat::PatchImtConflictTables(const ImageHeader* image_header) { 543 void PatchOat::PatchInternedStrings(const ImageHeader* image_header) [all...] |
/art/compiler/ |
image_test.cc | 53 ImageHeader::StorageMode storage_mode); 67 void TestWriteRead(ImageHeader::StorageMode storage_mode); 69 void Compile(ImageHeader::StorageMode storage_mode, 98 ImageHeader image_header; 107 ImageHeader::StorageMode storage_mode) { 308 void ImageTest::Compile(ImageHeader::StorageMode storage_mode, 334 void ImageTest::TestWriteRead(ImageHeader::StorageMode storage_mode) { 341 ImageHeader image_header; 344 const auto& bitmap_section = image_header.GetImageSection(ImageHeader::kSectionImageBitmap); 408 if (storage_mode == ImageHeader::kStorageModeUncompressed) [all...] |
image_writer.cc | 103 const ImageHeader& image_header = boot_image_space->GetImageHeader(); 223 ImageHeader* const image_header = reinterpret_cast<ImageHeader*>(image_info.image_->Begin()); 224 const size_t image_data_size = image_header->GetImageSize() - sizeof(ImageHeader); 225 char* image_data = reinterpret_cast<char*>(image_info.image_->Begin()) + sizeof(ImageHeader); 232 case ImageHeader::kStorageModeLZ4HC: // Fall-through. 233 case ImageHeader::kStorageModeLZ4: { 237 reinterpret_cast<char*>(image_info.image_->Begin()) + sizeof(ImageHeader), 245 case ImageHeader::kStorageModeLZ4HC: { 250 reinterpret_cast<char*>(image_info.image_->Begin()) + sizeof(ImageHeader), [all...] |
image_writer.h | 63 ImageHeader::StorageMode image_storage_mode, 265 size_t image_end_ = RoundUp(sizeof(ImageHeader), kObjectAlignment); 560 ArtMethod* image_methods_[ImageHeader::kImageMethodsCount]; 575 const ImageHeader::StorageMode image_storage_mode_;
|
/device/google/contexthub/util/nanoapp_encr/ |
nanoapp_encr.c | 60 struct ImageHeader *image; 100 image = (struct ImageHeader *)buf; 156 struct ImageHeader *image; 167 image = (struct ImageHeader*)buf;
|
/device/google/contexthub/util/nanoapp_sign/ |
nanoapp_sign.c | 234 struct ImageHeader *image = (struct ImageHeader *)buf; 326 struct ImageHeader *image = (struct ImageHeader *)buf; 333 image = (struct ImageHeader *)buf; 441 struct ImageHeader *image; 521 image = (struct ImageHeader *)buf;
|
/art/oatdump/ |
oatdump.cc | [all...] |
/art/runtime/gc/collector/ |
immune_spaces_test.cc | 111 ImageSection sections[ImageHeader::kSectionCount]; 112 new (map->Begin()) ImageHeader( 130 ImageHeader::kStorageModeUncompressed, 219 const ImageHeader& image_header = image_space->GetImageHeader();
|
/device/google/contexthub/lib/include/nanohub/ |
nanohub.h | 130 struct ImageHeader {
|
/art/imgdiag/ |
imgdiag.cc | 52 const ImageHeader& image_header, 309 const ImageHeader& boot_image_header = image_header_; 317 boot_image_header.GetImageSection(ImageHeader::kSectionObjects).Size(); 335 // If we wanted even more validation we could map the ImageHeader from the file 407 // If we wanted to change this, we could pass base=start+sizeof(ImageHeader) 408 // But it might still be interesting to see if any of the ImageHeader data mutated 433 // If we wanted to change this, we could pass base=start+sizeof(ImageHeader) 434 // But it might still be interesting to see if any of the ImageHeader data mutated 512 const uint8_t* current = begin_image_ptr + RoundUp(sizeof(ImageHeader), kObjectAlignment); [all...] |
/device/google/contexthub/firmware/src/ |
appSec.c | 32 #define APP_HDR_SIZE (sizeof(struct ImageHeader)) 33 #define APP_HDR_MAX_SIZE (sizeof(struct ImageHeader) + sizeof(struct AppSecSignHdr) + sizeof(struct AppSecEncrHdr)) 221 struct ImageHeader *image; 230 image = (struct ImageHeader *)hdr; hdr += sizeof(*image);
|
/device/google/contexthub/util/nanoapp_postprocess/ |
postprocess.c | 233 struct ImageHeader outHeader = { 798 // ImageHeader that will be prepended by finalizeAndWrite(). Note that this 804 + sizeof(struct ImageHeader); 834 struct ImageHeader outHeader = { [all...] |
/art/dex2oat/ |
dex2oat.cc | 514 image_storage_mode_(ImageHeader::kStorageModeUncompressed), 669 image_storage_mode_ = ImageHeader::kStorageModeLZ4; 671 image_storage_mode_ = ImageHeader::kStorageModeLZ4HC; 673 image_storage_mode_ = ImageHeader::kStorageModeUncompressed; [all...] |
/art/runtime/native/ |
dalvik_system_VMRuntime.cc | 623 std::unique_ptr<ImageHeader> image_header(gc::space::ImageSpace::ReadImageHeader(
|