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

12345

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_pixelate.c3 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode) argument
12 switch (mode) {
H A Dgd_crop.c100 * Automatic croping of the src image using the given mode
106 * mode - crop mode
114 gdImagePtr gdImageCropAuto(gdImagePtr im, const unsigned int mode) argument
128 switch (mode) {
/PHP_TRUNK/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_TRUNK/ext/intl/idn/
H A Didn.c114 static int php_intl_idn_check_status(UErrorCode err, const char *msg, int mode) argument
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) argument
132 php_intl_idn_check_status(U_ILLEGAL_ARGUMENT_ERROR, msg, mode);
137 const char *domain, int32_t domain_len, uint32_t option, int mode, zval *idna_info)
149 mode) == FAILURE) {
154 if (mode == INTL_IDN_TO_ASCII) {
162 mode) == FAILURE) {
205 const char *domain, int32_t domain_len, uint32_t option, int mode)
232 if (mode
136 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int32_t domain_len, uint32_t option, int mode, zval *idna_info) argument
204 php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int32_t domain_len, uint32_t option, int mode) argument
264 php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode) argument
[all...]
/PHP_TRUNK/ext/mbstring/libmbfl/filters/
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...]
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
/PHP_TRUNK/ext/phar/
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
H A Ddirstream.c303 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) /* {{{ */ argument
314 if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) {
411 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context) /* {{{ */ argument
/PHP_TRUNK/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.h36 unsigned short mode; member in struct:ipc_perm
105 TSRM_API int tsrm_win32_access(const char *pathname, int mode);
/PHP_TRUNK/ext/mbstring/
H A Dphp_unicode.c306 int mode = 0; local
312 if (mode) {
317 mode = 0;
321 mode = 1;
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c161 char *mode = "cbc"; local
177 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), ZEND_STRL("mode")))) {
179 mode = Z_STRVAL_P(tmpzval);
181 php_error_docref(NULL, E_WARNING, "mode is not a string, ignoring");
210 mcrypt_module = mcrypt_module_open((char *)cipher, algo_dir, mode, mode_dir);
/PHP_TRUNK/ext/standard/
H A Dmicrotime.c53 static void _php_gettimeofday(INTERNAL_FUNCTION_PARAMETERS, int mode) argument
70 if (mode) {
H A Dexec.c172 static void php_exec_ex(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ argument
179 if (mode) {
198 ret = php_exec(mode, cmd, NULL, return_value);
/PHP_TRUNK/ext/dba/libflatfile/
H A Dflatfile.c50 int flatfile_store(flatfile *dba, datum key_datum, datum value_datum, int mode) { argument
51 if (mode == FLATFILE_INSERT) {
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c342 php_error_docref(NULL, E_WARNING, "Invalid mode '%pd'.", options);
418 static void _php_finfo_get_type(INTERNAL_FUNCTION_PARAMETERS, int mode, int mimetype_emu) /* {{{ */ argument
442 mode = FILEINFO_MODE_FILE;
446 mode = FILEINFO_MODE_STREAM;
480 switch (mode) {
/PHP_TRUNK/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) /* {{{ */ argument
41 ini_entry->modifiable = mode;
79 int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode) /* {{{ */ argument
93 if (fpm_php_zend_ini_alter_master(name, name_len, value, value_len, mode, PHP_INI_STAGE_ACTIVATE) == FAILURE) {
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c204 php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC)
213 if (strncmp(mode,"r", strlen("r")) != 0) {
236 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
255 const char *mode,
289 if (path_len >= MAXPATHLEN || mode[0] != 'r') {
314 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
253 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) argument
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c113 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, argument
120 if (strchr(mode, '+')) {
133 innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
141 self->gz_file = gzdopen(dup(fd), mode);
144 stream = php_stream_alloc_rel(&php_stream_gzio_ops, self, 0, mode);
/PHP_TRUNK/main/streams/
H A Dmmap.c25 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) argument
31 range.mode = mode;
H A Dphp_stream_mmap.h54 php_stream_mmap_access_t mode; member in struct:__anon3
70 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);
71 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len))
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dtar.h55 char mode[8]; member in struct:record::header
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_extension.c288 int mode = CONST_CS | CONST_PERSISTENT; /* CONST_PERSISTENT is ok here */ local
301 mode &= ~CONST_CS;
317 php_com_import_typelib(pTL, mode, COMG(code_page));
/PHP_TRUNK/ext/shmop/
H A Dshmop.c52 ZEND_ARG_INFO(0, mode)
145 /* {{{ proto int shmop_open (int key, string flags, int mode, int size)
149 zend_long key, mode, size; local
155 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lsll", &key, &flags, &flags_len, &mode, &size) == FAILURE) {
168 shmop->shmflg |= mode;
190 php_error_docref(NULL, E_WARNING, "invalid access mode");

Completed in 37 milliseconds

12345