Lines Matching refs:result
112 int result; in php_stream_ftp_stream_close() local
115 result = GET_FTP_RESULT(controlstream); in php_stream_ftp_stream_close()
116 if (result != 226 && result != 250) { in php_stream_ftp_stream_close()
117 php_error_docref(NULL TSRMLS_CC, 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()
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()
421 int result = 0, use_ssl, use_ssl_on_data=0; in php_stream_url_wrap_ftp() local
471 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
472 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
479 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
485 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
494 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
501 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
506 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
507 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
533 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
534 if (result < 300 || result > 399) { in php_stream_url_wrap_ftp()
562 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
563 if (result != 150 && result != 125) { in php_stream_url_wrap_ftp()
596 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()
735 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
736 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
771 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
787 int result; in php_stream_ftp_url_stat() local
800 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
801 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
809 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
811 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
816 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
817 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
831 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
832 if (result == 213) { in php_stream_ftp_url_stat()
910 int result; in php_stream_ftp_unlink() local
931 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
932 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
960 int result; in php_stream_ftp_rename() local
995 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
996 if (result < 300 || result > 399) { in php_stream_ftp_rename()
1006 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1007 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1039 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1059 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1071 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1072 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1079 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1082 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1083 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1092 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1093 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1109 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1133 int result; in php_stream_ftp_rmdir() local
1152 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1154 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()