/haiku/src/system/libnetwork/netresolv/include/isc/ |
H A D | assertions.h | 72 #define REQUIRE(cond) \ argument 73 ((void) ((cond) || \ 75 #cond, 0), 0))) 76 #define REQUIRE_ERR(cond) \ argument 77 ((void) ((cond) || \ 79 #cond, 1), 0))) 81 #define REQUIRE(cond) ((void) (cond)) argument 82 #define REQUIRE_ERR(cond) ((void) (cond)) argument 86 #define ENSURE(cond) \ argument 87 ((void) ((cond) || \ [all …]
|
/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_cond.cpp | 33 pthread_cond_init(pthread_cond_t* cond, const pthread_condattr_t* _attr) in pthread_cond_init() argument 38 cond->flags = 0; in pthread_cond_init() 40 cond->flags |= COND_FLAG_SHARED; in pthread_cond_init() 43 cond->flags |= COND_FLAG_MONOTONIC; in pthread_cond_init() 45 cond->mutex = NULL; in pthread_cond_init() 46 cond->waiter_count = 0; in pthread_cond_init() 47 cond->lock = 0; in pthread_cond_init() 54 pthread_cond_destroy(pthread_cond_t* cond) in pthread_cond_destroy() argument 61 cond_wait(pthread_cond_t* cond, pthread_mutex_t* mutex, uint32 flags, in cond_wait() argument 69 if (cond->mutex != NULL && cond->mutex != mutex) { in cond_wait() [all …]
|
/haiku/src/system/libroot/posix/libstdthreads/ |
H A D | cnd.c | 37 cnd_broadcast(cnd_t *cond) in cnd_broadcast() argument 40 if (pthread_cond_broadcast(cond) != 0) in cnd_broadcast() 46 cnd_destroy(cnd_t *cond) in cnd_destroy() argument 49 (void)pthread_cond_destroy(cond); in cnd_destroy() 53 cnd_init(cnd_t *cond) in cnd_init() argument 56 switch (pthread_cond_init(cond, NULL)) { in cnd_init() 67 cnd_signal(cnd_t *cond) in cnd_signal() argument 70 if (pthread_cond_signal(cond) != 0) in cnd_signal() 76 cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, in cnd_timedwait() argument 80 switch (pthread_cond_timedwait(cond, mtx, ts)) { in cnd_timedwait() [all …]
|
/haiku/src/libs/posix_error_mapper/ |
H A D | pthread_cond.cpp | 11 WRAPPER_FUNCTION(int, pthread_cond_destroy, (pthread_cond_t *cond), 12 return B_TO_POSITIVE_ERROR(sReal_pthread_cond_destroy(cond)); 16 WRAPPER_FUNCTION(int, pthread_cond_init, (pthread_cond_t *cond, 18 return B_TO_POSITIVE_ERROR(sReal_pthread_cond_init(cond, attr)); 22 WRAPPER_FUNCTION(int, pthread_cond_broadcast, (pthread_cond_t *cond), 23 return B_TO_POSITIVE_ERROR(sReal_pthread_cond_broadcast(cond)); 27 WRAPPER_FUNCTION(int, pthread_cond_signal, (pthread_cond_t *cond), 28 return B_TO_POSITIVE_ERROR(sReal_pthread_cond_signal(cond)); 32 WRAPPER_FUNCTION(int, pthread_cond_timedwait, (pthread_cond_t *cond, 34 return B_TO_POSITIVE_ERROR(sReal_pthread_cond_timedwait(cond, mutex, [all …]
|
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_debug.h | 24 # define Dprint(cond, args) /*empty*/ argument 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | systm.h | 44 #define KASSERT_FREEBSD(cond,msg) do { \ argument 45 if (!(cond)) \ 48 #define KASSERT(cond,msg) KASSERT_FREEBSD(cond,msg) argument 51 #define KASSERT(cond,msg) KASSERT_FREEBSD(cond,msg) argument
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/ |
H A D | r92c_init.c | 55 r92c_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) in r92c_check_condition() argument 61 if (cond[0] == 0) in r92c_check_condition() 66 __func__, cond[0], rs->chip, rs->board_type); in r92c_check_condition() 82 for (i = 0; i < RTWN_MAX_CONDITIONS && cond[i] != 0; i++) in r92c_check_condition() 83 if ((cond[i] & mask) == mask) in r92c_check_condition() 132 while (!rtwn_check_condition(sc, bb_prog->cond)) { in r92c_init_bb_common() 169 while (!rtwn_check_condition(sc, agc_prog->cond)) { in r92c_init_bb_common() 202 while (!rtwn_check_condition(sc, prog->cond)) { in r92c_init_rf_chain()
|
/haiku/headers/posix/ |
H A D | pthread.h | 138 extern int pthread_cond_destroy(pthread_cond_t *cond); 139 extern int pthread_cond_init(pthread_cond_t *cond, 141 extern int pthread_cond_broadcast(pthread_cond_t *cond); 142 extern int pthread_cond_signal(pthread_cond_t *cond); 143 extern int pthread_cond_clockwait(pthread_cond_t *cond, pthread_mutex_t *mutex, 145 extern int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, 147 extern int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
|
/haiku/src/system/libnetwork/netresolv/isc/ |
H A D | assertions.c | 91 const char *cond, int print_errno) in default_assertion_failed() argument 94 file, line, assertion_type_to_text(type), cond, in default_assertion_failed()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwnreg.h | 133 const uint8_t cond[RTWN_MAX_CONDITIONS]; member 140 const uint8_t cond[RTWN_MAX_CONDITIONS]; member 151 const uint8_t cond[RTWN_MAX_CONDITIONS]; member
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/ |
H A D | r21a_init.c | 284 r21a_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) in r21a_check_condition() argument 292 __func__, cond[0], rs->ext_pa_5g, rs->ext_lna_5g); in r21a_check_condition() 294 if (cond[0] == 0) in r21a_check_condition() 311 for (i = 0; i < RTWN_MAX_CONDITIONS && cond[i] != 0; i++) in r21a_check_condition() 312 if (cond[i] == mask) in r21a_check_condition()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/ |
H A D | r12a_init.c | 64 r12a_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) in r12a_check_condition() argument 72 "%d/%d (5 GHz)\n", __func__, cond[0], rs->ext_pa_2g, in r12a_check_condition() 75 if (cond[0] == 0) in r12a_check_condition() 104 for (i = 0; i < RTWN_MAX_CONDITIONS && cond[i] != 0; i++) in r12a_check_condition() 106 if ((cond[i] & mask[j]) == mask[j]) in r12a_check_condition() 152 while (!rtwn_check_condition(sc, bb_prog->cond)) { in r12a_init_bb() 175 while (!rtwn_check_condition(sc, agc_prog->cond)) { in r12a_init_bb()
|
/haiku/src/libs/x86emu/ |
H A D | ops2.c | 116 int cond = 0; in x86emuOp2_long_jump() local 123 cond = ACCESS_FLAG(F_OF); in x86emuOp2_long_jump() 127 cond = !ACCESS_FLAG(F_OF); in x86emuOp2_long_jump() 131 cond = ACCESS_FLAG(F_CF); in x86emuOp2_long_jump() 135 cond = !ACCESS_FLAG(F_CF); in x86emuOp2_long_jump() 139 cond = ACCESS_FLAG(F_ZF); in x86emuOp2_long_jump() 143 cond = !ACCESS_FLAG(F_ZF); in x86emuOp2_long_jump() 147 cond = ACCESS_FLAG(F_CF) || ACCESS_FLAG(F_ZF); in x86emuOp2_long_jump() 151 cond = !(ACCESS_FLAG(F_CF) || ACCESS_FLAG(F_ZF)); in x86emuOp2_long_jump() 155 cond = ACCESS_FLAG(F_SF); in x86emuOp2_long_jump() [all …]
|
/haiku/headers/private/firewire/ |
H A D | fwglue.h | 19 #define KASSERT(cond,msg) do { \ argument 20 if (!cond) \
|
/haiku/src/tests/add-ons/print/ppd/parser/ |
H A D | Scanner.cpp | 66 BString* Scanner::Scan(bool (cond)(int ch)) in Scan() 69 while (cond(GetCurrentChar())) { in Scan()
|
H A D | Scanner.h | 21 BString* Scan(bool (cond)(int ch));
|
/haiku/headers/cpp/std/ |
H A D | bastring.h | 55 #define OUTOFRANGE(cond) \ argument 56 do { if (cond) __out_of_range (#cond); } while (0) 57 #define LENGTHERROR(cond) \ argument 58 do { if (cond) __length_error (#cond); } while (0) 63 #define OUTOFRANGE(cond) assert (!(cond)) argument 64 #define LENGTHERROR(cond) assert (!(cond)) argument
|
/haiku/src/kits/shared/ |
H A D | MemoryRingIO.cpp | 282 Condition cond; in _WaitForCondition() local 283 while (!cond(*this)) { in _WaitForCondition()
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_spec.h | 77 #define nvme_static_assert(cond, msg) static_assert(cond, msg) argument 79 #define nvme_static_assert(cond, msg) _Static_assert(cond, msg) argument 82 #define nvme_static_assert(cond, msg) argument
|
/haiku/docs/user/interface/ |
H A D | GradientDiamond.dox | 14 //! \cond INTERNAL
|
H A D | GradientRadial.dox | 14 //! \cond INTERNAL
|
H A D | GradientConic.dox | 14 //! \cond INTERNAL
|
H A D | GradientLinear.dox | 14 //! \cond INTERNAL
|
H A D | GradientRadialFocus.dox | 14 //! \cond INTERNAL
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/ |
H A D | r92e_init.c | 114 while (!rtwn_check_condition(sc, bb_prog->cond)) { in r92e_init_bb() 135 while (!rtwn_check_condition(sc, agc_prog->cond)) { in r92e_init_bb()
|