Home
last modified time | relevance | path

Searched refs:le64 (Results 1 – 25 of 2368) sorted by relevance

12345678910>>...95

/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/base/
H A Dendian_test.cpp32 static constexpr uint64_t le64 = 0x123456789abcdef0; in TEST() local
40 ASSERT_EQ(be64, htonq(le64)); in TEST()
44 ASSERT_EQ(le64, ntohq(be64)); in TEST()
48 ASSERT_EQ(be64, htobe64(le64)); in TEST()
52 ASSERT_EQ(le64, betoh64(be64)); in TEST()
56 ASSERT_EQ(le64, htole64(le64)); in TEST()
60 ASSERT_EQ(le64, letoh64(le64)); in TEST()
64 ASSERT_EQ(le64, be64toh(be64)); in TEST()
68 ASSERT_EQ(le64, le64toh(le64)); in TEST()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/base/
H A Dendian_test.cpp32 static constexpr uint64_t le64 = 0x123456789abcdef0; in TEST() local
40 ASSERT_EQ(be64, htonq(le64)); in TEST()
44 ASSERT_EQ(le64, ntohq(be64)); in TEST()
48 ASSERT_EQ(be64, htobe64(le64)); in TEST()
52 ASSERT_EQ(le64, betoh64(be64)); in TEST()
56 ASSERT_EQ(le64, htole64(le64)); in TEST()
60 ASSERT_EQ(le64, letoh64(le64)); in TEST()
64 ASSERT_EQ(le64, be64toh(be64)); in TEST()
68 ASSERT_EQ(le64, le64toh(le64)); in TEST()
/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dfile_wim.c57 #define RESHDR_GET_SIZE(R) (le64(R.size) & 0x00FFFFFFFFFFFFFF)
88 … (unsigned long long)RESHDR_GET_SIZE(hdr->rhXmlData), (unsigned long long)le64(hdr->rhXmlData.offs… in header_check_wim()
90 …unsigned long long)RESHDR_GET_SIZE(hdr->rhIntegrity), (unsigned long long)le64(hdr->rhIntegrity.of… in header_check_wim()
92 …if(RESHDR_GET_SIZE(hdr->rhOffsetTable) > 0 && RESHDR_GET_SIZE(hdr->rhOffsetTable) + le64(hdr->rhOf… in header_check_wim()
93 size=RESHDR_GET_SIZE(hdr->rhOffsetTable) + le64(hdr->rhOffsetTable.offset); in header_check_wim()
94 …if(RESHDR_GET_SIZE(hdr->rhXmlData) > 0 && RESHDR_GET_SIZE(hdr->rhXmlData) + le64(hdr->rhXmlData.of… in header_check_wim()
95 size=RESHDR_GET_SIZE(hdr->rhXmlData) + le64(hdr->rhXmlData.offset); in header_check_wim()
96 …if(RESHDR_GET_SIZE(hdr->rhBootMetadata) > 0 && RESHDR_GET_SIZE(hdr->rhBootMetadata) + le64(hdr->rh… in header_check_wim()
97 size=RESHDR_GET_SIZE(hdr->rhBootMetadata) + le64(hdr->rhBootMetadata.offset); in header_check_wim()
98 …if(RESHDR_GET_SIZE(hdr->rhIntegrity) > 0 && RESHDR_GET_SIZE(hdr->rhIntegrity) + le64(hdr->rhIntegr… in header_check_wim()
[all …]
H A Dfile_asf.c78 if(le64(hdr->object_size)<30 || in header_check_asf()
79 le64(hdr->object_size)>buffer_size || in header_check_asf()
85 i++, prop=(const struct asf_file_prop_s *)((const char *)prop + le64(prop->object_size))) in header_check_asf()
97 if(le64(prop->object_size) < 0x18) in header_check_asf()
104 if(le64(prop->object_size) < 0x28) in header_check_asf()
106 if(le64(prop->file_size) < sizeof(struct asf_header_obj_s) + sizeof(struct asf_file_prop_s)) in header_check_asf()
108 size=le64(prop->file_size); in header_check_asf()
109 time=td_ntfs2utc(le64(prop->file_date)); in header_check_asf()
120 if(le64(prop->object_size) < 0x28) in header_check_asf()
127 if(le64(prop->object_size) > buffer_size) in header_check_asf()
[all …]
H A Dpartgptw.c90 if(gpt_entries_org[i].ent_lba_start==le64(lba_start) && in find_gpt_entry()
107 gpt_entry->ent_lba_start=le64(partition->part_offset / disk_car->sector_size); in partition_generate_gpt_entry()
116 gpt_entry->ent_attr=le64(0); /* May need fixing */ in partition_generate_gpt_entry()
255 gpt->hdr_lba_start=le64(1 + gpt_entries_size/disk_car->sector_size + 1); in write_part_gpt()
256 gpt->hdr_lba_end=le64((disk_car->disk_size-1 - gpt_entries_size)/disk_car->sector_size - 1); in write_part_gpt()
258 gpt->hdr_lba_self=le64(1); in write_part_gpt()
259 gpt->hdr_lba_alt=le64((disk_car->disk_size-1)/disk_car->sector_size); in write_part_gpt()
260 gpt->hdr_lba_table=le64(1+1); in write_part_gpt()
285 gpt->hdr_lba_self=le64((disk_car->disk_size-1)/disk_car->sector_size); in write_part_gpt()
286 gpt->hdr_lba_alt=le64(1); in write_part_gpt()
[all …]
H A Dpartgpt.c175 log_info("hdr_lba_self=%llu\n", (long long unsigned)le64(gpt->hdr_lba_self)); in read_part_gpt_aux()
177 (long long unsigned)le64(gpt->hdr_lba_alt), in read_part_gpt_aux()
182 log_info("hdr_lba_end=%llu\n", (long long unsigned)le64(gpt->hdr_lba_end)); in read_part_gpt_aux()
184 (long long unsigned)le64(gpt->hdr_lba_table)); in read_part_gpt_aux()
209 if(le64(gpt->hdr_lba_self)!=hdr_lba) in read_part_gpt_aux()
215 if(le64(gpt->hdr_lba_start) >= le64(gpt->hdr_lba_end)) in read_part_gpt_aux()
251 gpt_entries_offset=(uint64_t)le64(gpt->hdr_lba_table) * disk_car->sector_size; in read_part_gpt_aux()
255 gpt_entries_offset >= le64(gpt->hdr_lba_start) * disk_car->sector_size) in read_part_gpt_aux()
286 le64(gpt_entry->ent_lba_start) < le64(gpt_entry->ent_lba_end)) in read_part_gpt_aux()
294 new_partition->part_size=(uint64_t)(le64(gpt_entry->ent_lba_end) - in read_part_gpt_aux()
[all …]
H A Dntfs_adv.c268 ntfs_header->mft_lcn=le64(mft_lcn); in create_ntfs_boot_sector()
269 ntfs_header->mftmirr_lcn=le64(mftmirr_lcn); in create_ntfs_boot_sector()
683 (long long unsigned)(le64(nh1->sectors_nbr)+1), in ncurses_ntfs2_info()
684 (long long unsigned)(le64(nh2->sectors_nbr)+1)); in ncurses_ntfs2_info()
687 (long unsigned int)le64(nh1->mft_lcn), in ncurses_ntfs2_info()
688 (long unsigned int)le64(nh2->mft_lcn)); in ncurses_ntfs2_info()
690 (long unsigned int)le64(nh1->mftmirr_lcn), in ncurses_ntfs2_info()
691 (long unsigned int)le64(nh2->mftmirr_lcn)); in ncurses_ntfs2_info()
701 (long long unsigned)(le64(nh1->sectors_nbr)+1), in log_ntfs2_info()
704 …ft_lcn %lu %lu\n",(long unsigned int)le64(nh1->mft_lcn),(long unsigned int)le64(… in log_ntfs2_info()
[all …]
H A Dntfs.c83 part_size=(uint64_t)(le64(ntfs_header->sectors_nbr)+1)*ntfs_sector_size(ntfs_header); in recover_NTFS()
133 le64(ntfs_header->sectors_nbr)==0) in test_NTFS()
171 part_size=le64(ntfs_header->sectors_nbr)+1; in test_NTFS()
312 …mft_pos=partition->part_offset+(uint64_t)(le16(ntfs_header->reserved)+le64(ntfs_header->mft_lcn)*n… in ntfs_get_volume_name()
316 log_info("NTFS MFT cluster = %lu\n",le64(ntfs_header->mft_lcn)); in ntfs_get_volume_name()
384 …log_info("filesystem size %llu\n", (long long unsigned)le64(ntfs_header->sectors_nbr)+1); in log_ntfs_info()
386 log_info("mft_lcn %lu\n", (long unsigned int)le64(ntfs_header->mft_lcn)); in log_ntfs_info()
387 log_info("mftmirr_lcn %lu\n", (long unsigned int)le64(ntfs_header->mftmirr_lcn)); in log_ntfs_info()
H A Dfile_7z.c59 le64(buffer_7z->nextHeaderSize)==0) in header_check_7z()
65 file_recovery_new->calculated_file_size=(uint64_t)le64(buffer_7z->nextHeaderOffset)+ in header_check_7z()
66 le64(buffer_7z->nextHeaderSize) + 12 + 20; in header_check_7z()
/dports/misc/rump/buildrump.sh-b914579/src/sys/ufs/chfs/
H A Dmedia.h42 typedef uint64_t le64; typedef
83 le64 vno; /* vnode number */
84 le64 version; /* version of node */
103 le64 vno; /* vnode number */
104 le64 version; /* version of node */
105 le64 offset; /* offset in the file */
122 le64 vno; /* vnode number */
123 le64 pvno; /* parent's vnode number */
124 le64 version; /* version of node */
/dports/sysutils/wimlib/wimlib-1.13.0/include/wimlib/
H A Dwof.h115 le64 data_source_id;
124 le64 unnamed_data_stream_size;
130 le64 unnamed_data_stream_size_in_wim;
133 le64 unnamed_data_stream_offset_in_wim;
142 le64 data_source_id;
191 le64 next_data_source_id;
246 le64 part_start_offset;
249 le64 padding;
H A Dresource.h71 le64 offset_in_wim;
74 le64 uncompressed_size;
143 le64 res_usize;
317 le64 magic; /* +0 */
318 le64 uncompressed_size; /* +8 */
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot-sam460ex/disk/
H A Dpart_efi.c63 static inline unsigned long long le64_to_int(unsigned char *le64) in le64_to_int() argument
65 return (((unsigned long long)le64[7] << 56) + in le64_to_int()
66 ((unsigned long long)le64[6] << 48) + in le64_to_int()
67 ((unsigned long long)le64[5] << 40) + in le64_to_int()
68 ((unsigned long long)le64[4] << 32) + in le64_to_int()
69 ((unsigned long long)le64[3] << 24) + in le64_to_int()
70 ((unsigned long long)le64[2] << 16) + in le64_to_int()
71 ((unsigned long long)le64[1] << 8) + in le64_to_int()
72 (unsigned long long)le64[0]); in le64_to_int()
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot-sam460ex/disk/
H A Dpart_efi.c63 static inline unsigned long long le64_to_int(unsigned char *le64) in le64_to_int() argument
65 return (((unsigned long long)le64[7] << 56) + in le64_to_int()
66 ((unsigned long long)le64[6] << 48) + in le64_to_int()
67 ((unsigned long long)le64[5] << 40) + in le64_to_int()
68 ((unsigned long long)le64[4] << 32) + in le64_to_int()
69 ((unsigned long long)le64[3] << 24) + in le64_to_int()
70 ((unsigned long long)le64[2] << 16) + in le64_to_int()
71 ((unsigned long long)le64[1] << 8) + in le64_to_int()
72 (unsigned long long)le64[0]); in le64_to_int()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/u-boot-sam460ex/disk/
H A Dpart_efi.c63 static inline unsigned long long le64_to_int(unsigned char *le64) in le64_to_int() argument
65 return (((unsigned long long)le64[7] << 56) + in le64_to_int()
66 ((unsigned long long)le64[6] << 48) + in le64_to_int()
67 ((unsigned long long)le64[5] << 40) + in le64_to_int()
68 ((unsigned long long)le64[4] << 32) + in le64_to_int()
69 ((unsigned long long)le64[3] << 24) + in le64_to_int()
70 ((unsigned long long)le64[2] << 16) + in le64_to_int()
71 ((unsigned long long)le64[1] << 8) + in le64_to_int()
72 (unsigned long long)le64[0]); in le64_to_int()
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot-sam460ex/disk/
H A Dpart_efi.c63 static inline unsigned long long le64_to_int(unsigned char *le64) in le64_to_int() argument
65 return (((unsigned long long)le64[7] << 56) + in le64_to_int()
66 ((unsigned long long)le64[6] << 48) + in le64_to_int()
67 ((unsigned long long)le64[5] << 40) + in le64_to_int()
68 ((unsigned long long)le64[4] << 32) + in le64_to_int()
69 ((unsigned long long)le64[3] << 24) + in le64_to_int()
70 ((unsigned long long)le64[2] << 16) + in le64_to_int()
71 ((unsigned long long)le64[1] << 8) + in le64_to_int()
72 (unsigned long long)le64[0]); in le64_to_int()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot-sam460ex/disk/
H A Dpart_efi.c63 static inline unsigned long long le64_to_int(unsigned char *le64) in le64_to_int() argument
65 return (((unsigned long long)le64[7] << 56) + in le64_to_int()
66 ((unsigned long long)le64[6] << 48) + in le64_to_int()
67 ((unsigned long long)le64[5] << 40) + in le64_to_int()
68 ((unsigned long long)le64[4] << 32) + in le64_to_int()
69 ((unsigned long long)le64[3] << 24) + in le64_to_int()
70 ((unsigned long long)le64[2] << 16) + in le64_to_int()
71 ((unsigned long long)le64[1] << 8) + in le64_to_int()
72 (unsigned long long)le64[0]); in le64_to_int()
/dports/emulators/qemu/qemu-6.2.0/roms/u-boot-sam460ex/disk/
H A Dpart_efi.c63 static inline unsigned long long le64_to_int(unsigned char *le64) in le64_to_int() argument
65 return (((unsigned long long)le64[7] << 56) + in le64_to_int()
66 ((unsigned long long)le64[6] << 48) + in le64_to_int()
67 ((unsigned long long)le64[5] << 40) + in le64_to_int()
68 ((unsigned long long)le64[4] << 32) + in le64_to_int()
69 ((unsigned long long)le64[3] << 24) + in le64_to_int()
70 ((unsigned long long)le64[2] << 16) + in le64_to_int()
71 ((unsigned long long)le64[1] << 8) + in le64_to_int()
72 (unsigned long long)le64[0]); in le64_to_int()
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot-sam460ex/disk/
H A Dpart_efi.c63 static inline unsigned long long le64_to_int(unsigned char *le64) in le64_to_int() argument
65 return (((unsigned long long)le64[7] << 56) + in le64_to_int()
66 ((unsigned long long)le64[6] << 48) + in le64_to_int()
67 ((unsigned long long)le64[5] << 40) + in le64_to_int()
68 ((unsigned long long)le64[4] << 32) + in le64_to_int()
69 ((unsigned long long)le64[3] << 24) + in le64_to_int()
70 ((unsigned long long)le64[2] << 16) + in le64_to_int()
71 ((unsigned long long)le64[1] << 8) + in le64_to_int()
72 (unsigned long long)le64[0]); in le64_to_int()
/dports/sysutils/fusefs-ntfs/ntfs-3g_ntfsprogs-2017.3.23/include/ntfs-3g/
H A Dlogfile.h424 le64 unknown_list[0];
448 le64 unknown1;
449 le64 unknown2;
450 le64 inode;
458 le64 unknown1;
459 le64 unknown2;
462 le64 inode;
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dtest-byteorder.c104 uint64_t le64; member
115 #define cpu64 le64
132 .le64 = 0,
146 .le64 = 0xffffffffffffffff,
160 .le64 = 0xf0debc9a78563412,
174 .le64 = 0x8080808080808080,
204 CHECK_READ(iter, 64, run->in, run->be64, run->le64, run->cpu64); in __test_read()
233 CHECK_WRITE(iter, 64, run->in, run->be64, run->le64); in __test_write()
/dports/sysutils/u-boot-utilite/u-boot-2015.07/tools/
H A Drelocate-rela.c71 static inline uint64_t le64(uint64_t val) in le64() function
76 static inline uint64_t le64(uint64_t val) in le64() function
151 swrela.r_offset = le64(rela.r_offset); in main()
152 swrela.r_info = le64(rela.r_info); in main()
153 swrela.r_addend = le64(rela.r_addend); in main()
/dports/net/nbdkit/nbdkit-1.20.4/common/include/
H A Dtest-byte-swapping.c46 static uint8_t le64[] = { 0xf0, 0xde, 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12 }; variable
64 memcpy (&i64, le64, 8); in main()
79 assert (memcmp (&i64, le64, 8) == 0); in main()
/dports/dns/knot3/knot-3.1.5/tests/libknot/
H A Dtest_endian.c62 const trafo64_t le64 = { .array = { 0x08, 0x07, 0x06, 0x05, in main() local
65 ok(htole64(host64) == le64.value, "htole64"); in main()
67 ok(le64toh(le64.value) == host64, "le64toh"); in main()
/dports/dns/knot3-lib/knot-3.1.5/tests/libknot/
H A Dtest_endian.c62 const trafo64_t le64 = { .array = { 0x08, 0x07, 0x06, 0x05, in main() local
65 ok(htole64(host64) == le64.value, "htole64"); in main()
67 ok(le64toh(le64.value) == host64, "le64toh"); in main()

12345678910>>...95