/ast/src/lib/libtk/unix/ |
H A D | tkUnixEvent.c | 4 * 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/cmd/tests/cdt/ |
H A D | tevent.c | 25 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 D | tshare.c | 28 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/tests/sfio/ |
H A D | tsync.c | 47 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 D | dtlist.c | 338 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 D | dthash.c | 386 static int hashevent(Dt_t* dt, int event, Void_t* arg) argument 390 if(event == DT_OPEN) 401 else if(event == DT_CLOSE)
|
H A D | dttree.c | 639 static int treeevent(Dt_t* dt, int event, Void_t* arg) argument 643 if(event == DT_OPEN) 654 else if(event == DT_CLOSE) 663 else if(event == DT_OPTIMIZE) /* balance the search tree */
|
/ast/src/lib/libtk/generic/ |
H A D | tkFocus.c | 191 * 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 D | tkEvent.c | 34 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 D | tkTextTag.c | 1112 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...] |
H A D | tkGrab.c | 72 * 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 D | tkTest.c | 30 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 D | tkWindow.c | 106 {"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 D | tkCanvas.c | 1603 * event handlers to be invoked). 1798 XEvent *eventPtr; /* Information about event. */ 2796 XEvent *eventPtr; /* Pointer to X event that just 2835 * button state before the event, then process the event. For 2836 * button release events, first process the event, then repick 2837 * the current item using the button state *after* the event 2845 * the button state before the event, the process the event. 2854 * Button release: first process the event, wit 2995 XEvent event; local 3048 XEvent event; local [all...] |
H A D | tkBind.c | 29 * 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...] |
/ast/src/cmd/ksh93/bltins/ |
H A D | alarm.c | 162 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 D | mkservice.c | 72 "[+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/lib/libcodex/ |
H A D | codex.c | 228 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/pax/ |
H A D | pax-cpio.c | 478 cpio_event(Pax_t* pax, Archive_t* ap, File_t* f, void* data, unsigned long event) argument 482 switch (event)
|
H A D | pax-tar.c | 934 tar_event(Pax_t* pax, Archive_t* ap, File_t* f, void* data, unsigned long event) argument 939 switch (event)
|
H A D | paxlib.h | 153 int (*event)(Pax_t*, Paxarchive_t*, Paxfile_t*, void*, unsigned long); member in struct:Paxformat_s
|
/ast/src/cmd/jcl/ |
H A D | jcm.c | 41 "[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/cmd/ksh93/sh/ |
H A D | nvdisc.c | 442 * 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/cmd/kshlib/dss/ |
H A D | dss.c | 647 static int dss_except(Sfio_t* iop, int event, void *data, Sfdisc_t *fp) argument 649 if(event==SF_CLOSING) 662 if(event!= DSS_EVENT) 998 static char *setdisc_type(Namval_t *np, const char *event, Namval_t* action, Namfun_t argument 1003 const char *name = event?event:(const char*)action; 1009 if(!event) 1016 return(nv_setdisc(np,event,action,fp));
|
/ast/src/cmd/coshell/ |
H A D | event.c | 26 * 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...] |