Home
last modified time | relevance | path

Searched refs:flags (Results 51 – 75 of 458) sorted by relevance

12345678910>>...19

/PHP-5.5/ext/fileinfo/libmagic/
H A Delfclass.h38 flags |= FLAGS_IS_CORE;
43 fsize, &flags) == -1)
53 fsize, &flags, elf_getu16(swap, elfhdr.e_shnum))
62 fsize, &flags, elf_getu16(swap, elfhdr.e_machine),
/PHP-5.5/ext/filter/tests/
H A D048.phpt26 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX))));
29 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX))));
32 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX))));
35 var_dump(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)));
H A D035.phpt14 $ret = filter_input(INPUT_GET, 'a', FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
17 $ret = filter_input(INPUT_GET, 'ar', FILTER_VALIDATE_INT, array('flags'=>FILTER_REQUIRE_ARRAY));
20 $ret = filter_input(INPUT_GET, 'ar', FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FI…
H A D032.phpt18 'flags' => FILTER_FORCE_ARRAY,
23 'flags' => FILTER_REQUIRE_SCALAR,
29 'flags' => FILTER_FORCE_ARRAY,
H A Dbug7586.phpt17 'component' => array('flags' => FILTER_FORCE_ARRAY,
22 'flags' => FILTER_REQUIRE_SCALAR,
28 'flags' => FILTER_FORCE_ARRAY,
/PHP-5.5/main/streams/
H A Dphp_stream_transport.h31 const char *persistent_id, int options, int flags,
50 int flags, const char *persistent_id,
57 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument
58 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco…
104 long flags, void **addr, socklen_t *addrlen,
110 long flags, void *addr, socklen_t addrlen TSRMLS_DC);
151 long flags; member
H A Dtransports.c53 int flags, const char *persistent_id, in _php_stream_xport_create() argument
139 if ((flags & STREAM_XPORT_SERVER) == 0) { in _php_stream_xport_create()
144 flags & STREAM_XPORT_CONNECT_ASYNC ? 1 : 0, in _php_stream_xport_create()
155 if (flags & STREAM_XPORT_BIND) { in _php_stream_xport_create()
159 } else if (flags & STREAM_XPORT_LISTEN) { in _php_stream_xport_create()
407 if (flags == 0 && addr == NULL) { in php_stream_xport_recvfrom()
416 oob = (flags & STREAM_OOB) == STREAM_OOB; in php_stream_xport_recvfrom()
447 param.inputs.flags = flags; in php_stream_xport_recvfrom()
475 if (flags == 0 && addr == NULL) { in php_stream_xport_sendto()
480 oob = (flags & STREAM_OOB) == STREAM_OOB; in php_stream_xport_sendto()
[all …]
H A Dcast.c202 int flags = castas & PHP_STREAM_CAST_MASK; in _php_stream_cast() local
208 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast()
277 } else if (flags & PHP_STREAM_CAST_TRY_HARD) { in _php_stream_cast()
287 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err); in _php_stream_cast()
294 if ((flags & PHP_STREAM_CAST_RELEASE)) { in _php_stream_cast()
331 (flags & PHP_STREAM_CAST_INTERNAL) == 0 in _php_stream_cast()
344 if (flags & PHP_STREAM_CAST_RELEASE) { in _php_stream_cast()
377 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STRE… in _php_stream_make_seekable()
384 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable()
391 if (flags & PHP_STREAM_PREFER_STDIO) { in _php_stream_make_seekable()
/PHP-5.5/sapi/fpm/fpm/
H A Dzlog.h8 #define zlog(flags,...) zlog_ex(__func__, __LINE__, flags, __VA_ARGS__) argument
20 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...)
/PHP-5.5/ext/spl/internal/
H A Drecursiveregexiterator.inc30 * @param flags special flags (self::USE_KEY)
31 * @param preg_flags global PREG_* flags, see preg_match(),
34 function __construct(RecursiveIterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) {
35 parent::__construct($it, $regex, $mode, $flags, $preg_flags);
H A Drecursivecachingiterator.inc28 * @param flags Bitmask:
32 function __construct(RecursiveIterator $it, $flags = self::CALL_TOSTRING)
34 parent::__construct($it, $flags);
60 $this->getChildren = $ref->newInstance($child, $this->flags);
64 if (!$this->flags & self::CATCH_GET_CHILD)
/PHP-5.5/ext/zip/lib/
H A Dzip_open.c61 zip_open(const char *fn, int flags, int *zep) in zip_open() argument
65 if (flags & ZIP_OVERWRITE) { in zip_open()
69 switch (_zip_file_exists(fn, flags, zep)) { in zip_open()
71 if (!(flags & ZIP_OVERWRITE)) { in zip_open()
85 return _zip_open(fn, fp, flags, 0, zep); in zip_open()
138 za->ch_flags = za->flags; in _zip_open()
170 int flags, struct zip_error *error) in _zip_readcdir() argument
379 za->flags |= ZIP_AFL_TORRENT; in _zip_check_torrentzip()
491 if (flags & ZIP_CREATE || flags & ZIP_OVERWRITE) in _zip_file_exists()
498 else if ((flags & ZIP_EXCL)) { in _zip_file_exists()
[all …]
H A Dzip_fopen_index.c45 zip_fopen_index(struct zip *za, zip_uint64_t fileno, int flags) in zip_fopen_index() argument
47 return zip_fopen_index_encrypted(za, fileno, flags, za->default_password); in zip_fopen_index()
H A Dzip_get_num_entries.c41 zip_get_num_entries(struct zip *za, int flags) in zip_get_num_entries() argument
46 if (flags & ZIP_FL_UNCHANGED) { in zip_get_num_entries()
/PHP-5.5/ext/spl/tests/
H A DSplDoublyLinkedList_serialization.phpt22 ["flags":"SplDoublyLinkedList":private]=>
34 ["flags":"SplDoublyLinkedList":private]=>
45 ["flags":"SplDoublyLinkedList":private]=>
57 ["flags":"SplDoublyLinkedList":private]=>
H A Ddit_002.phpt15 foreach ($classes as $class => $flags) {
20 if ($flags)
23 $flags = array(
28 foreach($flags as $flag => $isstring) {
/PHP-5.5/ext/spl/
H A Dspl_heap.c65 int flags; member
75 int flags; member
85 int flags; member
234 heap->flags = 0; in spl_ptr_heap_init()
326 heap->flags = from->flags; in spl_ptr_heap_clone()
399 intern->flags = 0; in spl_heap_object_new_ex()
419 intern->flags = other->flags; in spl_heap_object_new_ex()
812 intern->heap->flags = intern->heap->flags & ~SPL_HEAP_CORRUPTED; in SPL_METHOD()
1119 iterator->flags = heap_object->flags; in spl_heap_get_iterator()
1143 iterator->flags = heap_object->flags; in spl_pqueue_get_iterator()
[all …]
/PHP-5.5/ext/standard/
H A Ddir.c234 dirp->flags |= PHP_STREAM_FLAG_NO_FCLOSE; in _php_do_opendir()
275 if (!(dirp->flags & PHP_STREAM_FLAG_IS_DIR)) { in PHP_FUNCTION()
389 if (!(dirp->flags & PHP_STREAM_FLAG_IS_DIR)) { in PHP_FUNCTION()
408 if (!(dirp->flags & PHP_STREAM_FLAG_IS_DIR)) { in PHP_NAMED_FUNCTION()
433 long flags = 0; in PHP_FUNCTION() local
448 if ((GLOB_AVAILABLE_FLAGS & flags) != flags) { in PHP_FUNCTION()
474 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in PHP_FUNCTION()
526 if (flags & GLOB_ONLYDIR) { in PHP_FUNCTION()
556 long flags = 0; in PHP_FUNCTION() local
575 if (flags == PHP_SCANDIR_SORT_ASCENDING) { in PHP_FUNCTION()
[all …]
H A Dhtml.h57 …_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charse…
58 …tities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charse…
59 …_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charse…
/PHP-5.5/
H A Dsnapshot4 flags="DISTNAME=$1"
7 ${MAKE:-make} $flags -f build/build.mk snapshot
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_fetch_field_flags.phpt2 mysqli_fetch_field() - flags/field->flags
24 $flags = array(
46 $flags[MYSQLI_ON_UPDATE_NOW] = 'ON_UPDATE_NOW';
48 $flags[8192] = 'ON_UPDATE_NOW';
50 krsort($flags);
89 function checkFlags($reported_flags, $expected_flags, $flags) {
91 foreach ($flags as $code => $name) {
183 …ssing_flags, $unexpected_flags, $flags_found) = checkFlags($field->flags, $expected_flags, $flags);
189 printf("[007] The flags '%s' have not been reported for %s, found '%s'\n",
223 …$unexpected_flags, $flags_found) = checkFlags($field->flags, $expected_flags[$field->name], $flags
[all …]
H A Dconnect.inc85 …* @param enable_env_flags Enable setting of connection flags through env(MYSQL_TEST_CONNECT_FLAGS…
90 $flags = ($enable_env_flags) ? $connect_flags : false;
92 if ($flags !== false) {
94 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags))
106 * @param enable_env_flags Enable setting of connection flags through env(MYSQL_TEST_CONNECT_FLAGS)
108 …function my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags = 0, $en…
112 $flags & $connect_flags;
114 return mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags);
121 $flags = ($enable_env_flags) ? $connect_flags : false;
123 if ($flags !== false) {
[all …]
/PHP-5.5/ext/sockets/
H A Dsendrecvmsg.c42 inline ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags) in recvmsg() argument
57 msg->dwFlags = (DWORD)flags; in recvmsg()
62 inline ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags) in sendmsg() argument
65 return WSASendMsg((SOCKET)sockfd, (struct msghdr*)msg, (DWORD)flags, &sent, NULL, NULL) == 0 in sendmsg()
168 long flags = 0; in PHP_FUNCTION() local
180 LONG_CHECK_VALID_INT(flags); in PHP_FUNCTION()
193 res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
210 long flags = 0; in PHP_FUNCTION() local
219 &zsocket, &zmsg, &flags) == FAILURE) { in PHP_FUNCTION()
223 LONG_CHECK_VALID_INT(flags); in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/mysql/tests/
H A Dconnect.inc24 …function my_mysql_connect($host, $user, $passwd, $db, $port, $socket, $flags = NULL, $persistent =…
27 $flags = ($flags === NULL) ? $connect_flags : $flags;
35 $link = mysql_pconnect($host, $user, $passwd, $flags);
37 $link = mysql_connect($host, $user, $passwd, true, $flags);
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_32.c400 if (jump->flags & IS_BL) in detect_jump_type()
442 jump->flags |= PATCH_B; in detect_jump_type()
996 if (flags & INV_IMM) in emit_single_op()
1019 if (flags & INV_IMM) in emit_single_op()
1038 if (flags & INV_IMM) in emit_single_op()
1046 if (flags & INV_IMM) in emit_single_op()
1630 flags |= REG_DEST; in emit_op()
1637 flags |= FAST_DEST; in emit_op()
1641 flags |= SLOW_DEST; in emit_op()
1697 flags |= REG_SOURCE; in emit_op()
[all …]

Completed in 97 milliseconds

12345678910>>...19