Lines Matching refs:result

113 			int result;  in php_stream_ftp_stream_close()  local
116 result = GET_FTP_RESULT(controlstream); in php_stream_ftp_stream_close()
117 if (result != 226 && result != 250) { in php_stream_ftp_stream_close()
118 php_error_docref(NULL TSRMLS_CC, E_WARNING, "FTP server error %d:%s", result, tmp_line); in php_stream_ftp_stream_close()
140 int result, use_ssl, use_ssl_on_data = 0, tmp_len; in php_ftp_fopen_connect() local
163 result = 0; /* silence */ in php_ftp_fopen_connect()
171 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
172 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
173 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_ftp_fopen_connect()
183 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
184 if (result != 234) { in php_ftp_fopen_connect()
189 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
190 if (result != 334) { in php_ftp_fopen_connect()
220 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
227 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
228 use_ssl_on_data = (result >= 200 && result<=299) || reuseid; in php_ftp_fopen_connect()
233 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
260 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
263 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect()
283 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
285 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
286 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
288 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
291 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
328 int result, i; in php_fopen_do_pasv() local
335 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
338 if (result != 229) { in php_fopen_do_pasv()
342 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
345 if (result != 227) { in php_fopen_do_pasv()
425 int result = 0, use_ssl, use_ssl_on_data=0; in php_stream_url_wrap_ftp() local
475 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
476 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
483 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
489 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
498 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
505 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
510 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
511 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
537 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
538 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()
600 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
703 int result = 0, use_ssl, use_ssl_on_data = 0; in php_stream_ftp_opendir() local
717 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
718 if (result > 299 || result < 200) in php_stream_ftp_opendir()
744 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
745 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
779 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
795 int result; in php_stream_ftp_url_stat() local
808 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
809 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
817 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
819 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
824 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
825 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
839 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
840 if (result == 213) { in php_stream_ftp_url_stat()
918 int result; in php_stream_ftp_unlink() local
939 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
940 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
968 int result; in php_stream_ftp_rename() local
1003 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1004 if (result < 300 || result > 399) { in php_stream_ftp_rename()
1014 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1015 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1047 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1067 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1079 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1080 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1087 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1090 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1091 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1100 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1101 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1117 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1141 int result; in php_stream_ftp_rmdir() local
1160 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1162 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()