Lines Matching refs:length
2355 * @param int $length
2361 …public function get($remote_file, $local_file = false, $offset = 0, $length = -1, $progressCallbac… argument
2414 while ($i < NET_SFTP_QUEUE_SIZE && ($length < 0 || $read < $length)) {
2417 …$packet_size = $length > 0 ? min($this->max_sftp_packet, $length - $read) : $this->max_sftp_packet;
2492 if ($length > 0 && $length <= $offset - $start) {
2494 $content = substr($content, 0, $length);
2496 ftruncate($fp, $length + $res_offset);
3373 $tempLength = $length;
3399 $length -= 5; // account for the request id and the packet type
3401 $length -= 1; // account for the packet type
3404 $packet = Strings::shift($this->packet_buffer, $length);