Home
last modified time | relevance | path

Searched refs:u64 (Results 1 – 11 of 11) sorted by relevance

/system/extras/puncture_fs/
Dpuncture_fs.c39 typedef unsigned long u64; typedef
48 static u64 get_free_space(const char * const path) { in get_free_space()
56 return (u64)s.f_bsize * (u64)s.f_bfree; in get_free_space()
60 static u64 get_random_num(const u64 start, const u64 end) { in get_random_num()
65 return start + (((u64)random() << 31) | (u64)random()) % (end - start); in get_random_num()
73 static bool create_unique_file(const char * const dir_path, const u64 size, in create_unique_file()
74 const u64 id, char * const base, in create_unique_file()
75 const u64 base_length) { in create_unique_file()
76 u64 length = 0; in create_unique_file()
139 static bool puncture_fs (const char * const path, const u64 total_size, in puncture_fs()
[all …]
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h76 typedef unsigned long u64; typedef
81 typedef unsigned long long u64; typedef
115 u64 len_blocks;
120 u64 blocks_per_ind;
121 u64 blocks_per_dind;
122 u64 blocks_per_tind;
131 u64 get_block_device_size(int fd); // recovery
133 u64 get_file_size(int fd); // fs_mgr
/system/extras/tests/storage/
Dwipe_blkdev.c28 typedef unsigned long long u64; typedef
38 static u64 get_block_device_size(int fd) in get_block_device_size()
40 u64 size = 0; in get_block_device_size()
51 static int wipe_block_device(int fd, u64 len, int secure) in wipe_block_device()
53 u64 range[2]; in wipe_block_device()
85 u64 len; in main()
/system/core/libsparse/
Dsparse_defs.h23 #define __le64 u64
27 #define __be64 u64
31 #define __u64 u64
36 typedef unsigned long long u64; typedef
/system/bt/stack/srvc/
Dsrvc_dis.cc40 #define uint64_t_TO_STREAM(p, u64) \ argument
42 *(p)++ = (uint8_t)(u64); \
43 *(p)++ = (uint8_t)((u64) >> 8); \
44 *(p)++ = (uint8_t)((u64) >> 16); \
45 *(p)++ = (uint8_t)((u64) >> 24); \
46 *(p)++ = (uint8_t)((u64) >> 32); \
47 *(p)++ = (uint8_t)((u64) >> 40); \
48 *(p)++ = (uint8_t)((u64) >> 48); \
49 *(p)++ = (uint8_t)((u64) >> 56); \
/system/bt/stack/include/
Dbt_types.h256 #define UINT64_TO_BE_STREAM(p, u64) \ argument
258 *(p)++ = (uint8_t)((u64) >> 56); \
259 *(p)++ = (uint8_t)((u64) >> 48); \
260 *(p)++ = (uint8_t)((u64) >> 40); \
261 *(p)++ = (uint8_t)((u64) >> 32); \
262 *(p)++ = (uint8_t)((u64) >> 24); \
263 *(p)++ = (uint8_t)((u64) >> 16); \
264 *(p)++ = (uint8_t)((u64) >> 8); \
265 *(p)++ = (uint8_t)(u64); \
355 #define STREAM_TO_UINT64(u64, p) \ argument
[all …]
/system/vold/
DEncryptInplace.cpp195 off64_t offset = (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap; in encrypt_groups()
203 offset = (u64)info.block_size * first_block; in encrypt_groups()
339 static void log_progress_f2fs(u64 block, bool completed) { in log_progress_f2fs()
343 static u64 last_block = (u64)-1; in log_progress_f2fs()
346 if (completed || (last_block != (u64)-1 && block != last_block + 1)) { in log_progress_f2fs()
352 if (!completed && (last_block == (u64)-1 || block != last_block + 1)) { in log_progress_f2fs()
362 static int encrypt_one_block_f2fs(u64 pos, void* data) { in encrypt_one_block_f2fs()
/system/extras/ext4_utils/
Dext4_utils.cpp204 u64 get_block_device_size(int fd) in get_block_device_size()
206 u64 size = 0; in get_block_device_size()
238 u64 get_file_size(int fd) in get_file_size()
242 u64 reserve_len = 0; in get_file_size()
Dwipe.cpp40 u64 range[2]; in wipe_block_device()
/system/core/base/
Dparseint_test.cpp194 uint64_t u64; in TEST() local
195 ASSERT_FALSE(android::base::ParseByteCount("4294967295E", &u64)); in TEST()
/system/keymaster/key_blob_utils/
Docb.c114 uint64_t u64; in bswap64() member
117 in.u64 = x; in bswap64()
120 return out.u64; in bswap64()
196 uint64_t u64[2]; in gen_offset() member
199 rval.u64[0] = (KtopStr[0] << bot) | (KtopStr[1] >> (64 - bot)); in gen_offset()
200 rval.u64[1] = (KtopStr[1] << bot) | (KtopStr[2] >> (64 - bot)); in gen_offset()