Lines Matching defs:size
126 $this->contentUntil = $this->position + $header['size'];
127 $this->skipUntil = $this->position + ceil($header['size'] / 512) * 512;
211 $this->skipbytes(ceil($header['size'] / 512) * 512);
229 $size = floor($header['size'] / 512);
230 for ($i = 0; $i < $size; $i++) {
233 if (($header['size'] % 512) != 0) {
234 fwrite($fp, $this->readbytes(512), $header['size'] % 512);
241 $this->skipbytes(ceil($header['size'] / 512) * 512); // the size is usually 0 for directories
349 throw new ArchiveCorruptedException("The size of $file changed while reading, archive corrupted. read $read expected ".$fileinfo->getSize());
572 * @param int $size
577 protected function writeRawFileHeader($name, $uid, $gid, $perm, $size, $mtime, $typeflag = '')
603 $size = self::numberEncode($size, 12);
604 $mtime = self::numberEncode($size, 12);
606 $data_first = pack("a100a8a8a8a12A12", $name, $perm, $uid, $gid, $size, $mtime);
664 $return['size'] = self::numberDecode($header['size']);
679 $filename = trim($this->readbytes(ceil($return['size'] / 512) * 512));
703 $fileinfo->setSize($header['size']);