Lines Matching refs:stat
41 function addFile($path, $fileOrStream, $stat = null, $corrupt = null)
44 if ($stat === null) {
46 $stat = fstat($fileOrStream);
48 $stat = array(
59 if ($stat['mode'] & 0xA000 && $corrupt === 'symlink') {
62 $stat['size'] = 0;
64 } else if ($stat['mode'] & 0xA000) {
67 $stat['size'] = 0;
69 } else if ($stat['mode'] & 0x4000) {
71 } else if ($stat['mode'] & 0x8000) {
89 decoct($stat['mode']),
90 sprintf('%6s ',decoct($stat['uid'])),
91 sprintf('%6s ',decoct($stat['gid'])),
92 sprintf('%11s ',decoct($stat['size'])),
93 sprintf('%11s ',decoct($stat['mtime']))
121 if ($stat['size'] % 512) {
122 fwrite($this->tmp, str_repeat("\0", 512 - $stat['size'] % 512));