Lines Matching refs:ret

435 	zend_long		size, ret;  in PHP_FUNCTION()  local
443 ret = ftp_alloc(ftp, size, zresponse ? &response : NULL); in PHP_FUNCTION()
449 if (!ret) { in PHP_FUNCTION()
619 zend_long mode=FTPTYPE_IMAGE, resumepos=0, ret; in PHP_FUNCTION() local
647 if ((ret = ftp_nb_get(ftp, stream, file, file_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
651 RETURN_LONG(ret); in PHP_FUNCTION()
654 RETURN_LONG(ret); in PHP_FUNCTION()
750 int ret; in PHP_FUNCTION() local
793 if ((ret = ftp_nb_get(ftp, outstream, remote, remote_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
803 if (ret == PHP_FTP_FINISHED){ in PHP_FUNCTION()
808 RETURN_LONG(ret); in PHP_FUNCTION()
817 zend_long ret; in PHP_FUNCTION() local
830 ret=ftp_nb_continue_write(ftp); in PHP_FUNCTION()
832 ret=ftp_nb_continue_read(ftp); in PHP_FUNCTION()
835 if (ret != PHP_FTP_MOREDATA && ftp->closestream) { in PHP_FUNCTION()
840 if (ret == PHP_FTP_FAILED) { in PHP_FUNCTION()
844 RETURN_LONG(ret); in PHP_FUNCTION()
902 int ret; in PHP_FUNCTION() local
936 if (((ret = ftp_nb_put(ftp, remote, remote_len, stream, xtype, startpos)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
940 RETURN_LONG(ret); in PHP_FUNCTION()
943 RETURN_LONG(ret); in PHP_FUNCTION()
1042 zend_long mode=FTPTYPE_IMAGE, startpos=0, ret; in PHP_FUNCTION() local
1077 ret = ftp_nb_put(ftp, remote, remote_len, instream, xtype, startpos); in PHP_FUNCTION()
1079 if (ret != PHP_FTP_MOREDATA) { in PHP_FUNCTION()
1084 if (ret == PHP_FTP_FAILED) { in PHP_FUNCTION()
1088 RETURN_LONG(ret); in PHP_FUNCTION()