| /PHP_5_5/build/ |
| H A D | scan_makefile_in.awk | 2 mode=0 6 mode == 0 && /^LTLIBRARY_SOURCES.*\\$/ { 10 mode=1 14 mode == 0 && /^LTLIBRARY_SOURCES.*/ { 20 mode == 1 && /.*\\$/ { 25 mode == 1 { 27 mode=0
|
| /PHP_5_5/ext/phar/tests/tar/files/ |
| H A D | corrupt_tarmaker.php.inc | 49 'mode' => 0x8000 + 0644, 59 if ($stat['mode'] & 0xA000 && $corrupt === 'symlink') { 64 } else if ($stat['mode'] & 0xA000) { 69 } else if ($stat['mode'] & 0x4000) { 71 } else if ($stat['mode'] & 0x8000) { 89 decoct($stat['mode']), 161 'mode' => 0x4000 + 0644,
|
| H A D | make.dangerous.tar.php.inc | 50 'mode' => 0x8000 + 0644, 60 if ($stat['mode'] & 0x4000) { 62 } else if ($stat['mode'] & 0x8000) { 64 } else if ($stat['mode'] & 0xA000) { 83 '12345678', // have a mode that allows the name to overflow 154 'mode' => 0x4000 + 0644,
|
| H A D | tarmaker.php.inc | 49 'mode' => 0x8000 + 0644, 59 if ($stat['mode'] & 0x4000) { 61 } else if ($stat['mode'] & 0x8000) { 63 } else if ($stat['mode'] & 0xA000) { 82 decoct($stat['mode']), 153 'mode' => 0x4000 + 0644,
|
| /PHP_5_5/ext/spl/examples/ |
| H A D | callbackfilteriterator.inc | 21 const USE_FALSE = 0; /**< mode: accept no elements, no callback */ 22 const USE_TRUE = 1; /**< mode: accept all elements, no callback */ 23 const USE_VALUE = 2; /**< mode: pass value to callback */ 24 const USE_KEY = 3; /**< mode: pass key to callback */ 25 const USE_BOTH = 4; /**< mode: pass value and key to callback */ 30 private $mode; /**< mode any of USE_VALUE, USE_KEY, USE_BOTH */ 39 * @param mode any of USE_VALUE, USE_KEY, USE_BOTH 42 public function __construct(Iterator $it, $callback, $mode = self::USE_VALUE, $flags = 0) 46 $this->mode [all...] |
| /PHP_5_5/ext/spl/internal/ |
| H A D | regexiterator.inc | 32 private $mode; /**< operation mode (one of self::MATCH, 46 * @param mode operation mode (one of self::MATCH, self::GET_MATCH, 52 function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { 56 $this->mode = $mode; 61 * Match current or key against regular expression using mode, flags and 75 switch($this->mode) 120 /** @return current operation mode [all...] |
| H A D | splqueue.inc | 29 /** Changes the iteration mode. There are two orthogonal sets of modes that 36 * The default mode is 0 : SplDoublyLnkedList::IT_MODE_LIFO | SplDoublyLnkedList::IT_MODE_KEEP 39 * @param $mode New mode of iteration 40 * @throw RuntimeException If the new mode affects the iteration's direction. 42 public function setIteratorMode($mode) 44 if ($mode & parent::IT_MODE_LIFO === parent::IT_MODE_LIFO) { 48 $this->_it_mode = $mode;
|
| H A D | splstack.inc | 25 /** Changes the iteration mode. There are two orthogonal sets of modes that 32 * The default mode is 0 : SplDoublyLnkedList::IT_MODE_LIFO | SplDoublyLnkedList::IT_MODE_KEEP 35 * @param $mode New mode of iteration 36 * @throw RuntimeException If the new mode affects the iteration's direction. 38 public function setIteratorMode($mode) 40 if ($mode & parent::IT_MODE_LIFO !== parent::IT_MODE_LIFO) { 44 $this->_it_mode = $mode;
|
| /PHP_5_5/ext/fileinfo/libmagic/ |
| H A D | tar.h | 55 char mode[8]; member in struct:record::header
|
| /PHP_5_5/ext/intl/idn/ |
| H A D | idn.c | 114 static int php_intl_idn_check_status(UErrorCode err, const char *msg, int mode TSRMLS_DC) 120 mode == INTL_IDN_TO_ASCII ? "idn_to_ascii" : "idn_to_utf8", 130 static inline void php_intl_bad_args(const char *msg, int mode TSRMLS_DC) 132 php_intl_idn_check_status(U_ILLEGAL_ARGUMENT_ERROR, msg, mode TSRMLS_CC); 137 const char *domain, int domain_len, uint32_t option, int mode, zval *idna_info) 149 mode TSRMLS_CC) == FAILURE) { 154 if (mode == INTL_IDN_TO_ASCII) { 162 mode TSRMLS_CC) == FAILURE) { 205 const char *domain, int domain_len, uint32_t option, int mode) 232 if (mode 136 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int domain_len, uint32_t option, int mode, zval *idna_info) argument 204 php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int domain_len, uint32_t option, int mode) argument 262 php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode) argument [all...] |
| /PHP_5_5/ext/intl/tests/ |
| H A D | ut_common.inc | 3 * Run unit test in OO- and in procedural mode. 10 // Run unit test in OO mode. 11 $GLOBALS['oo-mode'] = true; 14 // Run unit test in procedural mode. 15 $GLOBALS['oo-mode'] = false; 43 * Wrappers around Collator methods to run them in either OO- or procedural mode. 48 return $GLOBALS['oo-mode'] ? Collator::create( $locale ) : collator_create( $locale ); 52 return $GLOBALS['oo-mode'] ? $coll->compare( $str1, $str2 ) : collator_compare( $coll, $str1, $str2 ); 56 return $GLOBALS['oo-mode'] ? $coll->sort( $arr, $sort_flag ) : collator_sort( $coll, $arr, $sort_flag ); 60 return $GLOBALS['oo-mode'] [all...] |
| /PHP_5_5/ext/mbstring/libmbfl/filters/ |
| H A D | mbfilter_tl_jisx0201_jisx0208.c | 44 int mode = ((mbfl_filt_tl_jisx0201_jisx0208_param *)filt->opaque)->mode; local 48 if ((mode & MBFL_FILT_TL_HAN2ZEN_ALL) 52 } else if ((mode & MBFL_FILT_TL_HAN2ZEN_ALPHA) && 56 } else if ((mode & MBFL_FILT_TL_HAN2ZEN_NUMERIC) && 60 } else if ((mode & MBFL_FILT_TL_HAN2ZEN_SPACE) && c == 0x20) { 65 if (mode & 68 if ((mode & MBFL_FILT_TL_HAN2ZEN_KATAKANA) && 69 (mode & MBFL_FILT_TL_HAN2ZEN_GLUE)) { 100 } else if ((mode 274 int mode = ((mbfl_filt_tl_jisx0201_jisx0208_param *)filt->opaque)->mode; local [all...] |
| /PHP_5_5/ext/mbstring/libmbfl/tests/ |
| H A D | conv_kana.c | 32 int mode = 0; local 51 mode |= 0x1; 54 mode |= 0x10; 57 mode |= 0x2; 60 mode |= 0x20; 63 mode |= 0x4; 66 mode |= 0x40; 69 mode |= 0x8; 72 mode |= 0x80; 75 mode | [all...] |
| /PHP_5_5/TSRM/ |
| H A D | tsrm_nw.c | 63 int mode = O_RDONLY; local 66 NXMode_t mode = NX_O_RDONLY; local 81 /* Set pipe mode according to type -- for now allow only "r" or "w" */ 84 mode = O_RDONLY; 86 mode = NX_O_RDONLY; 90 mode = O_WRONLY; 92 mode = NX_O_WRONLY; 98 pipe_handle = pipe_open(filePath, mode); 102 pipe_handle = mkfifo(filePath, mode); 109 err = NXFifoOpen(0, filePath, mode, [all...] |
| H A D | tsrm_virtual_cwd.h | 161 CWD_API FILE *virtual_fopen(const char *path, const char *mode TSRMLS_DC); 163 CWD_API int virtual_creat(const char *path, mode_t mode TSRMLS_DC); 168 CWD_API int virtual_mkdir(const char *pathname, mode_t mode TSRMLS_DC); 172 CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC); 192 CWD_API int virtual_chmod(const char *filename, mode_t mode TSRMLS_DC); 259 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode TSRMLS_CC) 262 #define VCWD_OPEN_MODE(path, flags, mode) virtual_open(path TSRMLS_CC, flags, mode) 263 #define VCWD_CREAT(path, mode) virtual_crea [all...] |
| /PHP_5_5/ext/bz2/ |
| H A D | bz2.c | 62 ZEND_ARG_INFO(0, mode) 195 char *mode, php_stream *innerstream STREAMS_DC TSRMLS_DC) 204 return php_stream_alloc_rel(&php_stream_bz2io_ops, self, 0, mode); 209 char *mode, 221 if (mode[0] == '\0' || (mode[0] != 'w' && mode[0] != 'r' && mode[1] != '\0')) { 236 bz_file = BZ2_bzopen(path_copy, mode); 245 stream = php_stream_open_wrapper(path, mode, option 194 _php_stream_bz2open_from_BZFILE(BZFILE *bz, char *mode, php_stream *innerstream STREAMS_DC TSRMLS_DC) argument 207 _php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument 364 char *mode; /* The mode to open the stream with */ local [all...] |
| H A D | php_bz2.h | 50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC); 51 PHP_BZ2_API php_stream *_php_stream_bz2open_from_BZFILE(BZFILE *bz, char *mode, php_stream *innerstream STREAMS_DC TSRMLS_DC); 53 #define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz), (mode), (innerstream) STREAMS_CC TSRMLS_CC) 54 #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC TSRMLS_CC)
|
| /PHP_5_5/ext/dba/ |
| H A D | dba_db4.c | 85 info->mode = DBA_TRUNC; /* force truncate */ 88 type = info->mode == DBA_READER ? DB_UNKNOWN : 89 info->mode == DBA_TRUNC ? DB_BTREE : 92 gmode = info->mode == DBA_READER ? DB_RDONLY : 93 (info->mode == DBA_CREAT && s) ? DB_CREATE : 94 (info->mode == DBA_CREAT && !s) ? 0 : 95 info->mode == DBA_WRITER ? 0 : 96 info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; 99 info->mode = DBA_CREAT; /* force creation */ 102 type = info->mode [all...] |
| /PHP_5_5/ext/standard/ |
| H A D | php_fopen_wrappers.h | 26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC); 27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| /PHP_5_5/main/ |
| H A D | php_memory_streams.h | 32 #define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC TSRMLS_CC) 33 #define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC TSRMLS_CC) 34 #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) STREAMS_CC TSRMLS_CC) 38 #define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_CC TSRMLS_CC) 39 #define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usag [all...] |
| /PHP_5_5/main/streams/ |
| H A D | mmap.c | 25 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len TSRMLS_DC) argument 31 range.mode = mode;
|
| H A D | php_stream_mmap.h | 54 php_stream_mmap_access_t mode; member in struct:__anon293 70 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len TSRMLS_DC); 71 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len) TSRMLS_CC)
|
| H A D | php_stream_plain_wrapper.h | 30 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS_DC); 31 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 STREAMS_CC TSRMLS_CC) 33 PHPAPI php_stream *_php_stream_fopen_with_path(char *filename, char *mode, char *path, char **opened_path, int options STREAMS_DC TSRMLS_DC); 34 #define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filename), (mode), (path), (opened), 0 STREAMS_CC TSRMLS_CC) 36 PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC TSRMLS_DC); 37 #define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_CC TSRMLS_CC) 39 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, cons [all...] |
| /PHP_5_5/ext/phar/ |
| H A D | dirstream.h | 23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stream_context *context TSRMLS_DC); 27 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS_DC); 36 php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| H A D | tar.h | 43 char mode[8]; /* file mode */ member in struct:_old_tar_header 67 char mode[8]; /* file mode */ member in struct:_tar_header
|