Home
last modified time | relevance | path

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

/build/tools/ijar/
Dzip.cc971 ZipBuilder* ZipBuilder::Create(const char* zip_file, u8 estimated_size) { in Create() argument
972 if (estimated_size > kMaximumOutputSize) { in Create()
977 estimated_size, kMaximumOutputSize); in Create()
978 estimated_size = kMaximumOutputSize; in Create()
987 if (ftruncate(fd_out, estimated_size) < 0) { in Create()
993 size_t mmap_length = std::min(estimated_size + sysconf(_SC_PAGESIZE), in Create()
999 fprintf(stderr, "output_length=%llu\n", estimated_size); in Create()
Dzip.h101 static ZipBuilder* Create(const char* zip_file, u8 estimated_size);