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

12345

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dtar.h55 char mode[8]; member in struct:record::header
/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/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/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/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
/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/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/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);
413 static void _php_finfo_get_type(INTERNAL_FUNCTION_PARAMETERS, int mode, int mimetype_emu) /* {{{ */ argument
437 mode = FILEINFO_MODE_FILE;
441 mode = FILEINFO_MODE_STREAM;
473 switch (mode) {
/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c103 ZEND_ARG_INFO(0, mode)
132 ZEND_ARG_INFO(0, mode)
140 ZEND_ARG_INFO(0, mode)
153 ZEND_ARG_INFO(0, mode)
161 ZEND_ARG_INFO(0, mode)
173 ZEND_ARG_INFO(0, mode)
181 ZEND_ARG_INFO(0, mode)
189 ZEND_ARG_INFO(0, mode)
197 ZEND_ARG_INFO(0, mode)
331 #define XTYPE(xtype, mode) { \
609 zend_long mode; local
745 zend_long mode, resumepos=0; local
789 zend_long mode, resumepos=0, ret; local
859 zend_long mode, resumepos=0; local
923 zend_long mode, resumepos=0; local
1029 zend_long mode, startpos=0; local
1077 zend_long mode, startpos=0; local
1130 zend_long mode, startpos=0; local
1183 zend_long mode, startpos=0, ret; local
[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, int 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, 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
264 php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode) argument
[all...]
/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/mysqlnd/
H A Dmysqlnd_debug.c499 MYSQLND_METHOD(mysqlnd_debug, set_mode)(MYSQLND_DEBUG * self, const char * const mode)
504 mode_len = mode? strlen(mode) : 0;
518 switch (mode[i]) {
524 if (mode[i] == 'a' || mode[i] == 'A') {
527 if (i + 1 < mode_len && mode[i+1] == ',') {
530 if (i+4 < mode_len && mode[i+3] == ':' && (mode[i+4] == '\\' || mode[
727 _mysqlnd_debug(const char * mode) argument
[all...]
/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");
/PHP_TRUNK/ext/standard/
H A Dexec.c172 static void php_exec_ex(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ argument
179 if (mode) {
194 ret = php_exec(mode, cmd, NULL, return_value);
H A Dmicrotime.c53 static void _php_gettimeofday(INTERNAL_FUNCTION_PARAMETERS, int mode) argument
70 if (mode) {
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c203 php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC)
212 if (strncmp(mode,"r", strlen("r")) != 0) {
235 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
254 const char *mode,
288 if (path_len >= MAXPATHLEN || mode[0] != 'r') {
313 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode);
252 php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **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_operation_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:__anon272
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);
71 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len))

Completed in 28 milliseconds

12345