Home
last modified time | relevance | path

Searched refs:mode (Results 26 – 50 of 750) sorted by path

12345678910>>...30

/PHP-5.5/ext/bz2/
H A Dbz2.c62 ZEND_ARG_INFO(0, mode)
213 char *mode, in _php_stream_bz2open() argument
225 if (mode[0] == '\0' || (mode[0] != 'w' && mode[0] != 'r' && mode[1] != '\0')) { in _php_stream_bz2open()
384 if (mode_len != 1 || (mode[0] != 'r' && mode[0] != 'w')) { in PHP_FUNCTION()
402 mode, in PHP_FUNCTION()
416 …f (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode[0] != … in PHP_FUNCTION()
421 switch(mode[0]) { in PHP_FUNCTION()
424 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) { in PHP_FUNCTION()
431 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0]) in PHP_FUNCTION()
432 && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a') in PHP_FUNCTION()
[all …]
H A Dphp_bz2.h50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, in…
51 PHP_BZ2_API php_stream *_php_stream_bz2open_from_BZFILE(BZFILE *bz, char *mode, php_stream *innerst…
53 #define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz),… argument
54 …efine php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper),… argument
/PHP-5.5/ext/bz2/tests/
H A D001.phpt25 Warning: bzopen(): '' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on li…
34 Warning: bzopen(): 'x' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on l…
37 Warning: bzopen(): 'rw' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on …
H A D002.phpt2 bzopen() using fd opened in wrong mode
81 Warning: bzopen(): cannot read from a stream opened in write only mode in %s on line %d
96 Warning: bzopen(): cannot write to a stream opened in read only mode in %s on line %d
102 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d
105 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d
108 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d
111 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d
114 Warning: bzopen(): cannot use stream opened in mode 'r+' in %s on line %d
117 Warning: bzopen(): cannot use stream opened in mode 'r+' in %s on line %d
120 Warning: bzopen(): cannot use stream opened in mode 'w+' in %s on line %d
[all …]
/PHP-5.5/ext/calendar/
H A Dcalendar.c113 ZEND_ARG_INFO(0, mode)
118 ZEND_ARG_INFO(0, mode)
686 long julday, mode = CAL_DOW_DAYNO; in PHP_FUNCTION() local
690 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &julday, &mode) == FAILURE) { in PHP_FUNCTION()
698 switch (mode) { in PHP_FUNCTION()
717 long julday, mode; in PHP_FUNCTION() local
721 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &julday, &mode) == FAILURE) { in PHP_FUNCTION()
725 switch (mode) { in PHP_FUNCTION()
/PHP-5.5/ext/calendar/tests/
H A Djddayofweek.phpt10 echo "--- mode $mode ---\n";
19 --- mode 0 ---
28 --- mode 1 ---
37 --- mode 2 ---
47 --- mode 0 ---
56 --- mode 1 ---
65 --- mode 2 ---
75 --- mode 0 ---
84 --- mode 1 ---
93 --- mode 2 ---
[all …]
H A Djdmonthname.phpt9 for ($mode = 0; $mode <= 6; $mode++) {
10 echo "--- mode $mode ---\n";
19 --- mode 0 ---
33 --- mode 1 ---
47 --- mode 2 ---
61 --- mode 3 ---
75 --- mode 4 ---
89 --- mode 5 ---
103 --- mode 6 ---
118 --- mode 0 ---
[all …]
/PHP-5.5/ext/com_dotnet/
H A Dcom_com.c46 int mode = COMG(autoreg_case_sensitive) ? CONST_CS : 0; in PHP_FUNCTION() local
248 php_com_import_typelib(TL, mode, obj->code_page TSRMLS_CC); in PHP_FUNCTION()
267 php_com_import_typelib(TL, mode, obj->code_page TSRMLS_CC); in PHP_FUNCTION()
275 php_com_import_typelib(TL, mode, obj->code_page TSRMLS_CC); in PHP_FUNCTION()
H A Dcom_extension.c283 int mode = CONST_CS | CONST_PERSISTENT; /* CONST_PERSISTENT is ok here */ in PHP_INI_MH() local
296 mode &= ~CONST_CS; in PHP_INI_MH()
312 php_com_import_typelib(pTL, mode, COMG(code_page) TSRMLS_CC); in PHP_INI_MH()
H A Dcom_typeinfo.c156 PHP_COM_DOTNET_API int php_com_import_typelib(ITypeLib *TL, int mode, int codepage TSRMLS_DC) in php_com_import_typelib() argument
210 c.flags = mode; in php_com_import_typelib()
H A Dphp_com_dotnet_internal.h172 PHP_COM_DOTNET_API int php_com_import_typelib(ITypeLib *TL, int mode,
/PHP-5.5/ext/curl/
H A Dinterface.c98 static void php_curl_ssl_lock(int mode, int n, const char * file, int line) in php_curl_ssl_lock() argument
100 if (mode & CRYPTO_LOCK) { in php_curl_ssl_lock()
2408 } else if (((php_stream *) what)->mode[0] != 'r' || ((php_stream *) what)->mode[1] == '+') { in _php_curl_setopt()
2429 } else if (((php_stream *) what)->mode[0] != 'r' || ((php_stream *) what)->mode[1] == '+') { in _php_curl_setopt()
2466 } else if (((php_stream *) what)->mode[0] != 'r' || ((php_stream *) what)->mode[1] == '+') { in _php_curl_setopt()
/PHP-5.5/ext/curl/tests/
H A Dcurl_ftp_pasv.phpt23 // enable below to get the output in verbose mode.
/PHP-5.5/ext/dba/
H A Ddba.c58 ZEND_ARG_INFO(0, mode)
65 ZEND_ARG_INFO(0, mode)
300 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
307 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
552 static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode) in php_dba_update() argument
626 char mode[4], *pmode, *lock_file_mode = NULL; in php_dba_open() local
705 strlcpy(mode, Z_STRVAL_PP(args[1]), sizeof(mode)); in php_dba_open()
706 pmode = &mode[0]; in php_dba_open()
814 info->mode = modenr; in php_dba_open()
818 info->lock.mode = lock_mode; in php_dba_open()
[all …]
H A Ddba_cdb.c74 switch (info->mode) { in DBA_OPEN_FUNC()
187 if (!mode) in DBA_UPDATE_FUNC()
H A Ddba_db1.c59 switch (info->mode) { in DBA_OPEN_FUNC()
120 …return dba->dbp->put(dba->dbp, &gkey, &gval, mode == 1 ? R_NOOVERWRITE : 0) != RET_SUCCESS ? FAILU… in DBA_UPDATE_FUNC()
H A Ddba_db2.c57 info->mode = DBA_TRUNC; /* force truncate */ in DBA_OPEN_FUNC()
60 type = info->mode == DBA_READER ? DB_UNKNOWN : in DBA_OPEN_FUNC()
61 info->mode == DBA_TRUNC ? DB_BTREE : in DBA_OPEN_FUNC()
64 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC()
65 (info->mode == DBA_CREAT && s) ? DB_CREATE : in DBA_OPEN_FUNC()
66 (info->mode == DBA_CREAT && !s) ? 0 : in DBA_OPEN_FUNC()
67 info->mode == DBA_WRITER ? 0 : in DBA_OPEN_FUNC()
68 info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; in DBA_OPEN_FUNC()
123 mode == 1 ? DB_NOOVERWRITE : 0)) { in DBA_UPDATE_FUNC()
H A Ddba_db3.c66 info->mode = DBA_TRUNC; /* force truncate */ in DBA_OPEN_FUNC()
69 type = info->mode == DBA_READER ? DB_UNKNOWN : in DBA_OPEN_FUNC()
70 info->mode == DBA_TRUNC ? DB_BTREE : in DBA_OPEN_FUNC()
73 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC()
74 (info->mode == DBA_CREAT && s) ? DB_CREATE : in DBA_OPEN_FUNC()
75 (info->mode == DBA_CREAT && !s) ? 0 : in DBA_OPEN_FUNC()
76 info->mode == DBA_WRITER ? 0 : in DBA_OPEN_FUNC()
77 info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; in DBA_OPEN_FUNC()
149 mode == 1 ? DB_NOOVERWRITE : 0)) { in DBA_UPDATE_FUNC()
H A Ddba_db4.c85 info->mode = DBA_TRUNC; /* force truncate */
88 type = info->mode == DBA_READER ? DB_UNKNOWN :
89 info->mode == DBA_TRUNC ? DB_BTREE :
92 gmode = info->mode == DBA_READER ? DB_RDONLY :
94 (info->mode == DBA_CREAT && !s) ? 0 :
95 info->mode == DBA_WRITER ? 0 :
99 info->mode = DBA_CREAT; /* force creation */
103 (info->mode == DBA_TRUNC || info->mode == DBA_CREAT) ? DB_BTREE :
107 info->mode == DBA_CREAT ? DB_CREATE :
108 info->mode == DBA_WRITER ? 0 :
[all …]
H A Ddba_dbm.c45 #define TRUNC_IT(extension, mode) \ argument
48 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
67 if(info->mode == DBA_TRUNC) { in DBA_OPEN_FUNC()
75 if(info->mode == DBA_CREAT) { in DBA_OPEN_FUNC()
117 if (mode == 1) { /* insert */ in DBA_UPDATE_FUNC()
H A Ddba_flatfile.c90 switch(flatfile_store(dba, gkey, gval, mode==1 ? FLATFILE_INSERT : FLATFILE_REPLACE TSRMLS_CC)) { in DBA_UPDATE_FUNC()
H A Ddba_gdbm.c48 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC()
49 info->mode == DBA_WRITER ? GDBM_WRITER : in DBA_OPEN_FUNC()
50 info->mode == DBA_CREAT ? GDBM_WRCREAT : in DBA_OPEN_FUNC()
51 info->mode == DBA_TRUNC ? GDBM_NEWDB : -1; in DBA_OPEN_FUNC()
107 switch (gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE)) { in DBA_UPDATE_FUNC()
H A Ddba_inifile.c55 …info->dbf = inifile_alloc(info->fp, info->mode == DBA_READER, info->flags&DBA_PERSISTENT TSRMLS_CC… in DBA_OPEN_FUNC()
90 if (mode == 1) { in DBA_UPDATE_FUNC()
H A Ddba_ndbm.c44 switch(info->mode) { in DBA_OPEN_FUNC()
99 if(!dbm_store(info->dbf, gkey, gval, mode == 1 ? DBM_INSERT : DBM_REPLACE)) in DBA_UPDATE_FUNC()
H A Ddba_qdbm.c44 switch(info->mode) { in DBA_OPEN_FUNC()
100 if (dpput(dba->dbf, key, keylen, val, vallen, mode == 1 ? DP_DKEEP : DP_DOVER)) { in DBA_UPDATE_FUNC()

Completed in 79 milliseconds

12345678910>>...30