Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 37) sorted by relevance

12

/libevent-2.1.12/include/
H A Dinclude.am10 include/event2/buffer.h \
12 include/event2/bufferevent.h \
15 include/event2/dns.h \
16 include/event2/dns_compat.h \
18 include/event2/event.h \
21 include/event2/http.h \
25 include/event2/listener.h \
26 include/event2/rpc.h \
29 include/event2/tag.h \
31 include/event2/thread.h \
[all …]
/libevent-2.1.12/
H A DMakefile.am226 include/event2/event-config.h: config.h make-event-config.sed
303 defer-internal.h \
311 ht-internal.h \
316 log-internal.h \
318 mm-internal.h \
324 openssl-compat.h
327 include/evdns.h \
328 include/event.h \
329 include/evhttp.h \
330 include/evrpc.h \
[all …]
H A Dconfigure.ac17 AC_CONFIG_HEADERS(config.h evconfig-private.h:evconfig-private.h.in)
222 fcntl.h \
223 ifaddrs.h \
226 netdb.h \
230 sys/un.h \
231 poll.h \
232 port.h \
233 stdarg.h \
234 stddef.h \
253 errno.h \
[all …]
H A DCMakeLists.txt368 fcntl.h
370 memory.h
371 signal.h
372 stdarg.h
373 stddef.h
374 stdint.h
375 stdlib.h
376 string.h
377 errno.h
379 time.h
[all …]
H A Devent-config.h.cmake1 /* event-config.h
84 /* Define to 1 if you have the <netdb.h> header file. */
93 /* Define to 1 if you have the <dlfcn.h> header file. */
114 /* Define to 1 if you have the <fcntl.h> header file. */
223 /* Define to 1 if you have the <poll.h> header file. */
247 /* Define if F_SETFD is defined in <fcntl.h> */
400 /* Define if timeradd is defined in <sys/time.h> */
403 /* Define if timerclear is defined in <sys/time.h> */
406 /* Define if timercmp is defined in <sys/time.h> */
413 /* Define if timerisset is defined in <sys/time.h> */
[all …]
H A Dht-internal.h67 h += ~(h << 9); in ht_improve_hash_()
68 h ^= ((h >> 14) | (h << 18)); /* >>> */ in ht_improve_hash_()
69 h += (h << 4); in ht_improve_hash_()
70 h ^= ((h >> 10) | (h << 22)); /* >>> */ in ht_improve_hash_()
71 return h; in ht_improve_hash_()
79 unsigned h = 0;
85 return h;
93 unsigned h; in ht_string_hash_() local
95 h = *cp << 7; in ht_string_hash_()
97 h = (1000003*h) ^ *cp++; in ht_string_hash_()
[all …]
H A DDoxyfile67 $(SRCDIR)/include/event2/buffer.h \
72 $(SRCDIR)/include/event2/dns.h \
73 $(SRCDIR)/include/event2/dns_compat.h \
74 $(SRCDIR)/include/event2/event.h \
76 $(SRCDIR)/include/event2/http.h \
78 $(SRCDIR)/include/event2/listener.h \
79 $(SRCDIR)/include/event2/rpc.h \
80 $(SRCDIR)/include/event2/rpc_compat.h \
81 $(SRCDIR)/include/event2/tag.h \
83 $(SRCDIR)/include/event2/thread.h \
[all …]
H A D.gitignore77 /config.h
78 /config.h.in
110 /test/regress.gen.h
123 **/include/event2/event-config.h
124 **/include/evconfig-private.h
125 /evconfig-private.h
H A Dmake-event-config.sed1 # Sed script to postprocess config.h into event-config.h.
4 /* event2/event-config.h\
19 #endif /* event2/event-config.h */
H A Devmap.c97 unsigned h = (unsigned) e->fd; in hashsocket() local
98 h += (h >> 2) | (h << 30); in hashsocket()
99 return h; in hashsocket()
1024 struct evmap_foreach_event_helper *h = arg; local
1028 if ((r = h->fn(base, ev, h->arg)))
1041 struct evmap_foreach_event_helper *h = arg; local
1044 if ((r = h->fn(base, ev, h->arg)))
1054 struct evmap_foreach_event_helper h; local
1056 h.fn = fn;
1057 h.arg = arg;
[all …]
H A Devutil_time.c100 HMODULE h = evutil_load_windows_system_library_(TEXT("kernel32.dll")); in evutil_gettimeofday() local
101 if (h != NULL) in evutil_gettimeofday()
104 GetProcAddress(h, "GetSystemTimePreciseAsFileTime"); in evutil_gettimeofday()
520 HANDLE h; in evutil_configure_monotonic_time_() local
523 h = evutil_load_windows_system_library_(TEXT("kernel32.dll")); in evutil_configure_monotonic_time_()
524 if (h != NULL && !fallback) { in evutil_configure_monotonic_time_()
525 base->GetTickCount64_fn = (ev_GetTickCount_func)GetProcAddress(h, "GetTickCount64"); in evutil_configure_monotonic_time_()
526 base->GetTickCount_fn = (ev_GetTickCount_func)GetProcAddress(h, "GetTickCount"); in evutil_configure_monotonic_time_()
H A DChangeLog-1.423 o Fix a free(NULL) in min_heap.h (2458934)
34 o Fix compilation on Android, which forgot to define fd_mask in its sys/select.h
56 o Distribute Win32-Code/event-config.h, not ./event-config.h
88 o evutil.h now includes <stdarg.h> directly
132 o Make sure winsock2.h include always comes before windows.h include.
154 o detect integer types properly on platforms without stdint.h
207 o Make the entire evdns.h header enclosed in "extern C" as appropriate.
216 o Fix evhttp.h compilation when TAILQ_ENTRY is not defined.
223 …o Post-process the config.h file into a new, installed event-config.h file that we can install, an…
224 o Remove the long-deprecated acconfig.h file.
[all …]
H A Dwhatsnew-2.0.txt53 Finally, there are *structure headers*, like event2/event_struct.h.
68 for low-level buffer manipulation are in event2/buffer.h. The
70 event2/bufferevent.h.
74 All of the old headers (event.h, evdns.h, evhttp.h, evrpc.h, and
102 _struct.h header (see 2.1), and there are new allocate-and-
109 event2/event_compat.h.)
113 #include <event.h>
125 #include <event2/event.h>
180 Supported features are documented in event2/event.h
543 event2/util.h, to provide a getaddrinfo() implementation for
[all …]
H A Devent_iocp.c105 HANDLE h; in event_iocp_port_associate_() local
106 h = CreateIoCompletionPort((HANDLE)fd, port->port, key, port->n_threads); in event_iocp_port_associate_()
107 if (!h) in event_iocp_port_associate_()
H A DChangeLog-2.0193 o Fix docstring in dns.h (2b6eae5 Leonid Evdokimov)
288 o unistd.h and sys/time.h might not exist. (fe93022 Peter Rosin)
391 o bufferevent-internal.h: Use the new event2/util.h header, not evutil.h (ef5e65a Evan Jones)
470 o If not WIN32, include <sys/socket.h> in event2/util.h. (1cd45e5 Kevin Bowling)
493 o Improvements to tinytest_macros.h (ad923a1)
617 o Declare evkeyvalq and event_list even if event_struct.h comes before sys/queue.h (d3ceca8)
683 o Move event-config.h to include/event2 (ec347b9)
759 o Fix a free(NULL) in minheap-internal.h (6f20492)
889 o const-ify a few more functions in event.h (d38a7a1)
1060 …mpat/sys/_time.h. It interfered with system headers on HPUX, and its functionality has been subsu…
[all …]
H A DChangeLog199 o Include openssl-compat.h into dist archive (08658136)
248 o Add missing includes into openssl-compat.h (01bc36c1)
292 o Ignore evconfig-private.h for autotools (37423849)
293 o config.h can't be prefixed unconditionally (63a054f8)
665 o [#372] check for errno.h (3031617 Mark Ellzey)
669 o Include <sys/ioctl.h>, <sys/resource.h> and <sys/wait.h> optionally. (c1404b5 Ed Schouten)
847 o tree.h: drop duplicated content of tree.h (6193187 Azat Khuzhin)
916 o Generate a dummy evconfig-private.h so things build
1622 o Fix docstring in dns.h (2b6eae5 Leonid Evdokimov)
1717 o unistd.h and sys/time.h might not exist. (fe93022 Peter Rosin)
[all …]
H A Devutil.c1716 DWORD h = e->code; in hash_cached_sock_errs() local
1717 h ^= h >> 16; in hash_cached_sock_errs()
1718 h *= 0x85ebca6b; in hash_cached_sock_errs()
1719 h ^= h >> 13; in hash_cached_sock_errs()
1720 h *= 0xc2b2ae35; in hash_cached_sock_errs()
1721 h ^= h >> 16; in hash_cached_sock_errs()
1722 return h; in hash_cached_sock_errs()
/libevent-2.1.12/cmake/
H A DUseDoxygen.cmake61 include/event2/dns.h
62 include/event2/dns_compat.h
63 include/event2/event.h
65 include/event2/http.h
67 include/event2/listener.h
68 include/event2/rpc.h
69 include/event2/rpc_compat.h
70 include/event2/tag.h
71 include/event2/tag_compat.h
72 include/event2/thread.h
[all …]
H A DCheckWorkingKqueue.cmake5 #include <sys/types.h>
6 #include <sys/time.h>
7 #include <sys/event.h>
8 #include <stdio.h>
9 #include <unistd.h>
10 #include <fcntl.h>
H A DCheckPrototypeDefinition.cmake15 # "unistd.h;pwd.h"
/libevent-2.1.12/test/
H A Dinclude.am12 test/regress.gen.h \
40 test/regress.h \
41 test/regress_thread.h \
42 test/tinytest.h \
43 test/tinytest_local.h \
44 test/tinytest_macros.h
81 DISTCLEANFILES += test/regress.gen.c test/regress.gen.h
84 BUILT_SOURCES += test/regress.gen.c test/regress.gen.h
109 test/regress.gen.h \
121 test/regress_testutils.h \
[all …]
H A Dregress_main.c159 HANDLE h; in regress_make_tmpfile()
167 h = CreateFileA(tmpfilename, GENERIC_READ|GENERIC_WRITE, in regress_make_tmpfile()
169 if (h != INVALID_HANDLE_VALUE) in regress_make_tmpfile()
176 WriteFile(h, data, (DWORD)datalen, &written, NULL); in regress_make_tmpfile()
178 return _open_osfhandle((intptr_t)h,_O_RDONLY); in regress_make_tmpfile()
H A Drpcgen_wrapper.sh32 test/regress.gen.h test/regress.gen.c
39 test -r ${srcdir}/regress.gen.c -a -r ${srcdir}/regress.gen.h && \
/libevent-2.1.12/sample/
H A Dinclude.am33 sample/hostcheck.h \
34 sample/openssl_hostname_validation.h
/libevent-2.1.12/m4/
H A Dacx_pthread.m492 # We used to check for pthread.h first, but this fails if pthread.h
133 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
193 # Check for various functions. We must include pthread.h,
202 AC_TRY_LINK([#include <pthread.h>],
232 AC_TRY_LINK([#include <pthread.h>], [int attr=$attr; return attr;],

12