/PHP-5.5/main/streams/ |
H A D | plain_wrapper.c | 60 int flags; in php_stream_parse_fopen_modes() local 64 flags = 0; in php_stream_parse_fopen_modes() 76 flags = O_CREAT; in php_stream_parse_fopen_modes() 84 flags |= O_RDWR; in php_stream_parse_fopen_modes() 85 } else if (flags) { in php_stream_parse_fopen_modes() 86 flags |= O_WRONLY; in php_stream_parse_fopen_modes() 88 flags |= O_RDONLY; in php_stream_parse_fopen_modes() 99 flags |= _O_TEXT; in php_stream_parse_fopen_modes() 101 flags |= O_BINARY; in php_stream_parse_fopen_modes() 105 *open_flags = flags; in php_stream_parse_fopen_modes() [all …]
|
H A D | xp_socket.c | 261 ret = recv(sock->socket, buf, buflen, flags); in sock_recvfrom() 270 int oldmode, flags; in php_sockop_set_option() local 349 flags = 0; in php_sockop_set_option() 351 flags |= MSG_OOB; in php_sockop_set_option() 355 flags, in php_sockop_set_option() 367 flags = 0; in php_sockop_set_option() 369 flags |= MSG_OOB; in php_sockop_set_option() 372 flags |= MSG_PEEK; in php_sockop_set_option() 376 flags, in php_sockop_set_option() 780 const char *persistent_id, int options, int flags, in php_stream_generic_socket_factory() argument [all …]
|
/PHP-5.5/ext/standard/ |
H A D | html.c | 930 int flags, in traverse_for_entities() argument 937 int doctype = flags & ENT_HTML_DOC_TYPE_MASK; in traverse_for_entities() 1038 int document_type = flags & ENT_HTML_DOC_TYPE_MASK; in unescape_inverse_map() 1115 inverse_map = unescape_inverse_map(all, flags); in php_unescape_html_entities() 1219 int doctype = flags & ENT_HTML_DOC_TYPE_MASK; in php_escape_html_entities_ex() 1243 inv_map = unescape_inverse_map(1, flags); in php_escape_html_entities_ex() 1286 if (flags & ENT_HTML_IGNORE_ERRORS) { in php_escape_html_entities_ex() 1288 } else if (flags & ENT_HTML_SUBSTITUTE_ERRORS) { in php_escape_html_entities_ex() 1443 long flags = ENT_COMPAT; in php_html_entities() local 1601 flags = ENT_COMPAT; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/sapi/cli/ |
H A D | php_http_parser.c | 295 enum flags enum 392 parser->flags = 0; in php_http_parser_execute() 421 parser->flags = 0; in php_http_parser_execute() 570 parser->flags = 0; in php_http_parser_execute() 1223 parser->flags |= F_UPGRADE; in php_http_parser_execute() 1352 parser->flags |= F_CHUNKED; in php_http_parser_execute() 1365 if (parser->flags & F_TRAILING) { in php_http_parser_execute() 1390 parser->flags |= F_SKIPBODY; in php_http_parser_execute() 1404 if (parser->flags & F_SKIPBODY) { in php_http_parser_execute() 1507 parser->flags |= F_TRAILING; in php_http_parser_execute() [all …]
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_fdopen.c | 41 zip_fdopen(int fd_orig, int flags, int *zep) in zip_fdopen() argument 61 return _zip_open(NULL, fp, flags, ZIP_AFL_RDONLY, zep); in zip_fdopen()
|
H A D | zip_get_archive_comment.c | 41 zip_get_archive_comment(struct zip *za, int *lenp, int flags) in zip_get_archive_comment() argument 43 if ((flags & ZIP_FL_UNCHANGED) in zip_get_archive_comment()
|
H A D | zip_stat_index.c | 41 zip_stat_index(struct zip *za, zip_uint64_t index, int flags, in zip_stat_index() argument 51 if ((name=zip_get_name(za, index, flags)) == NULL) in zip_stat_index() 55 if ((flags & ZIP_FL_UNCHANGED) == 0 in zip_stat_index()
|
H A D | zip_get_file_comment.c | 41 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) in zip_get_file_comment() argument 48 if ((flags & ZIP_FL_UNCHANGED) in zip_get_file_comment()
|
H A D | zip_get_file_extra.c | 41 zip_get_file_extra(struct zip *za, zip_uint64_t idx, int *lenp, int flags) in zip_get_file_extra() argument 48 if ((flags & ZIP_FL_UNCHANGED) in zip_get_file_extra()
|
/PHP-5.5/ext/zlib/ |
H A D | zlib.c | 102 int flags = Z_SYNC_FLUSH; in php_zlib_output_handler_ex() local 152 flags = Z_FINISH; in php_zlib_output_handler_ex() 154 flags = Z_FULL_FLUSH; in php_zlib_output_handler_ex() 159 if (flags == Z_FINISH) { in php_zlib_output_handler_ex() 215 int flags; in php_zlib_output_handler() local 464 long flags = 0; in PHP_FUNCTION() local 501 ctx.op = flags; in PHP_FUNCTION() 561 flags |= USE_PATH; in PHP_FUNCTION() 601 flags |= USE_PATH; in PHP_FUNCTION() 629 flags |= USE_PATH; in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativeMIPS_32.c | 42 if (flags & SRC2_IMM) { \ 56 if (flags & SRC2_IMM) { \ 134 if (SLJIT_UNLIKELY(flags & UNUSED_DEST)) { in emit_single_op() 154 if (flags & SRC2_IMM) { in emit_single_op() 198 if (flags & SRC2_IMM) { in emit_single_op() 230 flags &= ~SRC2_IMM; in emit_single_op() 233 if (flags & SRC2_IMM) { in emit_single_op() 274 if ((flags & SRC2_IMM) && src2 == SIMM_MIN) { in emit_single_op() 277 flags &= ~SRC2_IMM; in emit_single_op() 280 if (flags & SRC2_IMM) { in emit_single_op() [all …]
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | print.c | 78 file_fmttime(uint64_t v, int flags, char *buf) in file_fmttime() argument 84 if (flags & FILE_T_WINDOWS) { in file_fmttime() 90 if (flags & FILE_T_LOCAL) { in file_fmttime()
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_multisort_error.phpt | 17 echo "\n-- Testing array_multisort() function with repeated flags --\n"; 21 echo "\n-- Testing array_multisort() function with repeated flags --\n"; 35 -- Testing array_multisort() function with repeated flags -- 40 -- Testing array_multisort() function with repeated flags --
|
/PHP-5.5/ext/spl/examples/ |
H A D | recursivedualiterator.inc | 25 * @param flags iteration flags 28 $flags = 0x33 /*DualIterator::DEFAULT_FLAGS*/) 30 parent::__construct($lhs, $rhs, $flags);
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_olechar.c | 36 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; in php_com_string_to_olestring() local 41 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 0); in php_com_string_to_olestring() 52 ok = MultiByteToWideChar(codepage, flags, string, string_len, olestring, string_len); in php_com_string_to_olestring()
|
/PHP-5.5/tests/output/ |
H A D | ob_017.phpt | 8 function oh($str, $flags) { 10 $stati[] = "$flags: $str";
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 19 $flags= 0; 26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 47 $gflags |= $flags;
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | phar_test.inc | 19 $flags= 0; 26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 47 $gflags |= $flags;
|
/PHP-5.5/ext/spl/ |
H A D | spl_functions.h | 71 #define SPL_ME(class_name, function_name, arg_info, flags) \ argument 72 PHP_ME( spl_ ## class_name, function_name, arg_info, flags) 80 #define SPL_MA(class_name, function_name, alias_class, alias_function, arg_info, flags) \ argument 81 PHP_MALIAS(spl_ ## alias_class, function_name, alias_function, arg_info, flags)
|
/PHP-5.5/ext/pcre/ |
H A D | php_pcre.h | 58 zval *subpats, int global, int use_flags, long flags, long start_offset TSRMLS_DC); 64 long limit_val, long flags TSRMLS_DC); 67 long flags TSRMLS_DC);
|
/PHP-5.5/main/ |
H A D | php_output.h | 121 …ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRMLS_DC); 132 int flags; member 147 int flags; 230 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags TSRMLS_DC); 231 …size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags TSRMLS_DC); 233 …put_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int flags TSRMLS_DC); 234 …ize_t name_len, php_output_handler_context_func_t handler, size_t chunk_size, int flags TSRMLS_DC);
|
/PHP-5.5/ext/spl/tests/ |
H A D | array_017.phpt | 12 function __construct($ar, $flags = 0) 15 parent::__construct($ar, $flags); 27 function setFlags($flags) 29 echo __METHOD__ . "($flags)\n"; 30 ArrayIterator::setFlags($flags); 70 function setFlags($flags) 73 ArrayObject::setFlags($flags); 86 function check($obj, $flags) 90 $obj->setFlags($flags); 106 $obj->setFlags($flags | 2); [all …]
|
H A D | bug41691.phpt | 7 public function __construct($dummy, $flags) { 8 parent::__construct($this, $flags);
|
/PHP-5.5/ext/zip/ |
H A D | php_zip.c | 537 if ((GLOB_AVAILABLE_FLAGS & flags) != flags) { in php_zip_glob() 1503 long flags = 0; in ZIPARCHIVE_METHOD() local 1667 long flags = 0; in php_zip_add_from_pattern() local 1888 long flags = 0; in ZIPARCHIVE_METHOD() local 1914 long index, flags = 0; in ZIPARCHIVE_METHOD() local 1944 long flags = 0; in ZIPARCHIVE_METHOD() local 2033 long flags = 0; in ZIPARCHIVE_METHOD() local 2122 long flags = 0; in ZIPARCHIVE_METHOD() local 2158 long index, flags = 0; in ZIPARCHIVE_METHOD() local 2520 long flags = 0; in php_zip_get_from() local [all …]
|
/PHP-5.5/ext/filter/ |
H A D | logical_filters.c | 184 option_flags = flags; in php_filter_int() 373 …if ((flags & FILTER_FLAG_ALLOW_THOUSAND) && (*str == tsd_sep[0] || *str == tsd_sep[1] || *str == t… in php_filter_float() 453 php_filter_url(value, flags, option_array, charset TSRMLS_CC); in php_filter_validate_url() 493 …((flags & FILTER_FLAG_PATH_REQUIRED) && url->path == NULL) || ((flags & FILTER_FLAG_QUERY_REQUIRED… in php_filter_validate_url() 689 if ((flags & FILTER_FLAG_IPV4) && (flags & FILTER_FLAG_IPV6)) { in php_filter_validate_ip() 691 } else if ((flags & FILTER_FLAG_IPV4) && mode == FORMAT_IPV6) { in php_filter_validate_ip() 693 } else if ((flags & FILTER_FLAG_IPV6) && mode == FORMAT_IPV4) { in php_filter_validate_ip() 704 if (flags & FILTER_FLAG_NO_PRIV_RANGE) { in php_filter_validate_ip() 714 if (flags & FILTER_FLAG_NO_RES_RANGE) { in php_filter_validate_ip() 736 if (flags & FILTER_FLAG_NO_PRIV_RANGE) { in php_filter_validate_ip() [all …]
|