Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 78) sorted by relevance

1234

/PHP-8.4/sapi/phpdbg/
H A Dphpdbg_out.c43 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 Dphpdbg_io.c73 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-8.4/ext/gd/libgd/
H A Dgd_gif_in.c117 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-8.4/main/
H A Dphp_network.h133 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 Dphp_open_temporary_file.c108 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-8.4/ext/standard/
H A Dflock_compat.c22 PHPAPI int flock(int fd, int operation) in flock()
28 PHPAPI int php_flock(int fd, int operation) in php_flock()
H A Dproc_open.c85 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
873 static php_file_descriptor_t make_descriptor_cloexec(php_file_descriptor_t fd) in make_descriptor_cloexec()
945 php_socket_t fd; in set_proc_descriptor_to_file() local
1101 php_socket_t fd; in set_proc_descriptor_from_resource() local
/PHP-8.4/ext/opcache/jit/ir/
H A Dir_disasm.c759 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-8.4/ext/fileinfo/libmagic/
H A Dcompress.c280 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 Dbuffer.c42 buffer_init(struct buffer *b, int fd, const zend_stat_t *st, const void *data, in buffer_init()
H A Dis_csv.c179 int fd; in main() local
/PHP-8.4/sapi/fpm/fpm/
H A Dfpm_stdio.c29 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 Dfpm_sockets.h36 static inline int fd_set_blocked(int fd, int blocked) /* {{{ */ in fd_set_blocked()
H A Dfpm_events.c65 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-8.4/main/streams/
H A Dplain_wrapper.c46 #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 Dphp_stream_plain_wrapper.h36 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
/PHP-8.4/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitProtExecAllocatorPosix.c55 int fd; in create_tempfile() local
134 int fd; in alloc_chunk() local
H A DsljitExecAllocatorPosix.c35 int fd = -1; in alloc_chunk() local
H A DsljitExecAllocatorFreeBSD.c51 int fd = -1; in alloc_chunk() local
/PHP-8.4/sapi/litespeed/
H A Dlsapilib.c404 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-8.4/win32/
H A Dioutil.c191 int fd; in php_win32_ioutil_open_w() local
261 PW32IO int php_win32_ioutil_close(int fd) in php_win32_ioutil_close()
699 int err = 0, fd, flags, i = 0; in php_win32_ioutil_fopen_w() local
1022 PW32IO int php_win32_ioutil_fstat(int fd, php_win32_ioutil_stat_t *buf) in php_win32_ioutil_fstat()
H A Dselect.c48 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
/PHP-8.4/ext/ftp/
H A Dftp.h46 php_socket_t fd; /* data connection */ member
57 php_socket_t fd; /* control connection */ member
/PHP-8.4/ext/random/
H A Dcsprng.c270 int fd = zend_atomic_int_exchange(&random_fd, -1); in php_random_csprng_shutdown() local
/PHP-8.4/ext/posix/
H A Dposix.c418 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

Completed in 88 milliseconds

1234