Lines Matching defs:length
71 * function callback($length) returns string to proceed, null for EOF
321 * Determines whether or not packets of any length should be allowed,
322 * in cases where the server chooses the packet length (such as
764 * Enable arbitrary length packets
773 * Disable arbitrary length packets
1100 // represent the length of the string and leave it at that
1524 * Truncates a file to a given length
1632 // "If either the owner or group field is zero length, the field should be
2351 * $offset and $length can be used to download files in chunks.
2356 * @param int $length
2361 public function get($remote_file, $local_file = false, $offset = 0, $length = -1, $progressCallback = null)
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;
3330 // SFTP packet length
3347 /** @var integer $length */
3349 $tempLength = $length;
3378 $length -= 5; // account for the request id and the packet type
3380 $length -= 1; // account for the packet type
3383 $packet = Strings::shift($this->packet_buffer, $length);