Searched refs:channel (Results 1 - 14 of 14) sorted by relevance

/ast/src/lib/libtksh/tcl/
H A DtclIOUtil.c83 * used to specify a channel, zero means that
86 * for file name or channel name. May be
89 * specify mode for channel. */
98 * to a channel. */
120 Tcl_AppendResult(interp, "channel \"", Tcl_GetChannelName(chan),
805 Tcl_Channel channel;
1003 channel = Tcl_GetStdChannel(TCL_STDIN);
1004 if (channel != NULL) {
1005 inputFile = Tcl_GetChannelFile(channel, TCL_READABLE);
1029 channel
1357 Tcl_Channel channel; local
[all...]
H A DtclUnixChan.c4 * Common channel driver for Unix channels based on files, command
21 * This structure describes per-instance state of a file based channel.
30 * This structure describes per-instance state of a pipe based channel.
46 * This structure describes per-instance state of a tcp based channel.
175 * This structure describes the channel type structure for file based IO:
189 FileGetProc, /* Get Tcl_Files out of channel. */
193 * This structure describes the channel type structure for command pipe
208 PipeGetProc, /* Get Tcl_Files out of channel. */
212 * This structure describes the channel type structure for TCP socket
227 TcpGetProc, /* Get Tcl_Files out of channel
1314 Tcl_Channel channel; local
2405 Tcl_Channel channel = NULL; local
[all...]
/ast/src/cmd/3d/
H A D3d.h190 long channel; member in struct:Mount
357 #define fsmount(p) (((p)->channel&&(p)->fs->fd)?((p)->channel==-1?-1:(p)->fs->fd):fschannel(p))
451 } channel; member in struct:__anon7
H A Dfork3d.c51 state.channel.internal = 0;
H A Dmap.c94 if (mp->channel)
95 p += sfsprintf(p, 0, "/channel=%d", MSG_CHANNEL_SYS(mp->channel));
107 + (mp ? ((mp->channel ? 16 : 0) + (mp->physical ? (mp->physicalsize ? mp->physicalsize : strlen(mp->physical)) : 0) + getattr(mp->attr, NiL)) : 0)
420 if ((oe - ov) > 8 && strneq(ov, "channel=", 8))
422 mp->channel = strtol(ov + 8, (char**)&ov, 0);
H A Dfs.c41 * initialize mount channel and return fs fd for mp
50 if (mp->channel == -1)
53 if (mp->channel && fs->fd)
57 if (mp->channel)
59 mp->channel = 1;
480 n = msgvcall(cd, MSG_CHANNEL(state.pid, mp->channel), call, rp, xp, ap);
H A Dinit.c101 if (mp->fs == fs && mp->channel && mp->channel != -1)
103 n += sfsprintf(buf + n, 0, "=%d.%d", state.pid, MSG_CHANNEL_SYS(mp->channel));
340 mp->channel = MSG_CHANNEL(state.pid, n);
1026 if (mp->channel) bprintf(&b, e, " channel=%u", MSG_CHANNEL_SYS(mp->channel));
1694 if (state.table.fd <= 0 && (state.channel.fd = open("/dev/null", O_RDONLY)) >= 0)
1695 reserve(&state.channel.fd);
/ast/src/lib/libcs/
H A Dmsglist.c123 r += sfprintf(sp, " %5d %5d", MSG_CHANNEL_USR(msg->channel), MSG_CHANNEL_SYS(msg->channel));
H A Dmsguser.c41 msgvcall(int fd, unsigned long channel, unsigned long call, Msg_return_t* ret, void** xp, va_list ap) argument
95 if ((t = msgcall(fd, channel, call, ret, ip, b, z, o)) == -1)
112 msgputu(&b, e, channel);
376 msgcall(int fd, unsigned long channel, unsigned long call, Msg_return_t* ret, ...) argument
382 n = msgvcall(fd, channel, call, ret, NiL, ap);
H A Dmsg.h55 #define MSG_LIST_ID (1<<0) /* list channel id */
173 unsigned long channel; member in struct:__anon345
H A Dmsgblast.c52 msg->channel = msggetu(&b, e);
/ast/src/cmd/cs/
H A Dmbb.c38 " be prefixed by its channel number. The server changes this to"
40 " identification number. Messages with invalid or missing channel"
56 " may send messages on channel 0, with the exception that client"
57 " messages on channel 0 are not sent to the other clients. The control"
60 " channel numbers in the bitmask \amask\a. The default"
62 " channel 0.]"
203 post(Css_t* css, Cssdisc_t* disc, Connection_t* from, register Connection_t* to, int channel, const char* format, ...) argument
211 sfprintf(state->tmp, "%d", channel);
222 m = CHAN_MASK(channel);
/ast/src/lib/libtksh/src/
H A DtclIO.c5 * all platforms and for all channel types) of Tcl's IO facilities.
55 * Buffers data being sent to or from a channel.
84 * each close callback registered for a channel.
108 struct Channel *chanPtr; /* The channel for which this script is
138 * One of these structures is allocated for each open channel. It contains data
139 * specific to the channel but which belongs to the generic part of the Tcl
140 * channel mechanism, and it points at an instance specific (and type
141 * specific) * instance data, and at a channel type structure.
145 char *channelName; /* The name of the channel instance in Tcl
164 int outEofChar; /* If nonzero, append this to the channel
988 Tcl_Channel channel = NULL; local
[all...]
/ast/src/lib/libtksh/include/
H A Dtcl.h648 * Typedefs for the various operations in a channel type:
688 * One such structure exists for each type (kind) of channel.
690 * part of the specific channel type.
694 char *typeName; /* The name of the channel type in Tcl
696 * channel type. */
699 * raw channel. May be NULL. */
701 * the channel. */
703 * on channel. */
705 * on channel. */
707 * on the channel
[all...]

Completed in 579 milliseconds