Home
last modified time | relevance | path

Searched refs:get_file_size (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/libs/protoutil/src/
H A DProtoFileReader.cpp34 ssize_t get_file_size(int fd) { in get_file_size() function
55 mSize(get_file_size(fd)), in ProtoFileReader()
/aosp14/system/core/fastboot/
H A Dsuper_flash_helper_test.cpp70 std::string expected(get_file_size(real_super_fd), '\0'); in TEST()
74 std::string actual(get_file_size(fb_super.fd), '\0'); in TEST()
H A Dutil.h32 int64_t get_file_size(android::base::borrowed_fd fd);
H A Dutil.cpp105 int64_t get_file_size(borrowed_fd fd) { in get_file_size() function
H A Dsuper_flash_helper.cpp65 if (!builder_.AddPartition(partition, image_name, get_file_size(iter->second))) { in AddPartition()
H A Dtask.cpp260 fp_->fb->Download(super_name, fd, get_file_size(fd)); in Run()
H A Dfastboot.cpp238 out->resize(get_file_size(fd)); in ReadFileToVector()
1040 int64_t sz = get_file_size(fd); in load_buf_fd()