Home
last modified time | relevance | path

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

/build/tools/ijar/
Dzip_main.cc93 struct stat statst; in mkdirs() local
100 if (stat(path_, &statst) != 0) { in mkdirs()
182 struct stat statst; in create() local
194 stat(files[i], &statst); in create()
196 bool isdir = (statst.st_mode & S_IFDIR) != 0; in create()
217 mode_t perm = statst.st_mode & 0777; in create()
221 u1 *buffer = builder->NewFile(path, mode_to_zipattr(statst.st_mode)); in create()
222 if (isdir || statst.st_size == 0) { in create()
232 void *data = mmap(NULL, statst.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in create()
238 memcpy(buffer, data, statst.st_size); in create()
[all …]
Dzip.cc1007 struct stat statst; in EstimateSize() local
1013 if (stat(files[i], &statst) != 0) { in EstimateSize()
1017 size += statst.st_size; in EstimateSize()