Lines Matching refs:temp

1012                 $temp = $this->nlist_helper($dir . '/' . $value, true, $relativeDir . $value . '/');
1013 $temp = is_array($temp) ? $temp : [];
1014 $result = array_merge($result, $temp);
1146 $temp = $this->realpath($dir . '/..') . '/.';
1148 $temp = $dir . '/' . $shortname;
1150 $this->update_stat_cache($temp, (object) ['lstat' => $attributes]);
1293 $temp = &$this->stat_cache;
1296 // if $temp is an object that means one of two things.
1299 if (is_object($temp)) {
1300 $temp = [];
1302 if (!isset($temp[$dir])) {
1303 $temp[$dir] = [];
1306 if (is_object($temp[$dir]) && is_object($value)) {
1307 if (!isset($value->stat) && isset($temp[$dir]->stat)) {
1308 $value->stat = $temp[$dir]->stat;
1310 if (!isset($value->lstat) && isset($temp[$dir]->lstat)) {
1311 $value->lstat = $temp[$dir]->lstat;
1314 $temp[$dir] = $value;
1317 $temp = &$temp[$dir];
1331 $temp = &$this->stat_cache;
1334 if (!is_array($temp)) {
1338 unset($temp[$dir]);
1341 if (!isset($temp[$dir])) {
1344 $temp = &$temp[$dir];
1360 $temp = &$this->stat_cache;
1362 if (!is_array($temp)) {
1365 if (!isset($temp[$dir])) {
1368 $temp = &$temp[$dir];
1370 return $temp;
1679 $temp = $mode;
1681 $filename = $temp;
1804 $temp = $path . '/' . $filename;
1806 if (!$this->setstat_recursive($temp, $attr, $i)) {
1810 $packet = Strings::packSSH2('s', $temp);
1974 $temp = array_slice($dirs, 0, $i + 1);
1975 $temp = implode('/', $temp);
1976 $result = $this->mkdir_helper($temp, $mode);
2221 $temp = $dataCallback($sftp_packet_size);
2222 if (is_null($temp)) {
2226 $temp = isset($fp) ? fread($fp, $sftp_packet_size) : substr($data, $sent, $sftp_packet_size);
2227 if ($temp === false || $temp === '') {
2233 $packet = pack('Na*N3a*', strlen($handle), $handle, $subtemp / 4294967296, $subtemp, strlen($temp), $temp);
2242 $sent += strlen($temp);
2452 $temp = substr($response, 4);
2453 $offset += strlen($temp);
2455 $content .= $temp;
2457 $local_file($temp);
2459 fputs($fp, $temp);
2464 $temp = null;
2599 $temp = $path . '/' . $filename;
2601 if (!$this->delete_recursive($temp, $i)) {
2605 $this->send_sftp_packet(NET_SFTP_REMOVE, Strings::packSSH2('s', $temp));
2606 $this->remove_from_stat_cache($temp);
3319 $temp = $this->requestBuffer[$request_id]['packet'];
3321 return $temp;
3332 $temp = $this->get_channel_packet(self::CHANNEL, true);
3333 if ($temp === true) {
3341 $this->packet_buffer .= $temp;
3359 $temp = $this->get_channel_packet(self::CHANNEL, true);
3360 if ($temp === true) {
3368 $this->packet_buffer .= $temp;
3369 $tempLength -= strlen($temp);
3483 $temp = ['version' => $this->defaultVersion];
3485 $temp['extensions'] = $this->extensions['versions'];
3487 return $temp;