Lines Matching refs:strlen
841 if (!strlen($path) || $path[0] != '/') {
887 if (!strlen($path) || $path[0] != '/') {
894 if (!strlen($dir)) {
928 } elseif ($dir[strlen($dir) - 1] != '/') {
1696 $packet = pack('Na*', strlen($filename), $filename);
2209 $size = strlen($data);
2217 $sftp_packet_size -= strlen($handle) + 25;
2233 $packet = pack('Na*N3a*', strlen($handle), $handle, $subtemp / 4294967296, $subtemp, strlen($temp), $temp);
2242 $sent += strlen($temp);
2325 $this->send_sftp_packet(NET_SFTP_CLOSE, pack('Na*', strlen($handle), $handle));
2453 $offset += strlen($temp);
2467 // could, in theory, return false if !strlen($content) but we'll hold off for the time being
2538 $this->send_sftp_packet(NET_SFTP_REMOVE, pack('Na*', strlen($path), $path));
3273 pack('NCNa*', strlen($data) + 5, $type, $request_id, $data) :
3274 pack('NCa*', strlen($data) + 1, $type, $data);
3331 while (strlen($this->packet_buffer) < 4) {
3343 if (strlen($this->packet_buffer) < 4) {
3350 $tempLength -= strlen($this->packet_buffer);
3369 $tempLength -= strlen($temp);