Searched refs:event (Results 1 - 25 of 44) sorted by relevance

12

/ast/src/lib/libtk/generic/
H A DtkTest.c30 char *name; /* Name of event. */
373 * events to be generated on the fly, for testing event-handling.
394 XEvent event;
412 * Get the type of the event.
415 memset((VOID *) &event, 0, sizeof(event));
418 Tcl_AppendResult(interp, "bad event type \"", argv[2],
423 event.xany.type = eiPtr->type;
432 event.xany.serial = NextRequest(Tk_Display(tkwin));
433 event
390 XEvent event; local
[all...]
H A DtkBind.c29 * Tcl "event" command.
30 * "event" command implementation.
31 * "event" implementation helpers.
46 Tk_Uid name; /* Tk_Uid of virtual event. */
54 * represents a domain in which event bindings may occur. It includes
60 * are multiple domains within an application with separate event
84 * event. Newer events have higher
86 Tcl_HashTable patternTable; /* Used to map from an event to a
88 * event. Keys are PatternTableKey
99 * The following structure represents virtual event tabl
2784 } event; local
[all...]
H A DtkWindow.c106 {"event", Tk_EventCmd},
990 XEvent event;
994 * A destroy event binding caused the window to be destroyed
1007 * a Destroy event handler deletes the window's parent this
1059 * conditions, such as when a Delete event handler for a
1069 * Generate a DestroyNotify event. In order for the DestroyNotify
1070 * event to be processed correctly, need to make sure the window
1072 * expensive, but without it no event handlers will get called for
1077 * not make the window exist or generate the event.
1084 event
981 XEvent event; local
1197 XEvent event; local
1372 XEvent event; local
1771 XEvent event; local
[all...]
H A DtkFocus.c191 * a FocusIn, FocusOut, Enter, or Leave event.
195 * the event normally (i.e. event handlers should be invoked).
196 * A return value of 0 means that this event should be ignored.
206 TkWindow *winPtr; /* Window that focus event is directed to. */
207 XEvent *eventPtr; /* FocusIn or FocusOut event. */
222 * the event queue, which could cause problems if other things
233 * If this was a generated event, just turn off the generated
234 * flag and pass the event through.
243 * This was not a generated event
664 XEvent event; local
[all...]
H A DtkEvent.c34 TkWindow *winPtr; /* Window for event. Gets set to None if
35 * window is deleted while event is being
79 * Tcl event queue.
84 XEvent event; /* The X event. */ member in struct:TkWindowEvent
88 * Array of event masks corresponding to each X event:
167 * From now on, whenever an event of the type given by
182 * selected event */
191 * overall event mas
[all...]
H A DtkGrab.c72 * LastRelease(B | GB): restrict window -> anc(grab window, event window)
73 * Grab(U | B): event window -> anc(grab window, event window)
74 * Grab(G): anc(old grab window, event window) ->
75 * anc(new grab window, event window)
76 * Grab(GB): restrict window -> anc(new grab window, event window)
77 * Ungrab(G): anc(grab window, event window) -> event window
78 * Ungrab(GB): restrict window -> event window
104 * event
1099 XEvent event; local
[all...]
H A DtkTextTag.c1112 XEvent *eventPtr; /* Pointer to X event that just
1200 * Find the character containing the coordinates in an event
1202 * "current" mark has moved then generate a fake leave event
1203 * on the old current character and a fake enter event on the new
1234 XEvent event;
1260 * Save information about this event in the widget in case we have
1264 * EnterNotify events, since that's what gets reported to event
1335 * Invoke the binding system with a LeaveNotify event for all of
1350 event = textPtr->pickEvent;
1351 event
1225 XEvent event; local
[all...]
/ast/src/cmd/coshell/
H A DMakefile12 event tcp $(BINDIR) :SERVICE: event.c -lcs -ldbm
H A Devent.c26 * shared event daemon
33 "[-?\n@(#)$Id: event (AT&T Research) 2007-06-05 $\n]"
35 "[+NAME?event - shared event client and server]"
36 "[+DESCRIPTION?\bevent\b is a shared event client and server. Events are "
38 "event has a name, an expiration, and a binary status \braised\b or "
39 "\bnot-raised\b. A non-existent event is \bnot-raised\b. Events may be "
57 "unconditionally held until a \brelease\b with no event "
61 "[+list [ \apattern\a ]]?Start an event dictionary scan and list "
62 "the first event
170 Event_t* event; /* event bucket pointer */ member in struct:Waiting_s
[all...]
/ast/src/cmd/jcl/
H A DJCL.mk28 :COSHELL: service=event db=$(JCLEVENTS) coshell $(JCLGROUP:+group=$(JCLGROUP))
36 event wait $(<)
39 event raise $(<:/.RAISE$//)$(JCL_AUTO_FRAGMENT_INDEX:+$(~$(<<):N=\(JCL_AUTO_FRAG\):+-$(JCL_AUTO_FRAG)))
42 event clear $(<:/.DELETE$//)
H A Djcm.c41 "[p:portable?Convert event names for \b/bin/make\b portability.]"
131 Jcmevent_t* event; member in struct:Jcmlist_s
377 register Jcmevent_t* event; local
382 if (event = (Jcmevent_t*)dtmatch(state.events, s))
387 return event;
389 sfprintf(state.tmp, "{%lu}", ++event->dup);
394 if (!(s = (const char*)sfstruse(state.tmp)) || !(event = newof(0, Jcmevent_t, 1, strlen(s))))
396 strcpy(event->name, s);
397 dtinsert(state.events, event);
399 copy(event
484 append(Jcmlist_t* list, Jcmevent_t* event) argument
510 register Jcmevent_t* event; local
583 dump(Sfio_t* sp, register Jcmevent_t* event) argument
[all...]
/ast/src/lib/libtk/unix/
H A DtkUnixEvent.c4 * This file implements an event source for X displays for the
34 * This procedure is part of the event source for UNIX X displays.
80 * This procedure is the second part of the "event source" for
88 * Makes entries on the Tcl event queue for all the events available
103 XEvent event;
158 * Transfer events from the X event queue to the Tk event queue.
162 XNextEvent(dispPtr->display, &event);
163 Tk_QueueWindowEvent(&event, TCL_QUEUE_TAIL);
176 * the event sourc
101 XEvent event; local
[all...]
/ast/src/lib/libcodex/
H A Dcodex.c228 char* event; local
236 event = "ATEXIT";
239 event = "CLOSING";
242 event = "DBUFFER";
245 event = "DPOLL";
248 event = "DPOP";
251 event = "DPUSH";
254 event = "FINAL";
257 event = "LOCKED";
260 event
[all...]
/ast/src/cmd/tests/cdt/
H A Dtevent.c25 static int event(Dt_t* dt, int type, Void_t* obj, Dtdisc_t* disc) function
69 newint, NIL(Dtfree_f), compare, hashint, memory, event
81 terror("Bad count of DT_OPEN event");
83 terror("Bad count of DT_ENDOPEN event");
87 terror("No hash table size event");
92 terror("No meth event");
97 terror("No disc event");
102 terror("Bad count of DT_CLOSE event");
104 terror("Bad count of DT_ENDCLOSE event");
H A Dtshare.c28 static int event(Dt_t* dt, int type, Void_t* obj, Dtdisc_t* disc) function
30 static int event(dt, type, obj, disc)
81 memory, event
/ast/src/cmd/ksh93/bltins/
H A Dalarm.c162 static char *setdisc(Namval_t *np, const char *event, Namval_t* action, Namfun_t argument
166 if(!event)
168 if(strcmp(event,ALARM)!=0)
171 return(nv_setdisc(np, event, action, fp));
H A Dmkservice.c72 "[+NAME? eloop - process event loop]"
346 static char* setdisc(Namval_t* np, const char* event, Namval_t* action, Namfun_t* fp) argument
351 register int n = strlen(event) - 1;
356 if (memcmp(event, cp, n))
372 return nv_setdisc(np, event, action, fp);
/ast/src/cmd/re/
H A Ded.c107 unsigned long event; member in struct:__anon199
180 unsigned long event; member in struct:__anon200
454 ed.event++;
471 register unsigned long event; local
477 event = ed.event;
481 if (a1->event == event) {
547 a1->event = ed.event;
[all...]
/ast/src/cmd/tests/sfio/
H A Dtsync.c47 int event(Sfio_t* f, int type, Void_t* arg, Sfdisc_t* disc) function
49 int event(f,type,arg,disc)
87 Mydisc_t Mydisc = {{(Sfread_f)0, newline, (Sfseek_f)0, event, (Sfdisc_t*)0}, 0};
/ast/src/lib/libast/cdt/
H A Ddtlist.c338 static int listevent(Dt_t* dt, int event, Void_t* arg) argument
340 static int listevent(dt, event, arg)
342 int event;
348 if(event == DT_OPEN)
359 else if(event == DT_CLOSE)
H A Ddthash.c386 static int hashevent(Dt_t* dt, int event, Void_t* arg) argument
390 if(event == DT_OPEN)
401 else if(event == DT_CLOSE)
/ast/src/cmd/nmake/
H A Dmake.c489 r->time = r0->event = tevent = t;
558 if (!statetimeq(r1, r0) || !r0->event)
561 r1->event = r0->event;
633 if (!state.intermediate && !r->time && r0->time && r0->event && (r0->dynamic & D_built) && !(parent->property & P_state) && (r2 = staterule(RULE, parent, NiL, 0)) && (r2->dynamic & D_built))
641 else if (!statetimeq(r, r0) || !r0->event || (r->dynamic & D_aliaschanged))
651 if (r0->event && r0->time)
653 else if (r0->event && r->view)
659 r0->event = CURTIME;
672 r0->event
[all...]
H A Dstate.c173 if (s && (op == RULE && (s->event >= v->event && s->event || !v->time && (v->property & P_force)) || op == PREREQS && s->time >= v->time))
202 s->event = v->event;
1006 r->event = s->event;
1034 * this alternate event time prevents the action from
1041 r->time = s->event;
1167 s->event
[all...]
/ast/src/cmd/ksh93/sh/
H A Dnvdisc.c442 * Set disc on given <event> to <action>
444 * A null return value indicates that no <event> is known for <np>
445 * If <event> is NULL, then return the event name after <action>
446 * If <event> is NULL, and <action> is NULL, return the first event
448 char *nv_setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
466 if(!event)
471 event = (char*)action;
475 if(strcmp(event,nam
558 setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
[all...]
/ast/src/lib/libcs/
H A Dcspoll.c126 if ((pp->event & CS_POLL_CONTROL) && ioctl(fd, FIONREAD, &n))

Completed in 65 milliseconds

12