Home
last modified time | relevance | path

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

/system/extras/puncture_fs/
Dpuncture_fs.cpp39 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.h70 typedef unsigned long u64; typedef
75 typedef unsigned long long u64; typedef
109 u64 len_blocks;
114 u64 blocks_per_ind;
115 u64 blocks_per_dind;
116 u64 blocks_per_tind;
125 u64 get_block_device_size(int fd); // recovery
127 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.h261 #define UINT64_TO_BE_STREAM(p, u64) \ argument
263 *(p)++ = (uint8_t)((u64) >> 56); \
264 *(p)++ = (uint8_t)((u64) >> 48); \
265 *(p)++ = (uint8_t)((u64) >> 40); \
266 *(p)++ = (uint8_t)((u64) >> 32); \
267 *(p)++ = (uint8_t)((u64) >> 24); \
268 *(p)++ = (uint8_t)((u64) >> 16); \
269 *(p)++ = (uint8_t)((u64) >> 8); \
270 *(p)++ = (uint8_t)(u64); \
360 #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.cpp206 u64 get_block_device_size(int fd) in get_block_device_size()
208 u64 size = 0; in get_block_device_size()
240 u64 get_file_size(int fd) in get_file_size()
244 u64 reserve_len = 0; in get_file_size()
Dwipe.cpp42 u64 range[2]; in wipe_block_device()
/system/core/adb/client/pairing/tests/
Dpairing_server.cpp240 event.data.u64 = kEpollConstSocket; in serverWorker()
247 event.data.u64 = kEpollConstEventFd; in serverWorker()
264 switch (event.data.u64) { in serverWorker()
/system/libbase/
Dparseint_test.cpp194 uint64_t u64; in TEST() local
195 ASSERT_FALSE(android::base::ParseByteCount("4294967295E", &u64)); in TEST()
/system/core/adb/pairing_connection/
Dpairing_server.cpp260 event.data.u64 = kEpollConstSocket; in ServerWorker()
267 event.data.u64 = kEpollConstEventFd; in ServerWorker()
284 switch (event.data.u64) { in ServerWorker()
/system/keymaster/key_blob_utils/
Docb.c115 uint64_t u64; in bswap64() member
118 in.u64 = x; in bswap64()
121 return out.u64; in bswap64()
197 uint64_t u64[2]; in gen_offset() member
200 rval.u64[0] = (KtopStr[0] << bot) | (KtopStr[1] >> (64 - bot)); in gen_offset()
201 rval.u64[1] = (KtopStr[1] << bot) | (KtopStr[2] >> (64 - bot)); in gen_offset()