Home
last modified time | relevance | path

Searched refs:data_fd (Results 1 – 25 of 236) sorted by relevance

12345678910

/dports/net/guacamole-server/guacamole-server-1.3.0/src/terminal/
H A Dtypescript.c80 int data_fd = open(basename, in guac_terminal_typescript_open_data_file() local
85 if (data_fd == -1) { in guac_terminal_typescript_open_data_file()
92 for (i = 1; data_fd == -1 && errno == EEXIST in guac_terminal_typescript_open_data_file()
99 data_fd = open(basename, in guac_terminal_typescript_open_data_file()
107 return data_fd; in guac_terminal_typescript_open_data_file()
123 typescript->data_fd = guac_terminal_typescript_open_data_file( in guac_terminal_typescript_alloc()
127 if (typescript->data_fd == -1) { in guac_terminal_typescript_alloc()
136 close(typescript->data_fd); in guac_terminal_typescript_alloc()
146 close(typescript->data_fd); in guac_terminal_typescript_alloc()
204 guac_common_write(typescript->data_fd, in guac_terminal_typescript_flush()
[all …]
/dports/ftp/vsftpd/vsftpd-3.0.5/
H A Dsslslave.c55 if (p_sess->data_fd != -1 || p_sess->p_data_ssl != 0) in ssl_slave()
59 p_sess->data_fd = priv_sock_recv_fd(p_sess->ssl_slave_fd); in ssl_slave()
60 ret = ssl_accept(p_sess, p_sess->data_fd); in ssl_slave()
67 vsf_sysutil_close(p_sess->data_fd); in ssl_slave()
68 p_sess->data_fd = -1; in ssl_slave()
79 if (p_sess->data_fd == -1 || p_sess->p_data_ssl == 0) in ssl_slave()
90 if (p_sess->data_fd == -1 || p_sess->p_data_ssl == 0) in ssl_slave()
103 if (p_sess->data_fd == -1 && p_sess->p_data_ssl == 0) in ssl_slave()
109 if (p_sess->data_fd == -1 || p_sess->p_data_ssl == 0) in ssl_slave()
118 vsf_sysutil_close(p_sess->data_fd); in ssl_slave()
[all …]
H A Dftpdataio.c60 if (p_sess->data_fd == -1) in vsf_ftpdataio_dispose_transfer_fd()
87 vsf_sysutil_activate_linger(p_sess->data_fd); in vsf_ftpdataio_dispose_transfer_fd()
90 retval = vsf_sysutil_close_failok(p_sess->data_fd); in vsf_ftpdataio_dispose_transfer_fd()
94 vsf_sysutil_deactivate_linger_failok(p_sess->data_fd); in vsf_ftpdataio_dispose_transfer_fd()
95 (void) vsf_sysutil_close_failok(p_sess->data_fd); in vsf_ftpdataio_dispose_transfer_fd()
97 p_sess->data_fd = -1; in vsf_ftpdataio_dispose_transfer_fd()
169 ret = ssl_accept(p_sess, p_sess->data_fd); in vsf_ftpdataio_post_mark_connect()
175 priv_sock_send_fd(p_sess->ssl_consumer_fd, p_sess->data_fd); in vsf_ftpdataio_post_mark_connect()
202 vsf_sysutil_shutdown_failok(p_sess->data_fd); in handle_sigalrm()
233 if (p_sess->data_fd != -1) in init_data_sock_params()
[all …]
/dports/ftp/vsftpd-ext/vsFTPd-3.0.3-ext.1/
H A Dsslslave.c55 if (p_sess->data_fd != -1 || p_sess->p_data_ssl != 0) in ssl_slave()
59 p_sess->data_fd = priv_sock_recv_fd(p_sess->ssl_slave_fd); in ssl_slave()
60 ret = ssl_accept(p_sess, p_sess->data_fd); in ssl_slave()
67 vsf_sysutil_close(p_sess->data_fd); in ssl_slave()
68 p_sess->data_fd = -1; in ssl_slave()
79 if (p_sess->data_fd == -1 || p_sess->p_data_ssl == 0) in ssl_slave()
90 if (p_sess->data_fd == -1 || p_sess->p_data_ssl == 0) in ssl_slave()
103 if (p_sess->data_fd == -1 && p_sess->p_data_ssl == 0) in ssl_slave()
109 if (p_sess->data_fd == -1 || p_sess->p_data_ssl == 0) in ssl_slave()
118 vsf_sysutil_close(p_sess->data_fd); in ssl_slave()
[all …]
/dports/net/addrwatch/addrwatch-1.0.2/src/
H A Doutput_flatfile.c7 cfg.data_fd = fopen(cfg.data_file, "ae"); in output_flatfile_init()
8 if (!cfg.data_fd) { in output_flatfile_init()
24 if (cfg.data_fd) { in output_flatfile_save()
25 fprintf(cfg.data_fd, "%lu %s %u %s %s %s\n", in output_flatfile_save()
28 fflush(cfg.data_fd); in output_flatfile_save()
34 if (cfg.data_fd) { in output_flatfile_close()
35 fclose(cfg.data_fd); in output_flatfile_close()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/external/tsai-30b3/
H A Decal.c32 FILE *data_fd; local
46 if ((data_fd = fopen (argv[1], "r")) == NULL) {
52 load_cp_cc_data (data_fd, &cp, &cc);
53 fclose (data_fd);
55 if ((data_fd = fopen (argv[2], "r")) == NULL) {
60 load_cd_data (data_fd, &cd);
61 fclose (data_fd);
H A Dccal_fo.c35 FILE *data_fd; local
53 if ((data_fd = fopen (argv[i], "r")) == NULL) {
58 load_cd_data (data_fd, &cd);
59 fclose (data_fd);
H A Dnccal_fo.c38 FILE *data_fd; local
56 if ((data_fd = fopen (argv[i], "r")) == NULL) {
61 load_cd_data (data_fd, &cd);
62 fclose (data_fd);
H A Dnccal.c38 FILE *data_fd; local
56 if ((data_fd = fopen (argv[i], "r")) == NULL) {
61 load_cd_data (data_fd, &cd);
62 fclose (data_fd);
H A Dccal.c38 FILE *data_fd; local
56 if ((data_fd = fopen (argv[i], "r")) == NULL) {
61 load_cd_data (data_fd, &cd);
62 fclose (data_fd);
/dports/databases/grass7/grass-7.8.6/lib/raster3d/
H A Dopen.c36 if (map->data_fd < 0) { in Rast3d_open_cell_old_no_header()
97 if (lseek(map->data_fd, (long)0, SEEK_SET) == -1) { in Rast3d_open_cell_old()
131 if ((!Rast3d_read_ints(map->data_fd, map->useXdr, in Rast3d_open_cell_old()
133 (!Rast3d_read_ints(map->data_fd, map->useXdr, in Rast3d_open_cell_old()
150 if (read(map->data_fd, ltmp, map->indexLongNbytes) != in Rast3d_open_cell_old()
241 map->data_fd = open(map->tempName, O_RDWR | O_CREAT | O_TRUNC, 0666); in Rast3d_open_cell_new()
242 if (map->data_fd < 0) { in Rast3d_open_cell_new()
284 if ((!Rast3d_write_ints(map->data_fd, map->useXdr, in Rast3d_open_cell_new()
286 (!Rast3d_write_ints(map->data_fd, map->useXdr, &dummy, 1))) { in Rast3d_open_cell_new()
290 if (write(map->data_fd, &ldummy, map->indexLongNbytes) != in Rast3d_open_cell_new()
[all …]
/dports/security/tinc-devel/tinc-1.1pre18/src/
H A Duml_device.c36 static int data_fd = -1; variable
86 if((data_fd = socket(PF_UNIX, SOCK_DGRAM, 0)) < 0) { in setup_device()
93 fcntl(data_fd, F_SETFD, FD_CLOEXEC); in setup_device()
96 setsockopt(data_fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); in setup_device()
98 if(fcntl(data_fd, F_SETFL, O_NONBLOCK) < 0) { in setup_device()
111 if(bind(data_fd, (struct sockaddr *)&data_sun, sizeof(data_sun)) < 0) { in setup_device()
171 if(data_fd >= 0) { in close_device()
172 close(data_fd); in close_device()
173 data_fd = -1; in close_device()
247 device_fd = data_fd; in read_packet()
[all …]
/dports/japanese/timidity++-slang/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/audio/ocp/ocp-0.2.90/playgmi/timidity-git/interface/
H A Dserver_c.c257 close(data_fd);
258 data_fd = -1;
491 if(data_fd != -1)
494 data_fd = -1;
672 if(data_fd == -1)
687 maxfd = data_fd;
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds))
743 data_fd = -1;
934 if(data_fd < 0)
979 close(data_fd);
[all …]
/dports/audio/timidity++-xskin/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/audio/timidity++-gtk/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/audio/timidity++-motif/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/audio/timidity++/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/audio/timidity++-emacs/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/audio/timidity++-slang/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/audio/timidity++-xaw/TiMidity++-2.15.0/interface/
H A Dserver_c.c257 close(data_fd); in ctl_close()
258 data_fd = -1; in ctl_close()
491 if(data_fd != -1) in ctl_pass_playing_list()
494 data_fd = -1; in ctl_pass_playing_list()
672 if(data_fd == -1) in doit()
687 maxfd = data_fd; in doit()
737 else if(data_fd != -1 && FD_ISSET(data_fd, &fds)) in doit()
743 data_fd = -1; in doit()
934 if(data_fd < 0) in cmd_open()
979 close(data_fd); in cmd_close()
[all …]
/dports/net/vde/vde-1.5.7/
H A Dvde_switch.c174 struct sockaddr_un *sock, int data_fd) in new_port_v1_v3() argument
183 err = setup_sock_port(i, fd, sock, data_fd, group); in new_port_v1_v3()
197 static void new_port(int i, int fd, int data_fd) in new_port() argument
325 bind_data_socket(data_fd, &data_sun); in bind_sockets()
356 int connect_fd, data_fd, n, i, /*new,*/ one = 1; in main() local
431 if((data_fd = socket(PF_UNIX, SOCK_DGRAM, 0)) < 0){ in main()
435 if(fcntl(data_fd, F_SETFL, O_NONBLOCK) < 0){ in main()
440 bind_sockets(connect_fd, ctl_socket, data_fd); in main()
461 add_fd(data_fd); in main()
511 else if(fds[i].fd == data_fd) handle_sock_data(data_fd, hub); in main()
[all …]
/dports/security/tinc/tinc-1.0.36/src/
H A Duml_device.c35 static int data_fd = -1; variable
91 if((data_fd = socket(PF_UNIX, SOCK_DGRAM, 0)) < 0) { in setup_device()
98 fcntl(data_fd, F_SETFD, FD_CLOEXEC); in setup_device()
101 setsockopt(data_fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); in setup_device()
103 if(fcntl(data_fd, F_SETFL, O_NONBLOCK) < 0) { in setup_device()
116 if(bind(data_fd, (struct sockaddr *)&data_sun, sizeof(data_sun)) < 0) { in setup_device()
173 if(data_fd >= 0) { in close_device()
174 close(data_fd); in close_device()
242 device_fd = data_fd; in read_packet()
251 if((lenin = read(data_fd, packet->data, MTU)) <= 0) { in read_packet()
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/common/
H A Dblock-tx-utils.c71 send_encrypted_data_frame_begin (evutil_socket_t data_fd, in send_encrypted_data_frame_begin() argument
82 if (sendn (data_fd, &enc_frame_len, sizeof(int)) < 0) { in send_encrypted_data_frame_begin()
84 evutil_socket_error_to_string(evutil_socket_geterror(data_fd))); in send_encrypted_data_frame_begin()
93 evutil_socket_t data_fd, in send_encrypted_data() argument
106 if (sendn (data_fd, out_buf, out_len) < 0) { in send_encrypted_data()
108 evutil_socket_error_to_string(evutil_socket_geterror(data_fd))); in send_encrypted_data()
117 evutil_socket_t data_fd) in send_encrypted_data_frame_end() argument
126 if (sendn (data_fd, out_buf, out_len) < 0) { in send_encrypted_data_frame_end()
128 evutil_socket_error_to_string(evutil_socket_geterror(data_fd))); in send_encrypted_data_frame_end()
/dports/ftp/axel/axel-2.4/
H A Dftp.c30 conn->data_fd = -1; in ftp_connect()
69 if( conn->data_fd > 0 ) in ftp_disconnect()
70 close( conn->data_fd ); in ftp_disconnect()
78 conn->fd = conn->data_fd = -1; in ftp_disconnect()
140 while( ( j = read( conn->data_fd, reply + i, size - i - 3 ) ) > 0 ) in ftp_size()
151 close( conn->data_fd ); in ftp_size()
152 conn->data_fd = -1; in ftp_size()
228 if( conn->data_fd > 0 ) in ftp_data()
253 if( ( conn->data_fd = tcp_connect( host, in ftp_data()

12345678910