Searched defs:mode (Results 1 - 25 of 101) sorted by relevance

12345

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_php.c26 static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_value, int new_value_length, int mode, int stage TSRMLS_DC) /* {{{ */ argument
42 ini_entry->modifiable = mode;
80 int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode) /* {{{ */ argument
95 if (fpm_php_zend_ini_alter_master(name, name_len+1, value, value_len, mode, PHP_INI_STAGE_ACTIVATE TSRMLS_CC) == FAILURE) {
/PHP_5_4/ext/fileinfo/libmagic/
H A Dtar.h55 char mode[8]; member in struct:record::header
/PHP_5_4/ext/gd/libgd/
H A Dgd_pixelate.c3 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode) argument
12 switch (mode) {
/PHP_5_4/ext/intl/idn/
H A Didn.c114 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_4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_tl_jisx0201_jisx0208.c44 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...]
H A Dmbfilter_tl_jisx0201_jisx0208.h74 int mode; member in struct:_mbfl_filt_tl_jisx0201_jisx0208_param
H A Dmbfilter_sjis_mac.c283 int c1, c2, s1, s2, mode; local
536 mode = (filter->cache & 0xf0000) >> 16;
541 if (mode == 0x1) {
563 } else if (mode == 0x2) {
571 } else if (mode == 0x4) {
585 mode = (filter->cache & 0xf0000) >> 16;
590 if (mode == 0x2) {
617 } else if (mode == 0x4) {
631 mode = (filter->cache & 0xf0000) >> 16;
636 if (mode
[all...]
/PHP_5_4/ext/mbstring/libmbfl/tests/
H A Dconv_kana.c32 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_4/ext/zip/
H A Dzip_stream.c188 php_stream *php_stream_zip_open(char *filename, char *path, char *mode STREAMS_DC TSRMLS_DC)
197 if (strncmp(mode,"r", strlen("r")) != 0) {
220 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
239 char *mode,
274 if (path_len >= MAXPATHLEN || mode[0] != 'r') {
299 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
237 php_stream_zip_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
/PHP_5_4/ext/phar/
H A Ddirstream.c318 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) /* {{{ */ argument
330 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
431 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stream_context *context TSRMLS_DC) /* {{{ */ argument
H A Dtar.h43 char mode[8]; /* file mode */ member in struct:_old_tar_header
67 char mode[8]; /* file mode */ member in struct:_tar_header
/PHP_5_4/ext/shmop/
H A Dshmop.c52 ZEND_ARG_INFO(0, mode)
155 /* {{{ proto int shmop_open (int key, string flags, int mode, int size)
159 long key, mode, size; local
166 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsll", &key, &flags, &flags_len, &mode, &size) == FAILURE) {
179 shmop->shmflg |= mode;
201 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid access mode");
/PHP_5_4/ext/standard/
H A Dexec.c171 static void php_exec_ex(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ argument
178 if (mode) {
193 ret = php_exec(mode, cmd, NULL, return_value TSRMLS_CC);
H A Dmicrotime.c53 static void _php_gettimeofday(INTERNAL_FUNCTION_PARAMETERS, int mode) argument
70 if (mode) {
H A Dphp_fopen_wrapper.c160 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument
184 if (strpbrk(mode, "wa+")) {
193 if (strpbrk(mode, "wa+")) {
309 if (strchr(mode, 'r') || strchr(mode, '+')) {
312 if (strchr(mode, 'w') || strchr(mode, '+') || strchr(mode, 'a')) {
322 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) {
370 stream = php_stream_fopen_from_file(file, mode);
[all...]
/PHP_5_4/ext/zlib/
H A Dzlib_fopen_wrapper.c109 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, argument
116 if (strchr(mode, '+')) {
129 innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
137 self->gz_file = gzdopen(dup(fd), mode);
140 stream = php_stream_alloc_rel(&php_stream_gzio_ops, self, 0, mode);
/PHP_5_4/main/streams/
H A Dcast.c49 FILE *fopencookie(void *cookie, const char *mode, COOKIE_IO_FUNCTIONS_T *funcs) argument
161 const char *cur_mode = stream->mode;
174 /* x is allowed (at least by glibc & compat), but not as the 1st mode
178 /* assume current mode has at most length 4 (e.g. wbn+) */
354 PHPAPI FILE * _php_stream_open_wrapper_as_file(char *path, char *mode, int options, char **opened_path STREAMS_DC TSRMLS_DC) argument
359 stream = php_stream_open_wrapper_rel(path, mode, options|STREAM_WILL_CAST, opened_path);
H A Dglob_wrapper.c209 static php_stream *php_glob_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, argument
260 return php_stream_alloc(&php_glob_stream_ops, pglob, 0, mode);
H A Dmmap.c25 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 Dphp_stream_mmap.h54 php_stream_mmap_access_t mode; member in struct:__anon309
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)
/PHP_5_4/TSRM/
H A Dtsrm_nw.c63 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 Dtsrm_win32.h33 unsigned short mode; member in struct:ipc_perm
101 TSRM_API int tsrm_win32_access(const char *pathname, int mode TSRMLS_DC);
/PHP_5_4/ext/calendar/
H A Dcalendar.c113 ZEND_ARG_INFO(0, mode)
118 ZEND_ARG_INFO(0, mode)
673 /* {{{ proto mixed jddayofweek(int juliandaycount [, int mode])
677 long julday, mode = CAL_DOW_DAYNO; local
681 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &julday, &mode) == FAILURE) {
689 switch (mode) {
704 /* {{{ proto string jdmonthname(int juliandaycount, int mode)
708 long julday, mode; local
712 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &julday, &mode) == FAILURE) {
716 switch (mode) {
[all...]
/PHP_5_4/ext/com_dotnet/
H A Dcom_extension.c283 int mode = CONST_CS | CONST_PERSISTENT; /* CONST_PERSISTENT is ok here */ local
296 mode &= ~CONST_CS;
312 php_com_import_typelib(pTL, mode, COMG(code_page) TSRMLS_CC);
/PHP_5_4/ext/mbstring/
H A Dphp_unicode.c306 int mode = 0; local
312 if (mode) {
317 mode = 0;
321 mode = 1;

Completed in 36 milliseconds

12345