Searched refs:image_size (Results 1 – 2 of 2) sorted by relevance
220 static void CopySection(const T& section, dex::u1* image, dex::u4 image_size) { in CopySection() argument230 SLICER_CHECK(offset + size <= image_size); in CopySection()296 const dex::u4 image_size = offset; in CreateImage() local297 dex::u1* image = static_cast<dex::u1*>(allocator->Allocate(image_size)); in CreateImage()302 memset(image, 0, image_size); in CreateImage()305 SLICER_CHECK(image_size > sizeof(dex::Header)); in CreateImage()312 header->file_size = image_size; in CreateImage()332 header->data_size = image_size - data_offset; in CreateImage()336 CopySection(dex_->string_ids, image, image_size); in CreateImage()337 CopySection(dex_->type_ids, image, image_size); in CreateImage()[all …]
792 image_size = os.path.getsize(file_name)793 logging.info('image size is {}'.format(image_size))794 results = self.cmd('Ota {}'.format(image_size), wait=3)