Lines Matching defs:block
379 // write directly everything but the last block which needs padding
626 * @param string $block a 512 byte block containing the header data
627 * @return array|false returns false when this was a null block
630 protected function parseHeader($block)
632 if (!$block || strlen($block) != 512) {
637 if(trim($block) === '') return false;
640 $chks += ord($block[$i]);
644 $chks += ord($block[$i]);
649 $block
678 // following data block(s) is the filename
680 // next block is the real header
681 $block = $this->readbytes(512);
682 $return = $this->parseHeader($block);