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, 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
476 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
477 if (result > 299 || result < 200) in php_stream_url_wrap_ftp()
484 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
490 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp()
499 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
506 if (result <= 299 && result >= 200) { in php_stream_url_wrap_ftp()
511 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
512 if (result >= 300 || result <= 199) { in php_stream_url_wrap_ftp()
538 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
539 if (result < 300 || result > 399) { in php_stream_url_wrap_ftp()
568 result = GET_FTP_RESULT(stream); in php_stream_url_wrap_ftp()
569 if (result != 150 && result != 125) { in php_stream_url_wrap_ftp()
603 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
702 int result = 0, use_ssl, use_ssl_on_data = 0; in php_stream_ftp_opendir() local
716 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
717 if (result > 299 || result < 200) in php_stream_ftp_opendir()
742 result = GET_FTP_RESULT(stream); in php_stream_ftp_opendir()
743 if (result != 150 && result != 125) { in php_stream_ftp_opendir()
777 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
793 int result; in php_stream_ftp_url_stat() local
806 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
807 if (result < 200 || result > 299) { in php_stream_ftp_url_stat()
815 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
817 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 < 200 || result > 299) { in php_stream_ftp_url_stat()
837 result = GET_FTP_RESULT(stream); in php_stream_ftp_url_stat()
838 if (result == 213) { in php_stream_ftp_url_stat()
916 int result; in php_stream_ftp_unlink() local
937 result = GET_FTP_RESULT(stream); in php_stream_ftp_unlink()
938 if (result < 200 || result > 299) { in php_stream_ftp_unlink()
966 int result; in php_stream_ftp_rename() local
1001 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1002 if (result < 300 || result > 399) { in php_stream_ftp_rename()
1012 result = GET_FTP_RESULT(stream); in php_stream_ftp_rename()
1013 if (result < 200 || result > 299) { in php_stream_ftp_rename()
1045 int result, recursive = options & PHP_STREAM_MKDIR_RECURSIVE; in php_stream_ftp_mkdir() local
1065 result = GET_FTP_RESULT(stream); 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()
1085 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1088 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1089 if (result >= 200 && result <= 299) { in php_stream_ftp_mkdir()
1098 result = GET_FTP_RESULT(stream); in php_stream_ftp_mkdir()
1099 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1115 if (result < 200 || result > 299) { in php_stream_ftp_mkdir()
1139 int result; in php_stream_ftp_rmdir() local
1158 result = GET_FTP_RESULT(stream); in php_stream_ftp_rmdir()
1160 if (result < 200 || result > 299) { in php_stream_ftp_rmdir()