Lines Matching refs:mode

97 	ZEND_ARG_INFO(0, mode)
131 ZEND_ARG_INFO(0, mode)
139 ZEND_ARG_INFO(0, mode)
152 ZEND_ARG_INFO(0, mode)
160 ZEND_ARG_INFO(0, mode)
172 ZEND_ARG_INFO(0, mode)
180 ZEND_ARG_INFO(0, mode)
188 ZEND_ARG_INFO(0, mode)
196 ZEND_ARG_INFO(0, mode)
203 ZEND_ARG_INFO(0, mode)
358 #define XTYPE(xtype, mode) { \ argument
359 if (mode != FTPTYPE_ASCII && mode != FTPTYPE_IMAGE) { \
363 xtype = mode; \
668 zend_long mode; in PHP_FUNCTION() local
670 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlp", &z_ftp, &mode, &filename, &filename_len) == FAIL… in PHP_FUNCTION()
678 if (!ftp_chmod(ftp, mode, filename, filename_len)) { in PHP_FUNCTION()
685 RETURN_LONG(mode); in PHP_FUNCTION()
855 zend_long mode=FTPTYPE_IMAGE, resumepos=0; in PHP_FUNCTION() local
857 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrs|ll", &z_ftp, &z_file, &file, &file_len, &mode, &re… in PHP_FUNCTION()
865 XTYPE(xtype, mode); in PHP_FUNCTION()
903 zend_long mode=FTPTYPE_IMAGE, resumepos=0, ret; in PHP_FUNCTION() local
905 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrs|ll", &z_ftp, &z_file, &file, &file_len, &mode, &re… in PHP_FUNCTION()
913 XTYPE(xtype, mode); in PHP_FUNCTION()
979 zend_long mode=FTPTYPE_IMAGE, resumepos=0; in PHP_FUNCTION() local
981 …_NUM_ARGS(), "rpp|ll", &z_ftp, &local, &local_len, &remote, &remote_len, &mode, &resumepos) == FAI… in PHP_FUNCTION()
988 XTYPE(xtype, mode); in PHP_FUNCTION()
996 mode = FTPTYPE_IMAGE; in PHP_FUNCTION()
1000 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1002 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1014 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1047 zend_long mode=FTPTYPE_IMAGE, resumepos=0; in PHP_FUNCTION() local
1049 …_NUM_ARGS(), "rss|ll", &z_ftp, &local, &local_len, &remote, &remote_len, &mode, &resumepos) == FAI… in PHP_FUNCTION()
1056 XTYPE(xtype, mode); in PHP_FUNCTION()
1063 mode = FTPTYPE_IMAGE; in PHP_FUNCTION()
1066 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1068 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1080 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1159 zend_long mode=FTPTYPE_IMAGE, startpos=0; in PHP_FUNCTION() local
1163 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsr|ll", &z_ftp, &remote, &remote_len, &z_file, &mode,… in PHP_FUNCTION()
1171 XTYPE(xtype, mode); in PHP_FUNCTION()
1211 zend_long mode=FTPTYPE_IMAGE, startpos=0; in PHP_FUNCTION() local
1215 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsr|ll", &z_ftp, &remote, &remote_len, &z_file, &mode,… in PHP_FUNCTION()
1223 XTYPE(xtype, mode); in PHP_FUNCTION()
1268 zend_long mode=FTPTYPE_IMAGE, startpos=0; in PHP_FUNCTION() local
1271 …_NUM_ARGS(), "rpp|ll", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAIL… in PHP_FUNCTION()
1278 XTYPE(xtype, mode); in PHP_FUNCTION()
1280 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
1324 zend_long mode=FTPTYPE_IMAGE; in PHP_FUNCTION() local
1327 …rs(ZEND_NUM_ARGS(), "rpp|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode) == FAILURE) { in PHP_FUNCTION()
1334 XTYPE(xtype, mode); in PHP_FUNCTION()
1336 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
1362 zend_long mode=FTPTYPE_IMAGE, startpos=0, ret; in PHP_FUNCTION() local
1365 …_NUM_ARGS(), "rpp|ll", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAIL… in PHP_FUNCTION()
1372 XTYPE(xtype, mode); in PHP_FUNCTION()
1374 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()