Searched refs:slave (Results 1 - 25 of 153) sorted by relevance

1234567

/macosx-10.10/ruby-106/ruby/ext/tk/sample/tcltklib/
H A DsafeTk.rb6 slave = master.create_slave(slave_name, true)
15 slave._invoke('label', '.l1', '-text', 'slave')
16 slave._invoke('pack', '.l1', '-padx', '30', '-pady', '50')
17 slave._eval('label .l2 -text {root widget of slave-ip}')
18 slave._eval('pack .l2 -padx 30 -pady 20')
19 slave._eval('label .l3 -text {( container frame widget of master-ip )}')
20 slave._eval('pack .l3 -padx 30 -pady 20')
/macosx-10.10/tcl-105/tcl_ext/incrtcl/incrTcl/itk/tests/
H A Dinterp.test2 # Tests for using [incr Tcl] in slave interpreters
23 # Make sure that slave interpreters can be created and loaded
26 test interp-1.1 {create a slave interp with [incr Tk]} {
27 interp create slave
28 load "" Itcl slave
29 load "" Tk slave
30 load "" Itk slave
31 list [slave eval "namespace children :: ::itk"] [interp delete slave]
35 safe::interpCreate slave
[all...]
/macosx-10.10/tcl-105/tcl84/tcl/library/
H A Dsafe.tcl5 # slave. It runs in a master interpreter and sets up data structure and
6 # aliases that will be invoked when used from a slave interpreter.
46 {-accessPath -list {} "access path for the slave"}
54 # create case (slave is optional)
56 {?slave? -name {} "name of the slave (optional)"}
62 # init and configure (slave is needed)
64 {slave -name {} "name of the slave"}
124 InterpCreate $slave
[all...]
/macosx-10.10/Libc-1044.1.2/util/
H A Dpty.c78 int master, slave; local
85 || (slave = open(sname, O_RDWR|O_NOCTTY, 0)) < 0) {
90 *aslave = slave;
94 (void) tcsetattr(slave, TCSAFLUSH, termp);
96 (void) ioctl(slave, TIOCSWINSZ, (char *)winp);
107 int master, slave, pid; local
109 if (openpty(&master, &slave, name, termp, winp) == -1)
122 * dup the slave as if login_tty() succeeded.
124 if (login_tty(slave) < 0) {
126 (void) dup2(slave,
[all...]
/macosx-10.10/tcl-105/tcl/tcl/library/
H A Dsafe.tcl5 # slave. It runs in a master interpreter and sets up data structure and
6 # aliases that will be invoked when used from a slave interpreter.
84 InterpCreate $slave $accessPath \
90 if {![::interp exists $slave]} {
91 return -code error "\"$slave\" is not an interpreter"
93 InterpInit $slave $accessPath \
97 # Check that the given slave is "one of us"
98 proc ::safe::CheckInterp {slave} {
99 namespace upvar ::safe S$slave state
100 if {![info exists state] || ![::interp exists $slave]} {
[all...]
/macosx-10.10/tcl-105/tcl_ext/incrtcl/incrTcl/itcl/tests/
H A Dinterp.test2 # Tests for using [incr Tcl] in slave interpreters
24 # Make sure that slave interpreters can be created and loaded
27 test interp-1.1 {create a slave interp with [incr Tcl]} {
28 interp create slave
29 load "" Itcl slave
30 list [slave eval "namespace children :: itcl"] [interp delete slave]
33 test interp-1.2 {create a safe slave interp with [incr Tcl]} {
34 interp create -safe slave
35 load "" Itcl slave
[all...]
/macosx-10.10/tcl-105/tk/tk/library/
H A Dsafetk.tcl21 # not relying on the slave state.
34 # tkInterpInit : prepare the slave interpreter for tk loading
36 # returns the slave name (tkInterpInit does)
38 proc ::safe::tkInterpInit {slave argv} {
45 allowTk $slave $argv
48 ::interp eval $slave [list set tk_library [::safe::interpAddToAccessPath $slave $tk_library]]
50 ::safe::interpAddToAccessPath $slave $subdir
52 return $slave
58 # and actually load Tk into the slave
[all...]
/macosx-10.10/tcl-105/tk84/tk/library/
H A Dsafetk.tcl21 # not relying on the slave state.
33 # tkInterpInit : prepare the slave interpreter for tk loading
35 # returns the slave name (tkInterpInit does)
37 proc ::safe::tkInterpInit {slave argv} {
46 allowTk $slave $argv
55 ::interp eval $slave [list set tk_library [::safe::interpAddToAccessPath $slave $tk_library]]
56 return $slave
62 # and actually load Tk into the slave.
71 {slave
[all...]
/macosx-10.10/tcl-105/tk/tk/generic/
H A DtkGeometry.c20 * each slave managed by Tk_MaintainGeometry, there is one of these structures
25 Tk_Window slave; /* The slave window being positioned. */ member in struct:MaintainSlave
26 Tk_Window master; /* The master that determines slave's
28 * slave's parent. */
29 int x, y; /* Desired position of slave relative to
31 int width, height; /* Desired dimensions of slave. */
71 * slave window.
319 * the slave into the coordinate system of the parent and respositions
320 * the slave i
334 Tk_MaintainGeometry( Tk_Window slave, Tk_Window master, int x, int y, int width, int height) argument
482 Tk_UnmaintainGeometry( Tk_Window slave, Tk_Window master) argument
[all...]
/macosx-10.10/sudo-73/src/
H A Dget_pty.c62 get_pty(master, slave, name, namesz, ttyuid)
64 int *slave;
77 if (openpty(master, slave, name, NULL, NULL) != 0)
86 get_pty(master, slave, name, namesz, ttyuid)
88 int *slave;
99 *slave = open(line, O_RDWR|O_NOCTTY, 0);
100 if (*slave == -1) {
126 get_pty(master, slave, name, namesz, ttyuid)
128 int *slave;
149 *slave
[all...]
/macosx-10.10/tcl-105/tk/tk/generic/ttk/
H A DttkManager.c15 * When a slave window requests a new size or some other parameter changes,
33 * There are three conditions under which a slave is removed:
40 * Case (2) is performed by calling Tk_ManageGeometry(slave,NULL,0);
43 * register an event handler on the slave widget to track <Destroy> events.
56 /* slave->flags bits:
58 #define SLAVE_MAPPED 0x1 /* slave to be mapped when master is */
140 * Recompute slave layout when master widget is resized.
141 * Keep the slave's map state in sync with the master's.
156 Ttk_Slave *slave = mgr->slaves[i]; local
157 if (slave
164 Ttk_Slave *slave = mgr->slaves[i]; local
178 Ttk_Slave *slave = clientData; local
192 Ttk_Slave *slave = (Ttk_Slave*)ckalloc(sizeof(*slave)); local
202 DeleteSlave(Ttk_Slave *slave) argument
253 InsertSlave(Ttk_Manager *mgr, Ttk_Slave *slave, int index) argument
285 Ttk_Slave *slave = mgr->slaves[index]; local
350 Ttk_Slave *slave = NewSlave(mgr, tkwin, slaveData); local
374 Ttk_Slave *slave = mgr->slaves[slaveIndex]; local
387 Ttk_Slave *slave = mgr->slaves[slaveIndex]; local
529 Ttk_Maintainable(Tcl_Interp *interp, Tk_Window slave, Tk_Window master) argument
[all...]
H A DttkManager.h23 * SlaveRemoved() is called immediately before a slave is removed.
24 * NB: the associated slave window may have been destroyed when this
27 * SlaveRequest() is called when a slave requests a size change.
42 MODULE_SCOPE void Ttk_GeometryRequestProc(ClientData, Tk_Window slave);
43 MODULE_SCOPE void Ttk_LostSlaveProc(ClientData, Tk_Window slave);
58 /* Rearrange slave positions */
62 /* Position and map the slave */
65 /* Unmap the slave */
74 /* Returns: index in slave array of specified window, -1 if not found */
85 /* Returns: client data associated with slave */
[all...]
/macosx-10.10/tcl-105/tcl_ext/tclvfs/tclvfs/library/template/
H A Dchrootvfs.tcl20 At the end of this file is example code showing one way to set up a safe slave interpreter suitable for
90 set slave [interp create -safe]
91 $slave expose cd
92 $slave expose encoding
93 $slave expose fconfigure
94 $slave expose file
95 $slave expose glob
96 $slave expose load
97 $slave expose pwd
98 $slave expos
[all...]
/macosx-10.10/tcl-105/tk84/tk/generic/
H A DtkGeometry.c21 * For each slave managed by Tk_MaintainGeometry, there is one of these
26 Tk_Window slave; /* The slave window being positioned. */ member in struct:MaintainSlave
27 Tk_Window master; /* The master that determines slave's
29 * slave's parent. */
30 int x, y; /* Desired position of slave relative to
32 int width, height; /* Desired dimensions of slave. */
72 * of a given slave window.
322 * geometry for the slave into the coordinate system of the parent
323 * and respositions the slave i
[all...]
/macosx-10.10/ruby-106/ruby/test/
H A Dtest_pty.rb61 master, slave = ret
62 assert(slave.tty?)
63 assert(File.chardev?(slave.path))
80 master, slave = ret
81 assert(slave.tty?)
82 assert(File.chardev?(slave.path))
94 PTY.open {|master, slave|
95 slave.close
97 assert(slave.closed?)
104 PTY.open {|master, slave|
[all...]
/macosx-10.10/Heimdal-398.1.2/tests/kdc/
H A Dcheck-iprop.in82 ${kadmin} -l add --random-key --use-defaults iprop/slave.test.h5l.se@${R} || exit 1
83 ${kadmin} -l ext -k ${keytab} iprop/slave.test.h5l.se@${R} || exit 1
108 echo "starting slave"
110 KRB5_CONFIG="${objdir}/krb5-slave.conf" \
111 ${ipropd_slave} --hostname=slave.test.h5l.se -k ${keytab} localhost &
113 sh ${wait_kdc} ipropd-slave || exit 1
115 echo "checking slave is up"
116 ${EGREP} 'iprop/slave.test.h5l.se@TEST.H5L.SE.*Up' iprop-stats >/dev/null || exit 1
123 KRB5_CONFIG="${objdir}/krb5-slave.conf" \
129 KRB5_CONFIG="${objdir}/krb5-slave
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/page/
H A Dpluginmgr.tcl476 proc ::page::pluginmgr::AliasOpen {slave file {acc {}} {perm {}}} {
480 ::safe::Log $slave =============================================
481 ::safe::Log $slave "open $file $acc $perm"
485 ::safe::Log $slave "permission denied"
486 ::safe::Log $slave 0/============================================
490 if {[catch {set file [::safe::TranslatePath $slave $file]} msg]} {
491 ::safe::Log $slave $msg
492 ::safe::Log $slave "permission denied"
493 ::safe::Log $slave 1/============================================
497 # check that the path is in the access path of that slave
[all...]
/macosx-10.10/CPANInternal-159.1/Class-Trigger-0.14/inc/IO/
H A DWrapTie.pm53 # Arguments are the slave class (e.g., IO::Scalar), followed by all
65 my $slave = shift;
66 tie *$io, $slave, @_; ### tie: will invoke slave's TIEHANDLE
73 # Delegate method invocations on the master to the underlying slave.
120 # When you send a new_tie() message to a tie-slave class (like IO::Scalar),
135 # All your tie-slave class (like IO::Scalar) has to do is override this
137 # class for tying that slave.
/macosx-10.10/ruby-106/ruby/ext/pty/
H A Dpty.c79 int master, slave; member in struct:child_info
90 int slave = carg->slave; local
127 (void) ioctl(slave, TIOCSCTTY, (char *)0);
130 close(slave);
131 slave = rb_cloexec_open(carg->slavename, O_RDWR, 0);
132 if (slave < 0) {
133 ERROR_EXIT("open: pty slave");
135 rb_update_max_fd(slave);
138 dup2(slave,
154 int master, slave, status = 0; local
219 get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg, int fail) argument
450 getDevice(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/expect/expect/
H A Dpty_termios.c378 int slave = -1; local
447 /* is it really necessary to verify slave side is usable? */
473 if (openpty(&master, &slave, master_name, 0, 0) != 0) {
475 close(slave);
478 strcpy(slave_name, ttyname(slave));
480 close(slave);
525 /dev/pty/tty[a-ce-z][0-9a-f] slave pseudo terminals
527 /dev/pty/tty[a-ce-z][0-9][0-9] slave pseudo terminals
533 /dev/pty/tty[a-ce-z][0-9][0-9][0-9] slave pseudo terminals
617 /* if slave i
638 int slave, slave2; local
[all...]
/macosx-10.10/tcl-105/tcl_ext/expect/expect/example/
H A Dxkibitz67 stty raw -echo < $spawn_out(slave,name)
70 stty -icrnl -icanon < $spawn_out(slave,name)
72 regexp ".*(.)(.)" $spawn_out(slave,name) dummy c1 c2
82 -S$c1$c2$spawn_out(slave,fd) \
84 close -slave
100 set pid2tty($pid) $spawn_out(slave,name)
201 set app_tty $spawn_out(slave,name)
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Drkpty.c85 static int slave; variable
103 if(openpty(&master, &slave, line, 0, 0) == 0)
127 slave = open(line, O_RDWR);
128 if (slave < 0)
129 errx(1, "failed to open slave when using %s", *q);
130 ioctl(slave, I_PUSH, "ptem");
131 ioctl(slave, I_PUSH, "ldterm");
371 dup2(slave, STDIN_FILENO);
372 dup2(slave, STDOUT_FILENO);
373 dup2(slave, STDERR_FILEN
[all...]
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/dnssec/ns7/
H A Dnamed.conf44 type slave;
50 type slave;
56 type slave;
62 type slave;
68 type slave;
/macosx-10.10/remote_cmds-47/timed.tproj/timed.tproj/
H A DMakefile6 measure.c networkdelta.c readmsg.c slave.c timed.c
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tk/
H A Dpack.rb60 def info(slave)
61 # slave = slave.epath if slave.kind_of?(TkObject)
62 slave = _epath(slave)
63 ilist = list(tk_call_without_enc('pack', 'info', slave))

Completed in 318 milliseconds

1234567