Lines Matching refs:stat
41 function addFile($path, $fileOrStream, $stat = null)
44 if ($stat === null) {
46 $stat = fstat($fileOrStream);
48 $stat = array(
59 if ($stat['mode'] & 0x4000) {
61 } else if ($stat['mode'] & 0x8000) {
63 } else if ($stat['mode'] & 0xA000) {
82 decoct($stat['mode']),
83 sprintf('%6s ',decoct($stat['uid'])),
84 sprintf('%6s ',decoct($stat['gid'])),
85 sprintf('%11s ',decoct($stat['size'])),
86 sprintf('%11s ',decoct($stat['mtime']))
113 if ($stat['size'] % 512) {
114 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));