Home
last modified time | relevance | path

Searched refs:tmp_fd (Results 1 – 5 of 5) sorted by relevance

/external/libvncserver/x11vnc/
Dsslcmds.c651 int tmp_fd, incert, info_only = 0, delete_only = 0, listlong = 0; in sslEncKey() local
739 tmp_fd = mkstemp(tmp); in sslEncKey()
740 if (tmp_fd < 0) { in sslEncKey()
744 write(tmp_fd, genCert, strlen(genCert)); in sslEncKey()
745 close(tmp_fd); in sslEncKey()
850 tmp_fd = mkstemp(tmp); in sslEncKey()
851 if (tmp_fd < 0) { in sslEncKey()
855 write(tmp_fd, genCert, strlen(genCert)); in sslEncKey()
856 close(tmp_fd); in sslEncKey()
Duser.c2466 int tmp_fd = -1; in do_run_cmd() local
2498 tmp_fd = mkstemp(tmp); in do_run_cmd()
2500 if (tmp_fd < 0) { in do_run_cmd()
2508 write(tmp_fd, s, strlen(s)); in do_run_cmd()
2510 write(tmp_fd, find_display, strlen(find_display)); in do_run_cmd()
2512 close(tmp_fd); in do_run_cmd()
2638 if (tmp_fd >= 0) { in do_run_cmd()
2717 if (tmp_fd >= 0) { in do_run_cmd()
2725 if (tmp_fd >= 0) { in do_run_cmd()
2742 if (tmp_fd >= 0) { in do_run_cmd()
[all …]
Dxwrappers.c1290 int tmp_fd = -1; in xauth_raw() local
1305 tmp_fd = mkstemp(tmp); in xauth_raw()
1306 if (tmp_fd < 0) { in xauth_raw()
1311 write(tmp_fd, xauth_raw_data, xauth_raw_len); in xauth_raw()
1312 close(tmp_fd); in xauth_raw()
Dv4l.c1168 int tmp_fd, len, rc, curr = 0; in guess_via_v4l_info() local
1186 tmp_fd = mkstemp(tmp); in guess_via_v4l_info()
1187 if (tmp_fd < 0) { in guess_via_v4l_info()
1196 close(tmp_fd); in guess_via_v4l_info()
Dconnections.c637 int tmp_fd = mkstemp(tmp); in run_user_command() local
638 if (tmp_fd < 0) { in run_user_command()
642 write(tmp_fd, input, len); in run_user_command()
643 close(tmp_fd); in run_user_command()