Home
last modified time | relevance | path

Searched refs:CHECKSUM_OFFSET (Results 1 – 9 of 9) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/dex/
DConstants.java31 public static final int CHECKSUM_OFFSET = MAGIC_OFFSET + DEX_MAGIC_SIZE; field in Constants
32 public static final int SIGNATURE_OFFSET = CHECKSUM_OFFSET + 4;
DFileWriter.java840 dest.moveTo(Constants.CHECKSUM_OFFSET); in writeChecksum()
/external/f2fs-tools/mkfs/
Df2fs_format.c283 (CHECKSUM_OFFSET - in f2fs_prepare_super_block()
285 max_nat_bitmap_size = CHECKSUM_OFFSET - in f2fs_prepare_super_block()
290 CHECKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1 in f2fs_prepare_super_block()
597 set_cp(checksum_offset, CHECKSUM_OFFSET); in f2fs_write_check_point_pack()
599 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in f2fs_write_check_point_pack()
600 *((__le32 *)((unsigned char *)cp + CHECKSUM_OFFSET)) = in f2fs_write_check_point_pack()
779 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in f2fs_write_check_point_pack()
780 *((__le32 *)((unsigned char *)cp + CHECKSUM_OFFSET)) = in f2fs_write_check_point_pack()
/external/f2fs-tools/fsck/
Dresize.c63 (CHECKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 65)) { in get_new_sb()
64 max_nat_bitmap_size = CHECKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1; in get_new_sb()
67 max_nat_bitmap_size = CHECKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1 in get_new_sb()
487 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, new_cp, CHECKSUM_OFFSET); in rebuild_checkpoint()
488 *((__le32 *)((unsigned char *)new_cp + CHECKSUM_OFFSET)) = in rebuild_checkpoint()
Dfsck.c1765 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in fix_checkpoint()
1766 *((__le32 *)((unsigned char *)cp + CHECKSUM_OFFSET)) = cpu_to_le32(crc); in fix_checkpoint()
Dmount.c1891 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET); in write_checkpoint()
1892 *((__le32 *)((unsigned char *)cp + CHECKSUM_OFFSET)) = cpu_to_le32(crc); in write_checkpoint()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DHeaderItem.java51 public static final int CHECKSUM_OFFSET = 8; field in HeaderItem
93 return dexFile.readSmallUint(CHECKSUM_OFFSET); in getChecksum()
/external/f2fs-tools/include/
Df2fs_fs.h216 #define CHECKSUM_OFFSET 4092 macro
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java322 OutputStream output = dataStore.outputAt(HeaderItem.CHECKSUM_OFFSET);