Lines Matching refs:result
111 int result; in php_stream_ftp_stream_close() local
114 result = GET_FTP_RESULT(controlstream); in php_stream_ftp_stream_close()
115 if (result != 226 && result != 250) { in php_stream_ftp_stream_close()
116 php_error_docref(NULL, E_WARNING, "FTP server error %d:%s", result, tmp_line); in php_stream_ftp_stream_close()
138 int result, use_ssl, use_ssl_on_data = 0, tmp_len; in php_ftp_fopen_connect() local
161 result = 0; /* silence */ in php_ftp_fopen_connect()
169 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
170 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
171 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_ftp_fopen_connect()
181 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
182 if (result != 234) { in php_ftp_fopen_connect()
187 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
188 if (result != 334) { in php_ftp_fopen_connect()
218 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
225 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
226 use_ssl_on_data = (result >= 200 && result<=299) || reuseid; in php_ftp_fopen_connect()
231 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
258 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
261 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect()
281 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
283 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
284 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
286 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
289 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
326 int result, i; in php_fopen_do_pasv() local
333 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
336 if (result != 229) { in php_fopen_do_pasv()
340 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
343 if (result != 227) { in php_fopen_do_pasv()
423 int result = 0, use_ssl, use_ssl_on_data=0; in php_stream_url_wrap_ftp() local
474 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
475 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
482 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
488 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
497 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
504 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
509 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
510 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
536 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
537 if (result < 300 || result > 399) { in php_stream_url_wrap_ftp()
566 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
567 if (result != 150 && result != 125) { in php_stream_url_wrap_ftp()
601 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
700 int result = 0, use_ssl, use_ssl_on_data = 0; in php_stream_ftp_opendir() local
714 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
715 if (result > 299 || result < 200) in php_stream_ftp_opendir()
740 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
741 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
775 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
791 int result; in php_stream_ftp_url_stat() local
804 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
805 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
813 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
815 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
820 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
821 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
835 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
836 if (result == 213) { in php_stream_ftp_url_stat()
914 int result; in php_stream_ftp_unlink() local
935 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
936 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
964 int result; in php_stream_ftp_rename() local
999 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1000 if (result < 300 || result > 399) { in php_stream_ftp_rename()
1010 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1011 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1043 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1063 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1075 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1076 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1083 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1085 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1094 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1095 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1112 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1136 int result; in php_stream_ftp_rmdir() local
1155 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1157 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()