| /libevent-2.1.12/ |
| H A D | evthread.c | 250 debug_lock_lock(unsigned mode, void *lock_) in debug_lock_lock() argument 255 EVUTIL_ASSERT(mode & (EVTHREAD_READ|EVTHREAD_WRITE)); in debug_lock_lock() 259 res = original_lock_fns_.lock(mode, lock->lock); in debug_lock_lock() 261 evthread_debug_lock_mark_locked(mode, lock); in debug_lock_lock() 286 debug_lock_unlock(unsigned mode, void *lock_) in debug_lock_unlock() argument 290 evthread_debug_lock_mark_unlocked(mode, lock); in debug_lock_unlock() 292 res = original_lock_fns_.unlock(mode, lock->lock); in debug_lock_unlock() 447 evthreadimpl_lock_lock_(unsigned mode, void *lock) in evthreadimpl_lock_lock_() argument 450 return evthread_lock_fns_.lock(mode, lock); in evthreadimpl_lock_lock_() 455 evthreadimpl_lock_unlock_(unsigned mode, void *lock) in evthreadimpl_lock_unlock_() argument [all …]
|
| H A D | evthread-internal.h | 93 #define EVLOCK_LOCK(lockvar,mode) \ argument 96 evthread_lock_fns_.lock(mode, lockvar); \ 100 #define EVLOCK_UNLOCK(lockvar,mode) \ argument 103 evthread_lock_fns_.unlock(mode, lockvar); \ 195 int evthreadimpl_lock_lock_(unsigned mode, void *lock); 226 #define EVLOCK_LOCK(lockvar,mode) \ argument 229 evthreadimpl_lock_lock_(mode, lockvar); \ 233 #define EVLOCK_UNLOCK(lockvar,mode) \ argument 236 evthreadimpl_lock_unlock_(mode, lockvar); \ 312 #define EVLOCK_LOCK(lockvar, mode) EVUTIL_NIL_STMT_ argument [all …]
|
| H A D | evthread_pthread.c | 69 evthread_posix_lock(unsigned mode, void *lock_) in evthread_posix_lock() argument 72 if (mode & EVTHREAD_TRY) in evthread_posix_lock() 79 evthread_posix_unlock(unsigned mode, void *lock_) in evthread_posix_unlock() argument
|
| H A D | bufferevent_filter.c | 71 short iotype, enum bufferevent_flush_mode mode); 574 short iotype, enum bufferevent_flush_mode mode) in be_filter_flush() argument 583 be_filter_process_input(bevf, mode, &processed_any); in be_filter_flush() 586 be_filter_process_output(bevf, mode, &processed_any); in be_filter_flush() 590 bufferevent_flush(bevf->underlying, iotype, mode); in be_filter_flush()
|
| H A D | evthread_win32.c | 72 evthread_win32_lock(unsigned mode, void *lock_) in evthread_win32_lock() argument 75 if ((mode & EVTHREAD_TRY)) { in evthread_win32_lock() 84 evthread_win32_unlock(unsigned mode, void *lock_) in evthread_win32_unlock() argument
|
| H A D | bufferevent_pair.c | 306 enum bufferevent_flush_mode mode) in be_pair_flush() argument 314 if (mode == BEV_NORMAL) in be_pair_flush() 327 if (mode == BEV_FINISHED) { in be_pair_flush()
|
| H A D | evutil.c | 110 evutil_open_closeonexec_(const char *pathname, int flags, unsigned mode) in evutil_open_closeonexec_() argument 115 fd = open(pathname, flags|O_CLOEXEC, (mode_t)mode); in evutil_open_closeonexec_() 120 fd = open(pathname, flags, (mode_t)mode); in evutil_open_closeonexec_() 152 int mode = O_RDONLY; in evutil_read_file_() local 161 mode |= O_BINARY; in evutil_read_file_() 164 fd = evutil_open_closeonexec_(filename, mode, 0); in evutil_read_file_()
|
| H A D | Vagrantfile | 1 # -*- mode: ruby -*- 363 …r c:/tools/cygwin/packages/ --no-desktop --no-startmenu --verbose --quiet-mode --download --packag… 364 …r c:/tools/cygwin/packages/ --no-desktop --no-startmenu --verbose --quiet-mode --local-install --p…
|
| H A D | configure.ac | 95 AC_ARG_ENABLE(debug-mode, 96 AS_HELP_STRING(--disable-debug-mode, disable support for running in debug mode), 833 [Define if libevent should build without support for a debug mode])
|
| H A D | util-internal.h | 294 int evutil_open_closeonexec_(const char *pathname, int flags, unsigned mode);
|
| H A D | bufferevent.c | 669 enum bufferevent_flush_mode mode) in bufferevent_flush() argument 674 r = bufev->be_ops->flush(bufev, iotype, mode); in bufferevent_flush()
|
| H A D | bufferevent_openssl.c | 337 short iotype, enum bufferevent_flush_mode mode); 1260 short iotype, enum bufferevent_flush_mode mode) in be_openssl_flush() argument
|
| H A D | bufferevent_sock.c | 612 enum bufferevent_flush_mode mode) in be_socket_flush() argument
|
| H A D | bufferevent_async.c | 427 enum bufferevent_flush_mode mode) in be_async_flush() argument
|
| H A D | README.md | 44 # Define if Libevent should build without support for a debug mode
|
| H A D | event-config.h.cmake | 38 /* Define if libevent should build without support for a debug mode */
|
| H A D | ChangeLog | 574 o test: fix bufferevent/bufferevent_pair_release_lock in debug mode (3f749e9 Azat Khuzhin) 687 o travis-ci: enable multi-os mode (osx, linux) (79917e4 Azat Khuzhin) 690 o travis: add builds without debug mode into matrix (3e56da2 Azat Khuzhin) 742 o event_debug_created_threadable_ctx_: fix compilation without debug mode (a068f2e Azat Khuzhin) 757 o Debug mode option to error on evthread init AFTER other event calls. (dcfb19a Mark Ellzey) 1225 mode (2fad0f3)
|
| H A D | CMakeLists.txt | 120 "Define if libevent should build without support for a debug mode" OFF)
|
| H A D | ChangeLog-2.0 | 746 …fferevents while executing callbacks (a5208fe Joachim Bauch) o Make debug mode catch mixed ET and … 886 o Add support for a "debug mode" to try to catch common errors. (cd17c3a) 1037 o Have bufferevent_socket_connect() with no arguments put a bufferevent into connecting mode.
|
| /libevent-2.1.12/include/event2/ |
| H A D | thread.h | 115 int (*lock)(unsigned mode, void *lock); 118 int (*unlock)(unsigned mode, void *lock);
|
| H A D | bufferevent.h | 620 enum bufferevent_flush_mode mode); 705 enum bufferevent_flush_mode mode, void *ctx);
|
| /libevent-2.1.12/test/ |
| H A D | regress_bufferevent.c | 274 static int trace_lock_lock(unsigned mode, void *lock_) in trace_lock_lock() argument 282 return lu_base.cbs.lock(mode, lock_); in trace_lock_lock() 285 static int trace_lock_unlock(unsigned mode, void *lock_) in trace_lock_unlock() argument 293 return lu_base.cbs.unlock(mode, lock_); in trace_lock_unlock() 1278 enum bufferevent_flush_mode mode, void *ctx) in bufferevent_filter_data_stuck_inputcb() argument
|
| /libevent-2.1.12/.github/workflows/ |
| H A D | macos.yml | 145 EVENT_CONFIGURE_OPTIONS="--disable-debug-mode"
|
| H A D | mingw.yml | 32 - disable-debug-mode
|
| H A D | linux.yml | 166 EVENT_CONFIGURE_OPTIONS="--disable-debug-mode"
|