Lines Matching defs:i

67     // this value isn't really used anymore but i'm keeping it reserved for historical reasons
1126 for ($i = 0; $i < $count; $i++) {
1270 for ($i = 0; $i < $len; $i += 2) {
1271 $this->sortOptions[$args[$i]] = $args[$i + 1];
1295 foreach ($dirs as $i => $dir) {
1305 if ($i === $max) {
1333 foreach ($dirs as $i => $dir) {
1337 if ($i === $max) {
1736 $i = 0;
1737 $result = $this->setstat_recursive($filename, $attr, $i);
1738 $this->read_put_responses($i);
1777 * @param int $i
1780 private function setstat_recursive($path, $attr, &$i)
1782 if (!$this->read_put_responses($i)) {
1785 $i = 0;
1806 if (!$this->setstat_recursive($temp, $attr, $i)) {
1816 $i++;
1818 if ($i >= NET_SFTP_QUEUE_SIZE) {
1819 if (!$this->read_put_responses($i)) {
1822 $i = 0;
1833 $i++;
1835 if ($i >= NET_SFTP_QUEUE_SIZE) {
1836 if (!$this->read_put_responses($i)) {
1839 $i = 0;
1973 for ($i = 0; $i < count($dirs); $i++) {
1974 $temp = array_slice($dirs, 0, $i + 1);
2218 $i = $j = 0;
2247 $i++;
2249 if ($i == NET_SFTP_UPLOAD_QUEUE_SIZE) {
2250 if (!$this->read_put_responses($i)) {
2251 $i = 0;
2254 $i = 0;
2260 if (!$this->read_put_responses($i)) {
2290 * Sending an SSH_FXP_WRITE packet and immediately reading its response isn't as efficient as blindly sending out $i
2291 * SSH_FXP_WRITEs, in succession, and then reading $i responses.
2293 * @param int $i
2297 private function read_put_responses($i)
2299 while ($i--) {
2313 return $i < 0;
2412 $i = 0;
2414 while ($i < NET_SFTP_QUEUE_SIZE && ($length < 0 || $read < $length)) {
2421 $this->send_sftp_packet(NET_SFTP_READ, $packet, $i);
2430 $i++;
2433 if (!$i) {
2437 $packets_sent = $i - 1;
2440 while ($i > 0) {
2441 $i--;
2444 $this->get_sftp_packet($packets_sent - $i);
2447 $response = $this->get_sftp_packet($packets_sent - $i);
2554 $i = 0;
2555 $result = $this->delete_recursive($path, $i);
2556 $this->read_put_responses($i);
2571 * @param int $i
2574 private function delete_recursive($path, &$i)
2576 if (!$this->read_put_responses($i)) {
2579 $i = 0;
2601 if (!$this->delete_recursive($temp, $i)) {
2608 $i++;
2610 if ($i >= NET_SFTP_QUEUE_SIZE) {
2611 if (!$this->read_put_responses($i)) {
2614 $i = 0;
2622 $i++;
2624 if ($i >= NET_SFTP_QUEUE_SIZE) {
2625 if (!$this->read_put_responses($i)) {
2628 $i = 0;
3119 for ($i = 0; $i < $count; $i++) {
3171 for ($i = 0; $i < $count; $i++) {