Searched refs:chan (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libtksh/tcl/
H A DtclIOCmd.c37 Tcl_Channel chan, char *address, int port));
72 Tcl_Channel chan; /* The channel to puts on. */
110 chan = Tcl_GetChannel(interp, channelId, &mode);
111 if (chan == (Tcl_Channel) NULL) {
120 result = Tcl_Write(chan, argv[i], -1);
125 result = Tcl_Write(chan, "\n", 1);
132 Tcl_AppendResult(interp, "error writing \"", Tcl_GetChannelName(chan),
163 Tcl_Channel chan; /* The channel to flush on. */
173 chan = Tcl_GetChannel(interp, argv[1], &mode);
174 if (chan
71 Tcl_Channel chan; /* The channel to puts on. */ local
161 Tcl_Channel chan; /* The channel to flush on. */ local
214 Tcl_Channel chan; /* The channel to read from. */ local
298 Tcl_Channel chan; /* The channel to read from. */ local
541 Tcl_Channel chan; /* The channel to tell on. */ local
612 Tcl_Channel chan; /* The channel to tell on. */ local
658 Tcl_Channel chan; /* The channel to close. */ local
718 Tcl_Channel chan; /* The channel to set a mode on. */ local
794 Tcl_Channel chan; /* The channel to query for EOF. */ local
980 Tcl_Channel chan; /* The channel to query for blocked. */ local
1029 Tcl_Channel chan; local
[all...]
H A DtclUnixChan.c664 TclGetAndDetachPids(interp, chan)
666 Tcl_Channel chan;
677 chanTypePtr = Tcl_GetChannelType(chan);
682 pipePtr = (PipeState *) Tcl_GetChannelInstanceData(chan);
1126 Tcl_Channel chan;
1194 chan = Tcl_CreateChannel(&fileChannelType, channelName,
1202 if (chan == (Tcl_Channel) NULL) {
1214 if (Tcl_Seek(chan, 0, SEEK_END) < 0) {
1220 Tcl_Close(NULL, chan);
1224 return chan;
1109 Tcl_Channel chan; local
1234 Tcl_Channel chan; local
1396 Tcl_Channel chan; /* The channel to get pids for. */ local
2525 Tcl_Channel chan; local
[all...]
H A DtclIOUtil.c101 Tcl_Channel chan;
114 chan = Tcl_GetChannel(interp, spec, NULL);
115 if (chan == (Tcl_Channel) NULL) {
118 file = Tcl_GetChannelFile(chan, writing ? TCL_WRITABLE : TCL_READABLE);
120 Tcl_AppendResult(interp, "channel \"", Tcl_GetChannelName(chan),
133 Tcl_Flush(chan);
371 Tcl_Channel chan = (Tcl_Channel) NULL;
400 chan = Tcl_OpenFileChannel(interp, nativeName, "r", 0644);
401 if (chan == (Tcl_Channel) NULL) {
408 result = Tcl_Read(chan, cmdBuffe
[all...]
H A DtclInterp.c315 Tcl_Channel chan; /* Channel to remove from
360 chan = Tcl_GetStdChannel(TCL_STDIN);
361 if (chan != (Tcl_Channel) NULL) {
362 Tcl_UnregisterChannel(interp, chan);
364 chan = Tcl_GetStdChannel(TCL_STDOUT);
365 if (chan != (Tcl_Channel) NULL) {
366 Tcl_UnregisterChannel(interp, chan);
368 chan = Tcl_GetStdChannel(TCL_STDERR);
369 if (chan != (Tcl_Channel) NULL) {
370 Tcl_UnregisterChannel(interp, chan);
311 Tcl_Channel chan; /* Channel to remove from local
1260 Tcl_Channel chan; /* Channel to share or transfer. */ local
[all...]
/ast/src/lib/libtk/generic/
H A DtkMain.c272 Tcl_Channel chan = (Tcl_Channel) clientData;
274 count = Tcl_Gets(chan, &line);
281 Tcl_DeleteChannelHandler(chan, StdinProc, (ClientData) chan);
307 Tcl_CreateChannelHandler(chan, 0, StdinProc, (ClientData) chan);
309 Tcl_CreateChannelHandler(chan, TCL_READABLE, StdinProc,
310 (ClientData) chan);
270 Tcl_Channel chan = (Tcl_Channel) clientData; local
H A DtkCanvPs.c60 Tcl_Channel chan; /* Open channel corresponding to fileName. */ member in struct:TkPostscriptInfo
194 psInfo.chan = NULL;
299 psInfo.chan = Tcl_OpenFileChannel(canvasPtr->interp, p, "w", 0666);
301 if (psInfo.chan == NULL) {
402 if (psInfo.chan != NULL) {
403 Tcl_Write(psInfo.chan, canvasPtr->interp->result, -1);
449 if (psInfo.chan != NULL) {
450 Tcl_Write(psInfo.chan, canvasPtr->interp->result, -1);
483 if (psInfo.chan != NULL) {
484 Tcl_Write(psInfo.chan, canvasPt
1136 Tcl_Channel chan; local
[all...]
H A DtkOption.c910 Tcl_Channel chan;
917 chan = Tcl_OpenFileChannel(interp, realName, "r", 0);
919 if (chan == NULL) {
931 bufferSize = Tcl_Seek(chan, 0L, SEEK_END);
932 (void) Tcl_Seek(chan, 0L, SEEK_SET);
937 Tcl_Close(NULL, chan);
942 bufferSize = Tcl_Read(chan, buffer, bufferSize);
946 Tcl_Close(NULL, chan);
949 Tcl_Close(NULL, chan);
902 Tcl_Channel chan; local
/ast/src/cmd/tksh/
H A DtkMain.c106 Tcl_Channel errChannel, chan;
221 chan = Tcl_OpenFileChannel(interp, fullName, "r", 0);
222 if (chan != (Tcl_Channel) NULL) {
223 Tcl_Close(NULL, chan);
324 Tcl_Channel chan = (Tcl_Channel) clientData;
326 count = Tcl_Gets(chan, &line);
333 Tcl_DeleteChannelHandler(chan, StdinProc, (ClientData) chan);
359 Tcl_CreateChannelHandler(chan, 0, StdinProc, (ClientData) chan);
105 Tcl_Channel errChannel, chan; local
[all...]
/ast/src/lib/libtksh/include/
H A Dtcl.h309 Tcl_Channel chan, char *address, int port));
797 Tcl_Channel chan));
809 Tcl_Channel chan, int mask,
812 Tcl_Channel chan, Tcl_CloseProc *proc,
850 Tcl_Channel chan, Tcl_ChannelProc *proc,
853 Tcl_Channel chan, Tcl_CloseProc *proc,
899 EXTERN int Tcl_Eof _ANSI_ARGS_((Tcl_Channel chan));
922 EXTERN int Tcl_Flush _ANSI_ARGS_((Tcl_Channel chan));
936 Tcl_Channel chan));
937 EXTERN Tcl_File Tcl_GetChannelFile _ANSI_ARGS_((Tcl_Channel chan,
[all...]
/ast/src/lib/libtksh/src/
H A DtclIO.c358 Tcl_Channel chan));
1089 Tcl_CreateCloseHandler(chan, proc, clientData)
1090 Tcl_Channel chan; /* The channel for which to create the
1100 chanPtr = (Channel *) chan;
1131 Tcl_DeleteCloseHandler(chan, proc, clientData)
1132 Tcl_Channel chan; /* The channel for which to cancel the
1142 chanPtr = (Channel *) chan;
1419 CheckForStdChannelsBeingClosed(chan)
1420 Tcl_Channel chan;
1422 Channel *chanPtr = (Channel *) chan;
5765 Tcl_Channel chan; /* The opaque type for the channel. */ local
5864 Tcl_Channel chan; /* The opaque type. */ local
[all...]

Completed in 34 milliseconds