/openbsd-current/usr.bin/dig/lib/isc/ |
H A D | event.c | 17 /* $Id: event.c,v 1.3 2020/02/25 05:00:43 jsg Exp $ */ 25 #include <isc/event.h> 34 destroy(isc_event_t *event) { argument 35 free(event); 42 isc_event_t *event; local 47 event = malloc(size); 48 if (event == NULL) 51 ISC_EVENT_INIT(event, size, 0, NULL, type, action, arg, 54 return (event); 59 isc_event_t *event; local [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921116-2.c | 7 t event; local 8 g(&(event.l[2 + size]), (3 - size) * 4);
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | gdb-events.c | 177 struct event struct 180 struct event *next; 192 struct event *pending_events; 193 struct event *delivering_events; 196 append (struct event *new_event) 198 struct event **event = &pending_events; local 199 while ((*event) != NULL) 200 event = &((*event) 208 struct event *event = XMALLOC (struct event); local 217 struct event *event = XMALLOC (struct event); local 226 struct event *event = XMALLOC (struct event); local 235 struct event *event = XMALLOC (struct event); local 244 struct event *event = XMALLOC (struct event); local 253 struct event *event = XMALLOC (struct event); local 262 struct event *event = XMALLOC (struct event); local 273 struct event *event = delivering_events; local 285 struct event *event = delivering_events; local [all...] |
H A D | observer.sh | 69 # to event and formals: EVENT:TYPE PARAM, ...: 87 ' $texi | while read event formal actual 92 /* ${event} notifications. */ 94 typedef void (observer_${event}_ftype) (${formal}); 96 extern struct observer *observer_attach_${event} (observer_${event}_ftype *f); 97 extern void observer_detach_${event} (struct observer *observer); 98 extern void observer_notify_${event} (${formal}); 105 /* ${event} notifications. */ 107 static struct observer_list *${event}_subjec [all...] |
/openbsd-current/sbin/isakmpd/ |
H A D | timer.h | 39 struct event { struct 40 TAILQ_ENTRY(event) link; 50 extern struct event *timer_add_event(char *, void (*) (void *), void *, 52 extern void timer_remove_event(struct event *);
|
/openbsd-current/usr.sbin/nsd/ |
H A D | verify.h | 13 # include <event.h> 15 # include <event2/event.h> 29 struct event event; member in struct:verifier_zone_feed 50 struct event event; member in struct:verifier_stream 64 struct event timeout_event; 74 void verify_handle_signal(int sig, short event, void *arg); 76 void verify_handle_exit(int fd, short event, void *arg); 78 void verify_handle_command(int fd, short event, voi [all...] |
H A D | mini_event.h | 2 * mini-event.h - micro implementation of libevent api, using select() only. 38 * This file implements part of the event(3) libevent api. 67 /** event timeout */ 69 /** event fd readable */ 71 /** event fd writable */ 73 /** event signal */ 75 /** event must persist */ 86 /** event base */ 91 /** array of 0 - maxfd of ptr to event for it */ 92 struct event** fd 122 struct event { struct [all...] |
/openbsd-current/lib/libevent/ |
H A D | evsignal.h | 33 struct event ev_signal; 44 int evsignal_add(struct event *); 45 int evsignal_del(struct event *);
|
H A D | min_heap.h | 32 #include "event.h" 35 struct event **p; 41 static inline void min_heap_elem_init(struct event * e); 42 static inline int min_heap_elem_greater(struct event * a, struct event * b); 45 static inline struct event *min_heap_top(min_heap_t * s); 47 static inline int min_heap_push(min_heap_t * s, struct event * e); 48 static inline struct event *min_heap_pop(min_heap_t * s); 49 static inline int min_heap_erase(min_heap_t * s, struct event * e); 50 static inline void min_heap_shift_up_(min_heap_t * s, size_t hole_index, struct event * [all...] |
/openbsd-current/gnu/llvm/lldb/source/API/ |
H A D | SBListener.cpp | 59 void SBListener::AddEvent(const SBEvent &event) { argument 60 LLDB_INSTRUMENT_VA(this, event); 62 EventSP &event_sp = event.GetSP(); 129 bool SBListener::WaitForEvent(uint32_t timeout_secs, SBEvent &event) { argument 130 LLDB_INSTRUMENT_VA(this, timeout_secs, event); 143 event.reset(event_sp); 149 event.reset(nullptr); 155 SBEvent &event) { 156 LLDB_INSTRUMENT_VA(this, num_seconds, broadcaster, event); 165 event 153 WaitForEventForBroadcaster(uint32_t num_seconds, const SBBroadcaster &broadcaster, SBEvent &event) argument 173 WaitForEventForBroadcasterWithType( uint32_t num_seconds, const SBBroadcaster &broadcaster, uint32_t event_type_mask, SBEvent &event) argument 193 PeekAtNextEvent(SBEvent &event) argument 204 PeekAtNextEventForBroadcaster(const SBBroadcaster &broadcaster, SBEvent &event) argument 216 PeekAtNextEventForBroadcasterWithType( const SBBroadcaster &broadcaster, uint32_t event_type_mask, SBEvent &event) argument 230 GetNextEvent(SBEvent &event) argument 244 GetNextEventForBroadcaster(const SBBroadcaster &broadcaster, SBEvent &event) argument 260 GetNextEventForBroadcasterWithType( const SBBroadcaster &broadcaster, uint32_t event_type_mask, SBEvent &event) argument 278 HandleBroadcastEvent(const SBEvent &event) argument [all...] |
/openbsd-current/usr.bin/dig/lib/isc/include/isc/ |
H A D | event.h | 20 /*! \file isc/event.h */ 52 * that an event is delivered as a result of a canceled operation 59 #define ISC_EVENT_INIT(event, sz, at, ta, ty, ac, ar, sn, df) \ 61 (event)->ev_size = (sz); \ 62 (event)->ev_attributes = (at); \ 63 (event)->ev_tag = (ta); \ 64 (event)->ev_type = (ty); \ 65 (event)->ev_action = (ac); \ 66 (event)->ev_arg = (ar); \ 67 (event) [all...] |
/openbsd-current/usr.sbin/unbound/util/ |
H A D | winsock_event.h | 2 * util/winsock_event.h - unbound event handling for winsock on windows 53 * That means the event handler must store the readability (edge notify) 55 * The function performing recv then has to inform the event handler that 56 * the socket has blocked, and the event handler can mark it as such. 66 * To stay 'fair', instead of emptying a socket completely, the event handler 69 * Additionally, TCP accept sockets get special event support. 108 /** event timeout */ 110 /** event fd readable */ 112 /** event fd writable */ 114 /** event signa 170 struct event { struct [all...] |
H A D | mini_event.h | 2 * mini-event.h - micro implementation of libevent api, using select() only. 38 * This file implements part of the event(3) libevent api. 82 /** event timeout */ 84 /** event fd readable */ 86 /** event fd writable */ 88 /** event signal */ 90 /** event must persist */ 101 /** event base */ 106 /** array of 0 - maxfd of ptr to event for it */ 107 struct event** fd 135 struct event { struct [all...] |
/openbsd-current/sbin/unwind/libunbound/util/ |
H A D | winsock_event.h | 2 * util/winsock_event.h - unbound event handling for winsock on windows 53 * That means the event handler must store the readability (edge notify) 55 * The function performing recv then has to inform the event handler that 56 * the socket has blocked, and the event handler can mark it as such. 66 * To stay 'fair', instead of emptying a socket completely, the event handler 69 * Additionally, TCP accept sockets get special event support. 108 /** event timeout */ 110 /** event fd readable */ 112 /** event fd writable */ 114 /** event signa 170 struct event { struct [all...] |
H A D | mini_event.h | 2 * mini-event.h - micro implementation of libevent api, using select() only. 38 * This file implements part of the event(3) libevent api. 82 /** event timeout */ 84 /** event fd readable */ 86 /** event fd writable */ 88 /** event signal */ 90 /** event must persist */ 101 /** event base */ 106 /** array of 0 - maxfd of ptr to event for it */ 107 struct event** fd 135 struct event { struct [all...] |
/openbsd-current/sys/sys/ |
H A D | selinfo.h | 37 #include <sys/event.h> /* for struct klist */
|
/openbsd-current/lib/libc/hidden/sys/ |
H A D | event.h | 1 /* $OpenBSD: event.h,v 1.2 2023/08/20 15:17:53 visa Exp $ */ 21 #include_next <sys/event.h>
|
/openbsd-current/regress/usr.sbin/relayd/ |
H A D | args-timeget.pl | 13 loggrep => { qr/(buffer event|splice) timeout/ => 0 },
|
H A D | args-timeput.pl | 15 loggrep => { qr/(buffer event|splice) timeout/ => 0 },
|
/openbsd-current/gnu/llvm/lldb/include/lldb/Breakpoint/ |
H A D | StoppointCallbackContext.h | 30 StoppointCallbackContext(Event *event, const ExecutionContext &exe_ctx, 35 /// Sets the event, process and thread to NULL, and the frame index to an 40 Event *event = nullptr; // This is the event, the callback can modify this to member in class:lldb_private::StoppointCallbackContext 47 // or asynchronously as the event is retrieved?
|
/openbsd-current/gnu/llvm/lldb/source/Breakpoint/ |
H A D | StoppointCallbackContext.cpp | 17 : event(e), exe_ctx_ref(exe_ctx), is_synchronous(synchronously) {} 20 event = nullptr;
|
/openbsd-current/usr.sbin/wsmoused/ |
H A D | wsmoused.c | 221 struct wscons_event event; local 225 event.type = WSCONS_EVENT_WSMOUSED_OFF; 226 ioctl(mouse.cfd, WSDISPLAYIO_WSMOUSED, &event); 238 struct timeval tv; /* timestamp on the last `up' event */ 246 mouse_click(struct wscons_event *event) argument 253 i = event->value = p2l[event->value]; 260 if (event->type == WSCONS_EVENT_MOUSE_DOWN) { 277 if (event->type == WSCONS_EVENT_MOUSE_DOWN) { 278 event 290 normalize_event(struct wscons_event *event) argument 321 treat_event(struct wscons_event *event) argument 335 struct wscons_event event; local 385 struct wscons_event event; /* original wscons_event */ local [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/API/InterceptResult/ |
H A D | Squasher.pm | 26 my ($event) = @_; 29 return unless $event->has_info; 32 return if first { $event->$_ } 'causes_fail', 'has_assert', 'has_bailout', 'has_errors', 'has_plan', 'has_subtest'; 35 return $event->trace_signature; 40 my ($event) = @_; 42 return if $self->squash_up($event); 43 return if $self->squash_down($event); 45 $self->flush_down($event); 47 push @{$self->{+EVENTS}} => $event; 54 my ($event) [all...] |
/openbsd-current/gnu/llvm/lldb/utils/lui/ |
H A D | eventwin.py | 21 def handleEvent(self, event): 22 if isinstance(event, lldb.SBEvent): 25 self.win.addstr(h - 1, 0, lldbutil.get_description(event))
|
/openbsd-current/usr.sbin/eigrpd/ |
H A D | control.h | 24 #include <event.h>
|