Home
last modified time | relevance | path

Searched refs:instream (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/ftp/
H A Dphp_ftp.c957 php_stream *instream; in PHP_FUNCTION() local
983 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
988 php_stream_close(instream); in PHP_FUNCTION()
994 php_stream_close(instream); in PHP_FUNCTION()
1009 php_stream *instream; in PHP_FUNCTION() local
1021 if (!ftp_append(ftp, remote, remote_len, instream, xtype)) { in PHP_FUNCTION()
1022 php_stream_close(instream); in PHP_FUNCTION()
1028 php_stream_close(instream); in PHP_FUNCTION()
1043 php_stream *instream; in PHP_FUNCTION() local
1069 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
[all …]
H A Dftp.h188 int ftp_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_…
193 int ftp_append(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftpty…
218 int ftp_nb_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftpty…
H A Dftp.c982 uint32_t old_flags = instream->flags & flags_mask; in ftp_send_stream_to_data_socket()
983 instream->flags = (instream->flags & ~flags_mask) | PHP_STREAM_FLAG_EOL_UNIX; in ftp_send_stream_to_data_socket()
987 while (!php_stream_eof(instream)) { in ftp_send_stream_to_data_socket()
989 if (!php_stream_get_line(instream, ptr, end - ptr, &line_length)) { in ftp_send_stream_to_data_socket()
1011 instream->flags = (instream->flags & ~flags_mask) | old_flags; in ftp_send_stream_to_data_socket()
1021 instream->flags = (instream->flags & ~flags_mask) | old_flags; in ftp_send_stream_to_data_socket()
1030 while (!php_stream_eof(instream)) { in ftp_send_stream_to_data_socket()
1031 ssize_t size = php_stream_read(instream, data->buf, FTP_BUFSIZE); in ftp_send_stream_to_data_socket()
1091 if (ftp_send_stream_to_data_socket(ftp, data, instream, type, false) != SUCCESS) { in ftp_put()
1135 if (ftp_send_stream_to_data_socket(ftp, data, instream, type, false) != SUCCESS) { in ftp_append()
[all …]

Completed in 12 milliseconds