Lines Matching refs:result

110 			int result;  in php_stream_ftp_stream_close()  local
113 result = GET_FTP_RESULT(controlstream); in php_stream_ftp_stream_close()
114 if (result != 226 && result != 250) { in php_stream_ftp_stream_close()
115 php_error_docref(NULL, E_WARNING, "FTP server error %d:%s", result, tmp_line); in php_stream_ftp_stream_close()
137 int result, use_ssl, use_ssl_on_data = 0; in php_ftp_fopen_connect() local
160 result = 0; /* silence */ in php_ftp_fopen_connect()
168 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
169 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
170 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_ftp_fopen_connect()
180 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
181 if (result != 234) { in php_ftp_fopen_connect()
186 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
187 if (result != 334) { in php_ftp_fopen_connect()
217 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
224 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
225 use_ssl_on_data = (result >= 200 && result<=299) || reuseid; in php_ftp_fopen_connect()
230 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
257 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
260 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect()
280 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
282 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
283 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
285 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
288 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
325 int result, i; in php_fopen_do_pasv() local
332 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
335 if (result != 229) { in php_fopen_do_pasv()
339 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
342 if (result != 227) { in php_fopen_do_pasv()
422 int result = 0, use_ssl, use_ssl_on_data=0; in php_stream_url_wrap_ftp() local
473 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
474 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
481 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
487 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
496 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
503 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
508 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
509 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
535 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
536 if (result < 300 || result > 399) { in php_stream_url_wrap_ftp()
565 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
566 if (result != 150 && result != 125) { in php_stream_url_wrap_ftp()
600 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
699 int result = 0, use_ssl, use_ssl_on_data = 0; in php_stream_ftp_opendir() local
713 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
714 if (result > 299 || result < 200) in php_stream_ftp_opendir()
739 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
740 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
774 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
790 int result; in php_stream_ftp_url_stat() local
803 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
804 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
812 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
814 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
819 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
820 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
834 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
835 if (result == 213) { in php_stream_ftp_url_stat()
913 int result; in php_stream_ftp_unlink() local
934 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
935 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
963 int result; in php_stream_ftp_rename() local
998 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
999 if (result < 300 || result > 399) { in php_stream_ftp_rename()
1009 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1010 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1042 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1062 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1074 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1075 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1082 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1084 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1093 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1094 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1111 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1135 int result; in php_stream_ftp_rmdir() local
1154 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1156 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()