Lines Matching refs:result

105 			int result;  in php_stream_ftp_stream_close()  local
108 result = GET_FTP_RESULT(controlstream); in php_stream_ftp_stream_close()
109 if (result != 226 && result != 250) { in php_stream_ftp_stream_close()
110 php_error_docref(NULL, E_WARNING, "FTP server error %d:%s", result, tmp_line); in php_stream_ftp_stream_close()
131 int result, use_ssl, use_ssl_on_data = 0; in php_ftp_fopen_connect() local
154 result = 0; /* silence */ in php_ftp_fopen_connect()
162 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
163 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
164 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_ftp_fopen_connect()
174 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
175 if (result != 234) { in php_ftp_fopen_connect()
180 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
181 if (result != 334) { in php_ftp_fopen_connect()
211 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
218 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
219 use_ssl_on_data = (result >= 200 && result<=299) || reuseid; in php_ftp_fopen_connect()
224 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
251 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
254 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect()
274 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
276 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
277 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
279 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
282 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
318 int result, i; in php_fopen_do_pasv() local
325 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
328 if (result != 229) { in php_fopen_do_pasv()
332 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
335 if (result != 227) { in php_fopen_do_pasv()
414 int result = 0, use_ssl, use_ssl_on_data=0; in php_stream_url_wrap_ftp() local
465 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
466 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
473 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
479 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
488 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
495 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
500 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
501 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
527 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
528 if (result < 300 || result > 399) { in php_stream_url_wrap_ftp()
557 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
558 if (result != 150 && result != 125) { in php_stream_url_wrap_ftp()
592 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
688 int result = 0, use_ssl, use_ssl_on_data = 0; in php_stream_ftp_opendir() local
702 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
703 if (result > 299 || result < 200) in php_stream_ftp_opendir()
728 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
729 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
763 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
778 int result; in php_stream_ftp_url_stat() local
791 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
792 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
800 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
802 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
807 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
808 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
822 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
823 if (result == 213) { in php_stream_ftp_url_stat()
900 int result; in php_stream_ftp_unlink() local
921 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
922 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
949 int result; in php_stream_ftp_rename() local
984 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
985 if (result < 300 || result > 399) { in php_stream_ftp_rename()
995 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
996 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1027 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1047 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1059 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1060 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1067 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1069 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1078 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1079 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1096 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1119 int result; in php_stream_ftp_rmdir() local
1138 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1140 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()