Searched refs:flags (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/PHP_TRUNK/ext/spl/examples/
H A Dcallbackfilteriterator.inc31 private $flags; /**< flags (REPLACE) */
40 * @param flags any of 0, REPLACE
42 public function __construct(Iterator $it, $callback, $mode = self::USE_VALUE, $flags = 0)
47 $this->flags = $flags;
65 if($this->flags & self::REPLACE) {
71 if($this->flags & self::REPLACE) {
77 if($this->flags & self::REPLACE) {
109 /** @return operation flags */
[all...]
/PHP_TRUNK/
H A Dsnapshot4 flags="DISTNAME=$1"
7 ${MAKE:-make} $flags -f build/build.mk snapshot
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c85 if (extra_data != NULL && (extra_data->flags & PCRE_EXTRA_STUDY_DATA) != 0)
99 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
119 (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
137 ((re->flags & PCRE_FIRSTSET) != 0)? (int)re->first_char :
138 ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;
143 (re->flags & PCRE_FIRSTSET) != 0 ? re->first_char : 0;
148 ((re->flags & PCRE_FIRSTSET) != 0) ? 1 :
149 ((re->flags & PCRE_STARTLINE) != 0) ? 2 : 0;
157 (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?
163 (study != NULL && (study->flags
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativePPC_32.c44 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
60 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
65 else if ((flags & REG_DEST) && op == SLJIT_MOV_SB)
75 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
87 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2));
91 return push_inst(compiler, NEG | OERC(flags) | D(dst) | A(src2));
95 return push_inst(compiler, CNTLZW | RC(flags) | S(src2) | A(dst));
98 if (flags & ALT_FORM1) {
103 if (flags & ALT_FORM2) {
108 if (flags
[all...]
H A DsljitNativeSPARC_32.c36 #define ARG2(flags, src2) ((flags & SRC2_IMM) ? IMM(src2) : S2(src2))
38 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
48 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
55 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
56 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
68 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
69 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
78 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
79 return push_inst(compiler, XNOR | (flags
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_sockets.h33 int flags = fcntl(fd, F_GETFL); local
35 if (flags < 0) {
40 flags &= ~O_NONBLOCK;
42 flags |= O_NONBLOCK;
44 return fcntl(fd, F_SETFL, flags);
/PHP_TRUNK/Zend/
H A Dzend_constants.h36 int flags; member in struct:_zend_constant
40 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (flags), module_number)
41 #define REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1, (bval), (flags), module_number)
42 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
43 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1, (dval), (flags), module_number)
44 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constan
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_report.c32 /* {{{ proto bool mysqli_report(int flags)
36 zend_long flags; local
39 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &flags) == FAILURE) {
43 MyG(report_mode) = flags;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigio_win32.h28 uint64_t *flags; member in struct:win32_sigio_watcher_data
/PHP_TRUNK/ext/zip/lib/
H A Dzip_extra_field_api.c39 zip_file_extra_field_delete(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_flags_t flags) argument
43 if ((flags & ZIP_EF_BOTH) == 0) {
48 if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) {
66 de->extra_fields = _zip_ef_delete_by_id(de->extra_fields, ZIP_EXTRA_FIELD_ALL, ef_idx, flags);
72 zip_file_extra_field_delete_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, zip_flags_t flags) argument
76 if ((flags & ZIP_EF_BOTH) == 0) {
81 if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) {
99 de->extra_fields = _zip_ef_delete_by_id(de->extra_fields, ef_id, ef_idx, flags);
105 zip_file_extra_field_get(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_uint16_t *idp, zip_uint16_t *lenp, zip_flags_t flags) argument
113 if ((flags
151 zip_file_extra_field_get_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, zip_uint16_t *lenp, zip_flags_t flags) argument
172 zip_file_extra_fields_count(zip_t *za, zip_uint64_t idx, zip_flags_t flags) argument
200 zip_file_extra_fields_count_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_flags_t flags) argument
228 zip_file_extra_field_set(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, const zip_uint8_t *data, zip_uint16_t len, zip_flags_t flags) argument
[all...]
H A Dzip_file_add.c45 zip_file_add(zip_t *za, const char *name, zip_source_t *source, zip_flags_t flags) argument
52 return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags);
H A Dzip_file_get_comment.c40 zip_file_get_comment(zip_t *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) argument
46 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
49 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
H A Dzip_file_get_external_attributes.c37 zip_file_get_external_attributes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t *opsys, zip_uint32_t *attributes) argument
41 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
H A Dzip_fopen.c39 zip_fopen(zip_t *za, const char *fname, zip_flags_t flags) argument
43 if ((idx=zip_name_locate(za, fname, flags)) < 0)
46 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, za->default_password);
H A Dzip_fopen_encrypted.c39 zip_fopen_encrypted(zip_t *za, const char *fname, zip_flags_t flags, const char *password) argument
43 if ((idx=zip_name_locate(za, fname, flags)) < 0)
46 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, password);
H A Dzip_fopen_index.c43 zip_fopen_index(zip_t *za, zip_uint64_t index, zip_flags_t flags) argument
45 return zip_fopen_index_encrypted(za, index, flags, za->default_password);
H A Dzip_get_archive_comment.c41 zip_get_archive_comment(zip_t *za, int *lenp, zip_flags_t flags) argument
47 if ((flags & ZIP_FL_UNCHANGED) || (za->comment_changes == NULL))
52 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
H A Dzip_get_archive_flag.c39 zip_get_archive_flag(zip_t *za, zip_flags_t flag, zip_flags_t flags) argument
43 fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags;
H A Dzip_get_file_comment.c40 zip_get_file_comment(zip_t *za, zip_uint64_t idx, int *lenp, int flags) argument
45 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) {
H A Dzip_get_name.c41 zip_get_name(zip_t *za, zip_uint64_t idx, zip_flags_t flags) argument
43 return _zip_get_name(za, idx, flags, &za->error);
48 _zip_get_name(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error) argument
53 if ((de=_zip_get_dirent(za, idx, flags, error)) == NULL)
56 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL)
H A Dzip_get_num_entries.c39 zip_get_num_entries(zip_t *za, zip_flags_t flags) argument
46 if (flags & ZIP_FL_UNCHANGED) {
H A Dzip_name_locate.c44 zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags) argument
46 return _zip_name_locate(za, fname, flags, &za->error);
51 _zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags, zip_error_t *error) argument
65 cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp;
68 fn = _zip_get_name(za, i, flags, error);
74 if (flags & ZIP_FL_NODIR) {
H A Dzip_source_zip.c43 zip_flags_t flags, zip_uint64_t start, zip_int64_t len)
54 flags |= ZIP_FL_COMPRESSED;
56 flags &= ~ZIP_FL_COMPRESSED;
58 return _zip_source_zip_new(za, srcza, srcidx, flags, start, (zip_uint64_t)len, NULL);
42 zip_source_zip(zip_t *za, zip_t *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_int64_t len) argument
H A Dzip_stat.c39 zip_stat(zip_t *za, const char *fname, zip_flags_t flags, zip_stat_t *st) argument
43 if ((idx=zip_name_locate(za, fname, flags)) < 0)
46 return zip_stat_index(za, (zip_uint64_t)idx, flags, st);
/PHP_TRUNK/win32/
H A Dfnmatch.c59 PHPAPI int fnmatch(const char *pattern, const char *string, int flags) argument
67 if ((flags & FNM_LEADING_DIR) && *string == '/')
73 if (*string == '/' && (flags & FNM_PATHNAME))
75 if (*string == '.' && (flags & FNM_PERIOD) &&
77 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
87 if (*string == '.' && (flags & FNM_PERIOD) &&
89 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
94 if (flags & FNM_PATHNAME)
95 return ((flags & FNM_LEADING_DIR) ||
100 else if (c == '/' && flags
153 rangematch(const char *pattern, char test, int flags) argument
[all...]

Completed in 80 milliseconds

1234567891011>>