Home
last modified time | relevance | path

Searched refs:fd (Results 176 – 200 of 230) sorted by relevance

12345678910

/php-src/ext/dba/
H A Ddba_cdb.c227 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) { in cdb_file_lseek() argument
228 return lseek(fd, offset, whence); in cdb_file_lseek()
H A Dphp_dba.h44 int fd; member
H A Ddba.c835 if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) { in php_dba_open()
842 int flags = fcntl(info->fd, F_GETFL); in php_dba_open()
843 fcntl(info->fd, F_SETFL, flags & ~O_APPEND); in php_dba_open()
854 info->fd = -1; in php_dba_open()
/php-src/main/
H A DSAPI.h228 SAPI_API int sapi_get_fd(int *fd);
275 int (*get_fd)(int *fd);
H A Dmain.c813 int fd = -1; in php_log_err_with_severity() local
840 fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, error_log_mode); in php_log_err_with_severity()
841 if (fd != -1) { in php_log_err_with_severity()
858 php_flock(fd, LOCK_EX); in php_log_err_with_severity()
860 php_ignore_value(write(fd, tmp, (unsigned)len)); in php_log_err_with_severity()
861 php_flock(fd, LOCK_UN); in php_log_err_with_severity()
863 php_ignore_value(write(fd, tmp, len)); in php_log_err_with_severity()
867 close(fd); in php_log_err_with_severity()
/php-src/win32/build/
H A Dmkdist.php424 $fd = $dest . '/' . $f;
426 copy_dir($fs, $fd);
428 copy($fs, $fd);
/php-src/ext/standard/tests/http/
H A Dbug65634.phpt27 $fd = fopen($uri, 'rb', false, $ctx);
H A Dbug61548.phpt28 $fd = fopen($uri, 'rb', false, $ctx);
/php-src/sapi/litespeed/
H A Dlsapilib.h145 int LSAPI_InitRequest( LSAPI_Request * pReq, int fd );
364 void LSAPI_Set_Server_fd( int fd );
/php-src/ext/opcache/jit/ir/
H A Dir_gdb.c584 int fd = open("/proc/self/status", O_RDONLY); in ir_gdb_present() local
586 if (fd > 0) { in ir_gdb_present()
588 ssize_t n = read(fd, buf, sizeof(buf) - 1); in ir_gdb_present()
613 close(fd); in ir_gdb_present()
/php-src/ext/standard/tests/strings/
H A Dstrtolower.phpt307 fd => fd
H A Dstrtoupper1.phpt310 fd => fd
/php-src/sapi/phpdbg/
H A Dphpdbg_utils.h78 PHPDBG_API void phpdbg_set_async_io(int fd);
H A Dphpdbg.c854 int fd; member
860 while (data->fd >= 0) { in phpdbg_stdiop_write()
865 int stat_datafd = fstat(data->fd, &stat[1]); in phpdbg_stdiop_write()
1368 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main()
1473 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main()
1474 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main()
1475 PHPDBG_G(io)[PHPDBG_STDERR].fd = fileno(stderr); in main()
1575 …zend_quiet_write(PHPDBG_G(io)[PHPDBG_STDERR].fd, ZEND_STRL("No opcodes could be compiled | No file… in main()
/php-src/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type3-fd.phpt2 RFC: DateTime and Daylight Saving Time Transitions (zone type 3, fd)
/php-src/ext/fileinfo/libmagic/
H A Dreadcdf.c532 int fd = b->fd; in file_trycdf() local
545 info.i_fd = fd; in file_trycdf()
H A Dmagic.c169 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor() argument
H A Dascmagic.c155 buffer_init(&bb, b->fd, &b->st, utf8_buf, in file_ascmagic_with_encoding()
/php-src/ext/gd/libgd/
H A Dgd.h353 gdImagePtr gdImageCreateFromPng(FILE *fd);
363 gdImagePtr gdImageCreateFromWebp(FILE *fd);
404 gdImagePtr gdImageCreateFromXbm(FILE *fd);
640 gdImagePtr gdImageCreateFromGif(FILE *fd);
/php-src/ext/sockets/
H A Dconversions.c1445 int fd; in to_zval_read_fd_array() local
1448 fd = *((int *)data + i); in to_zval_read_fd_array()
1451 if (fstat(fd, &statbuf) == -1) { in to_zval_read_fd_array()
1453 "descriptor %d: fstat() call failed with errno %d", fd, errno); in to_zval_read_fd_array()
1460 socket_import_file_descriptor(fd, sock); in to_zval_read_fd_array()
1462 php_stream *stream = php_stream_fopen_from_fd(fd, "rw", NULL); in to_zval_read_fd_array()
/php-src/sapi/cli/
H A Dphp_cli.c237 static inline bool sapi_cli_select(php_socket_t fd) in sapi_cli_select() argument
245 PHP_SAFE_FD_SET(fd, &wfd); in sapi_cli_select()
250 ret = php_select(fd+1, NULL, &wfd, NULL, &tv); in sapi_cli_select()
/php-src/ext/standard/
H A Dfile.c694 int fd; in PHP_FUNCTION() local
709 …if ((fd = php_open_temporary_fd_ex(dir, ZSTR_VAL(p), &opened_path, PHP_TMP_FILE_OPEN_BASEDIR_CHECK… in PHP_FUNCTION()
710 close(fd); in PHP_FUNCTION()
1838 zval *fd; in PHP_FUNCTION() local
1848 Z_PARAM_RESOURCE(fd) in PHP_FUNCTION()
1897 PHP_STREAM_FROM_ZVAL(stream, fd); in PHP_FUNCTION()
/php-src/ext/pcntl/
H A Dpcntl.c1485 int fd, ret; in PHP_FUNCTION() local
1494 fd = syscall(SYS_pidfd_open, pid, 0); in PHP_FUNCTION()
1520 ret = setns(fd, (int)nstype); in PHP_FUNCTION()
1521 close(fd); in PHP_FUNCTION()
/php-src/Zend/
H A Dzend_stream.c26 ZEND_DLIMPORT int isatty(int fd);
/php-src/win32/
H A Dioutil.h261 PW32IO int php_win32_ioutil_close(int fd);
742 PW32IO int php_win32_ioutil_fstat(int fd, php_win32_ioutil_stat_t *buf);

Completed in 93 milliseconds

12345678910