/php-src/sapi/phpdbg/ |
H A D | phpdbg_out.c | 43 int phpdbg_process_print(int fd, int type, const char *msg, int msglen) { in phpdbg_process_print() 123 PHPDBG_API int phpdbg_vprint(int type, int fd, const char *strfmt, va_list args) { in phpdbg_vprint() 194 PHPDBG_API int phpdbg_print(int type, int fd, const char *strfmt, ...) { in phpdbg_print() 209 PHPDBG_API int phpdbg_log_internal(int fd, const char *fmt, ...) { in phpdbg_log_internal() 225 PHPDBG_API int phpdbg_out_internal(int fd, const char *fmt, ...) { in phpdbg_out_internal()
|
H A D | phpdbg_io.c | 73 PHPDBG_API int phpdbg_mixed_read(int fd, char *ptr, int len, int tmo) { in phpdbg_mixed_read() 83 static int phpdbg_output_pager(int fd, const char *ptr, int len) { in phpdbg_output_pager() 113 PHPDBG_API int phpdbg_mixed_write(int fd, const char *ptr, int len) { in phpdbg_mixed_write()
|
/php-src/ext/gd/libgd/ |
H A D | gd_gif_in.c | 117 gdIOCtx *fd = gdNewFileCtx(fdFile); in gdImageCreateFromGif() local 128 gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr fd) /* {{{ */ in gdImageCreateFromGifCtx() 283 static int ReadColorMap(gdIOCtx *fd, int number, unsigned char (*buffer)[256]) /* {{{ */ in ReadColorMap() 304 DoExtension(gdIOCtx *fd, int label, int *Transparent, int *ZeroDataBlockP) in DoExtension() 333 GetDataBlock_(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock_() 352 GetDataBlock(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock() 376 GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode_() 421 GetCode(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) in GetCode() 432 LWZReadByte_(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte_() 546 LWZReadByte(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) in LWZReadByte() [all …]
|
/php-src/main/ |
H A D | php_network.h | 133 php_socket_t fd; member 173 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for() 191 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() 234 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument 235 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument 236 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument 239 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument 240 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument 241 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument
|
H A D | php_open_temporary_file.c | 108 int fd = -1; in php_do_open_temporary_file() local 319 int fd; in php_open_temporary_fd_ex() local 366 int fd = php_open_temporary_fd(dir, pfx, opened_path_p); in php_open_temporary_file() local
|
/php-src/ext/standard/ |
H A D | flock_compat.c | 22 PHPAPI int flock(int fd, int operation) in flock() 28 PHPAPI int php_flock(int fd, int operation) in php_flock()
|
H A D | proc_open.c | 85 int fd, sd; in openpty() local 480 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle() 485 # define close_descriptor(fd) CloseHandle(fd) argument 487 # define close_descriptor(fd) close(fd) argument 818 static php_file_descriptor_t make_descriptor_cloexec(php_file_descriptor_t fd) in make_descriptor_cloexec() 890 php_socket_t fd; in set_proc_descriptor_to_file() local 1046 php_socket_t fd; in set_proc_descriptor_from_resource() local
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_disasm.c | 759 static void* ir_elf_read_sect(int fd, ir_elf_sectheader *sect) 781 int fd = open("/proc/self/exe", O_RDONLY); local 783 int fd = open("/proc/curproc/exe", O_RDONLY); local 791 int fd = open(path, O_RDONLY); local 793 int fd = open("/proc/self/path/a.out", O_RDONLY); local 801 int fd = open(path, O_RDONLY); local 805 int fd = -1; local
|
/php-src/ext/fileinfo/libmagic/ |
H A D | compress.c | 280 int fd = b->fd; in file_zmagic() local 386 swrite(int fd, const void *buf, size_t n) in swrite() 411 sread(int fd, void *buf, size_t n, int canbepipe __attribute__((__unused__))) in sread() 476 file_pipe2file(struct magic_set *ms, int fd, const void *startbuf, in file_pipe2file() 861 closefd(int *fd, size_t i) in closefd() 870 closep(int *fd) in closep() 878 movedesc(void *v, int i, int fd) in movedesc() 896 closedesc(void *v, int fd) in closedesc() 907 handledesc(void *v, int fd, int fdp[3][2]) in handledesc() 935 writechild(int fd, const void *old, size_t n) in writechild() [all …]
|
H A D | buffer.c | 42 buffer_init(struct buffer *b, int fd, const zend_stat_t *st, const void *data, in buffer_init()
|
H A D | is_csv.c | 179 int fd; in main() local
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_stdio.c | 29 int fd = open("/dev/null", O_RDWR); in fpm_stdio_init_main() local 171 int fd = ev->fd; local 370 int fd; local
|
H A D | fpm_sockets.h | 36 static inline int fd_set_blocked(int fd, int blocked) /* {{{ */ in fd_set_blocked()
|
H A D | fpm_events.c | 65 int fd = ev->fd; in fpm_got_signal() local 482 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,… in fpm_event_set()
|
/php-src/main/streams/ |
H A D | plain_wrapper.c | 46 #define php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (… argument 47 #define php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((f… argument 133 int fd; /* underlying file descriptor */ member 165 int fd; in do_fstat() local 177 static php_stream *_php_stream_fopen_from_fd_int(int fd, const char *mode, const char *persistent_i… in _php_stream_fopen_from_fd_int() 220 int fd; in _php_stream_fopen_temporary_file() local 278 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id, b… in _php_stream_fopen_from_fd() 553 int fd; in php_stdiop_sync() local 601 php_socket_t fd; in php_stdiop_cast() local 674 int fd; in php_stdiop_set_option() local [all …]
|
H A D | php_stream_plain_wrapper.h | 36 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
|
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/ |
H A D | sljitProtExecAllocatorPosix.c | 55 int fd; in create_tempfile() local 134 int fd; in alloc_chunk() local
|
H A D | sljitExecAllocatorPosix.c | 35 int fd = -1; in alloc_chunk() local
|
H A D | sljitExecAllocatorFreeBSD.c | 51 int fd = -1; in alloc_chunk() local
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 404 static int lsapi_set_nblock( int fd, int nonblock ) in lsapi_set_nblock() 425 static int lsapi_close( int fd ) in lsapi_close() 634 static inline int isPipe( int fd ) in isPipe() 863 int fd = open( pSecretFile, O_RDONLY , 0600 ); in readSecret() local 1341 static inline int notify_req_received( int fd ) in notify_req_received() 1350 static inline int lsapi_notify_pid( int fd ) in lsapi_notify_pid() 2588 int fd; in LSAPI_CreateListenSock2() local 2735 int fd = -1; in LSAPI_CreateListenSock() local 2808 void LSAPI_Set_Server_fd( int fd ) in LSAPI_Set_Server_fd() 2817 int fd; in lsapi_accept() local [all …]
|
/php-src/win32/ |
H A D | ioutil.c | 187 int fd; in php_win32_ioutil_open_w() local 257 PW32IO int php_win32_ioutil_close(int fd) in php_win32_ioutil_close() 695 int err = 0, fd, flags, i = 0; in php_win32_ioutil_fopen_w() local 1018 PW32IO int php_win32_ioutil_fstat(int fd, php_win32_ioutil_stat_t *buf) in php_win32_ioutil_fstat()
|
H A D | select.c | 48 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
|
/php-src/ext/ftp/ |
H A D | ftp.h | 46 php_socket_t fd; /* data connection */ member 57 php_socket_t fd; /* control connection */ member
|
/php-src/ext/random/ |
H A D | csprng.c | 270 int fd = zend_atomic_int_exchange(&random_fd, -1); in php_random_csprng_shutdown() local
|
/php-src/ext/posix/ |
H A D | posix.c | 418 static zend_result php_posix_stream_get_fd(zval *zfp, zend_long *fd) /* {{{ */ in php_posix_stream_get_fd() 450 zend_long fd = 0; in PHP_FUNCTION() local 515 zend_long fd = 0; in PHP_FUNCTION() local 1309 zend_long name, ret, fd = 0; in PHP_FUNCTION() local
|