Home
last modified time | relevance | path

Searched refs:fd (Results 101 – 125 of 189) sorted by relevance

12345678

/PHP-7.1/ext/bz2/
H A Dbz2.c288 php_socket_t fd; in _php_stream_bz2open() local
289 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open()
290 bz_file = BZ2_bzdopen((int)fd, mode); in _php_stream_bz2open()
428 php_socket_t fd; in PHP_FUNCTION() local
464 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION()
468 bz = BZ2_bzdopen((int)fd, mode); in PHP_FUNCTION()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch650 - int fd;
661 - fd = -1;
734 - (void)close(fd);
735 - fd = -1;
807 - if (fd != -1)
808 - (void)close(fd);
833 - int fd = -1;
879 - if (fd != -1)
1277 return fd;
1297 if (fd != -1) {
[all …]
/PHP-7.1/ext/standard/
H A Dphp_random.h31 int fd; member
/PHP-7.1/ext/spl/tests/
H A DSplFileInfo_getOwner_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getGroup_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DDirectoryIterator_getInode_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getPerms_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DDirectoryIterator_getGroup_basic.phpt9 Filippo De Santis <fd@ideato.it>
H A DDirectoryIterator_getOwner_basic.phpt9 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getPerms_error.phpt6 Filippo De Santis <fd@ideato.it>
H A DDirectoryIterator_getInode_error.phpt6 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getInode_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getInode_error.phpt6 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getOwner_error.phpt6 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getGroup_error.phpt6 Filippo De Santis <fd@ideato.it>
/PHP-7.1/ext/standard/tests/file/
H A Dchmod_variation2.phpt21 $fd = fopen($filepath, "w+");
22 fclose($fd);
/PHP-7.1/ext/fileinfo/libmagic/
H A Dfuncs.c223 php_socket_t fd; in file_buffer() local
224 if (stream && SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, 0)) { in file_buffer()
225 if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) { in file_buffer()
241 nb > 5 && fd != -1) { in file_buffer()
251 if ((m = file_tryelf(ms, fd, ubuf, nb)) != 0) in file_buffer()
/PHP-7.1/Zend/
H A Dzend_stream.c50 ZEND_DLIMPORT int isatty(int fd);
194 file_handle->handle.fp = fdopen(file_handle->handle.fd, "rb");
342 return fh1->handle.fd == fh2->handle.fd;
H A Dzend_stream.h67 int fd; member
/PHP-7.1/sapi/fpm/tests/
H A Dbug68442-signal-reload.phpt32 $tester->expectLogNotice('using inherited socket fd=\d+, "127.0.0.1:\d+"');
/PHP-7.1/ext/mcrypt/
H A Dphp_mcrypt.h83 int fd[2]; // RANDOM = 0, URANDOM = 1 variable
/PHP-7.1/ext/standard/tests/http/
H A Dbug67430.phpt27 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
H A Dbug53198.phpt22 $fd = fopen('http://127.0.0.1:12342/', 'rb', false);
/PHP-7.1/sapi/fpm/
H A Dconfig.m4252 int fd;
254 fd = open(buf, O_RDONLY);
255 if (0 > fd) {
258 if (sizeof(long) != pread(fd, &v2, sizeof(long), (uintptr_t) &v1)) {
259 close(fd);
262 close(fd);
463 e.data.fd = 0;
492 fds[0].fd = 0;
495 fds[1].fd = 0;
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg.c962 int fd; member
968 while (data->fd >= 0) { in phpdbg_stdiop_write()
1294 fcntl(PHPDBG_G(io)[PHPDBG_STDIN].fd, F_SETFL, flags); in phpdbg_sigio_handler()
1699 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main()
1840 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main()
1842 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main()
1851 PHPDBG_G(io)[PHPDBG_STDIN].fd = socket; in main()
1853 PHPDBG_G(io)[PHPDBG_STDOUT].fd = socket; in main()
1856 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main()
1858 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main()
[all …]

Completed in 71 milliseconds

12345678