Home
last modified time | relevance | path

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

123

/PHP-8.2/ext/opcache/jit/
H A Dzend_elf.c33 static void* zend_elf_read_sect(int fd, zend_elf_sectheader *sect) in zend_elf_read_sect()
55 int fd = open("/proc/self/exe", O_RDONLY); in zend_elf_load_symbols() local
57 int fd = open("/proc/curproc/exe", O_RDONLY); in zend_elf_load_symbols() local
65 int fd = open(path, O_RDONLY); in zend_elf_load_symbols() local
67 int fd = open("/proc/self/path/a.out", O_RDONLY); in zend_elf_load_symbols() local
75 int fd = open(path, O_RDONLY); in zend_elf_load_symbols() local
79 int fd = -1; in zend_elf_load_symbols() local
/PHP-8.2/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.2/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.2/main/
H A Dphp_network.h135 php_socket_t fd; member
175 static inline int php_pollfd_for(php_socket_t fd, int events, struct timeval *timeouttv) in php_pollfd_for()
193 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms()
236 # define PHP_SAFE_FD_SET(fd, set) FD_SET(fd, set) argument
237 # define PHP_SAFE_FD_CLR(fd, set) FD_CLR(fd, set) argument
238 # define PHP_SAFE_FD_ISSET(fd, set) FD_ISSET(fd, set) argument
241 # define PHP_SAFE_FD_SET(fd, set) do { if (fd < FD_SETSIZE) FD_SET(fd, set); } while(0) argument
242 # define PHP_SAFE_FD_CLR(fd, set) do { if (fd < FD_SETSIZE) FD_CLR(fd, set); } while(0) argument
243 # define PHP_SAFE_FD_ISSET(fd, set) ((fd < FD_SETSIZE) && FD_ISSET(fd, set)) argument
H A Dphp_open_temporary_file.c99 int fd = -1; in php_do_open_temporary_file() local
288 int fd; in php_open_temporary_fd_ex() local
335 int fd = php_open_temporary_fd(dir, pfx, opened_path_p); in php_open_temporary_file() local
H A Dfastcgi.c44 #define FCGI_LOCK(fd) \ argument
56 #define FCGI_UNLOCK(fd) \ argument
93 # define FCGI_LOCK(fd) \ argument
107 # define FCGI_UNLOCK(fd) \ argument
125 # define FCGI_LOCK(fd) argument
126 # define FCGI_UNLOCK(fd) argument
211 int fd; member
/PHP-8.2/ext/fileinfo/libmagic/
H A Dcompress.c256 int fd = b->fd; in file_zmagic() local
358 swrite(int fd, const void *buf, size_t n) in swrite()
383 sread(int fd, void *buf, size_t n, int canbepipe) in sread()
448 file_pipe2file(struct magic_set *ms, int fd, const void *startbuf, in file_pipe2file()
708 closefd(int *fd, size_t i) in closefd()
717 closep(int *fd) in closep()
725 copydesc(int i, int fd) in copydesc()
737 writechild(int fd, const void *old, size_t n) in writechild()
814 uncompressbuf(int fd, size_t bytes_max, size_t method, const unsigned char *old, in uncompressbuf()
H A Dbuffer.c44 buffer_init(struct buffer *b, int fd, const zend_stat_t *st, const void *data, in buffer_init()
H A Dis_csv.c177 int fd, rv; in main() local
/PHP-8.2/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.c74 int fd, sd; in openpty() local
443 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle()
448 # define close_descriptor(fd) CloseHandle(fd) argument
450 # define close_descriptor(fd) close(fd) argument
775 static php_file_descriptor_t make_descriptor_cloexec(php_file_descriptor_t fd) in make_descriptor_cloexec()
847 php_socket_t fd; in set_proc_descriptor_to_file() local
1003 php_socket_t fd; in set_proc_descriptor_from_resource() local
/PHP-8.2/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.2/sapi/fpm/fpm/
H A Dfpm_stdio.c29 int fd = open("/dev/null", O_RDWR); in fpm_stdio_init_main() local
172 int fd = ev->fd; local
371 int fd; local
H A Dfpm_sockets.h35 static inline int fd_set_blocked(int fd, int blocked) /* {{{ */ in fd_set_blocked()
H A Dfpm_events.c66 int fd = ev->fd; in fpm_got_signal() local
491 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.2/sapi/litespeed/
H A Dlsapilib.c403 static int lsapi_set_nblock( int fd, int nonblock ) in lsapi_set_nblock()
424 static int lsapi_close( int fd ) in lsapi_close()
633 static inline int isPipe( int fd ) in isPipe()
862 int fd = open( pSecretFile, O_RDONLY , 0600 ); in readSecret() local
1340 static inline int notify_req_received( int fd ) in notify_req_received()
1349 static inline int lsapi_notify_pid( int fd ) in lsapi_notify_pid()
2587 int fd; in LSAPI_CreateListenSock2() local
2739 int fd = -1; in LSAPI_CreateListenSock() local
2812 void LSAPI_Set_Server_fd( int fd ) in LSAPI_Set_Server_fd()
2821 int fd; in lsapi_accept() local
[all …]
/PHP-8.2/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.2/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c107 int fd; in create_tempfile() local
191 int fd; in alloc_chunk() local
/PHP-8.2/ext/ftp/
H A Dftp.h46 php_socket_t fd; /* data connection */ member
57 php_socket_t fd; /* control connection */ member
/PHP-8.2/ext/opcache/
H A Dzend_file_cache.c74 static int zend_file_cache_flock(int fd, int op) in zend_file_cache_flock()
101 static int zend_file_cache_flock(int fd, int type) in zend_file_cache_flock()
1011 static bool zend_file_cache_script_write(int fd, const zend_persistent_script *script, const zend_f…
1064 int fd; local
1764 int fd; local
/PHP-8.2/ext/posix/
H A Dposix.c420 static int php_posix_stream_get_fd(zval *zfp, int *fd) /* {{{ */ in php_posix_stream_get_fd()
447 int fd; in PHP_FUNCTION() local
505 int fd; in PHP_FUNCTION() local
/PHP-8.2/ext/bz2/
H A Dbz2.c225 php_socket_t fd; in _php_stream_bz2open() local
365 php_socket_t fd; in PHP_FUNCTION() local

Completed in 60 milliseconds

123