Home
last modified time | relevance | path

Searched refs:pty (Results 1 – 25 of 5595) sorted by relevance

12345678910>>...224

/dports/devel/util-linux/util-linux-2.36/lib/
H A Dpty-session.c54 struct ul_pty *pty = calloc(1, sizeof(*pty)); in ul_new_pty() local
56 if (!pty) in ul_new_pty()
66 return pty; in ul_new_pty()
71 free(pty); in ul_free_pty()
76 assert(pty); in ul_pty_slave_echo()
82 assert(pty); in ul_pty_get_delivered_signal()
168 rc = openpty(&pty->master, &pty->slave, NULL, &pty->stdin_attrs, &pty->win); in ul_pty_setup()
223 pty->master, pty->slave, rc)); in ul_pty_setup()
234 if (pty->master == -1 || !pty->isterm) in ul_pty_cleanup()
332 rc = pty->callbacks.mainloop(pty->callback_data); in mainloop_callback()
[all …]
/dports/science/code_saturne/code_saturne-7.1.0/src/cdo/
H A Dcs_property.c148 BFT_REALLOC(pty->defs, pty->n_definitions, cs_xdef_t *); in _add_new_def()
149 BFT_REALLOC(pty->get_eval_at_cell, pty->n_definitions, in _add_new_def()
151 BFT_REALLOC(pty->get_eval_at_cell_cw, pty->n_definitions, in _add_new_def()
639 pty->id = id; in _create_property()
656 return pty; in _create_property()
932 pty->defs[j] = cs_xdef_free(pty->defs[j]); in cs_property_destroy_all()
1014 cs_real_t ref[3] = {pty->ref_value, pty->ref_value, pty->ref_value}; in cs_property_finalize_setup()
1591 pty->n_definitions, pty->name); in cs_property_def_by_array()
1673 pty->n_definitions, pty->name); in cs_property_def_by_field()
2247 pty->name, pty->ref_value); in cs_property_log_setup()
[all …]
H A Dcs_property.h216 if (pty == NULL) in cs_property_is_constant()
242 if (pty == NULL) in cs_property_is_steady()
264 if (pty == NULL) in cs_property_is_uniform()
286 if (pty == NULL) in cs_property_is_isotropic()
289 if (pty->type & CS_PROPERTY_ISO) in cs_property_is_isotropic()
308 if (pty == NULL) in cs_property_get_name()
311 return pty->name; in cs_property_get_name()
327 if (pty == NULL) in cs_property_get_type()
330 return pty->type; in cs_property_get_type()
346 if (pty == NULL) in cs_property_get_dim()
[all …]
/dports/x11/mlterm/mlterm-3.9.1/vtemu/
H A Dvt_pty.c41 pty = in vt_pty_new()
61 if (pty) { in vt_pty_new()
65 return pty; in vt_pty_new()
88 if (pty) { in vt_pty_new_with()
114 (*pty->final)(pty); in vt_pty_destroy()
116 free(pty); in vt_pty_destroy()
161 memcpy(&pty->buf[pty->left], buf, len); in vt_write_to_pty()
177 memcpy(w_buf, pty->buf, pty->left); in vt_write_to_pty()
223 pty->left = pty->size; in vt_write_to_pty()
239 memcpy(pty->buf, &w_buf[written_size], pty->left); in vt_write_to_pty()
[all …]
H A Dvt_pty_pipewin32.c591 pty->pty.master = (int)pty->master_output; /* XXX Cast HANDLE => int */ in vt_pty_pipe_new()
592 pty->pty.slave = (int)pty->slave_stdout; /* XXX Cast HANDLE => int */ in vt_pty_pipe_new()
593 pty->pty.child_pid = (pid_t)pty->child_proc; /* Cast HANDLE => pid_t */ in vt_pty_pipe_new()
594 pty->pty.final = final; in vt_pty_pipe_new()
595 pty->pty.set_winsize = set_winsize; in vt_pty_pipe_new()
596 pty->pty.write = write_to_pty; in vt_pty_pipe_new()
597 pty->pty.read = read_pty; in vt_pty_pipe_new()
598 pty->pty.mode = PTY_PIPE; in vt_pty_pipe_new()
612 vt_pty_destroy(&pty->pty); in vt_pty_pipe_new()
623 vt_pty_destroy(&pty->pty); in vt_pty_pipe_new()
[all …]
H A Dvt_pty_unix.c31 vt_pty_t pty; member
52 close(pty->slave); in final()
126 vt_pty_t *pty; in vt_pty_unix_new() local
202 return pty; in vt_pty_unix_new()
207 vt_pty_t *pty; in vt_pty_unix_new_with() local
213 pty->final = final; in vt_pty_unix_new_with()
216 pty->read = read_pty; in vt_pty_unix_new_with()
217 pty->master = master; in vt_pty_unix_new_with()
218 pty->slave = slave; in vt_pty_unix_new_with()
219 pty->mode = PTY_LOCAL; in vt_pty_unix_new_with()
[all …]
/dports/security/putty/putty-0.76/unix/
H A Duxpty.c459 pty->master_fd = pty->slave_fd = -1; in pty_pre_init()
807 pty_uxsel_setup_fd(pty, pty->master_o); in pty_uxsel_setup()
891 pty->fds[i].pty = pty; in pty_backend_create()
934 pty->fds[0].fd = pty->master_i = pty->pipefds[1]; in pty_backend_create()
935 pty->fds[1].fd = pty->master_o = pty->pipefds[2]; in pty_backend_create()
936 pty->fds[2].fd = pty->master_e = pty->pipefds[4]; in pty_backend_create()
974 pty->master_i = pty->master_fd; in pty_backend_create()
975 pty->master_o = pty->master_fd; in pty_backend_create()
978 pty->fds[0].fd = pty->master_fd; in pty_backend_create()
1410 pty->master_i = pty->master_o = pty->master_e = -1; in pty_close()
[all …]
/dports/security/putty-nogtk/putty-0.76/unix/
H A Duxpty.c459 pty->master_fd = pty->slave_fd = -1; in pty_pre_init()
807 pty_uxsel_setup_fd(pty, pty->master_o); in pty_uxsel_setup()
891 pty->fds[i].pty = pty; in pty_backend_create()
934 pty->fds[0].fd = pty->master_i = pty->pipefds[1]; in pty_backend_create()
935 pty->fds[1].fd = pty->master_o = pty->pipefds[2]; in pty_backend_create()
936 pty->fds[2].fd = pty->master_e = pty->pipefds[4]; in pty_backend_create()
974 pty->master_i = pty->master_fd; in pty_backend_create()
975 pty->master_o = pty->master_fd; in pty_backend_create()
978 pty->fds[0].fd = pty->master_fd; in pty_backend_create()
1410 pty->master_i = pty->master_o = pty->master_e = -1; in pty_close()
[all …]
/dports/graphics/aloadimage/arcan-0.6.1/src/frameserver/terminal/default/tsm/
H A Dshl-pty.c288 pty = calloc(1, sizeof(*pty)); in shl_pty_open()
367 if (!pty || !pty->ref) in shl_pty_ref()
375 if (!pty || !pty->ref || --pty->ref) in shl_pty_unref()
385 if (!pty || pty->p2c < 0) in shl_pty_close()
401 return pty && pty->p2c >= 0; in shl_pty_is_open()
410 return pty->p2c >= 0 ? pty->p2c : -EPIPE; in shl_pty_get_fd()
412 return pty->c2p >= 0 ? pty->c2p : -EPIPE; in shl_pty_get_fd()
420 return pty->child > 0 ? pty->child : -ECHILD; in shl_pty_get_child()
475 len = read(pty->c2p, pty->in_buf, sizeof(pty->in_buf) - 1); in pty_read()
488 pty->fn_input(pty, in pty_read()
[all …]
/dports/sysutils/acfgfs/arcan-0.6.1/src/frameserver/terminal/default/tsm/
H A Dshl-pty.c288 pty = calloc(1, sizeof(*pty)); in shl_pty_open()
367 if (!pty || !pty->ref) in shl_pty_ref()
375 if (!pty || !pty->ref || --pty->ref) in shl_pty_unref()
385 if (!pty || pty->p2c < 0) in shl_pty_close()
401 return pty && pty->p2c >= 0; in shl_pty_is_open()
410 return pty->p2c >= 0 ? pty->p2c : -EPIPE; in shl_pty_get_fd()
412 return pty->c2p >= 0 ? pty->c2p : -EPIPE; in shl_pty_get_fd()
420 return pty->child > 0 ? pty->child : -ECHILD; in shl_pty_get_child()
475 len = read(pty->c2p, pty->in_buf, sizeof(pty->in_buf) - 1); in pty_read()
488 pty->fn_input(pty, in pty_read()
[all …]
/dports/x11/aclip/arcan-0.6.1/src/frameserver/terminal/default/tsm/
H A Dshl-pty.c288 pty = calloc(1, sizeof(*pty)); in shl_pty_open()
367 if (!pty || !pty->ref) in shl_pty_ref()
375 if (!pty || !pty->ref || --pty->ref) in shl_pty_unref()
385 if (!pty || pty->p2c < 0) in shl_pty_close()
401 return pty && pty->p2c >= 0; in shl_pty_is_open()
410 return pty->p2c >= 0 ? pty->p2c : -EPIPE; in shl_pty_get_fd()
412 return pty->c2p >= 0 ? pty->c2p : -EPIPE; in shl_pty_get_fd()
420 return pty->child > 0 ? pty->child : -ECHILD; in shl_pty_get_child()
475 len = read(pty->c2p, pty->in_buf, sizeof(pty->in_buf) - 1); in pty_read()
488 pty->fn_input(pty, in pty_read()
[all …]
/dports/x11/arcan-trayicon/arcan-0.6.1/src/frameserver/terminal/default/tsm/
H A Dshl-pty.c288 pty = calloc(1, sizeof(*pty)); in shl_pty_open()
367 if (!pty || !pty->ref) in shl_pty_ref()
375 if (!pty || !pty->ref || --pty->ref) in shl_pty_unref()
385 if (!pty || pty->p2c < 0) in shl_pty_close()
401 return pty && pty->p2c >= 0; in shl_pty_is_open()
410 return pty->p2c >= 0 ? pty->p2c : -EPIPE; in shl_pty_get_fd()
412 return pty->c2p >= 0 ? pty->c2p : -EPIPE; in shl_pty_get_fd()
420 return pty->child > 0 ? pty->child : -ECHILD; in shl_pty_get_child()
475 len = read(pty->c2p, pty->in_buf, sizeof(pty->in_buf) - 1); in pty_read()
488 pty->fn_input(pty, in pty_read()
[all …]
/dports/devel/kf5-kpty/kpty-5.89.0/autotests/
H A Dkptyprocesstest.cpp31 p.pty()->setSuspended(true); in test_suspend_pty()
33 p.pty()->readAll(); in test_suspend_pty()
39 p.pty()->setSuspended(false); in test_suspend_pty()
44 p.pty()->readAll(); in test_suspend_pty()
56 p.pty()->setEcho(false); in test_shared_pty()
60 int fd = p.pty()->masterFd(); in test_shared_pty()
65 p2.pty()->setEcho(false); in test_shared_pty()
125 p.pty()->setEcho(false); in test_pty_basic()
127 p.pty()->write("test\n"); in test_pty_basic()
183 sp.pty()->setEcho(false); in Q_DECLARE_METATYPE()
[all …]
/dports/x11/mlterm/mlterm-3.9.1/vtemu/libptyssh/
H A Dvt_pty_ssh.c845 if (use_loopback(&pty->pty)) { in zombie()
1074 pty->stored->read = pty->read; in use_loopback()
1153 pty->read = pty->stored->read; in unuse_loopback()
1521 sprintf(pty->pty.cmd_line + strlen(pty->pty.cmd_line), in open_channel()
1548 pty->pty.master = pty->session->sock; in open_channel()
1549 pty->pty.slave = -1; in open_channel()
1551 pty->pty.final = final; in open_channel()
1553 pty->pty.write = write_to_pty; in open_channel()
1554 pty->pty.read = read_pty; in open_channel()
1555 pty->pty.mode = PTY_SSH; in open_channel()
[all …]
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/chibi/
H A Dpty.sld2 (define-library (chibi pty)
9 (export open-pty fork-pty login-tty
10 open-pty-process call-with-pty-process-io)
34 (pty (apply fork-pty o)))
36 ((not (and (pair? pty) (integer? (car pty))
38 (pair? (cdr pty)) (fileno? (cadr pty))))
39 (error "failed to fork-pty" pty))
43 pty))))
47 (let ((pty (apply open-pty-process command o)))
54 (name (and (pair? (cddr pty)) (car (cddr pty))))
[all …]
/dports/x11/mlterm/mlterm-3.9.1/doc/ja/
H A DREADME.pty5 * ������ pty ���å����γ���
7 ��ɥ���˿����� pty ���å������Ϥ��ޤ���
9 Ω���夲��������ǿ����� pty ���å������Ϥ��ޤ���
12 �ޤ���pty �� foreground �ˤ���Ȥϡ����� pty ���������줫�Υ�����ɥ���ɽ����
22 ����ɽ������ޤ��������椫��Ŭ���� pty �������뤳�Ȥˤ�ꡢ���� pty ��ɽ����
26 o ���߳����Ƥ��� pty �ξ�����������ˤ�
36 ^^^^^^^^^^-> background �� pty
38 * pty ��̾��
39 pty �ϡ�/dev/ttyp0 �Τ褦�� pty �� slave �ǥХ���̾�����ꤵ��ޤ���
49 * pty ���å����ν�λ
[all …]
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/nix-0.23.1/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/shells/nsh/nsh-0.4.2/cargo-crates/nix-0.22.0/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/net/routinator/routinator-0.10.2/cargo-crates/nix-0.22.0/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/nix-0.22.0/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/x11/inputplug/inputplug-0.4.0/cargo-crates/nix-0.22.2/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/sysutils/fselect/fselect-0.7.7/cargo-crates/nix-0.22.2/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/nix-0.14.1/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/nix-0.19.1/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]
/dports/games/genact/genact-0.10.0/cargo-crates/nix-0.17.0/test/sys/
H A Dtest_termios.rs6 use nix::pty::openpty;
54 assert!(pty.master > 0); in test_output_flags()
55 assert!(pty.slave > 0); in test_output_flags()
71 assert!(pty.master > 0); in test_output_flags()
72 assert!(pty.slave > 0); in test_output_flags()
82 close(pty.master).unwrap(); in test_output_flags()
83 close(pty.slave).unwrap(); in test_output_flags()
97 assert!(pty.slave > 0); in test_local_flags()
112 assert!(pty.master > 0); in test_local_flags()
113 assert!(pty.slave > 0); in test_local_flags()
[all …]

12345678910>>...224