Searched defs:proc (Results 1 - 25 of 44) sorted by relevance

12

/ast/src/lib/libtksh/tcl/
H A DtclAsync.c31 Tcl_AsyncProc *proc; /* Procedure to call when handler member in struct:AsyncHandler
83 Tcl_AsyncCreate(proc, clientData)
84 Tcl_AsyncProc *proc; /* Procedure to call when handler
93 asyncPtr->proc = proc;
197 code = (*asyncPtr->proc)(asyncPtr->clientData, interp, code);
H A DtclFHandle.c31 Tcl_FileFreeProc *proc; /* Callback to invoke when file is freed. */ member in struct:FileHandle
88 newHandlePtr->proc = NULL;
123 if (handlePtr->proc) {
124 (*handlePtr->proc)(handlePtr->data);
201 Tcl_SetNotifierData(handle, proc, data)
203 Tcl_FileFreeProc *proc;
207 handlePtr->proc = proc;
222 * Tcl_SetNotifierData, and places a pointer to the free proc
238 *procPtr = handlePtr->proc;
[all...]
H A DtclNotify.c133 * given by proc and clientData.
270 Tcl_DeleteEvents(proc, clientData)
271 Tcl_EventDeleteProc *proc; /* The procedure to call. */
279 if ((*proc) (evPtr, clientData) == 1) {
329 Tcl_EventProc *proc;
351 * 1. Set the "proc" field to NULL. This is a signal to ourselves
361 proc = evPtr->proc;
362 evPtr->proc = NULL;
363 if ((proc !
324 Tcl_EventProc *proc; local
[all...]
/ast/src/lib/libast/sfio/
H A Dsfpopen.c29 #include <proc.h>
143 reg Proc_t* proc; local
169 if (!(proc = procopen(0, av, 0, 0, flags)))
172 (sflags&SF_READ) ? proc->rfd : proc->wfd, sflags|((sflags&SF_RDWR)?0:SF_READ))) ||
173 _sfpopen(f, (sflags&SF_READ) ? proc->wfd : -1, proc->pid, pflags) < 0)
176 procclose(proc);
179 procfree(proc);
/ast/src/cmd/cs/
H A Dcss.c56 #include <proc.h>
67 Proc_t* proc; member in struct:__anon73
129 if ((n -= ++s - buf) > 0 && cswrite(css->state, state->proc->wfd, s, n) != n)
146 if (cswrite(css->state, state->proc->wfd, s, n) != n)
214 if (!(state.proc = procopen(argv[1], argv + 1, NiL, NiL, PROC_READ|PROC_WRITE)))
218 if (!(fp = cssfd(css, state.proc->rfd, CS_POLL_READ)))
H A Dcs.c70 " to the network \b/proc\b path for the service process.]"
121 #include <proc.h>
191 char* proc; local
247 proc = proc_buf;
248 if (strncmp(proc + PROC_OFF, "/n/", 3))
249 u = proc + PROC_OFF;
252 t = proc + PROC_OFF + 3;
286 sfprintf(sfstdout, "%c%s 1 %-8s %-8s %7s %s %s%s%s\n", label[0][0], fmtmode(mode, 0) + 1, fmtuid(st.st_uid), (mode & S_IROTH) ? "other" : fmtgid(ftw->statb.st_gid), port, time_buf, label[2], qual_buf, proc);
333 sfprintf(sfstdout, " %s", u ? u : proc + PROC_OFF);
399 char* proc; local
[all...]
/ast/src/lib/libtksh/include/
H A DtclInt.h19 Tcl_CmdProc *proc; /* Procedure to process command. */ member in struct:Command
20 ClientData clientData; /* Arbitrary value to pass to proc. */
34 Tcl_MathProc *proc; /* Procedure that implements this function. */ member in struct:MathFunc
H A Dtkshlib.h220 Tcl_CmdProc *proc, ClientData clientData);
282 Tcl_CmdTraceProc *proc; /* Procedure to call to trace command. */ member in struct:Trace
283 ClientData clientData; /* Arbitrary value to pass to proc. */
290 Tcl_InterpDeleteProc *proc; /* Proc to call when deleting. */ member in struct:AssocData
291 ClientData clientData; /* Value to pass to proc. */
/ast/src/lib/libcoshell/
H A Dcoexec.c30 #include <proc.h>
36 Proc_t* proc; local
70 if (!(proc = procopen(cs->path, cs->argv, NiL, ops, PROC_DAEMON|PROC_IGNORE)))
78 cs->pid = proc->pid;
79 procfree(proc);
H A Dcoopen.c31 #include <proc.h>
156 Proc_t* proc; local
196 proc = 0;
245 if ((co->mode & CO_MODE_SEPARATE) || (proc = procopen(s, av, ev, ops, (co->flags & (CO_SHELL|CO_ORPHAN)) ? (PROC_ORPHAN|PROC_DAEMON|PROC_IGNORE) : (PROC_DAEMON|PROC_IGNORE))))
250 if (proc)
252 co->pid = proc->pid;
253 procfree(proc);
/ast/src/lib/libtk/generic/
H A DtkSelect.h57 Tk_SelectionProc *proc; /* Procedure to generate selection member in struct:TkSelHandler
59 ClientData clientData; /* Argument to pass to proc. */
60 int size; /* Size of units returned by proc
87 int (*proc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp *interp, member in struct:TkSelRetrievalInfo
90 ClientData clientData; /* Argument for proc. */
178 Tk_GetSelProc *proc, ClientData clientData));
H A DtkEvent.c52 Tk_GenericProc *proc; /* Procedure to dispatch on all X events. */ member in struct:GenericHandler
169 * proc will be called. See the manual entry for details
170 * of the calling sequence and return value for proc.
176 Tk_CreateEventHandler(token, mask, proc, clientData)
179 unsigned long mask; /* Events for which proc should
181 Tk_EventProc *proc; /* Procedure to call for each
183 ClientData clientData; /* Arbitrary data to pass to proc. */
207 if ((handlerPtr->proc == proc)
228 handlerPtr->proc
[all...]
/ast/src/cmd/tests/vmalloc/
H A Dtsharemem.c116 pid_t proc[N_PROC]; local
166 proc[k] = makeprocess(argv[0], store, type, k);
168 code = twait(proc, N_PROC);
/ast/src/cmd/coshell/
H A Dshell.c30 #include <proc.h>
57 Proc_t* proc; local
103 if (!(proc = procopen(sh, av, NiL, NiL, 0)))
111 message((-1, "%s: open shell pid=%d", sp->name, proc->pid));
113 sp->fd = -proc->pid;
125 procfree(proc);
/ast/src/lib/libtksh/src/
H A Dbasic.c44 Tcl_CmdProc *proc; /* Procedure that executes command. */ member in struct:__anon429
90 {"proc", Tcl_ProcCmd},
255 * proc will be invoked. See the manual entry for
262 Tcl_CallWhenDeleted(interp, proc, clientData)
264 Tcl_InterpDeleteProc *proc; /* Procedure to call when interpreter
266 ClientData clientData; /* One-word value to pass to proc. */
283 dPtr->proc = proc;
301 * If proc and clientData were previously registered as a
310 Tcl_DontCallWhenDeleted(interp, proc, clientDat
[all...]
/ast/src/lib/libast/misc/
H A Dprocopen.c160 modify(Proc_t* proc, int forked, int op, long arg1, long arg2) argument
247 m->next = proc->mods;
248 proc->mods = m;
300 proc->pgrp = arg1;
307 proc->mods = m->next;
311 proc->mods = m->next;
315 NoP(proc);
327 restore(Proc_t* proc) argument
333 NoP(proc);
335 m = proc
402 register Proc_t* proc = 0; local
[all...]
/ast/src/lib/libast/path/
H A Dpathprobe.c28 * information for lang and tool using proc
49 #include <proc.h>
52 pathprobe(char* path, char* attr, const char* lang, const char* tool, const char* proc, int op) argument
54 return pathprobe_20100601(lang, tool, proc, op, path, PATH_MAX, attr, PATH_MAX);
100 char* proc = (char*)aproc; local
129 if (*proc != '/')
131 if (p = strchr(proc, ' '))
133 strncopy(buf, proc, p - proc + 1);
134 proc
[all...]
/ast/src/lib/libmam/
H A Dmam.h101 struct proc /* mam process trace */ struct
104 struct proc* parent; /* parent proc */
105 struct proc* child; /* child proc list */
106 struct proc* sibling; /* sibling procs */
126 struct proc* main; /* main proc */
141 extern struct rule* mamrule(struct proc*, const char*);
142 extern struct var* mamvar(struct proc*, cons
[all...]
/ast/src/cmd/pax/
H A Dformat.c91 Proc_t* proc; local
113 proc = procopen(*cmd, cmd, NiL, ops, 0);
118 proc = procopen(*cmd, cmd, NiL, ops, PROC_READ);
120 if (!proc)
124 if (n = procclose(proc))
135 ap->io->fd = proc->rfd;
138 p->item = (void*)proc;
139 p->next = state.proc;
140 state.proc = p;
/ast/src/cmd/tests/cdt/
H A Dtrehash.c122 static void workload(Dt_t* dt, Proc_t* proc, int p) argument
134 for(k = 0; k < proc->objn; ++k)
138 or = proc->obj+k;
149 or = proc->obj+r;
153 p,pid, or->str, proc->obj[k].str, os);
166 for(k = 0; k < proc->objn; ++k)
170 if(dtdelete(dt, proc->obj+k) == Proc[p].obj+k )
171 proc->obj[k].flag |= DELETE;
177 or = proc->obj+r;
H A Dtsafehash.c122 static void workload(Dt_t* dt, Proc_t* proc, int p) argument
134 for(k = 0; k < proc->objn; ++k)
138 or = proc->obj+k;
149 or = proc->obj+r;
153 p,pid, or->str, proc->obj[k].str, os);
166 for(k = 0; k < proc->objn; ++k)
170 if(dtdelete(dt, proc->obj+k) == Proc[p].obj+k )
171 proc->obj[k].flag |= DELETE;
177 or = proc->obj+r;
H A Dtsafetree.c124 static void workload(Dt_t* dt, Proc_t* proc, int p) argument
136 for(k = 0; k < proc->objn; ++k)
140 or = proc->obj+k;
151 or = proc->obj+r;
155 p,pid, or->str, proc->obj[k].str, os);
168 for(k = 0; k < proc->objn; ++k)
172 if(dtdelete(dt, proc->obj+k) == Proc[p].obj+k )
173 proc->obj[k].flag |= DELETE;
179 or = proc->obj+r;
H A Dtvsafehash.c149 static pid_t makeprocess(char* proc, int num, char* aso) argument
163 argv[i++] = proc;
171 if(execv(proc, argv) < 0 )
172 terror("Process[num=%d]: Could not execv() %s", num, proc);
H A Dtvsaferehash.c151 static pid_t makeprocess(char* proc, int num, char* aso) argument
165 argv[i++] = proc;
173 if(execv(proc, argv) < 0 )
174 terror("Process[num=%d]: Could not execv() %s", num, proc);
H A Dtvsafetree.c148 static pid_t makeprocess(char* proc, int num, char* aso) argument
162 argv[i++] = proc;
170 if(execv(proc, argv) < 0 )
171 terror("Process[num=%d]: Could not execv() %s", num, proc);

Completed in 66 milliseconds

12