mode 63 TSRM/tsrm_nw.c int mode = O_RDONLY; mode 66 TSRM/tsrm_nw.c NXMode_t mode = NX_O_RDONLY; mode 84 TSRM/tsrm_nw.c mode = O_RDONLY; mode 86 TSRM/tsrm_nw.c mode = NX_O_RDONLY; mode 90 TSRM/tsrm_nw.c mode = O_WRONLY; mode 92 TSRM/tsrm_nw.c mode = NX_O_WRONLY; mode 98 TSRM/tsrm_nw.c pipe_handle = pipe_open(filePath, mode); mode 102 TSRM/tsrm_nw.c pipe_handle = mkfifo(filePath, mode); mode 109 TSRM/tsrm_nw.c err = NXFifoOpen(0, filePath, mode, 0, &pipe_handle); mode 182 TSRM/tsrm_nw.c if (mode == O_RDONLY) { mode 184 TSRM/tsrm_nw.c if (mode == NX_O_RDONLY) { mode 197 TSRM/tsrm_win32.c TSRM_API int tsrm_win32_access(const char *pathname, int mode) mode 214 TSRM/tsrm_win32.c if (mode == 1 /*X_OK*/) { mode 226 TSRM/tsrm_win32.c if(access(pathname, mode)) { mode 232 TSRM/tsrm_win32.c if (mode == 0) { mode 297 TSRM/tsrm_win32.c if(mode == 0 || mode > 6) { mode 303 TSRM/tsrm_win32.c } else if(mode <= 2) { mode 309 TSRM/tsrm_win32.c } else if(mode <= 4) { mode 461 TSRM/tsrm_win32.c int fno, type_len, read, mode; mode 509 TSRM/tsrm_win32.c mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; mode 558 TSRM/tsrm_win32.c fno = _open_osfhandle((tsrm_intptr_t)in, _O_RDONLY | mode); mode 561 TSRM/tsrm_win32.c fno = _open_osfhandle((tsrm_intptr_t)out, _O_WRONLY | mode); mode 644 TSRM/tsrm_win32.c shm->descriptor->shm_perm.mode = flags; mode 650 TSRM/tsrm_win32.c shm->descriptor->shm_perm.mode = shm->descriptor->shm_perm.seq = 0; mode 713 TSRM/tsrm_win32.c shm->descriptor->shm_perm.mode = buf->shm_perm.mode; mode 36 TSRM/tsrm_win32.h unsigned short mode; mode 105 TSRM/tsrm_win32.h TSRM_API int tsrm_win32_access(const char *pathname, int mode); mode 533 Zend/zend_strtod.c extern "C" char *dtoa(double d, int mode, int ndigits, mode 3705 Zend/zend_strtod.c (dd, mode, ndigits, decpt, sign, rve) mode 3706 Zend/zend_strtod.c double dd; int mode, ndigits, *decpt, *sign; char **rve; mode 3708 Zend/zend_strtod.c (double dd, int mode, int ndigits, int *decpt, int *sign, char **rve) mode 3918 Zend/zend_strtod.c if (mode < 0 || mode > 9) mode 3919 Zend/zend_strtod.c mode = 0; mode 3929 Zend/zend_strtod.c if (mode > 5) { mode 3930 Zend/zend_strtod.c mode -= 4; mode 3936 Zend/zend_strtod.c switch(mode) { mode 3963 Zend/zend_strtod.c if (mode > 1 && Rounding != 1) mode 4111 Zend/zend_strtod.c if (mode > 1) mode 4183 Zend/zend_strtod.c if ((mode < 2 || leftright) mode 4224 Zend/zend_strtod.c if (ilim <= 0 && (mode == 3 || mode == 5)) { mode 4261 Zend/zend_strtod.c if (j1 == 0 && mode != 1 && !(word1(&u) & 1) mode 4278 Zend/zend_strtod.c if (j < 0 || (j == 0 && mode != 1 mode 4290 Zend/zend_strtod.c if (mode > 1) mode 29 Zend/zend_strtod.h ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve); mode 1489 Zend/zend_virtual_cwd.c CWD_API FILE *virtual_fopen(const char *path, const char *mode) /* {{{ */ mode 1504 Zend/zend_virtual_cwd.c f = fopen(new_state.cwd, mode); mode 1512 Zend/zend_virtual_cwd.c CWD_API int virtual_access(const char *pathname, int mode) /* {{{ */ mode 1524 Zend/zend_virtual_cwd.c ret = tsrm_win32_access(new_state.cwd, mode); mode 1526 Zend/zend_virtual_cwd.c ret = access(new_state.cwd, mode); mode 1559 Zend/zend_virtual_cwd.c CWD_API int virtual_chmod(const char *filename, mode_t mode) /* {{{ */ mode 1572 Zend/zend_virtual_cwd.c mode_t _tmp = mode; mode 1574 Zend/zend_virtual_cwd.c mode = 0; mode 1577 Zend/zend_virtual_cwd.c mode |= _S_IREAD; mode 1580 Zend/zend_virtual_cwd.c mode |= _S_IWRITE; mode 1584 Zend/zend_virtual_cwd.c ret = chmod(new_state.cwd, mode); mode 1631 Zend/zend_virtual_cwd.c mode_t mode; mode 1635 Zend/zend_virtual_cwd.c mode = (mode_t) va_arg(arg, int); mode 1638 Zend/zend_virtual_cwd.c f = open(new_state.cwd, flags, mode); mode 1647 Zend/zend_virtual_cwd.c CWD_API int virtual_creat(const char *path, mode_t mode) /* {{{ */ mode 1658 Zend/zend_virtual_cwd.c f = creat(new_state.cwd, mode); mode 1756 Zend/zend_virtual_cwd.c CWD_API int virtual_mkdir(const char *pathname, mode_t mode) /* {{{ */ mode 1770 Zend/zend_virtual_cwd.c retval = mkdir(new_state.cwd, mode); mode 163 Zend/zend_virtual_cwd.h CWD_API FILE *virtual_fopen(const char *path, const char *mode); mode 165 Zend/zend_virtual_cwd.h CWD_API int virtual_creat(const char *path, mode_t mode); mode 170 Zend/zend_virtual_cwd.h CWD_API int virtual_mkdir(const char *pathname, mode_t mode); mode 174 Zend/zend_virtual_cwd.h CWD_API int virtual_access(const char *pathname, int mode); mode 194 Zend/zend_virtual_cwd.h CWD_API int virtual_chmod(const char *filename, mode_t mode); mode 261 Zend/zend_virtual_cwd.h #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) mode 264 Zend/zend_virtual_cwd.h #define VCWD_OPEN_MODE(path, flags, mode) virtual_open(path, flags, mode) mode 265 Zend/zend_virtual_cwd.h #define VCWD_CREAT(path, mode) virtual_creat(path, mode) mode 274 Zend/zend_virtual_cwd.h #define VCWD_MKDIR(pathname, mode) virtual_mkdir(pathname, mode) mode 278 Zend/zend_virtual_cwd.h #define VCWD_ACCESS(pathname, mode) virtual_access(pathname, mode) mode 282 Zend/zend_virtual_cwd.h #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) mode 293 Zend/zend_virtual_cwd.h #define VCWD_FOPEN(path, mode) fopen(path, mode) mode 295 Zend/zend_virtual_cwd.h #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) mode 296 Zend/zend_virtual_cwd.h #define VCWD_CREAT(path, mode) creat(path, mode) mode 310 Zend/zend_virtual_cwd.h #define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode) mode 315 Zend/zend_virtual_cwd.h #define VCWD_ACCESS(pathname, mode) tsrm_win32_access(pathname, mode) mode 317 Zend/zend_virtual_cwd.h #define VCWD_ACCESS(pathname, mode) access(pathname, mode) mode 330 Zend/zend_virtual_cwd.h #define VCWD_CHMOD(path, mode) chmod(path, mode) mode 354 Zend/zend_virtual_cwd.h #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) mode 358 Zend/zend_virtual_cwd.h #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) mode 362 Zend/zend_virtual_cwd.h #define S_ISLNK(mode) (((mode)&S_IFMT) == S_IFLNK) mode 63 ext/bz2/bz2.c ZEND_ARG_INFO(0, mode) mode 222 ext/bz2/bz2.c const char *mode, php_stream *innerstream STREAMS_DC) mode 234 ext/bz2/bz2.c return php_stream_alloc_rel(&php_stream_bz2io_ops, self, 0, mode); mode 239 ext/bz2/bz2.c const char *mode, mode 251 ext/bz2/bz2.c if (mode[0] == '\0' || (mode[0] != 'w' && mode[0] != 'r' && mode[1] != '\0')) { mode 269 ext/bz2/bz2.c bz_file = BZ2_bzopen(path_copy, mode); mode 281 ext/bz2/bz2.c stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path); mode 286 ext/bz2/bz2.c bz_file = BZ2_bzdopen((int)fd, mode); mode 293 ext/bz2/bz2.c if (opened_path && !bz_file && mode[0] == 'w') { mode 299 ext/bz2/bz2.c retstream = _php_stream_bz2open_from_BZFILE(bz_file, mode, stream STREAMS_REL_CC); mode 394 ext/bz2/bz2.c char *mode; /* The mode to open the stream with */ mode 400 ext/bz2/bz2.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs", &file, &mode, &mode_len) == FAILURE) { mode 404 ext/bz2/bz2.c if (mode_len != 1 || (mode[0] != 'r' && mode[0] != 'w')) { mode 405 ext/bz2/bz2.c php_error_docref(NULL, E_WARNING, "'%s' is not a valid mode for bzopen(). Only 'w' and 'r' are supported.", mode); mode 420 ext/bz2/bz2.c stream = php_stream_bz2open(NULL, Z_STRVAL_P(file), mode, REPORT_ERRORS, NULL); mode 427 ext/bz2/bz2.c stream_mode_len = strlen(stream->mode); mode 429 ext/bz2/bz2.c if (stream_mode_len != 1 && !(stream_mode_len == 2 && memchr(stream->mode, 'b', 2))) { mode 430 ext/bz2/bz2.c php_error_docref(NULL, E_WARNING, "cannot use stream opened in mode '%s'", stream->mode); mode 432 ext/bz2/bz2.c } else if (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode[0] != 'a' && stream->mode[0] != 'x') { mode 433 ext/bz2/bz2.c php_error_docref(NULL, E_WARNING, "cannot use stream opened in mode '%s'", stream->mode); mode 437 ext/bz2/bz2.c switch(mode[0]) { mode 440 ext/bz2/bz2.c if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) { mode 447 ext/bz2/bz2.c if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0]) mode 448 ext/bz2/bz2.c && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a') mode 449 ext/bz2/bz2.c && stream->mode[0] != 'x' && !(stream_mode_len == 2 && stream->mode[1] != 'x')) { mode 463 ext/bz2/bz2.c bz = BZ2_bzdopen((int)fd, mode); mode 465 ext/bz2/bz2.c stream = php_stream_bz2open_from_BZFILE(bz, mode, stream); mode 53 ext/bz2/php_bz2.h PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 54 ext/bz2/php_bz2.h PHP_BZ2_API php_stream *_php_stream_bz2open_from_BZFILE(BZFILE *bz, const char *mode, php_stream *innerstream STREAMS_DC); mode 56 ext/bz2/php_bz2.h #define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz), (mode), (innerstream) STREAMS_CC) mode 57 ext/bz2/php_bz2.h #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC) mode 113 ext/calendar/calendar.c ZEND_ARG_INFO(0, mode) mode 118 ext/calendar/calendar.c ZEND_ARG_INFO(0, mode) mode 684 ext/calendar/calendar.c zend_long julday, mode = CAL_DOW_DAYNO; mode 688 ext/calendar/calendar.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &julday, &mode) == FAILURE) { mode 696 ext/calendar/calendar.c switch (mode) { mode 715 ext/calendar/calendar.c zend_long julday, mode; mode 719 ext/calendar/calendar.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &julday, &mode) == FAILURE) { mode 723 ext/calendar/calendar.c switch (mode) { mode 46 ext/com_dotnet/com_com.c int mode = COMG(autoreg_case_sensitive) ? CONST_CS : 0; mode 246 ext/com_dotnet/com_com.c php_com_import_typelib(TL, mode, obj->code_page); mode 265 ext/com_dotnet/com_com.c php_com_import_typelib(TL, mode, obj->code_page); mode 273 ext/com_dotnet/com_com.c php_com_import_typelib(TL, mode, obj->code_page); mode 288 ext/com_dotnet/com_extension.c int mode = CONST_CS | CONST_PERSISTENT; /* CONST_PERSISTENT is ok here */ mode 301 ext/com_dotnet/com_extension.c mode &= ~CONST_CS; mode 317 ext/com_dotnet/com_extension.c php_com_import_typelib(pTL, mode, COMG(code_page)); mode 156 ext/com_dotnet/com_typeinfo.c PHP_COM_DOTNET_API int php_com_import_typelib(ITypeLib *TL, int mode, int codepage) mode 212 ext/com_dotnet/com_typeinfo.c c.flags = mode; mode 175 ext/com_dotnet/php_com_dotnet_internal.h PHP_COM_DOTNET_API int php_com_import_typelib(ITypeLib *TL, int mode, mode 98 ext/curl/interface.c static void php_curl_ssl_lock(int mode, int n, const char * file, int line) mode 100 ext/curl/interface.c if (mode & CRYPTO_LOCK) { mode 2351 ext/curl/interface.c } else if (what->mode[0] != 'r' || what->mode[1] == '+') { mode 2369 ext/curl/interface.c } else if (what->mode[0] != 'r' || what->mode[1] == '+') { mode 2400 ext/curl/interface.c } else if (what->mode[0] != 'r' || what->mode[1] == '+') { mode 58 ext/dba/dba.c ZEND_ARG_INFO(0, mode) mode 65 ext/dba/dba.c ZEND_ARG_INFO(0, mode) mode 309 ext/dba/dba.c if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \ mode 316 ext/dba/dba.c if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \ mode 569 ext/dba/dba.c static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 592 ext/dba/dba.c if (info->hnd->update(info, key_str, key_len, val, val_len, mode) == SUCCESS) { mode 643 ext/dba/dba.c char mode[4], *pmode, *lock_file_mode = NULL; mode 727 ext/dba/dba.c strlcpy(mode, Z_STRVAL(args[1]), sizeof(mode)); mode 728 ext/dba/dba.c pmode = &mode[0]; mode 836 ext/dba/dba.c info->mode = modenr; mode 840 ext/dba/dba.c info->lock.mode = lock_mode; mode 848 ext/dba/dba.c if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) mode 849 ext/dba/dba.c || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) mode 74 ext/dba/dba_cdb.c switch (info->mode) { mode 187 ext/dba/dba_cdb.c if (!mode) mode 59 ext/dba/dba_db1.c switch (info->mode) { mode 120 ext/dba/dba_db1.c return dba->dbp->put(dba->dbp, &gkey, &gval, mode == 1 ? R_NOOVERWRITE : 0) != RET_SUCCESS ? FAILURE : SUCCESS; mode 57 ext/dba/dba_db2.c info->mode = DBA_TRUNC; /* force truncate */ mode 60 ext/dba/dba_db2.c type = info->mode == DBA_READER ? DB_UNKNOWN : mode 61 ext/dba/dba_db2.c info->mode == DBA_TRUNC ? DB_BTREE : mode 64 ext/dba/dba_db2.c gmode = info->mode == DBA_READER ? DB_RDONLY : mode 65 ext/dba/dba_db2.c (info->mode == DBA_CREAT && s) ? DB_CREATE : mode 66 ext/dba/dba_db2.c (info->mode == DBA_CREAT && !s) ? 0 : mode 67 ext/dba/dba_db2.c info->mode == DBA_WRITER ? 0 : mode 68 ext/dba/dba_db2.c info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; mode 123 ext/dba/dba_db2.c mode == 1 ? DB_NOOVERWRITE : 0)) { mode 69 ext/dba/dba_db3.c info->mode = DBA_TRUNC; /* force truncate */ mode 72 ext/dba/dba_db3.c type = info->mode == DBA_READER ? DB_UNKNOWN : mode 73 ext/dba/dba_db3.c info->mode == DBA_TRUNC ? DB_BTREE : mode 76 ext/dba/dba_db3.c gmode = info->mode == DBA_READER ? DB_RDONLY : mode 77 ext/dba/dba_db3.c (info->mode == DBA_CREAT && s) ? DB_CREATE : mode 78 ext/dba/dba_db3.c (info->mode == DBA_CREAT && !s) ? 0 : mode 79 ext/dba/dba_db3.c info->mode == DBA_WRITER ? 0 : mode 80 ext/dba/dba_db3.c info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; mode 157 ext/dba/dba_db3.c mode == 1 ? DB_NOOVERWRITE : 0)) { mode 84 ext/dba/dba_db4.c info->mode = DBA_TRUNC; /* force truncate */ mode 87 ext/dba/dba_db4.c type = info->mode == DBA_READER ? DB_UNKNOWN : mode 88 ext/dba/dba_db4.c info->mode == DBA_TRUNC ? DB_BTREE : mode 91 ext/dba/dba_db4.c gmode = info->mode == DBA_READER ? DB_RDONLY : mode 92 ext/dba/dba_db4.c (info->mode == DBA_CREAT && s) ? DB_CREATE : mode 93 ext/dba/dba_db4.c (info->mode == DBA_CREAT && !s) ? 0 : mode 94 ext/dba/dba_db4.c info->mode == DBA_WRITER ? 0 : mode 95 ext/dba/dba_db4.c info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; mode 98 ext/dba/dba_db4.c info->mode = DBA_CREAT; /* force creation */ mode 101 ext/dba/dba_db4.c type = info->mode == DBA_READER ? DB_UNKNOWN : mode 102 ext/dba/dba_db4.c (info->mode == DBA_TRUNC || info->mode == DBA_CREAT) ? DB_BTREE : mode 105 ext/dba/dba_db4.c gmode = info->mode == DBA_READER ? DB_RDONLY : mode 106 ext/dba/dba_db4.c info->mode == DBA_CREAT ? DB_CREATE : mode 107 ext/dba/dba_db4.c info->mode == DBA_WRITER ? 0 : mode 108 ext/dba/dba_db4.c info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; mode 192 ext/dba/dba_db4.c mode == 1 ? DB_NOOVERWRITE : 0)) { mode 45 ext/dba/dba_dbm.c #define TRUNC_IT(extension, mode) \ mode 48 ext/dba/dba_dbm.c if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \ mode 67 ext/dba/dba_dbm.c if(info->mode == DBA_TRUNC) { mode 75 ext/dba/dba_dbm.c if(info->mode == DBA_CREAT) { mode 117 ext/dba/dba_dbm.c if (mode == 1) { /* insert */ mode 90 ext/dba/dba_flatfile.c switch(flatfile_store(dba, gkey, gval, mode==1 ? FLATFILE_INSERT : FLATFILE_REPLACE)) { mode 48 ext/dba/dba_gdbm.c gmode = info->mode == DBA_READER ? GDBM_READER : mode 49 ext/dba/dba_gdbm.c info->mode == DBA_WRITER ? GDBM_WRITER : mode 50 ext/dba/dba_gdbm.c info->mode == DBA_CREAT ? GDBM_WRCREAT : mode 51 ext/dba/dba_gdbm.c info->mode == DBA_TRUNC ? GDBM_NEWDB : -1; mode 107 ext/dba/dba_gdbm.c switch (gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE)) { mode 55 ext/dba/dba_inifile.c info->dbf = inifile_alloc(info->fp, info->mode == DBA_READER, info->flags&DBA_PERSISTENT); mode 90 ext/dba/dba_inifile.c if (mode == 1) { mode 44 ext/dba/dba_ndbm.c switch(info->mode) { mode 99 ext/dba/dba_ndbm.c if(!dbm_store(info->dbf, gkey, gval, mode == 1 ? DBM_INSERT : DBM_REPLACE)) mode 44 ext/dba/dba_qdbm.c switch(info->mode) { mode 100 ext/dba/dba_qdbm.c if (dpput(dba->dbf, key, keylen, val, vallen, mode == 1 ? DP_DKEEP : DP_DOVER)) { mode 46 ext/dba/dba_tcadb.c switch(info->mode) { mode 112 ext/dba/dba_tcadb.c if (mode == 1) { mode 50 ext/dba/libflatfile/flatfile.c int flatfile_store(flatfile *dba, datum key_datum, datum value_datum, int mode) { mode 51 ext/dba/libflatfile/flatfile.c if (mode == FLATFILE_INSERT) { mode 40 ext/dba/libflatfile/flatfile.h int flatfile_store(flatfile *dba, datum key_datum, datum value_datum, int mode); mode 40 ext/dba/php_dba.h int mode; /* LOCK_EX,LOCK_SH */ mode 47 ext/dba/php_dba.h dba_mode_t mode; mode 103 ext/dba/php_dba.h int dba_update_##x(dba_info *info, char *key, int keylen, char *val, int vallen, int mode) mode 1352 ext/dom/document.c static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, size_t source_len, size_t options) /* {{{ */ mode 1382 ext/dom/document.c if (mode == DOM_LOAD_FILE) { mode 1401 ext/dom/document.c if (mode != DOM_LOAD_FILE) { mode 1473 ext/dom/document.c static void dom_parse_document(INTERNAL_FUNCTION_PARAMETERS, int mode) { mode 1505 ext/dom/document.c newdoc = dom_document_parser(id, mode, source, source_len, options); mode 1994 ext/dom/document.c static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ mode 2022 ext/dom/document.c if (mode == DOM_LOAD_FILE) { mode 1666 ext/dom/node.c static void dom_canonicalization(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ mode 1683 ext/dom/node.c if (mode == 0) { mode 1787 ext/dom/node.c if (mode == 1) { mode 1811 ext/dom/node.c if (mode == 0) { mode 1833 ext/dom/node.c if (mode == 1 && (ret >= 0)) { mode 430 ext/fileinfo/fileinfo.c static void _php_finfo_get_type(INTERNAL_FUNCTION_PARAMETERS, int mode, int mimetype_emu) /* {{{ */ mode 454 ext/fileinfo/fileinfo.c mode = FILEINFO_MODE_FILE; mode 458 ext/fileinfo/fileinfo.c mode = FILEINFO_MODE_STREAM; mode 492 ext/fileinfo/fileinfo.c switch (mode) { mode 259 ext/fileinfo/libmagic/apprentice.c #define S_ISDIR(mode) ((mode) & _S_IFDIR) mode 880 ext/fileinfo/libmagic/apprentice.c apprentice_list(struct mlist *mlist, int mode) mode 887 ext/fileinfo/libmagic/apprentice.c if ((m->flag & mode) != mode) { mode 74 ext/fileinfo/libmagic/fsmagic.c #define S_ISDIR(mode) ((mode) & _S_IFDIR) mode 78 ext/fileinfo/libmagic/fsmagic.c #define S_ISREG(mode) ((mode) & _S_IFREG) mode 82 ext/fileinfo/libmagic/softmagic.c uint16_t indir_level, uint16_t *name_count, int mode, int text) mode 94 ext/fileinfo/libmagic/softmagic.c if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode, mode 152 ext/fileinfo/libmagic/softmagic.c const unsigned char *s, size_t nbytes, size_t offset, int mode, int text, mode 177 ext/fileinfo/libmagic/softmagic.c (m->flag & mode) != mode) { mode 190 ext/fileinfo/libmagic/softmagic.c switch (mget(ms, s, m, nbytes, offset, cont_level, mode, text, mode 279 ext/fileinfo/libmagic/softmagic.c switch (mget(ms, s, m, nbytes, offset, cont_level, mode, mode 1200 ext/fileinfo/libmagic/softmagic.c size_t nbytes, size_t o, unsigned int cont_level, int mode, int text, mode 1712 ext/fileinfo/libmagic/softmagic.c mode, text, flip, indir_level, name_count, mode 55 ext/fileinfo/libmagic/tar.h char mode[8]; mode 754 ext/filter/logical_filters.c int mode; mode 757 ext/filter/logical_filters.c mode = FORMAT_IPV6; mode 759 ext/filter/logical_filters.c mode = FORMAT_IPV4; mode 766 ext/filter/logical_filters.c } else if ((flags & FILTER_FLAG_IPV4) && mode == FORMAT_IPV6) { mode 768 ext/filter/logical_filters.c } else if ((flags & FILTER_FLAG_IPV6) && mode == FORMAT_IPV4) { mode 772 ext/filter/logical_filters.c switch (mode) { mode 623 ext/ftp/ftp.c ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len) mode 631 ext/ftp/ftp.c spprintf(&buffer, 0, "CHMOD %o %s", mode, filename); mode 144 ext/ftp/ftp.h int ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len); mode 103 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 132 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 140 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 153 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 161 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 173 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 181 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 189 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 197 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, mode) mode 348 ext/ftp/php_ftp.c #define XTYPE(xtype, mode) { \ mode 349 ext/ftp/php_ftp.c if (mode != FTPTYPE_ASCII && mode != FTPTYPE_IMAGE) { \ mode 353 ext/ftp/php_ftp.c xtype = mode; \ mode 644 ext/ftp/php_ftp.c zend_long mode; mode 646 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlp", &z_ftp, &mode, &filename, &filename_len) == FAILURE) { mode 654 ext/ftp/php_ftp.c if (!ftp_chmod(ftp, mode, filename, filename_len)) { mode 659 ext/ftp/php_ftp.c RETURN_LONG(mode); mode 790 ext/ftp/php_ftp.c zend_long mode, resumepos=0; mode 792 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { mode 800 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 836 ext/ftp/php_ftp.c zend_long mode, resumepos=0, ret; mode 838 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { mode 846 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 910 ext/ftp/php_ftp.c zend_long mode, resumepos=0; mode 912 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rppl|l", &z_ftp, &local, &local_len, &remote, &remote_len, &mode, &resumepos) == FAILURE) { mode 919 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 927 ext/ftp/php_ftp.c mode = FTPTYPE_IMAGE; mode 931 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, NULL); mode 933 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NULL); mode 945 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NULL); mode 976 ext/ftp/php_ftp.c zend_long mode, resumepos=0; mode 978 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rssl|l", &z_ftp, &local, &local_len, &remote, &remote_len, &mode, &resumepos) == FAILURE) { mode 985 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 992 ext/ftp/php_ftp.c mode = FTPTYPE_IMAGE; mode 995 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, NULL); mode 997 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NULL); mode 1009 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NULL); mode 1086 ext/ftp/php_ftp.c zend_long mode, startpos=0; mode 1090 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { mode 1098 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 1136 ext/ftp/php_ftp.c zend_long mode, startpos=0; mode 1140 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { mode 1148 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 1191 ext/ftp/php_ftp.c zend_long mode, startpos=0; mode 1194 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { mode 1201 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 1203 ext/ftp/php_ftp.c if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS, NULL))) { mode 1246 ext/ftp/php_ftp.c zend_long mode, startpos=0, ret; mode 1249 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { mode 1256 ext/ftp/php_ftp.c XTYPE(xtype, mode); mode 1258 ext/ftp/php_ftp.c if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS, NULL))) { mode 771 ext/gd/gd.c ZEND_ARG_INFO(0, mode) mode 788 ext/gd/gd.c ZEND_ARG_INFO(0, mode) mode 797 ext/gd/gd.c ZEND_ARG_INFO(0, mode) mode 3507 ext/gd/gd.c static void php_imagechar(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 3528 ext/gd/gd.c if (mode < 2) { mode 3541 ext/gd/gd.c switch (mode) { mode 3824 ext/gd/gd.c static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode, int extended) mode 3837 ext/gd/gd.c if (mode == TTFTEXT_BBOX) { mode 4362 ext/gd/gd.c zend_bool mode = 0; mode 4364 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll|b", &IM, &tmp, &blocksize, &mode) == FAILURE) { mode 4376 ext/gd/gd.c if (gdImagePixelate(im, (int) blocksize, (const unsigned int) mode)) { mode 4477 ext/gd/gd.c zend_long mode; mode 4480 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &IM, &mode) == FAILURE) { mode 4488 ext/gd/gd.c switch (mode) { mode 4594 ext/gd/gd.c zend_long mode = -1; mode 4600 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|ldl", &IM, &mode, &threshold, &color) == FAILURE) { mode 4608 ext/gd/gd.c switch (mode) { mode 4610 ext/gd/gd.c mode = GD_CROP_DEFAULT; mode 4616 ext/gd/gd.c im_crop = gdImageCropAuto(im, mode); mode 719 ext/gd/libgd/gd.h int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode); mode 837 ext/gd/libgd/gd.h gdImagePtr gdImageCropAuto(gdImagePtr im, const unsigned int mode); mode 114 ext/gd/libgd/gd_crop.c gdImagePtr gdImageCropAuto(gdImagePtr im, const unsigned int mode) mode 128 ext/gd/libgd/gd_crop.c switch (mode) { mode 3 ext/gd/libgd/gd_pixelate.c int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode) mode 12 ext/gd/libgd/gd_pixelate.c switch (mode) { mode 99 ext/iconv/iconv.c ZEND_ARG_INFO(0, mode) mode 105 ext/iconv/iconv.c ZEND_ARG_INFO(0, mode) mode 213 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbytes, const char *enc, const char **next_pos, int mode); mode 1483 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbytes, const char *enc, const char **next_pos, int mode) mode 1548 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1562 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1594 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 1600 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1622 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 1692 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 1698 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1713 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 1720 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1769 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 1776 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1806 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1835 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 1842 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1858 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 1937 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1962 ext/iconv/iconv.c if (!(mode & PHP_ICONV_MIME_DECODE_STRICT)) { mode 1980 ext/iconv/iconv.c if ((mode & PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR)) { mode 2312 ext/iconv/iconv.c zend_long mode = 0; mode 2319 ext/iconv/iconv.c &encoded_str, &mode, &charset, &charset_len) == FAILURE) { mode 2329 ext/iconv/iconv.c err = _php_iconv_mime_decode(&retval, ZSTR_VAL(encoded_str), ZSTR_LEN(encoded_str), charset, NULL, (int)mode); mode 2352 ext/iconv/iconv.c zend_long mode = 0; mode 2359 ext/iconv/iconv.c &encoded_str, &mode, &charset, &charset_len) == FAILURE) { mode 2382 ext/iconv/iconv.c if (PHP_ICONV_ERR_SUCCESS != (err = _php_iconv_mime_decode(&decoded_header, enc_str_tmp, enc_str_len_tmp, charset, &next_pos, (int)mode))) { mode 3040 ext/imap/php_imap.c static void php_imap_mutf7(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ mode 3053 ext/imap/php_imap.c if (mode == 0) { mode 114 ext/intl/idn/idn.c static int php_intl_idn_check_status(UErrorCode err, const char *msg, int mode) mode 120 ext/intl/idn/idn.c mode == INTL_IDN_TO_ASCII ? "idn_to_ascii" : "idn_to_utf8", mode 130 ext/intl/idn/idn.c static inline void php_intl_bad_args(const char *msg, int mode) mode 132 ext/intl/idn/idn.c php_intl_idn_check_status(U_ILLEGAL_ARGUMENT_ERROR, msg, mode); mode 137 ext/intl/idn/idn.c const char *domain, int32_t domain_len, uint32_t option, int mode, zval *idna_info) mode 149 ext/intl/idn/idn.c mode) == FAILURE) { mode 154 ext/intl/idn/idn.c if (mode == INTL_IDN_TO_ASCII) { mode 162 ext/intl/idn/idn.c mode) == FAILURE) { mode 205 ext/intl/idn/idn.c const char *domain, int32_t domain_len, uint32_t option, int mode) mode 231 ext/intl/idn/idn.c if (mode == INTL_IDN_TO_ASCII) { mode 260 ext/intl/idn/idn.c static void php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 272 ext/intl/idn/idn.c php_intl_bad_args("bad arguments", mode); mode 279 ext/intl/idn/idn.c "INTL_IDNA_VARIANT_2003, INTL_IDNA_VARIANT_UTS46}", mode); mode 286 ext/intl/idn/idn.c mode); mode 292 ext/intl/idn/idn.c php_intl_bad_args("empty domain name", mode); mode 296 ext/intl/idn/idn.c php_intl_bad_args("domain name too large", mode); mode 314 ext/intl/idn/idn.c domain, (int32_t)domain_len, (uint32_t)option, mode); mode 319 ext/intl/idn/idn.c (uint32_t)option, mode, idna_info); mode 300 ext/libxml/libxml.c static void *php_libxml_streams_IO_open_wrapper(const char *filename, const char *mode, const int read_only) mode 362 ext/libxml/libxml.c ret_val = php_stream_open_wrapper_ex(path_to_open, (char *)mode, REPORT_ERRORS, NULL, context); mode 580 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c ctx->tl_param.mode = MBFL_FILT_TL_HAN2ZEN_KATAKANA | MBFL_FILT_TL_HAN2ZEN_GLUE; mode 283 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c int c1, c2, s1, s2, mode; mode 536 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c mode = (filter->cache & 0xf0000) >> 16; mode 541 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (mode == 0x1) { mode 563 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (mode == 0x2) { mode 571 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (mode == 0x4) { mode 585 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c mode = (filter->cache & 0xf0000) >> 16; mode 590 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (mode == 0x2) { mode 617 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (mode == 0x4) { mode 631 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c mode = (filter->cache & 0xf0000) >> 16; mode 636 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (mode == 0x4) { mode 44 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c int mode = ((mbfl_filt_tl_jisx0201_jisx0208_param *)filt->opaque)->mode; mode 48 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if ((mode & MBFL_FILT_TL_HAN2ZEN_ALL) mode 52 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_HAN2ZEN_ALPHA) && mode 56 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_HAN2ZEN_NUMERIC) && mode 60 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_HAN2ZEN_SPACE) && c == 0x20) { mode 65 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (mode & mode 68 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if ((mode & MBFL_FILT_TL_HAN2ZEN_KATAKANA) && mode 69 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c (mode & MBFL_FILT_TL_HAN2ZEN_GLUE)) { mode 100 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_HAN2ZEN_HIRAGANA) && mode 101 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c (mode & MBFL_FILT_TL_HAN2ZEN_GLUE)) { mode 129 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_HAN2ZEN_KATAKANA) && mode 133 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_HAN2ZEN_HIRAGANA) mode 140 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (mode & MBFL_FILT_TL_HAN2ZEN_COMPAT1) { mode 155 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (mode & MBFL_FILT_TL_HAN2ZEN_COMPAT2) { mode 168 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (mode & 0xf0) { /* zenkaku to hankaku */ mode 169 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if ((mode & 0x10) && c >= 0xff01 && c <= 0xff5d && c != 0xff02 && c != 0xff07 && c!= 0xff3c) { /* all except <"> <'> <\> <~> */ mode 171 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x20) && ((c >= 0xff21 && c <= 0xff3a) || (c >= 0xff41 && c <= 0xff5a))) { /* alpha */ mode 173 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x40) && (c >= 0xff10 && c <= 0xff19)) { /* num */ mode 175 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x80) && (c == 0x3000)) { /* spase */ mode 177 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x10) && (c == 0x2212)) { /* MINUS SIGN */ mode 182 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (mode & mode 185 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if ((mode & MBFL_FILT_TL_ZEN2HAN_KATAKANA) && mode 195 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_ZEN2HAN_HIRAGANA) && mode 222 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (mode & (MBFL_FILT_TL_ZEN2HAN_HIRA2KANA mode 224 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if ((mode & MBFL_FILT_TL_ZEN2HAN_HIRA2KANA) && mode 228 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_ZEN2HAN_KANA2HIRA) && mode 235 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (mode & MBFL_FILT_TL_ZEN2HAN_COMPAT1) { /* special symbol to ascii */ mode 255 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (mode & MBFL_FILT_TL_ZEN2HAN_COMPAT2) { /* special symbol to ascii */ mode 274 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c int mode = ((mbfl_filt_tl_jisx0201_jisx0208_param *)filt->opaque)->mode; mode 279 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (mode & 0x100) { /* hankaku kana to zenkaku katakana */ mode 281 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (mode & 0x200) { /* hankaku kana to zenkaku hirangana */ mode 74 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.h int mode; mode 205 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_buffer_converter_illegal_mode(mbfl_buffer_converter *convd, int mode) mode 209 ext/mbstring/libmbfl/mbfl/mbfilter.c convd->filter2->illegal_mode = mode; mode 211 ext/mbstring/libmbfl/mbfl/mbfilter.c convd->filter1->illegal_mode = mode; mode 1964 ext/mbstring/libmbfl/mbfl/mbfilter.c int mode) mode 2007 ext/mbstring/libmbfl/mbfl/mbfilter.c param->mode = mode; mode 133 ext/mbstring/libmbfl/mbfl/mbfilter.h MBFLAPI extern int mbfl_buffer_converter_illegal_mode(mbfl_buffer_converter *convd, int mode); mode 288 ext/mbstring/libmbfl/mbfl/mbfilter.h mbfl_ja_jp_hantozen(mbfl_string *string, mbfl_string *result, int mode); mode 32 ext/mbstring/libmbfl/tests/conv_kana.c int mode = 0; mode 51 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x1; mode 54 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x10; mode 57 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x2; mode 60 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x20; mode 63 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x4; mode 66 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x40; mode 69 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x8; mode 72 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x80; mode 75 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x100; mode 78 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x1000; mode 81 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x200; mode 84 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x2000; mode 87 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x800; mode 90 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x10000; mode 93 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x20000; mode 96 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x100000; mode 99 ext/mbstring/libmbfl/tests/conv_kana.c mode |= 0x200000; mode 140 ext/mbstring/libmbfl/tests/conv_kana.c mbfl_ja_jp_hantozen(&string, &result, mode); mode 352 ext/mbstring/mbstring.c ZEND_ARG_INFO(0, mode) mode 4815 ext/mbstring/mbstring.c MBSTRING_API int php_mb_stripos(int mode, const char *old_haystack, unsigned int old_haystack_len, const char *old_needle, unsigned int old_needle_len, long offset, const char *from_encoding) mode 4861 ext/mbstring/mbstring.c if (mode) { mode 4875 ext/mbstring/mbstring.c n = mbfl_strpos(&haystack, &needle, offset, mode); mode 154 ext/mbstring/mbstring.h MBSTRING_API int php_mb_stripos(int mode, const char *old_haystack, unsigned int old_haystack_len, const char *old_needle, unsigned int old_needle_len, long offset, const char *from_encoding); mode 1178 ext/mbstring/php_mbregex.c _php_mb_regex_ereg_search_exec(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 1241 ext/mbstring/php_mbregex.c switch (mode) { mode 306 ext/mbstring/php_unicode.c int mode = 0; mode 312 ext/mbstring/php_unicode.c if (mode) { mode 317 ext/mbstring/php_unicode.c mode = 0; mode 321 ext/mbstring/php_unicode.c mode = 1; mode 57 ext/mcrypt/mcrypt.c ZEND_ARG_INFO(0, mode) mode 131 ext/mcrypt/mcrypt.c ZEND_ARG_INFO(0, mode) mode 141 ext/mcrypt/mcrypt.c ZEND_ARG_INFO(0, mode) mode 191 ext/mcrypt/mcrypt.c ZEND_ARG_INFO(0, mode) mode 199 ext/mcrypt/mcrypt.c ZEND_ARG_INFO(0, mode) mode 302 ext/mcrypt/mcrypt.c &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \ mode 502 ext/mcrypt/mcrypt.c char *mode, *mode_dir; mode 510 ext/mcrypt/mcrypt.c &mode, &mode_len, &mode_dir, &mode_dir_len)) { mode 517 ext/mcrypt/mcrypt.c mode, mode 1246 ext/mcrypt/mcrypt.c static void php_mcrypt_do_crypt(char* cipher, const char *key, size_t key_len, const char *data, size_t data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, zval* return_value) /* {{{ */ mode 1256 ext/mcrypt/mcrypt.c td = mcrypt_module_open(cipher, cipher_dir_string, mode, module_dir_string); mode 1311 ext/mcrypt/mcrypt.c char *cipher, *key, *data, *mode, *iv = NULL; mode 1315 ext/mcrypt/mcrypt.c &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) { mode 1319 ext/mcrypt/mcrypt.c php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_ENCRYPT, return_value); mode 1327 ext/mcrypt/mcrypt.c char *cipher, *key, *data, *mode, *iv = NULL; mode 1331 ext/mcrypt/mcrypt.c &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) { mode 1335 ext/mcrypt/mcrypt.c php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_DECRYPT, return_value); mode 161 ext/mcrypt/mcrypt_filter.c char *mode = "cbc"; mode 179 ext/mcrypt/mcrypt_filter.c mode = Z_STRVAL_P(tmpzval); mode 210 ext/mcrypt/mcrypt_filter.c mcrypt_module = mcrypt_module_open((char *)cipher, algo_dir, mode, mode_dir); mode 41 ext/mysqli/mysqli_api.c static void mysqli_tx_cor_options_to_string(const MYSQL * const conn, smart_str * str, const uint32_t mode) mode 43 ext/mysqli/mysqli_api.c if (mode & TRANS_COR_AND_CHAIN && !(mode & TRANS_COR_AND_NO_CHAIN)) { mode 48 ext/mysqli/mysqli_api.c } else if (mode & TRANS_COR_AND_NO_CHAIN && !(mode & TRANS_COR_AND_CHAIN)) { mode 55 ext/mysqli/mysqli_api.c if (mode & TRANS_COR_RELEASE && !(mode & TRANS_COR_NO_RELEASE)) { mode 60 ext/mysqli/mysqli_api.c } else if (mode & TRANS_COR_NO_RELEASE && !(mode & TRANS_COR_RELEASE)) { mode 112 ext/mysqli/mysqli_api.c static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool commit, const uint32_t mode, const char * const name) mode 116 ext/mysqli/mysqli_api.c mysqli_tx_cor_options_to_string(conn, &tmp_str, mode); mode 2330 ext/mysqli/mysqli_api.c zend_ulong mode; mode 2352 ext/mysqli/mysqli_api.c mode = mode_in; mode 2353 ext/mysqli/mysqli_api.c mode_p = &mode; mode 87 ext/mysqli/mysqli_fe.c ZEND_ARG_INFO(0, mode) mode 91 ext/mysqli/mysqli_fe.c ZEND_ARG_INFO(0, mode) mode 365 ext/mysqli/mysqli_nonapi.c zend_long mode = MYSQLND_FETCH_NUM; mode 367 ext/mysqli/mysqli_nonapi.c if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|l", &mysql_result, mysqli_result_class_entry, &mode) == FAILURE) { mode 372 ext/mysqli/mysqli_nonapi.c if (!mode || (mode & ~MYSQLND_FETCH_BOTH)) { mode 378 ext/mysqli/mysqli_nonapi.c mysqlnd_fetch_all(result, mode, return_value); mode 1027 ext/mysqli/mysqli_nonapi.c static int mysqli_begin_transaction_libmysql(MYSQL * conn, const unsigned int mode, const char * const name) mode 1032 ext/mysqli/mysqli_nonapi.c if (mode & TRANS_START_WITH_CONSISTENT_SNAPSHOT) { mode 1038 ext/mysqli/mysqli_nonapi.c if (mode & (TRANS_START_READ_WRITE | TRANS_START_READ_ONLY)) { mode 1042 ext/mysqli/mysqli_nonapi.c } else if (mode & TRANS_START_READ_WRITE) { mode 1047 ext/mysqli/mysqli_nonapi.c } else if (mode & TRANS_START_READ_ONLY) { mode 2646 ext/mysqlnd/mysqlnd.c MYSQLND_METHOD(mysqlnd_conn_data, set_autocommit)(MYSQLND_CONN_DATA * conn, unsigned int mode) mode 2653 ext/mysqlnd/mysqlnd.c ret = conn->m->query(conn, (mode) ? "SET AUTOCOMMIT=1":"SET AUTOCOMMIT=0", sizeof("SET AUTOCOMMIT=1") - 1); mode 2682 ext/mysqlnd/mysqlnd.c MYSQLND_METHOD(mysqlnd_conn_data, tx_cor_options_to_string)(const MYSQLND_CONN_DATA * const conn, smart_str * str, const unsigned int mode) mode 2684 ext/mysqlnd/mysqlnd.c if (mode & TRANS_COR_AND_CHAIN && !(mode & TRANS_COR_AND_NO_CHAIN)) { mode 2689 ext/mysqlnd/mysqlnd.c } else if (mode & TRANS_COR_AND_NO_CHAIN && !(mode & TRANS_COR_AND_CHAIN)) { mode 2696 ext/mysqlnd/mysqlnd.c if (mode & TRANS_COR_RELEASE && !(mode & TRANS_COR_NO_RELEASE)) { mode 2701 ext/mysqlnd/mysqlnd.c } else if (mode & TRANS_COR_NO_RELEASE && !(mode & TRANS_COR_RELEASE)) { mode 2801 ext/mysqlnd/mysqlnd.c MYSQLND_METHOD(mysqlnd_conn_data, tx_begin)(MYSQLND_CONN_DATA * conn, const unsigned int mode, const char * const name) mode 2810 ext/mysqlnd/mysqlnd.c if (mode & TRANS_START_WITH_CONSISTENT_SNAPSHOT) { mode 2816 ext/mysqlnd/mysqlnd.c if (mode & (TRANS_START_READ_WRITE | TRANS_START_READ_ONLY)) { mode 2822 ext/mysqlnd/mysqlnd.c } else if (mode & TRANS_START_READ_WRITE) { mode 2827 ext/mysqlnd/mysqlnd.c } else if (mode & TRANS_START_READ_ONLY) { mode 100 ext/mysqlnd/mysqlnd.h PHPAPI void mysqlnd_debug(const char *mode); mode 189 ext/mysqlnd/mysqlnd.h #define mysqlnd_autocommit(conn, mode) ((conn)->data)->m->set_autocommit((conn)->data, (mode)) mode 499 ext/mysqlnd/mysqlnd_debug.c MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const mode) mode 504 ext/mysqlnd/mysqlnd_debug.c mode_len = mode? strlen(mode) : 0; mode 518 ext/mysqlnd/mysqlnd_debug.c switch (mode[i]) { mode 524 ext/mysqlnd/mysqlnd_debug.c if (mode[i] == 'a' || mode[i] == 'A') { mode 527 ext/mysqlnd/mysqlnd_debug.c if (i + 1 < mode_len && mode[i+1] == ',') { mode 530 ext/mysqlnd/mysqlnd_debug.c if (i+4 < mode_len && mode[i+3] == ':' && (mode[i+4] == '\\' || mode[i+5] == '/')) { mode 535 ext/mysqlnd/mysqlnd_debug.c if (mode[j] == ':') { mode 541 ext/mysqlnd/mysqlnd_debug.c self->file_name = estrndup(mode + i + 2, j - i - 2); mode 559 ext/mysqlnd/mysqlnd_debug.c if (i + 1 < mode_len && mode[i+1] == ',') { mode 563 ext/mysqlnd/mysqlnd_debug.c if (mode[j] == ':') { mode 565 ext/mysqlnd/mysqlnd_debug.c if ((j + 1 < mode_len) && mode[j+1] == ':') { mode 570 ext/mysqlnd/mysqlnd_debug.c if (mode[j] == ',' || mode[j] == ':') { mode 574 ext/mysqlnd/mysqlnd_debug.c memcpy(func_name, mode + i + 1, func_name_len); mode 581 ext/mysqlnd/mysqlnd_debug.c if (mode[j] == ':') { mode 591 ext/mysqlnd/mysqlnd_debug.c "Expected list of functions for '%c' found none", mode[i]); mode 601 ext/mysqlnd/mysqlnd_debug.c if ((i + 1) < mode_len && mode[i+1] == ',') { mode 604 ext/mysqlnd/mysqlnd_debug.c if (mode[i] == ':') { mode 629 ext/mysqlnd/mysqlnd_debug.c if (mode[i+1] == ',') { mode 632 ext/mysqlnd/mysqlnd_debug.c if (mode[j] == ':') { mode 638 ext/mysqlnd/mysqlnd_debug.c char *value_str = estrndup(mode + i + 2, j - i - 2); mode 670 ext/mysqlnd/mysqlnd_debug.c php_error_docref(NULL, E_WARNING, "Unrecognized format '%c'", mode[i]); mode 672 ext/mysqlnd/mysqlnd_debug.c if (i+1 < mode_len && mode[i+1] == ',') { mode 675 ext/mysqlnd/mysqlnd_debug.c if (mode[i] == ':') { mode 684 ext/mysqlnd/mysqlnd_debug.c php_error_docref(NULL, E_WARNING, "Colon expected, '%c' found", mode[i]); mode 727 ext/mysqlnd/mysqlnd_debug.c PHPAPI void mysqlnd_debug(const char * mode) mode 743 ext/mysqlnd/mysqlnd_debug.c dbg->m->set_mode(dbg, mode); mode 32 ext/mysqlnd/mysqlnd_debug.h void (*set_mode)(MYSQLND_DEBUG * self, const char * const mode); mode 249 ext/oci8/oci8.c ZEND_ARG_INFO(0, mode) mode 323 ext/oci8/oci8.c ZEND_ARG_INFO(0, mode) mode 328 ext/oci8/oci8.c ZEND_ARG_INFO(0, mode) mode 342 ext/oci8/oci8.c ZEND_ARG_INFO(0, mode) mode 367 ext/oci8/oci8.c ZEND_ARG_INFO(0, mode) mode 588 ext/oci8/oci8.c ZEND_ARG_INFO(0, mode) mode 2558 ext/oci8/oci8.c int php_oci_column_to_zval(php_oci_out_column *column, zval *value, int mode) mode 2591 ext/oci8/oci8.c if (column->data_type != SQLT_RDD && (mode & PHP_OCI_RETURN_LOBS)) { mode 2647 ext/oci8/oci8.c void php_oci_fetch_row (INTERNAL_FUNCTION_PARAMETERS, int mode, int expected_args) mode 2669 ext/oci8/oci8.c fetch_mode = mode; mode 2685 ext/oci8/oci8.c fetch_mode = mode; mode 2694 ext/oci8/oci8.c fetch_mode = mode; mode 2699 ext/oci8/oci8.c if (mode & PHP_OCI_ASSOC) { mode 2702 ext/oci8/oci8.c if (mode & PHP_OCI_NUM) { mode 1342 ext/oci8/oci8_interface.c zend_long mode = OCI_COMMIT_ON_SUCCESS; mode 1344 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|l", &z_statement, &mode) == FAILURE) { mode 1350 ext/oci8/oci8_interface.c if (php_oci_statement_execute(statement, (ub4) mode)) { mode 480 ext/oci8/oci8_statement.c int php_oci_statement_execute(php_oci_statement *statement, ub4 mode) mode 493 ext/oci8/oci8_statement.c switch (mode) { mode 500 ext/oci8/oci8_statement.c DTRACE_OCI8_EXECUTE_MODE(statement->connection, statement->connection->client_id, statement, mode); mode 505 ext/oci8/oci8_statement.c php_error_docref(NULL, E_WARNING, "Invalid execute mode given: %d", mode); mode 540 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(errstatus, OCIStmtExecute, (statement->connection->svc, statement->stmt, statement->err, iters, 0, NULL, NULL, mode)); mode 552 ext/oci8/oci8_statement.c if (mode & OCI_COMMIT_ON_SUCCESS) { mode 1097 ext/oci8/oci8_statement.c int mode = OCI_DATA_AT_EXEC; mode 1113 ext/oci8/oci8_statement.c mode = OCI_DEFAULT; mode 1159 ext/oci8/oci8_statement.c mode = OCI_DEFAULT; mode 1221 ext/oci8/oci8_statement.c mode = OCI_DEFAULT; mode 1273 ext/oci8/oci8_statement.c mode /* mode */ mode 1283 ext/oci8/oci8_statement.c if (mode == OCI_DATA_AT_EXEC) { mode 432 ext/oci8/php_oci8_int.h void php_oci_fetch_row(INTERNAL_FUNCTION_PARAMETERS, int mode, int expected_args); mode 433 ext/oci8/php_oci8_int.h int php_oci_column_to_zval(php_oci_out_column *column, zval *value, int mode); mode 490 ext/oci8/php_oci8_int.h int php_oci_statement_execute(php_oci_statement *statement, ub4 mode); mode 75 ext/odbc/php_odbc.c ZEND_ARG_INFO(0, mode) mode 917 ext/odbc/php_odbc.c void php_odbc_fetch_attribs(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 931 ext/odbc/php_odbc.c if (mode) { mode 3039 ext/odbc/php_odbc.c static void php_odbc_lasterror(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 3050 ext/odbc/php_odbc.c if (mode == 0) { /* last state */ mode 3061 ext/odbc/php_odbc.c if (mode == 0) { mode 3068 ext/odbc/php_odbc.c if (mode == 0) { mode 494 ext/opcache/zend_shared_alloc.c void zend_accel_shared_protect(int mode) mode 503 ext/opcache/zend_shared_alloc.c if (mode) { mode 504 ext/opcache/zend_shared_alloc.c mode = PROT_READ; mode 506 ext/opcache/zend_shared_alloc.c mode = PROT_READ|PROT_WRITE; mode 510 ext/opcache/zend_shared_alloc.c mprotect(ZSMMG(shared_segments)[i]->p, ZSMMG(shared_segments)[i]->size, mode); mode 166 ext/opcache/zend_shared_alloc.h void zend_accel_shared_protect(int mode); mode 1657 ext/openssl/xp_ssl.c long mode = SSL_get_mode(sslsock->ssl_handle); mode 1658 ext/openssl/xp_ssl.c SSL_set_mode(sslsock->ssl_handle, mode | SSL_MODE_RELEASE_BUFFERS); mode 2445 ext/openssl/xp_ssl.c *ret = fdopen(sslsock->s.socket, stream->mode); mode 360 ext/pcre/pcrelib/pcre_jit_compile.c int mode; mode 2309 ext/pcre/pcrelib/pcre_jit_compile.c && (common->mode == JIT_PARTIAL_SOFT_COMPILE ? common->hit_start != 0 : common->hit_start == 0)); mode 2321 ext/pcre/pcrelib/pcre_jit_compile.c OP2(SLJIT_SUB, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), common->mode == JIT_PARTIAL_HARD_COMPILE ? common->start_ptr : (common->hit_start + (int)sizeof(sljit_sw)), SLJIT_S0, 0); mode 2328 ext/pcre/pcrelib/pcre_jit_compile.c OP1(SLJIT_MOV, SLJIT_R2, 0, SLJIT_MEM1(SLJIT_SP), common->mode == JIT_PARTIAL_HARD_COMPILE ? common->start_used_ptr : common->hit_start); mode 2350 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_PARTIAL_SOFT_COMPILE) mode 2360 ext/pcre/pcrelib/pcre_jit_compile.c else if (common->mode == JIT_PARTIAL_HARD_COMPILE) mode 2493 ext/pcre/pcrelib/pcre_jit_compile.c SLJIT_ASSERT(!force || common->mode != JIT_COMPILE); mode 2495 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 2500 ext/pcre/pcrelib/pcre_jit_compile.c else if (common->mode == JIT_PARTIAL_SOFT_COMPILE) mode 2503 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_PARTIAL_SOFT_COMPILE) mode 2523 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 2530 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_PARTIAL_SOFT_COMPILE) mode 2552 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 2561 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_PARTIAL_SOFT_COMPILE) mode 5368 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode != JIT_PARTIAL_HARD_COMPILE) mode 5435 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode != JIT_PARTIAL_HARD_COMPILE) mode 5495 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_PARTIAL_HARD_COMPILE) mode 5512 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 5641 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 5671 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE && (type == OP_CHAR || !char_has_othercase(common, cc) || char_get_othercase_bit(common, cc) != 0)) mode 6025 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 6050 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 6056 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode != JIT_COMPILE) mode 8341 ext/pcre/pcrelib/pcre_jit_compile.c if (common->mode == JIT_COMPILE) mode 9792 ext/pcre/pcrelib/pcre_jit_compile.c PRIV(jit_compile)(const REAL_PCRE *re, PUBL(extra) *extra, int mode) mode 9832 ext/pcre/pcrelib/pcre_jit_compile.c common->mode = mode; mode 9931 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_COMPILE && (re->flags & PCRE_REQCHSET) != 0 && (re->options & PCRE_NO_START_OPTIMIZE) == 0) mode 9936 ext/pcre/pcrelib/pcre_jit_compile.c if (mode != JIT_COMPILE) mode 9940 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_PARTIAL_SOFT_COMPILE) mode 9947 ext/pcre/pcrelib/pcre_jit_compile.c SLJIT_ASSERT(mode == JIT_PARTIAL_HARD_COMPILE); mode 10040 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_PARTIAL_SOFT_COMPILE) mode 10055 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_COMPILE && fast_forward_first_n_chars(common, (re->options & PCRE_FIRSTLINE) != 0)) mode 10068 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_COMPILE && study->minlength > 0 && (re->options & PCRE_NO_START_OPTIMIZE) == 0) mode 10093 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_PARTIAL_SOFT_COMPILE) mode 10100 ext/pcre/pcrelib/pcre_jit_compile.c else if (mode == JIT_PARTIAL_HARD_COMPILE) mode 10134 ext/pcre/pcrelib/pcre_jit_compile.c if (mode != JIT_COMPILE) mode 10156 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_PARTIAL_SOFT_COMPILE) mode 10196 ext/pcre/pcrelib/pcre_jit_compile.c if (mode == JIT_PARTIAL_SOFT_COMPILE) mode 10387 ext/pcre/pcrelib/pcre_jit_compile.c functions->executable_funcs[mode] = executable_func; mode 10388 ext/pcre/pcrelib/pcre_jit_compile.c functions->read_only_data_heads[mode] = common->read_only_data_head; mode 10389 ext/pcre/pcrelib/pcre_jit_compile.c functions->executable_sizes[mode] = executable_size; mode 10422 ext/pcre/pcrelib/pcre_jit_compile.c int mode = JIT_COMPILE; mode 10425 ext/pcre/pcrelib/pcre_jit_compile.c mode = JIT_PARTIAL_HARD_COMPILE; mode 10427 ext/pcre/pcrelib/pcre_jit_compile.c mode = JIT_PARTIAL_SOFT_COMPILE; mode 10429 ext/pcre/pcrelib/pcre_jit_compile.c if (functions->executable_funcs[mode] == NULL) mode 10468 ext/pcre/pcrelib/pcre_jit_compile.c retval = jit_machine_stack_exec(&arguments, functions->executable_funcs[mode]); mode 10471 ext/pcre/pcrelib/pcre_jit_compile.c convert_executable_func.executable_func = functions->executable_funcs[mode]; mode 10509 ext/pcre/pcrelib/pcre_jit_compile.c int mode = JIT_COMPILE; mode 10517 ext/pcre/pcrelib/pcre_jit_compile.c mode = JIT_PARTIAL_HARD_COMPILE; mode 10519 ext/pcre/pcrelib/pcre_jit_compile.c mode = JIT_PARTIAL_SOFT_COMPILE; mode 10521 ext/pcre/pcrelib/pcre_jit_compile.c if (functions->executable_funcs[mode] == NULL) mode 10555 ext/pcre/pcrelib/pcre_jit_compile.c convert_executable_func.executable_func = functions->executable_funcs[mode]; mode 2040 ext/pcre/pcrelib/sljit/sljitNativeARM_32.c #define EMIT_FPU_OPERATION(opcode, mode, dst, src1, src2) \ mode 2041 ext/pcre/pcrelib/sljit/sljitNativeARM_32.c ((opcode) | (mode) | ((dst) << 12) | (src1) | ((src2) << 16)) mode 2006 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c sljit_ub mode, mode 2017 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2024 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2031 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2039 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2046 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2056 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2066 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2082 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c *inst |= mode; mode 2095 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c sljit_ub mode, sljit_si set_flags, mode 2104 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w); mode 2107 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w); mode 2117 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w); mode 2122 ext/pcre/pcrelib/sljit/sljitNativeX86_common.c FAIL_IF(emit_shift(compiler,mode, dst, dstw, src1, src1w, src2, src2w)); mode 105 ext/pdo/pdo_stmt.c ZEND_ARG_INFO(0, mode) mode 1214 ext/pdo/pdo_stmt.c static int pdo_stmt_verify_mode(pdo_stmt_t *stmt, zend_long mode, int fetch_all) /* {{{ */ mode 1216 ext/pdo/pdo_stmt.c int flags = mode & PDO_FETCH_FLAGS; mode 1218 ext/pdo/pdo_stmt.c mode = mode & ~PDO_FETCH_FLAGS; mode 1220 ext/pdo/pdo_stmt.c if (mode < 0 || mode > PDO_FETCH__MAX) { mode 1225 ext/pdo/pdo_stmt.c if (mode == PDO_FETCH_USE_DEFAULT) { mode 1227 ext/pdo/pdo_stmt.c mode = stmt->default_fetch_type & ~PDO_FETCH_FLAGS; mode 1230 ext/pdo/pdo_stmt.c switch(mode) { mode 1254 ext/pdo/pdo_stmt.c if (mode >= PDO_FETCH__MAX) { mode 1837 ext/pdo/pdo_stmt.c zend_long mode = PDO_FETCH_BOTH; mode 1871 ext/pdo/pdo_stmt.c mode = Z_LVAL(args[skip]); mode 1872 ext/pdo/pdo_stmt.c flags = mode & PDO_FETCH_FLAGS; mode 1874 ext/pdo/pdo_stmt.c retval = pdo_stmt_verify_mode(stmt, mode, 0); mode 1885 ext/pdo/pdo_stmt.c switch (mode & ~PDO_FETCH_FLAGS) { mode 1986 ext/pdo/pdo_stmt.c stmt->default_fetch_type = mode; mode 134 ext/pdo_oci/oci_statement.c b4 mode; mode 148 ext/pdo_oci/oci_statement.c mode = OCI_STMT_SCROLLABLE_READONLY; mode 152 ext/pdo_oci/oci_statement.c mode = OCI_COMMIT_ON_SUCCESS; mode 154 ext/pdo_oci/oci_statement.c mode = OCI_DEFAULT; mode 159 ext/pdo_oci/oci_statement.c mode)); mode 964 ext/pdo_pgsql/pgsql_driver.c int mode = INV_READ; mode 978 ext/pdo_pgsql/pgsql_driver.c mode = INV_READ|INV_WRITE; mode 987 ext/pdo_pgsql/pgsql_driver.c lfd = lo_open(H->server, oid, mode); mode 313 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, mode) mode 334 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, mode) mode 3118 ext/pgsql/pgsql.c char *z_filename, *mode = "w"; mode 3127 ext/pgsql/pgsql.c if (zend_parse_parameters(argc, "p|sr", &z_filename, &z_filename_len, &mode, &mode_len, &pgsql_link) == FAILURE) { mode 3142 ext/pgsql/pgsql.c stream = php_stream_open_wrapper(z_filename, mode, REPORT_ERRORS, NULL); mode 304 ext/phar/dirstream.c php_stream *phar_wrapper_open_dir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) /* {{{ */ mode 315 ext/phar/dirstream.c if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) { mode 412 ext/phar/dirstream.c int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context) /* {{{ */ mode 23 ext/phar/dirstream.h int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context); mode 27 ext/phar/dirstream.h php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options); mode 36 ext/phar/dirstream.h php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 332 ext/phar/func_interceptors.c char *filename, *mode; mode 347 ext/phar/func_interceptors.c if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "ps|br", &filename, &filename_len, &mode, &mode_len, &use_include_path, &zcontext) == FAILURE) { mode 411 ext/phar/func_interceptors.c stream = php_stream_open_wrapper_ex(name, mode, 0 | REPORT_ERRORS, NULL, context); mode 605 ext/phar/phar_internal.h phar_entry_data *phar_get_or_create_entry_data(char *fname, int fname_len, char *path, int path_len, const char *mode, char allow_dir, char **error, int security); mode 606 ext/phar/phar_internal.h int phar_get_entry_data(phar_entry_data **ret, char *fname, int fname_len, char *path, int path_len, const char *mode, char allow_dir, char **error, int security); mode 1916 ext/phar/phar_object.c zend_long mode; mode 1919 ext/phar/phar_object.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &mode) == FAILURE) { mode 4070 ext/phar/phar_object.c mode_t mode; mode 4236 ext/phar/phar_object.c mode = (mode_t) entry->flags & PHAR_ENT_PERM_MASK; mode 4238 ext/phar/phar_object.c if (FAILURE == VCWD_CHMOD(fullpath, mode)) { mode 59 ext/phar/stream.c php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options) /* {{{ */ mode 68 ext/phar/stream.c if (mode[0] == 'a') { mode 74 ext/phar/stream.c if (phar_split_fname(filename, strlen(filename), &arch, &arch_len, &entry, &entry_len, 2, (mode[0] == 'w' ? 2 : 0)) == FAILURE) { mode 103 ext/phar/stream.c if (mode[0] == 'w' || (mode[0] == 'r' && mode[1] == '+')) { mode 158 ext/phar/stream.c static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) /* {{{ */ mode 170 ext/phar/stream.c if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) { mode 192 ext/phar/stream.c if (mode[0] == 'w' || (mode[0] == 'r' && mode[1] == '+')) { mode 193 ext/phar/stream.c if (NULL == (idata = phar_get_or_create_entry_data(resource->host, host_len, internal_file, strlen(internal_file), mode, 0, &error, 1))) { mode 207 ext/phar/stream.c fpf = php_stream_alloc(&phar_ops, idata, NULL, mode); mode 340 ext/phar/stream.c fpf = php_stream_alloc(&phar_ops, idata, NULL, mode); mode 24 ext/phar/stream.h php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options); mode 27 ext/phar/stream.h static php_stream* phar_wrapper_open_url(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 468 ext/phar/tar.c entry.flags = phar_tar_number(hdr->mode, sizeof(hdr->mode)) & PHAR_ENT_PERM_MASK; mode 745 ext/phar/tar.c phar_tar_octal(header.mode, entry->flags & PHAR_ENT_PERM_MASK, sizeof(header.mode)-1); mode 43 ext/phar/tar.h char mode[8]; /* file mode */ mode 67 ext/phar/tar.h char mode[8]; /* file mode */ mode 352 ext/phar/util.c int phar_get_entry_data(phar_entry_data **ret, char *fname, int fname_len, char *path, int path_len, const char *mode, char allow_dir, char **error, int security) /* {{{ */ mode 356 ext/phar/util.c int for_write = mode[0] != 'r' || mode[1] == '+'; mode 357 ext/phar/util.c int for_append = mode[0] == 'a'; mode 358 ext/phar/util.c int for_create = mode[0] != 'r'; mode 359 ext/phar/util.c int for_trunc = mode[0] == 'w'; mode 518 ext/phar/util.c phar_entry_data *phar_get_or_create_entry_data(char *fname, int fname_len, char *path, int path_len, const char *mode, char allow_dir, char **error, int security) /* {{{ */ mode 536 ext/phar/util.c if (FAILURE == phar_get_entry_data(&ret, fname, fname_len, path, path_len, mode, allow_dir, error, security)) { mode 163 ext/posix/posix.c ZEND_ARG_INFO(0, mode) mode 170 ext/posix/posix.c ZEND_ARG_INFO(0, mode) mode 178 ext/posix/posix.c ZEND_ARG_INFO(0, mode) mode 900 ext/posix/posix.c zend_long mode; mode 903 ext/posix/posix.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "pl", &path, &path_len, &mode) == FAILURE) { mode 911 ext/posix/posix.c result = mkfifo(path, mode); mode 929 ext/posix/posix.c zend_long mode; mode 937 ext/posix/posix.c &mode, &major, &minor) == FAILURE) { mode 945 ext/posix/posix.c if ((mode & S_IFCHR) || (mode & S_IFBLK)) { mode 963 ext/posix/posix.c result = mknod(path, mode, php_dev); mode 1011 ext/posix/posix.c zend_long mode = 0; mode 1015 ext/posix/posix.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &filename, &filename_len, &mode) == FAILURE) { mode 1031 ext/posix/posix.c ret = access(path, mode); mode 81 ext/pspell/pspell.c ZEND_ARG_INFO(0, mode) mode 90 ext/pspell/pspell.c ZEND_ARG_INFO(0, mode) mode 145 ext/pspell/pspell.c ZEND_ARG_INFO(0, mode) mode 268 ext/pspell/pspell.c zend_long mode = Z_L(0), speed = Z_L(0); mode 285 ext/pspell/pspell.c &jargon, &jargon_len, &encoding, &encoding_len, &mode) == FAILURE) { mode 327 ext/pspell/pspell.c speed = mode & PSPELL_SPEED_MASK_INTERNAL; mode 339 ext/pspell/pspell.c if (mode & PSPELL_RUN_TOGETHER) { mode 365 ext/pspell/pspell.c zend_long mode = Z_L(0), speed = Z_L(0); mode 382 ext/pspell/pspell.c &spelling, &spelling_len, &jargon, &jargon_len, &encoding, &encoding_len, &mode) == FAILURE) { mode 432 ext/pspell/pspell.c speed = mode & PSPELL_SPEED_MASK_INTERNAL; mode 444 ext/pspell/pspell.c if (mode & PSPELL_RUN_TOGETHER) { mode 775 ext/pspell/pspell.c zend_long conf, mode; mode 778 ext/pspell/pspell.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &conf, &mode) == FAILURE) { mode 785 ext/pspell/pspell.c if (mode == PSPELL_FAST) { mode 787 ext/pspell/pspell.c } else if (mode == PSPELL_NORMAL) { mode 789 ext/pspell/pspell.c } else if (mode == PSPELL_BAD_SPELLERS) { mode 52 ext/shmop/shmop.c ZEND_ARG_INFO(0, mode) mode 149 ext/shmop/shmop.c zend_long key, mode, size; mode 155 ext/shmop/shmop.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "lsll", &key, &flags, &flags_len, &mode, &size) == FAILURE) { mode 168 ext/shmop/shmop.c shmop->shmflg |= mode; mode 301 ext/soap/soap.c ZEND_ARG_INFO(0, mode) mode 139 ext/spl/spl_directory.h #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) mode 145 ext/spl/spl_directory.h #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) mode 106 ext/spl/spl_iterators.c RecursiveIteratorMode mode; mode 287 ext/spl/spl_iterators.c switch (object->mode) { mode 298 ext/spl/spl_iterators.c if (object->mode == RIT_LEAVES_ONLY) { mode 319 ext/spl/spl_iterators.c if (object->nextElement && (object->mode == RIT_SELF_FIRST || object->mode == RIT_CHILD_FIRST)) { mode 322 ext/spl/spl_iterators.c if (object->mode == RIT_SELF_FIRST) { mode 355 ext/spl/spl_iterators.c if (object->mode == RIT_CHILD_FIRST) { mode 478 ext/spl/spl_iterators.c zend_long mode, flags; mode 487 ext/spl/spl_iterators.c mode = RIT_SELF_FIRST; mode 490 ext/spl/spl_iterators.c if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "o|lzl", &iterator, &flags, &user_caching_it_flags, &mode) == SUCCESS) { mode 515 ext/spl/spl_iterators.c mode = RIT_LEAVES_ONLY; mode 518 ext/spl/spl_iterators.c if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "o|ll", &iterator, &mode, &flags) == SUCCESS) { mode 543 ext/spl/spl_iterators.c intern->mode = mode; mode 994 ext/spl/spl_iterators.c ZEND_ARG_INFO(0, mode) mode 1315 ext/spl/spl_iterators.c ZEND_ARG_INFO(0, mode) mode 1544 ext/spl/spl_iterators.c zend_long mode = REGIT_MODE_MATCH; mode 1549 ext/spl/spl_iterators.c if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "OS|lll", &zobject, ce_inner, ®ex, &mode, &intern->u.regex.flags, &intern->u.regex.preg_flags) == FAILURE) { mode 1552 ext/spl/spl_iterators.c if (mode < 0 || mode >= REGIT_MODE_MAX) { mode 1553 ext/spl/spl_iterators.c zend_throw_exception_ex(spl_ce_InvalidArgumentException, 0, "Illegal mode %pd", mode); mode 1556 ext/spl/spl_iterators.c intern->u.regex.mode = mode; mode 2058 ext/spl/spl_iterators.c switch (intern->u.regex.mode) mode 2076 ext/spl/spl_iterators.c &intern->current.data, intern->u.regex.mode == REGIT_MODE_ALL_MATCHES, intern->u.regex.use_flags, intern->u.regex.preg_flags, 0); mode 2142 ext/spl/spl_iterators.c RETURN_LONG(intern->u.regex.mode); mode 2150 ext/spl/spl_iterators.c zend_long mode; mode 2152 ext/spl/spl_iterators.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &mode) == FAILURE) { mode 2156 ext/spl/spl_iterators.c if (mode < 0 || mode >= REGIT_MODE_MAX) { mode 2157 ext/spl/spl_iterators.c zend_throw_exception_ex(spl_ce_InvalidArgumentException, 0, "Illegal mode %pd", mode); mode 2163 ext/spl/spl_iterators.c intern->u.regex.mode = mode; mode 2259 ext/spl/spl_iterators.c ZVAL_LONG(&args[2], intern->u.regex.mode); mode 2432 ext/spl/spl_iterators.c ZEND_ARG_INFO(0, mode) mode 2438 ext/spl/spl_iterators.c ZEND_ARG_INFO(0, mode) mode 2465 ext/spl/spl_iterators.c ZEND_ARG_INFO(0, mode) mode 161 ext/spl/spl_iterators.h regex_mode mode; mode 550 ext/spl/spl_observer.c zend_long mode = COUNT_NORMAL; mode 552 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &mode) == FAILURE) { mode 556 ext/spl/spl_observer.c if (mode == COUNT_RECURSIVE) { mode 561 ext/spl/spl_observer.c ret += php_count_recursive(element, mode); mode 25767 ext/sqlite3/libsqlite/sqlite3.c static int posixOpen(const char *zFile, int flags, int mode){ mode 25768 ext/sqlite3/libsqlite/sqlite3.c return open(zFile, flags, mode); mode 130535 ext/sqlite3/libsqlite/sqlite3.c int mode; mode 130571 ext/sqlite3/libsqlite/sqlite3.c int mode = 0; mode 130575 ext/sqlite3/libsqlite/sqlite3.c mode = aMode[i].mode; mode 130579 ext/sqlite3/libsqlite/sqlite3.c if( mode==0 ){ mode 130584 ext/sqlite3/libsqlite/sqlite3.c if( (mode & ~SQLITE_OPEN_MEMORY)>limit ){ mode 130590 ext/sqlite3/libsqlite/sqlite3.c flags = (flags & ~mask) | mode; mode 1720 ext/sqlite3/sqlite3.c zend_long mode = PHP_SQLITE3_BOTH; mode 1725 ext/sqlite3/sqlite3.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &mode) == FAILURE) { mode 1744 ext/sqlite3/sqlite3.c if (mode & PHP_SQLITE3_NUM) { mode 1748 ext/sqlite3/sqlite3.c if (mode & PHP_SQLITE3_ASSOC) { mode 1749 ext/sqlite3/sqlite3.c if (mode & PHP_SQLITE3_NUM) { mode 1912 ext/sqlite3/sqlite3.c ZEND_ARG_INFO(0, mode) mode 758 ext/standard/array.c PHPAPI zend_long php_count_recursive(zval *array, zend_long mode) /* {{{ */ mode 770 ext/standard/array.c if (mode == COUNT_RECURSIVE) { mode 793 ext/standard/array.c zend_long mode = COUNT_NORMAL; mode 798 ext/standard/array.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|l", &array, &mode) == FAILURE) { mode 805 ext/standard/array.c Z_PARAM_LONG(mode) mode 815 ext/standard/array.c if (mode == COUNT_RECURSIVE) { mode 229 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 1067 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 1078 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 1136 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 1257 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 1525 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 1610 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 2090 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 2403 ext/standard/basic_functions.c ZEND_ARG_INFO(0, mode) mode 205 ext/standard/exec.c static void php_exec_ex(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ mode 212 ext/standard/exec.c if (mode) { mode 231 ext/standard/exec.c ret = php_exec(mode, cmd, NULL, return_value); mode 579 ext/standard/file.c char mode[3] = "wb"; mode 592 ext/standard/file.c mode[0] = 'a'; mode 601 ext/standard/file.c mode[0] = 'c'; mode 603 ext/standard/file.c mode[2] = '\0'; mode 605 ext/standard/file.c stream = php_stream_open_wrapper_ex(filename, mode, ((flags & PHP_FILE_USE_INCLUDE_PATH) ? USE_PATH : 0) | REPORT_ERRORS, NULL, context); mode 616 ext/standard/file.c if (mode[0] == 'c') { mode 852 ext/standard/file.c char *filename, *mode; mode 859 ext/standard/file.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "ps|br", &filename, &filename_len, &mode, &mode_len, &use_include_path, &zcontext) == FAILURE) { mode 865 ext/standard/file.c stream = php_stream_open_wrapper_ex(filename, mode, (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, NULL, context); mode 911 ext/standard/file.c char *command, *mode; mode 917 ext/standard/file.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "ps", &command, &command_len, &mode, &mode_len) == FAILURE) { mode 921 ext/standard/file.c posix_mode = estrndup(mode, mode_len); mode 938 ext/standard/file.c stream = php_stream_fopen_from_pipe(fp, mode); mode 941 ext/standard/file.c php_error_docref2(NULL, command, mode, E_WARNING, "%s", strerror(errno)); mode 1328 ext/standard/file.c PHPAPI int php_mkdir_ex(const char *dir, zend_long mode, int options) mode 1336 ext/standard/file.c if ((ret = VCWD_MKDIR(dir, (mode_t)mode)) < 0 && (options & REPORT_ERRORS)) { mode 1343 ext/standard/file.c PHPAPI int php_mkdir(const char *dir, zend_long mode) mode 1345 ext/standard/file.c return php_mkdir_ex(dir, mode, REPORT_ERRORS); mode 1356 ext/standard/file.c zend_long mode = 0777; mode 1360 ext/standard/file.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|lbr", &dir, &dir_len, &mode, &recursive, &zcontext) == FAILURE) { mode 1366 ext/standard/file.c RETURN_BOOL(php_stream_mkdir(dir, (int)mode, (recursive ? PHP_STREAM_MKDIR_RECURSIVE : 0) | REPORT_ERRORS, context)); mode 82 ext/standard/file.h PHPAPI int php_mkdir_ex(const char *dir, zend_long mode, int options); mode 83 ext/standard/file.h PHPAPI int php_mkdir(const char *dir, zend_long mode); mode 659 ext/standard/filestat.c zend_long mode; mode 664 ext/standard/filestat.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "pl", &filename, &filename_len, &mode) == FAILURE) { mode 671 ext/standard/filestat.c if(wrapper->wops->stream_metadata(wrapper, filename, PHP_STREAM_META_ACCESS, &mode, NULL)) { mode 687 ext/standard/filestat.c imode = (mode_t) mode; mode 110 ext/standard/ftp_fopen_wrapper.c if (strpbrk(stream->mode, "wa+")) { mode 133 ext/standard/ftp_fopen_wrapper.c static php_stream *php_ftp_fopen_connect(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, mode 414 ext/standard/ftp_fopen_wrapper.c php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode, mode 434 ext/standard/ftp_fopen_wrapper.c if (strpbrk(mode, "r+")) { mode 437 ext/standard/ftp_fopen_wrapper.c if (strpbrk(mode, "wa+")) { mode 442 ext/standard/ftp_fopen_wrapper.c if (strchr(mode, 'a')) { mode 458 ext/standard/ftp_fopen_wrapper.c return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC); mode 466 ext/standard/ftp_fopen_wrapper.c stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data); mode 686 ext/standard/ftp_fopen_wrapper.c php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, mode 699 ext/standard/ftp_fopen_wrapper.c stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data); mode 755 ext/standard/ftp_fopen_wrapper.c dirsdata->dirstream = php_stream_alloc(&php_ftp_dirstream_ops, dirsdata, 0, mode); mode 1028 ext/standard/ftp_fopen_wrapper.c static int php_stream_ftp_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context) mode 113 ext/standard/http_fopen_wrapper.c const char *path, const char *mode, int options, zend_string **opened_path, mode 168 ext/standard/http_fopen_wrapper.c return php_stream_open_wrapper_ex(path, mode, REPORT_ERRORS, NULL, context); mode 180 ext/standard/http_fopen_wrapper.c if (strpbrk(mode, "awx+")) { mode 890 ext/standard/http_fopen_wrapper.c stream = php_stream_url_wrap_http_ex(wrapper, new_path, mode, options, opened_path, context, --redirect_max, HTTP_WRAPPER_REDIRECTED STREAMS_CC); mode 930 ext/standard/http_fopen_wrapper.c strlcpy(stream->mode, mode, sizeof(stream->mode)); mode 947 ext/standard/http_fopen_wrapper.c php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) /* {{{ */ mode 949 ext/standard/http_fopen_wrapper.c return php_stream_url_wrap_http_ex(wrapper, path, mode, options, opened_path, context, PHP_URL_REDIRECT_MAX, HTTP_WRAPPER_HEADER_INIT STREAMS_CC); mode 1407 ext/standard/image.c static void php_getimagesize_from_any(INTERNAL_FUNCTION_PARAMETERS, int mode) { /* {{{ */ mode 1423 ext/standard/image.c if (mode == FROM_PATH) { mode 678 ext/standard/info.c PHPAPI zend_string *php_get_uname(char mode) mode 692 ext/standard/info.c if (mode == 's') { mode 694 ext/standard/info.c } else if (mode == 'r') { mode 697 ext/standard/info.c } else if (mode == 'n') { mode 699 ext/standard/info.c } else if (mode == 'v') { mode 711 ext/standard/info.c } else if (mode == 'm') { mode 745 ext/standard/info.c if (mode == 's') { mode 747 ext/standard/info.c } else if (mode == 'r') { mode 751 ext/standard/info.c } else if (mode == 'n') { mode 753 ext/standard/info.c } else if (mode == 'v') { mode 757 ext/standard/info.c } else if (mode == 'm') { mode 768 ext/standard/info.c if (mode == 's') { mode 770 ext/standard/info.c } else if (mode == 'r') { mode 772 ext/standard/info.c } else if (mode == 'n') { mode 774 ext/standard/info.c } else if (mode == 'v') { mode 776 ext/standard/info.c } else if (mode == 'm') { mode 1377 ext/standard/info.c char *mode = "a"; mode 1380 ext/standard/info.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &mode, &modelen) == FAILURE) { mode 1383 ext/standard/info.c RETURN_STR(php_get_uname(*mode)); mode 82 ext/standard/info.h PHPAPI zend_string *php_get_uname(char mode); mode 110 ext/standard/math.c static inline double php_round_helper(double value, int mode) { mode 115 ext/standard/math.c if ((mode == PHP_ROUND_HALF_DOWN && value == (-0.5 + tmp_value)) || mode 116 ext/standard/math.c (mode == PHP_ROUND_HALF_EVEN && value == (0.5 + 2 * floor(tmp_value/2.0))) || mode 117 ext/standard/math.c (mode == PHP_ROUND_HALF_ODD && value == (0.5 + 2 * floor(tmp_value/2.0) - 1.0))) mode 123 ext/standard/math.c if ((mode == PHP_ROUND_HALF_DOWN && value == (0.5 + tmp_value)) || mode 124 ext/standard/math.c (mode == PHP_ROUND_HALF_EVEN && value == (-0.5 + 2 * ceil(tmp_value/2.0))) || mode 125 ext/standard/math.c (mode == PHP_ROUND_HALF_ODD && value == (-0.5 + 2 * ceil(tmp_value/2.0) + 1.0))) mode 140 ext/standard/math.c PHPAPI double _php_math_round(double value, int places, int mode) { mode 168 ext/standard/math.c tmp_value = php_round_helper(tmp_value, mode); mode 190 ext/standard/math.c tmp_value = php_round_helper(tmp_value, mode); mode 391 ext/standard/math.c zend_long mode = PHP_ROUND_HALF_UP; mode 394 ext/standard/math.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", &value, &precision, &mode) == FAILURE) { mode 421 ext/standard/math.c return_val = _php_math_round(return_val, (int)places, (int)mode); mode 1031 ext/standard/math.c int mode = 0; mode 1061 ext/standard/math.c switch (mode) { mode 1068 ext/standard/math.c mode = 1; mode 1076 ext/standard/math.c if (mode == 1) { mode 54 ext/standard/microtime.c static void _php_gettimeofday(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 71 ext/standard/microtime.c if (mode) { mode 110 ext/standard/php_array.h PHPAPI zend_long php_count_recursive(zval *array, zend_long mode); mode 174 ext/standard/php_fopen_wrapper.c php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, mode 202 ext/standard/php_fopen_wrapper.c if (strpbrk(mode, "wa+")) { mode 211 ext/standard/php_fopen_wrapper.c if (strpbrk(mode, "wa+")) { mode 347 ext/standard/php_fopen_wrapper.c if (strchr(mode, 'r') || strchr(mode, '+')) { mode 350 ext/standard/php_fopen_wrapper.c if (strchr(mode, 'w') || strchr(mode, '+') || strchr(mode, 'a')) { mode 361 ext/standard/php_fopen_wrapper.c if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) { mode 409 ext/standard/php_fopen_wrapper.c stream = php_stream_fopen_from_file(file, mode); mode 411 ext/standard/php_fopen_wrapper.c stream = php_stream_fopen_from_fd(fd, mode, NULL); mode 26 ext/standard/php_fopen_wrappers.h php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 27 ext/standard/php_fopen_wrappers.h php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 135 ext/standard/php_string.h PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); mode 417 ext/standard/proc_open.c int mode; /* mode for proc_open code */ mode 561 ext/standard/proc_open.c descriptors[ndesc].mode = DESC_FILE; mode 586 ext/standard/proc_open.c descriptors[ndesc].mode = DESC_PIPE; mode 596 ext/standard/proc_open.c descriptors[ndesc].mode |= DESC_PARENT_MODE_WRITE; mode 605 ext/standard/proc_open.c descriptors[ndesc].mode_flags = descriptors[ndesc].mode & DESC_PARENT_MODE_WRITE ? O_WRONLY : O_RDONLY; mode 616 ext/standard/proc_open.c descriptors[ndesc].mode = DESC_FILE; mode 673 ext/standard/proc_open.c descriptors[ndesc].mode = DESC_PIPE; mode 838 ext/standard/proc_open.c switch (descriptors[i].mode & ~DESC_PARENT_MODE_WRITE) { mode 919 ext/standard/proc_open.c switch (descriptors[i].mode & ~DESC_PARENT_MODE_WRITE) { mode 525 ext/standard/streamsfuncs.c add_assoc_string(return_value, "mode", stream->mode); mode 1200 ext/standard/streamsfuncs.c if (strchr(stream->mode, 'r') || strchr(stream->mode, '+')) { mode 1203 ext/standard/streamsfuncs.c if (strchr(stream->mode, 'w') || strchr(stream->mode, '+') || strchr(stream->mode, 'a')) { mode 799 ext/standard/string.c PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode) mode 810 ext/standard/string.c if (mode & 1) { mode 821 ext/standard/string.c if (mode & 2) { mode 836 ext/standard/string.c if (mode & 1) { mode 847 ext/standard/string.c if (mode & 2) { mode 861 ext/standard/string.c if (mode & 1) { mode 873 ext/standard/string.c if (mode & 2) { mode 899 ext/standard/string.c static void php_do_trim(INTERNAL_FUNCTION_PARAMETERS, int mode) mode 916 ext/standard/string.c ZVAL_STR(return_value, php_trim(str, (what ? ZSTR_VAL(what) : NULL), (what ? ZSTR_LEN(what) : 0), mode)); mode 957 ext/standard/url_scanner_ex.c static void php_url_scanner_output_handler(char *output, size_t output_len, char **handled_output, size_t *handled_output_len, int mode) mode 962 ext/standard/url_scanner_ex.c *handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode & (PHP_OUTPUT_HANDLER_END | PHP_OUTPUT_HANDLER_CONT | PHP_OUTPUT_HANDLER_FLUSH | PHP_OUTPUT_HANDLER_FINAL) ? 1 : 0)); mode 185 ext/sysvmsg/sysvmsg.c stat.msg_perm.mode = Z_LVAL_P(item); mode 221 ext/sysvmsg/sysvmsg.c add_assoc_long(return_value, "msg_perm.mode", stat.msg_perm.mode); mode 712 ext/zip/php_zip.c ZEND_ARG_INFO(0, mode) mode 1217 ext/zip/php_zip.c char *mode = NULL; mode 1222 ext/zip/php_zip.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rr|s", &zip, &zip_entry, &mode, &mode_len) == FAILURE) { mode 2768 ext/zip/php_zip.c char *mode = "rb"; mode 2789 ext/zip/php_zip.c stream = php_stream_zip_open(obj->filename, ZSTR_VAL(filename), mode STREAMS_CC); mode 92 ext/zip/php_zip.h php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 93 ext/zip/php_zip.h php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC); mode 211 ext/zip/zip_stream.c php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC) mode 220 ext/zip/zip_stream.c if (strncmp(mode,"r", strlen("r")) != 0) { mode 243 ext/zip/zip_stream.c stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode); mode 262 ext/zip/zip_stream.c const char *mode, mode 296 ext/zip/zip_stream.c if (path_len >= MAXPATHLEN || mode[0] != 'r') { mode 321 ext/zip/zip_stream.c stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode); mode 68 ext/zlib/php_zlib.h php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 607 ext/zlib/zlib.c char *mode; mode 613 ext/zlib/zlib.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "ps|l", &filename, &filename_len, &mode, &mode_len, &use_include_path) == FAILURE) { mode 621 ext/zlib/zlib.c stream = php_stream_gzopen(NULL, filename, mode, flags, NULL, NULL STREAMS_CC); mode 1211 ext/zlib/zlib.c ZEND_ARG_INFO(0, mode) mode 113 ext/zlib/zlib_fopen_wrapper.c php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, mode 120 ext/zlib/zlib_fopen_wrapper.c if (strchr(mode, '+')) { mode 133 ext/zlib/zlib_fopen_wrapper.c innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context); mode 141 ext/zlib/zlib_fopen_wrapper.c self->gz_file = gzdopen(dup(fd), mode); mode 144 ext/zlib/zlib_fopen_wrapper.c stream = php_stream_alloc_rel(&php_stream_gzio_ops, self, 0, mode); mode 333 main/fopen_wrappers.c static FILE *php_fopen_and_set_opened_path(const char *path, const char *mode, zend_string **opened_path) mode 340 main/fopen_wrappers.c fp = VCWD_FOPEN(path, mode); mode 618 main/fopen_wrappers.c PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_string **opened_path) mode 645 main/fopen_wrappers.c return php_fopen_and_set_opened_path(filename, mode, opened_path); mode 685 main/fopen_wrappers.c fp = php_fopen_and_set_opened_path(trypath, mode, opened_path); mode 51 main/fopen_wrappers.h PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_string **opened_path); mode 303 main/main.c int mode; mode 310 main/main.c mode = PHP_DISPLAY_ERRORS_STDOUT; mode 312 main/main.c mode = PHP_DISPLAY_ERRORS_STDOUT; mode 314 main/main.c mode = PHP_DISPLAY_ERRORS_STDOUT; mode 316 main/main.c mode = PHP_DISPLAY_ERRORS_STDERR; mode 318 main/main.c mode = PHP_DISPLAY_ERRORS_STDOUT; mode 320 main/main.c ZEND_ATOL(mode, value); mode 321 main/main.c if (mode && mode != PHP_DISPLAY_ERRORS_STDOUT && mode != PHP_DISPLAY_ERRORS_STDERR) { mode 322 main/main.c mode = PHP_DISPLAY_ERRORS_STDOUT; mode 326 main/main.c return mode; mode 344 main/main.c int mode, tmp_value_length, cgi_or_cli; mode 358 main/main.c mode = php_get_display_errors_mode(tmp_value, tmp_value_length); mode 363 main/main.c switch (mode) { mode 1345 main/main.c PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode) /* {{{ */ mode 1349 main/main.c php_stream *stream = php_stream_open_wrapper((char *)filename, "rb", mode, &handle->opened_path); mode 51 main/php_main.h PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode); mode 32 main/php_memory_streams.h #define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC) mode 33 main/php_memory_streams.h #define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC) mode 34 main/php_memory_streams.h #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) STREAMS_CC) mode 38 main/php_memory_streams.h #define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_CC) mode 39 main/php_memory_streams.h #define php_stream_temp_create_ex(mode, max_memory_usage, tmpdir) _php_stream_temp_create_ex((mode), (max_memory_usage), (tmpdir) STREAMS_CC) mode 40 main/php_memory_streams.h #define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_REL_CC) mode 41 main/php_memory_streams.h #define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), (buf), (length) STREAMS_CC) mode 44 main/php_memory_streams.h PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC); mode 45 main/php_memory_streams.h PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length STREAMS_DC); mode 48 main/php_memory_streams.h PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC); mode 49 main/php_memory_streams.h PHPAPI php_stream *_php_stream_temp_create_ex(int mode, size_t max_memory_usage, const char *tmpdir STREAMS_DC); mode 50 main/php_memory_streams.h PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length STREAMS_DC); mode 108 main/php_output.h typedef void (*php_output_handler_func_t)(char *output, size_t output_len, char **handled_output, size_t *handled_output_len, int mode); mode 64 main/php_streams.h #define php_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (persistent), (mode) STREAMS_REL_CC) mode 68 main/php_streams.h #define php_stream_fopen_rel(filename, mode, opened, options) _php_stream_fopen((filename), (mode), (opened), (options) STREAMS_REL_CC) mode 70 main/php_streams.h #define php_stream_fopen_with_path_rel(filename, mode, path, opened, options) _php_stream_fopen_with_path((filename), (mode), (path), (opened), (options) STREAMS_REL_CC) mode 72 main/php_streams.h #define php_stream_fopen_from_fd_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (persistent_id) STREAMS_REL_CC) mode 73 main/php_streams.h #define php_stream_fopen_from_file_rel(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_REL_CC) mode 75 main/php_streams.h #define php_stream_fopen_from_pipe_rel(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_REL_CC) mode 81 main/php_streams.h #define php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_REL_CC) mode 82 main/php_streams.h #define php_stream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), (context) STREAMS_REL_CC) mode 136 main/php_streams.h php_stream *(*stream_opener)(php_stream_wrapper *wrapper, const char *filename, const char *mode, mode 145 main/php_streams.h php_stream *(*dir_opener)(php_stream_wrapper *wrapper, const char *filename, const char *mode, mode 157 main/php_streams.h int (*stream_mkdir)(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context); mode 202 main/php_streams.h char mode[16]; /* "rwb" etc. ala stdio */ mode 246 main/php_streams.h const char *persistent_id, const char *mode STREAMS_DC); mode 248 main/php_streams.h #define php_stream_alloc(ops, thisptr, persistent_id, mode) _php_stream_alloc((ops), (thisptr), (persistent_id), (mode) STREAMS_CC) mode 350 main/php_streams.h PHPAPI int _php_stream_mkdir(const char *path, int mode, int options, php_stream_context *context); mode 351 main/php_streams.h #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, context) mode 416 main/php_streams.h #define php_stream_lock(stream, mode) _php_stream_set_option((stream), PHP_STREAM_OPTION_LOCKING, (mode), (void *) NULL) mode 564 main/php_streams.h PHPAPI php_stream *_php_stream_open_wrapper_ex(const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 568 main/php_streams.h #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) mode 569 main/php_streams.h #define php_stream_open_wrapper_ex(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), (context) STREAMS_CC) mode 49 main/streams/cast.c FILE *fopencookie(void *cookie, const char *mode, COOKIE_IO_FUNCTIONS_T *funcs) mode 152 main/streams/cast.c const char *cur_mode = stream->mode; mode 345 main/streams/cast.c PHPAPI FILE * _php_stream_open_wrapper_as_file(char *path, char *mode, int options, zend_string **opened_path STREAMS_DC) mode 350 main/streams/cast.c stream = php_stream_open_wrapper_rel(path, mode, options|STREAM_WILL_CAST, opened_path); mode 209 main/streams/glob_wrapper.c static php_stream *php_glob_stream_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, mode 260 main/streams/glob_wrapper.c return php_stream_alloc(&php_glob_stream_ops, pglob, 0, mode); mode 44 main/streams/memory.c int mode; mode 54 main/streams/memory.c if (ms->mode & TEMP_STREAM_READONLY) { mode 115 main/streams/memory.c if (ms->data && close_handle && ms->mode != TEMP_STREAM_READONLY) { mode 213 main/streams/memory.c ssb->sb.st_mode = ms->mode & TEMP_STREAM_READONLY ? 0444 : 0666; mode 259 main/streams/memory.c if (ms->mode & TEMP_STREAM_READONLY) { mode 293 main/streams/memory.c PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC) mode 303 main/streams/memory.c self->mode = mode; mode 305 main/streams/memory.c stream = php_stream_alloc_rel(&php_stream_memory_ops, self, 0, mode & TEMP_STREAM_READONLY ? "rb" : "w+b"); mode 313 main/streams/memory.c PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length STREAMS_DC) mode 318 main/streams/memory.c if ((stream = php_stream_memory_create_rel(mode)) != NULL) { mode 321 main/streams/memory.c if (mode == TEMP_STREAM_READONLY || mode == TEMP_STREAM_TAKE_BUFFER) { mode 357 main/streams/memory.c int mode; mode 562 main/streams/memory.c PHPAPI php_stream *_php_stream_temp_create_ex(int mode, size_t max_memory_usage, const char *tmpdir STREAMS_DC) mode 569 main/streams/memory.c self->mode = mode; mode 574 main/streams/memory.c stream = php_stream_alloc_rel(&php_stream_temp_ops, self, 0, mode & TEMP_STREAM_READONLY ? "rb" : "w+b"); mode 576 main/streams/memory.c self->innerstream = php_stream_memory_create_rel(mode); mode 584 main/streams/memory.c PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC) mode 586 main/streams/memory.c return php_stream_temp_create_ex(mode, max_memory_usage, NULL); mode 591 main/streams/memory.c PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length STREAMS_DC) mode 597 main/streams/memory.c if ((stream = php_stream_temp_create_rel(mode, max_memory_usage)) != NULL) { mode 605 main/streams/memory.c ts->mode = mode; mode 622 main/streams/memory.c const char *mode, int options, zend_string **opened_path, mode 742 main/streams/memory.c vlen = strlen(mode); mode 743 main/streams/memory.c if (vlen >= sizeof(stream->mode)) { mode 744 main/streams/memory.c vlen = sizeof(stream->mode) - 1; mode 746 main/streams/memory.c memcpy(stream->mode, mode, vlen); mode 747 main/streams/memory.c stream->mode[vlen] = '\0'; mode 751 main/streams/memory.c ts->mode = mode && mode[0] == 'r' && mode[1] != '+' ? TEMP_STREAM_READONLY : 0; mode 25 main/streams/mmap.c PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_access_t mode, size_t *mapped_len) mode 31 main/streams/mmap.c range.mode = mode; mode 54 main/streams/php_stream_mmap.h php_stream_mmap_access_t mode; mode 70 main/streams/php_stream_mmap.h PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_access_t mode, size_t *mapped_len); mode 71 main/streams/php_stream_mmap.h #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len)) mode 30 main/streams/php_stream_plain_wrapper.h PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_path, int options STREAMS_DC); mode 31 main/streams/php_stream_plain_wrapper.h #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 STREAMS_CC) mode 33 main/streams/php_stream_plain_wrapper.h PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *path, zend_string **opened_path, int options STREAMS_DC); mode 34 main/streams/php_stream_plain_wrapper.h #define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filename), (mode), (path), (opened), 0 STREAMS_CC) mode 36 main/streams/php_stream_plain_wrapper.h PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC); mode 37 main/streams/php_stream_plain_wrapper.h #define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_CC) mode 39 main/streams/php_stream_plain_wrapper.h PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id STREAMS_DC); mode 40 main/streams/php_stream_plain_wrapper.h #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (persistent_id) STREAMS_CC) mode 42 main/streams/php_stream_plain_wrapper.h PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC); mode 43 main/streams/php_stream_plain_wrapper.h #define php_stream_fopen_from_pipe(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_CC) mode 54 main/streams/php_stream_plain_wrapper.h PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string **opened_path STREAMS_DC); mode 55 main/streams/php_stream_plain_wrapper.h #define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path), (mode), (options), (opened_path) STREAMS_CC) mode 47 main/streams/plain_wrapper.c #define php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (mode), (persistent_id) STREAMS_CC) mode 48 main/streams/plain_wrapper.c #define php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (mode), (persistent_id) STREAMS_REL_CC) mode 49 main/streams/plain_wrapper.c #define php_stream_fopen_from_file_int(file, mode) _php_stream_fopen_from_file_int((file), (mode) STREAMS_CC) mode 50 main/streams/plain_wrapper.c #define php_stream_fopen_from_file_int_rel(file, mode) _php_stream_fopen_from_file_int((file), (mode) STREAMS_REL_CC) mode 64 main/streams/plain_wrapper.c PHPAPI int php_stream_parse_fopen_modes(const char *mode, int *open_flags) mode 68 main/streams/plain_wrapper.c switch (mode[0]) { mode 89 main/streams/plain_wrapper.c if (strchr(mode, '+')) { mode 98 main/streams/plain_wrapper.c if (strchr(mode, 'n')) { mode 104 main/streams/plain_wrapper.c if (strchr(mode, 't')) { mode 162 main/streams/plain_wrapper.c static php_stream *_php_stream_fopen_from_fd_int(int fd, const char *mode, const char *persistent_id STREAMS_DC) mode 178 main/streams/plain_wrapper.c return php_stream_alloc_rel(&php_stream_stdio_ops, self, persistent_id, mode); mode 181 main/streams/plain_wrapper.c static php_stream *_php_stream_fopen_from_file_int(FILE *file, const char *mode STREAMS_DC) mode 197 main/streams/plain_wrapper.c return php_stream_alloc_rel(&php_stream_stdio_ops, self, 0, mode); mode 238 main/streams/plain_wrapper.c PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id STREAMS_DC) mode 240 main/streams/plain_wrapper.c php_stream *stream = php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id); mode 277 main/streams/plain_wrapper.c PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC) mode 279 main/streams/plain_wrapper.c php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); mode 309 main/streams/plain_wrapper.c PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC) mode 326 main/streams/plain_wrapper.c stream = php_stream_alloc_rel(&php_stream_stdio_ops, self, 0, mode); mode 700 main/streams/plain_wrapper.c switch (range->mode) { mode 751 main/streams/plain_wrapper.c switch (range->mode) { mode 912 main/streams/plain_wrapper.c static php_stream *php_plain_files_dir_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, mode 920 main/streams/plain_wrapper.c return php_glob_stream_wrapper.wops->dir_opener(&php_glob_stream_wrapper, path, mode, options, opened_path, context STREAMS_REL_CC); mode 941 main/streams/plain_wrapper.c stream = php_stream_alloc(&php_plain_files_dirstream_ops, dir, 0, mode); mode 951 main/streams/plain_wrapper.c PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_path, int options STREAMS_DC) mode 960 main/streams/plain_wrapper.c if (FAILURE == php_stream_parse_fopen_modes(mode, &open_flags)) { mode 962 main/streams/plain_wrapper.c php_error_docref(NULL, E_WARNING, "`%s' is not a valid mode for fopen", mode); mode 996 main/streams/plain_wrapper.c ret = php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id); mode 998 main/streams/plain_wrapper.c ret = php_stream_fopen_from_fd_rel(fd, mode, persistent_id); mode 1047 main/streams/plain_wrapper.c static php_stream *php_plain_files_stream_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, mode 1054 main/streams/plain_wrapper.c return php_stream_fopen_rel(path, mode, opened_path, options); mode 1191 main/streams/plain_wrapper.c static int php_plain_files_mkdir(php_stream_wrapper *wrapper, const char *dir, int mode, int options, php_stream_context *context) mode 1201 main/streams/plain_wrapper.c ret = php_mkdir(dir, mode); mode 1248 main/streams/plain_wrapper.c ret = php_mkdir(dir, mode); mode 1249 main/streams/plain_wrapper.c } else if (!(ret = php_mkdir(buf, mode))) { mode 1258 main/streams/plain_wrapper.c (ret = VCWD_MKDIR(buf, (mode_t)mode)) < 0) { mode 1312 main/streams/plain_wrapper.c mode_t mode; mode 1374 main/streams/plain_wrapper.c mode = (mode_t)*(zend_long *)value; mode 1375 main/streams/plain_wrapper.c ret = VCWD_CHMOD(url, mode); mode 1411 main/streams/plain_wrapper.c PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *path, zend_string **opened_path, int options STREAMS_DC) mode 1450 main/streams/plain_wrapper.c return php_stream_fopen_rel(filename, mode, opened_path, options); mode 1462 main/streams/plain_wrapper.c return php_stream_fopen_rel(filename, mode, opened_path, options); mode 1483 main/streams/plain_wrapper.c return php_stream_fopen_rel(trypath, mode, opened_path, options); mode 1488 main/streams/plain_wrapper.c return php_stream_fopen_rel(filename, mode, opened_path, options); mode 1536 main/streams/plain_wrapper.c stream = php_stream_fopen_rel(trypath, mode, opened_path, options); mode 269 main/streams/streams.c PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, const char *persistent_id, const char *mode STREAMS_DC) /* {{{ */ mode 311 main/streams/streams.c strlcpy(ret->mode, mode, sizeof(ret->mode)); mode 1888 main/streams/streams.c PHPAPI int _php_stream_mkdir(const char *path, int mode, int options, php_stream_context *context) mode 1897 main/streams/streams.c return wrapper->wops->stream_mkdir(wrapper, path, mode, options, context); mode 2015 main/streams/streams.c PHPAPI php_stream *_php_stream_open_wrapper_ex(const char *path, const char *mode, int options, mode 2061 main/streams/streams.c path_to_open, mode, options ^ REPORT_ERRORS, mode 2130 main/streams/streams.c if (stream && stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && strchr(mode, 'a') && stream->position == 0) { mode 48 main/streams/userspace.c static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); mode 52 main/streams/userspace.c static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context); mode 55 main/streams/userspace.c static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const char *mode, mode 327 main/streams/userspace.c static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const char *mode, mode 369 main/streams/userspace.c ZVAL_STRING(&args[1], mode); mode 384 main/streams/userspace.c stream = php_stream_alloc_rel(&php_stream_userspace_ops, us, 0, mode); mode 417 main/streams/userspace.c static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const char *mode, mode 459 main/streams/userspace.c stream = php_stream_alloc_rel(&php_stream_userspace_dir_ops, us, 0, mode); mode 851 main/streams/userspace.c STAT_PROP_ENTRY(mode); mode 1182 main/streams/userspace.c static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, mode 1200 main/streams/userspace.c ZVAL_LONG(&args[1], mode); mode 453 main/streams/xp_socket.c *(FILE**)ret = fdopen(sock->socket, stream->mode); mode 744 sapi/cli/php_cli_server.c static void php_cli_server_poller_add(php_cli_server_poller *poller, int mode, php_socket_t fd) /* {{{ */ mode 746 sapi/cli/php_cli_server.c if (mode & POLLIN) { mode 749 sapi/cli/php_cli_server.c if (mode & POLLOUT) { mode 757 sapi/cli/php_cli_server.c static void php_cli_server_poller_remove(php_cli_server_poller *poller, int mode, php_socket_t fd) /* {{{ */ mode 759 sapi/cli/php_cli_server.c if (mode & POLLIN) { mode 762 sapi/cli/php_cli_server.c if (mode & POLLOUT) { mode 1399 sapi/fpm/fpm/fpm_main.c int mode = ZEND_INI_USER; mode 1402 sapi/fpm/fpm/fpm_main.c zend_parse_ini_string(tmp, 1, ZEND_INI_SCANNER_NORMAL, (zend_ini_parser_cb_t)fastcgi_ini_parser, &mode); mode 1408 sapi/fpm/fpm/fpm_main.c int mode = ZEND_INI_SYSTEM; mode 1411 sapi/fpm/fpm/fpm_main.c zend_parse_ini_string(tmp, 1, ZEND_INI_SCANNER_NORMAL, (zend_ini_parser_cb_t)fastcgi_ini_parser, &mode); mode 1428 sapi/fpm/fpm/fpm_main.c int *mode = (int *)arg; mode 1433 sapi/fpm/fpm/fpm_main.c if (!mode || !arg1) return; mode 1459 sapi/fpm/fpm/fpm_main.c if (fpm_php_apply_defines_ex(&kv, *mode) == -1) { mode 26 sapi/fpm/fpm/fpm_php.c static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_value, int new_value_length, int mode, int stage) /* {{{ */ mode 41 sapi/fpm/fpm/fpm_php.c ini_entry->modifiable = mode; mode 79 sapi/fpm/fpm/fpm_php.c int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode) /* {{{ */ mode 93 sapi/fpm/fpm/fpm_php.c if (fpm_php_zend_ini_alter_master(name, name_len, value, value_len, mode, PHP_INI_STAGE_ACTIVATE) == FAILURE) { mode 45 sapi/fpm/fpm/fpm_php.h int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode); mode 225 sapi/phpdbg/phpdbg_wait.c int mode = phpdbg_array_intersect(&pos, &module); mode 226 sapi/phpdbg/phpdbg_wait.c if (mode < 0) { mode 231 sapi/phpdbg/phpdbg_wait.c } else if (mode > 0) {