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()
316 int result, i; in php_fopen_do_pasv() local
323 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
326 if (result != 229) { in php_fopen_do_pasv()
330 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
333 if (result != 227) { in php_fopen_do_pasv()
412 int result = 0, use_ssl, use_ssl_on_data=0; in php_stream_url_wrap_ftp() local
463 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
464 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
471 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
477 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
486 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
493 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
498 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
499 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
525 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
526 if (result < 300 || result > 399) { in php_stream_url_wrap_ftp()
555 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
556 if (result != 150 && result != 125) { in php_stream_url_wrap_ftp()
590 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
687 int result = 0, use_ssl, use_ssl_on_data = 0; in php_stream_ftp_opendir() local
701 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
702 if (result > 299 || result < 200) in php_stream_ftp_opendir()
727 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
728 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
762 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
777 int result; in php_stream_ftp_url_stat() local
790 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
791 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
799 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
801 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
806 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
807 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
821 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
822 if (result == 213) { in php_stream_ftp_url_stat()
899 int result; in php_stream_ftp_unlink() local
920 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
921 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
948 int result; in php_stream_ftp_rename() local
983 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
984 if (result < 300 || result > 399) { in php_stream_ftp_rename()
994 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
995 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1026 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1046 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1058 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1059 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1066 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1068 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1077 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1078 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1095 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1118 int result; in php_stream_ftp_rmdir() local
1137 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1139 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()