Lines Matching defs:size
121 $this->skipbytes(ceil($header['size'] / 512) * 512);
181 $this->skipbytes(ceil($header['size'] / 512) * 512);
199 $size = floor($header['size'] / 512);
200 for ($i = 0; $i < $size; $i++) {
203 if (($header['size'] % 512) != 0) {
204 fwrite($fp, $this->readbytes(512), $header['size'] % 512);
211 $this->skipbytes(ceil($header['size'] / 512) * 512); // the size is usually 0 for directories
308 throw new ArchiveCorruptedException("The size of $file changed while reading, archive corrupted. read $read expected ".$fileinfo->getSize());
525 * @param int $size
530 protected function writeRawFileHeader($name, $uid, $gid, $perm, $size, $mtime, $typeflag = '')
556 $size = sprintf("%11s ", decoct($size));
559 $data_first = pack("a100a8a8a8a12A12", $name, $perm, $uid, $gid, $size, $mtime);
617 $return['size'] = OctDec(trim($header['size']));
632 $filename = trim($this->readbytes(ceil($return['size'] / 512) * 512));
656 $fileinfo->setSize($header['size']);