Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/lib/libc/common/source/thrd/
Dcnd.c12 int cnd_broadcast(cnd_t *cond) in cnd_broadcast()
22 void cnd_destroy(cnd_t *cond) in cnd_destroy()
27 int cnd_init(cnd_t *cond) in cnd_init()
39 int cnd_signal(cnd_t *cond) in cnd_signal()
51 int cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, const struct timespec *restrict ts) in cnd_timedwait()
63 int cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
/Zephyr-latest/subsys/bluetooth/controller/hal/
Ddebug.h12 #define LL_ASSERT(cond) \ argument
17 #define LL_ASSERT_MSG(cond, fmt, ...) \ argument
24 #define LL_ASSERT(cond) \ argument
26 #define LL_ASSERT_MSG(cond, fmt, ...) \ argument
31 #define LL_ASSERT_INFO1(cond, param) \ argument
33 #define LL_ASSERT_INFO2(cond, param1, param2) \ argument
36 #define LL_ASSERT_INFO1(cond, param) \ argument
38 #define LL_ASSERT_INFO2(cond, param1, param2) \ argument
/Zephyr-latest/tests/posix/common/src/
Dcond.c16 ZTEST(cond, test_cond_resource_exhausted) in ZTEST() argument
40 ZTEST(cond, test_cond_resource_leak) in ZTEST() argument
42 pthread_cond_t cond; in ZTEST() local
50 ZTEST(cond, test_pthread_condattr) in ZTEST() argument
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h35 static inline bool z_zassert_(bool cond, const char *file, int line) in z_zassert_()
47 #define z_zassert(cond, default_msg, file, line, func, msg, ...) z_zassert_(cond, file, line) argument
49 static inline bool z_zassume_(bool cond, const char *file, int line) in z_zassume_()
61 #define z_zassume(cond, default_msg, file, line, func, msg, ...) z_zassume_(cond, file, line) argument
63 static inline bool z_zexpect_(bool cond, const char *file, int line) in z_zexpect_()
75 #define z_zexpect(cond, default_msg, file, line, func, msg, ...) z_zexpect_(cond, file, line) argument
79 static inline bool z_zassert(bool cond, const char *default_msg, const char *file, int line, in z_zassert()
103 static inline bool z_zassume(bool cond, const char *default_msg, const char *file, int line, in z_zassume()
127 static inline bool z_zexpect(bool cond, const char *default_msg, const char *file, int line, in z_zexpect()
176 #define _zassert_base(cond, default_msg, msg, ...) \ argument
[all …]
/Zephyr-latest/subsys/bluetooth/common/
Dassert.h22 #define BT_ASSERT(cond) \ argument
30 #define BT_ASSERT_MSG(cond, fmt, ...) \ argument
39 #define BT_ASSERT(cond) __ASSERT_NO_MSG(cond) argument
40 #define BT_ASSERT_MSG(cond, msg, ...) __ASSERT(cond, msg, ##__VA_ARGS__) argument
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dmesh_test.h49 #define ASSERT_OK(cond) \ argument
59 #define ASSERT_OK_MSG(cond, fmt, ...) \ argument
70 #define ASSERT_TRUE(cond) \ argument
79 #define ASSERT_TRUE_MSG(cond, fmt, ...) \ argument
89 #define ASSERT_FALSE(cond) \ argument
98 #define ASSERT_FALSE_MSG(cond, fmt, ...) \ argument
126 #define WAIT_FOR_COND(cond, wait) \ argument
/Zephyr-latest/samples/drivers/soc_flash_nrf/src/
Dmain.c33 #define FLASH_PE_RUNTIME_CHECK(cond) (cond) argument
35 #define FLASH_PE_RUNTIME_CHECK(cond) (true) argument
38 #define FLASH_PE_RUNTIME_CHECK(cond) (false) argument
/Zephyr-latest/tests/posix/headers/src/
Dpthread_h.c60 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; in ZTEST() local
/Zephyr-latest/lib/posix/options/
Dcond.c36 static inline size_t to_posix_cond_idx(pthread_cond_t cond) in to_posix_cond_idx()
41 static struct k_condvar *get_posix_cond(pthread_cond_t cond) in get_posix_cond()
90 static int cond_wait(pthread_cond_t *cond, pthread_mutex_t *mu, k_timeout_t timeout) in cond_wait()
Dbarrier.c17 struct k_condvar cond; member
/Zephyr-latest/samples/modules/chre/src/
Dmain.cpp13 inline const char *boolToString(bool cond) in boolToString()
/Zephyr-latest/scripts/west_commands/
Dzephyr_ext_common.py35 def check_force(self, cond, msg): argument
/Zephyr-latest/soc/aspeed/
Daspeed_util.h32 #define reg_read_poll_timeout(map, reg, val, cond, sleep_ms, timeout_ms) \ argument
/Zephyr-latest/lib/heap/
Dheap_validate.c21 #define VALIDATE(cond) do { if (!(cond)) { return false; } } while (0) argument
/Zephyr-latest/lib/os/zvfs/
Dzvfs_eventfd.c178 struct k_condvar *cond = NULL; in zvfs_eventfd_close_op() local
308 struct k_condvar *cond = NULL; in zvfs_eventfd_rw_op() local
/Zephyr-latest/include/zephyr/net/
Dnet_core.h68 #define NET_ASSERT(cond, ...) __ASSERT(cond, "" __VA_ARGS__) argument
Dnet_context.h290 } cond; member
/Zephyr-latest/tests/unit/list/
Ddlist.c338 int cond(sys_dnode_t *node, void *data) in cond() function
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcommon.h77 #define WAIT_FOR_COND(cond) while (!(cond)) { k_sleep(K_MSEC(1)); } argument
/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dcnd.c18 cnd_t cond; member
/Zephyr-latest/lib/os/
Dfdtable.c35 struct k_condvar cond; member
198 struct k_condvar **cond) in zvfs_get_obj_lock_and_cond()
/Zephyr-latest/subsys/net/ip/
Dtp_priv.h25 #define tp_assert(cond, fmt, args...) do { \ argument
/Zephyr-latest/include/zephyr/sys/
Dutil.h90 #define ZERO_OR_COMPILE_ERROR(cond) ((int) sizeof(char[1 - 2 * !(cond)]) - 1) argument
/Zephyr-latest/scripts/kconfig/
Dkconfiglib.py5849 def indent_add_cond(s, cond): argument
6815 def _warning_if_fn(kconf, _, cond, msg): argument
6822 def _error_if_fn(kconf, _, cond, msg): argument
/Zephyr-latest/lib/net_buf/
Dbuf.c37 #define NET_BUF_ASSERT(cond, ...) __ASSERT(cond, "" __VA_ARGS__) argument