Home
last modified time | relevance | path

Searched refs:unix_mode (Results 1 – 3 of 3) sorted by relevance

/system/libziparchive/
Dziptool.cpp279 if (mkdir(name.c_str(), entry.unix_mode) == -1) { in ExtractOne()
291 int fd = open(name.c_str(), O_CREAT | O_WRONLY | O_CLOEXEC | O_EXCL, entry.unix_mode); in ExtractOne()
296 fd = open(name.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC | O_TRUNC, entry.unix_mode); in ExtractOne()
352 mode[0] = S_ISDIR(entry.unix_mode) ? 'd' : (S_ISREG(entry.unix_mode) ? '-' : '?'); in InfoOne()
353 mode[1] = entry.unix_mode & S_IRUSR ? 'r' : '-'; in InfoOne()
354 mode[2] = entry.unix_mode & S_IWUSR ? 'w' : '-'; in InfoOne()
355 mode[3] = entry.unix_mode & S_IXUSR ? 'x' : '-'; in InfoOne()
356 mode[4] = entry.unix_mode & S_IRGRP ? 'r' : '-'; in InfoOne()
357 mode[5] = entry.unix_mode & S_IWGRP ? 'w' : '-'; in InfoOne()
358 mode[6] = entry.unix_mode & S_IXGRP ? 'x' : '-'; in InfoOne()
[all …]
Dzip_archive.cc912 data->unix_mode = (cdr->external_file_attributes >> 16) & 0xffff; in FindEntry()
914 data->unix_mode = 0777; in FindEntry()
/system/libziparchive/include/ziparchive/
Dzip_archive.h61 mode_t unix_mode; member