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()
281 result = GET_FTP_RESULT(stream); in php_ftp_fopen_connect()
283 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
284 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
286 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
289 if (result > 299 || result < 200) { in php_ftp_fopen_connect()
326 int result, i; in php_fopen_do_pasv() local
333 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
336 if (result != 229) { in php_fopen_do_pasv()
340 result = GET_FTP_RESULT(stream); in php_fopen_do_pasv()
343 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
472 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
473 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
480 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
486 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
495 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
502 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
507 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
508 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
534 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
535 if (result < 300 || result > 399) { in php_stream_url_wrap_ftp()
563 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
564 if (result != 150 && result != 125) { in php_stream_url_wrap_ftp()
597 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
700 int result = 0, use_ssl, use_ssl_on_data = 0; in php_stream_ftp_opendir() local
714 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
715 if (result > 299 || result < 200) in php_stream_ftp_opendir()
736 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
737 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
772 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
788 int result; in php_stream_ftp_url_stat() local
801 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
802 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
810 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
812 if(result < 200 || result > 299) { in php_stream_ftp_url_stat()
817 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
818 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
832 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
833 if (result == 213) { in php_stream_ftp_url_stat()
911 int result; in php_stream_ftp_unlink() local
932 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
933 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
961 int result; in php_stream_ftp_rename() local
996 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
997 if (result < 300 || result > 399) { in php_stream_ftp_rename()
1007 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1008 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1040 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1060 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1072 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1073 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1080 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1083 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()
1110 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1134 int result; in php_stream_ftp_rmdir() local
1153 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1155 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()