/php-src/ext/dba/ |
H A D | dba_cdb.c | 227 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 D | php_dba.h | 44 int fd; member
|
H A D | dba.c | 835 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 D | SAPI.h | 228 SAPI_API int sapi_get_fd(int *fd); 275 int (*get_fd)(int *fd);
|
H A D | main.c | 813 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 D | mkdist.php | 424 $fd = $dest . '/' . $f; 426 copy_dir($fs, $fd); 428 copy($fs, $fd);
|
/php-src/ext/standard/tests/http/ |
H A D | bug65634.phpt | 27 $fd = fopen($uri, 'rb', false, $ctx);
|
H A D | bug61548.phpt | 28 $fd = fopen($uri, 'rb', false, $ctx);
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.h | 145 int LSAPI_InitRequest( LSAPI_Request * pReq, int fd ); 364 void LSAPI_Set_Server_fd( int fd );
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_gdb.c | 584 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 D | strtolower.phpt | 307 fd => fd
|
H A D | strtoupper1.phpt | 310 fd => fd
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_utils.h | 78 PHPDBG_API void phpdbg_set_async_io(int fd);
|
H A D | phpdbg.c | 854 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 D | rfc-datetime_and_daylight_saving_time-type3-fd.phpt | 2 RFC: DateTime and Daylight Saving Time Transitions (zone type 3, fd)
|
/php-src/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 532 int fd = b->fd; in file_trycdf() local 545 info.i_fd = fd; in file_trycdf()
|
H A D | magic.c | 169 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor() argument
|
H A D | ascmagic.c | 155 buffer_init(&bb, b->fd, &b->st, utf8_buf, in file_ascmagic_with_encoding()
|
/php-src/ext/gd/libgd/ |
H A D | gd.h | 353 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 D | conversions.c | 1445 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 D | php_cli.c | 237 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 D | file.c | 694 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 D | pcntl.c | 1485 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 D | zend_stream.c | 26 ZEND_DLIMPORT int isatty(int fd);
|
/php-src/win32/ |
H A D | ioutil.h | 261 PW32IO int php_win32_ioutil_close(int fd); 742 PW32IO int php_win32_ioutil_fstat(int fd, php_win32_ioutil_stat_t *buf);
|