Home
last modified time | relevance | path

Searched refs:computed_size (Results 1 – 2 of 2) sorted by relevance

/system/core/fastbootd/
Dutils.c78 int64_t computed_size; in get_file_size() local
85 computed_size = buf.st_size; in get_file_size()
87 computed_size = get_block_device_size(fd); in get_file_size()
89 computed_size = 0; in get_file_size()
91 return computed_size; in get_file_size()
98 uint64_t computed_size; in get_file_size64() local
105 computed_size = buf.st_size; in get_file_size64()
107 computed_size = get_block_device_size(fd); in get_file_size64()
109 computed_size = 0; in get_file_size64()
111 return computed_size; in get_file_size64()
/system/extras/ext4_utils/
Dext4_utils.c463 s64 computed_size; in get_file_size() local
473 computed_size = buf.st_size - reserve_len; in get_file_size()
475 computed_size = get_block_device_size(fd) - reserve_len; in get_file_size()
477 computed_size = 0; in get_file_size()
479 if (computed_size < 0) { in get_file_size()
481 computed_size = 0; in get_file_size()
484 return computed_size; in get_file_size()