Home
last modified time | relevance | path

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

/libevent-2.1.12/
H A Devthread.c250 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 Devthread-internal.h93 #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 Devthread_pthread.c69 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 Dbufferevent_filter.c71 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 Devthread_win32.c72 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 Dbufferevent_pair.c306 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 Devutil.c110 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 DVagrantfile1 # -*- 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 Dconfigure.ac95 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 Dutil-internal.h294 int evutil_open_closeonexec_(const char *pathname, int flags, unsigned mode);
H A Dbufferevent.c669 enum bufferevent_flush_mode mode) in bufferevent_flush() argument
674 r = bufev->be_ops->flush(bufev, iotype, mode); in bufferevent_flush()
H A Dbufferevent_openssl.c337 short iotype, enum bufferevent_flush_mode mode);
1260 short iotype, enum bufferevent_flush_mode mode) in be_openssl_flush() argument
H A Dbufferevent_sock.c612 enum bufferevent_flush_mode mode) in be_socket_flush() argument
H A Dbufferevent_async.c427 enum bufferevent_flush_mode mode) in be_async_flush() argument
H A DREADME.md44 # Define if Libevent should build without support for a debug mode
H A Devent-config.h.cmake38 /* Define if libevent should build without support for a debug mode */
H A DChangeLog574 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 DCMakeLists.txt120 "Define if libevent should build without support for a debug mode" OFF)
H A DChangeLog-2.0746 …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 Dthread.h115 int (*lock)(unsigned mode, void *lock);
118 int (*unlock)(unsigned mode, void *lock);
H A Dbufferevent.h620 enum bufferevent_flush_mode mode);
705 enum bufferevent_flush_mode mode, void *ctx);
/libevent-2.1.12/test/
H A Dregress_bufferevent.c274 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 Dmacos.yml145 EVENT_CONFIGURE_OPTIONS="--disable-debug-mode"
H A Dmingw.yml32 - disable-debug-mode
H A Dlinux.yml166 EVENT_CONFIGURE_OPTIONS="--disable-debug-mode"