/Zephyr-latest/tests/posix/headers/src/ |
D | unistd_h.c | 27 zassert_not_equal(INT_MIN, _CS_PATH); in ZTEST() 28 zassert_not_equal(INT_MIN, _CS_POSIX_V7_ILP32_OFF32_CFLAGS); in ZTEST() 29 zassert_not_equal(INT_MIN, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS); in ZTEST() 30 zassert_not_equal(INT_MIN, _CS_POSIX_V7_ILP32_OFF32_LIBS); in ZTEST() 31 zassert_not_equal(INT_MIN, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS); in ZTEST() 32 zassert_not_equal(INT_MIN, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS); in ZTEST() 33 zassert_not_equal(INT_MIN, _CS_POSIX_V7_ILP32_OFFBIG_LIBS); in ZTEST() 34 zassert_not_equal(INT_MIN, _CS_POSIX_V7_LP64_OFF64_CFLAGS); in ZTEST() 35 zassert_not_equal(INT_MIN, _CS_POSIX_V7_LP64_OFF64_LDFLAGS); in ZTEST() 36 zassert_not_equal(INT_MIN, _CS_POSIX_V7_LP64_OFF64_LIBS); in ZTEST() [all …]
|
D | signal_h.c | 33 zassert_not_equal((sig_atomic_t)-1, (sig_atomic_t)0); in ZTEST() 34 zassert_not_equal((pid_t)-1, (pid_t)0); in ZTEST() 36 zassert_not_equal(-1, offsetof(struct sigevent, sigev_notify)); in ZTEST() 37 zassert_not_equal(-1, offsetof(struct sigevent, sigev_signo)); in ZTEST() 38 zassert_not_equal(-1, offsetof(struct sigevent, sigev_value)); in ZTEST() 39 zassert_not_equal(-1, offsetof(struct sigevent, sigev_notify_function)); in ZTEST() 40 zassert_not_equal(-1, offsetof(struct sigevent, sigev_notify_attributes)); in ZTEST() 42 zassert_not_equal(-1, SIGEV_NONE); in ZTEST() 43 zassert_not_equal(-1, SIGEV_SIGNAL); in ZTEST() 44 zassert_not_equal(-1, SIGEV_THREAD); in ZTEST() [all …]
|
D | netdb_h.c | 22 zassert_not_equal(-1, offsetof(struct hostent, h_name)); in ZTEST() 23 zassert_not_equal(-1, offsetof(struct hostent, h_aliases)); in ZTEST() 24 zassert_not_equal(-1, offsetof(struct hostent, h_addrtype)); in ZTEST() 25 zassert_not_equal(-1, offsetof(struct hostent, h_length)); in ZTEST() 26 zassert_not_equal(-1, offsetof(struct hostent, h_addr_list)); in ZTEST() 28 zassert_not_equal(-1, offsetof(struct netent, n_name)); in ZTEST() 29 zassert_not_equal(-1, offsetof(struct netent, n_aliases)); in ZTEST() 30 zassert_not_equal(-1, offsetof(struct netent, n_addrtype)); in ZTEST() 31 zassert_not_equal(-1, offsetof(struct netent, n_net)); in ZTEST() 33 zassert_not_equal(-1, offsetof(struct protoent, p_name)); in ZTEST() [all …]
|
D | sys_socket_h.c | 30 zassert_not_equal(-1, offsetof(struct sockaddr, sa_family)); in ZTEST() 38 zassert_not_equal(-1, offsetof(struct sockaddr_storage, ss_family)); in ZTEST() 42 zassert_not_equal(-1, offsetof(struct msghdr, msg_name)); in ZTEST() 43 zassert_not_equal(-1, offsetof(struct msghdr, msg_namelen)); in ZTEST() 44 zassert_not_equal(-1, offsetof(struct msghdr, msg_iov)); in ZTEST() 45 zassert_not_equal(-1, offsetof(struct msghdr, msg_iovlen)); in ZTEST() 46 zassert_not_equal(-1, offsetof(struct msghdr, msg_control)); in ZTEST() 47 zassert_not_equal(-1, offsetof(struct msghdr, msg_controllen)); in ZTEST() 48 zassert_not_equal(-1, offsetof(struct msghdr, msg_flags)); in ZTEST() 50 zassert_not_equal(-1, offsetof(struct cmsghdr, cmsg_len)); in ZTEST() [all …]
|
D | poll_h.c | 22 zassert_not_equal(-1, offsetof(struct pollfd, fd)); in ZTEST() 23 zassert_not_equal(-1, offsetof(struct pollfd, events)); in ZTEST() 24 zassert_not_equal(-1, offsetof(struct pollfd, revents)); in ZTEST() 28 zassert_not_equal(-1, POLLIN); in ZTEST() 31 zassert_not_equal(-1, POLLPRI); in ZTEST() 32 zassert_not_equal(-1, POLLOUT); in ZTEST() 35 zassert_not_equal(-1, POLLERR); in ZTEST() 36 zassert_not_equal(-1, POLLHUP); in ZTEST() 37 zassert_not_equal(-1, POLLNVAL); in ZTEST()
|
D | pthread_h.c | 25 zassert_not_equal(-1, PTHREAD_BARRIER_SERIAL_THREAD); in ZTEST() 27 zassert_not_equal(-1, PTHREAD_CANCEL_ASYNCHRONOUS); in ZTEST() 28 zassert_not_equal(-1, PTHREAD_CANCEL_DEFERRED); in ZTEST() 30 zassert_not_equal(-1, PTHREAD_CANCEL_ENABLE); in ZTEST() 31 zassert_not_equal(-1, PTHREAD_CANCEL_DISABLE); in ZTEST() 33 zassert_not_equal((void *)-42, PTHREAD_CANCELED); in ZTEST() 35 zassert_not_equal(-1, PTHREAD_CREATE_DETACHED); in ZTEST() 36 zassert_not_equal(-1, PTHREAD_CREATE_JOINABLE); in ZTEST() 38 zassert_not_equal(-1, PTHREAD_EXPLICIT_SCHED); in ZTEST() 39 zassert_not_equal(-1, PTHREAD_INHERIT_SCHED); in ZTEST() [all …]
|
D | aio_h.c | 17 zassert_not_equal(offsetof(struct aiocb, aio_fildes), -1); in ZTEST() 18 zassert_not_equal(offsetof(struct aiocb, aio_offset), -1); in ZTEST() 19 zassert_not_equal(offsetof(struct aiocb, aio_buf), -1); in ZTEST() 20 zassert_not_equal(offsetof(struct aiocb, aio_nbytes), -1); in ZTEST() 21 zassert_not_equal(offsetof(struct aiocb, aio_reqprio), -1); in ZTEST() 22 zassert_not_equal(offsetof(struct aiocb, aio_sigevent), -1); in ZTEST() 23 zassert_not_equal(offsetof(struct aiocb, aio_lio_opcode), -1); in ZTEST()
|
D | arpa_inet_h.c | 22 zassert_not_equal(-1, htonl(0)); in ZTEST() 23 zassert_not_equal(-1, htons(0)); in ZTEST() 24 zassert_not_equal(-1, ntohl(0)); in ZTEST() 25 zassert_not_equal(-1, ntohs(0)); in ZTEST()
|
D | mqueue_h.c | 22 zassert_not_equal((mqd_t)-1, (mqd_t)NULL); in ZTEST() 24 zassert_not_equal(-1, offsetof(struct mq_attr, mq_flags)); in ZTEST() 25 zassert_not_equal(-1, offsetof(struct mq_attr, mq_maxmsg)); in ZTEST() 26 zassert_not_equal(-1, offsetof(struct mq_attr, mq_msgsize)); in ZTEST() 27 zassert_not_equal(-1, offsetof(struct mq_attr, mq_curmsgs)); in ZTEST()
|
D | sys_eventfd_h.c | 25 zassert_not_equal(-1, EFD_NONBLOCK); in ZTEST() 26 zassert_not_equal(-1, EFD_SEMAPHORE); in ZTEST() 28 zassert_not_equal((eventfd_t)-1, (eventfd_t)0); in ZTEST()
|
D | net_if_h.c | 22 zassert_not_equal(-1, offsetof(struct if_nameindex, if_index)); in ZTEST() 23 zassert_not_equal(-1, offsetof(struct if_nameindex, if_name)); in ZTEST() 25 zassert_not_equal(-1, IF_NAMESIZE); in ZTEST()
|
D | dirent_h.c | 23 zassert_not_equal((DIR *)-1, (DIR *)NULL); in ZTEST() 25 zassert_not_equal(-1, offsetof(struct dirent, d_ino)); in ZTEST() 26 zassert_not_equal(-1, offsetof(struct dirent, d_name)); in ZTEST()
|
D | sched_h.c | 22 zassert_not_equal(-1, offsetof(struct sched_param, sched_priority)); in ZTEST() 24 zassert_not_equal(-1, SCHED_FIFO); in ZTEST() 25 zassert_not_equal(-1, SCHED_RR); in ZTEST()
|
/Zephyr-latest/tests/subsys/usb/device/src/ |
D | main.c | 125 zassert_not_equal(usb_dc_ep_set_stall(INVALID_EP), TC_PASS, in ZTEST() 129 zassert_not_equal(usb_dc_ep_clear_stall(INVALID_EP), TC_PASS, in ZTEST() 133 zassert_not_equal(usb_dc_ep_is_stalled(INVALID_EP, &byte), TC_PASS, in ZTEST() 135 zassert_not_equal(usb_dc_ep_is_stalled(VALID_EP, NULL), TC_PASS, in ZTEST() 139 zassert_not_equal(usb_dc_ep_halt(INVALID_EP), TC_PASS, in ZTEST() 143 zassert_not_equal(usb_dc_ep_enable(INVALID_EP), TC_PASS, in ZTEST() 147 zassert_not_equal(usb_dc_ep_disable(INVALID_EP), TC_PASS, in ZTEST() 151 zassert_not_equal(usb_dc_ep_flush(INVALID_EP), TC_PASS, in ZTEST() 155 zassert_not_equal(usb_dc_ep_set_callback(INVALID_EP, NULL), TC_PASS, in ZTEST() 159 zassert_not_equal(usb_dc_ep_write(INVALID_EP, &byte, sizeof(byte), in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/fs/fs_api/src/ |
D | test_fs_dir_file.c | 139 zassert_not_equal(ret, 0, "Mount a NULL fs"); in test_mount() 143 zassert_not_equal(ret, 0, "Mount an unsupported fs"); in test_mount() 149 zassert_not_equal(ret, 0, "Mount to an invalid dir"); in test_mount() 151 zassert_not_equal(ret, 0, "Mount dir name too short"); in test_mount() 153 zassert_not_equal(ret, 0, "Mount point is NULL"); in test_mount() 155 zassert_not_equal(ret, 0, "Mount with invalid mount point"); in test_mount() 162 zassert_not_equal(ret, 0, "Mount to a mounted dir"); in test_mount() 174 zassert_not_equal(ret, 0, "Mount to a fs without op interface"); in test_mount() 195 zassert_not_equal(ret, 0, "Unmount a NULL fs"); in test_unmount() 199 zassert_not_equal(ret, 0, "Unmount a never mounted fs"); in test_unmount() [all …]
|
/Zephyr-latest/tests/net/socket/tls_ext/src/ |
D | main.c | 168 zassert_not_equal(r, -1, "accept() failed (%d)", r); in server_thread_fn() 174 zassert_not_equal(addrstrp, NULL, "inet_ntop() failed (%d)", errno); in server_thread_fn() 181 zassert_not_equal(r, -1, "recv() failed (%d)", errno); in server_thread_fn() 186 zassert_not_equal(r, -1, "send() failed (%d)", errno); in server_thread_fn() 191 zassert_not_equal(r, -1, "close() failed on the server fd (%d)", errno); in server_thread_fn() 219 zassert_not_equal(r, -1, "failed to create server socket (%d)", errno); in test_common() 223 zassert_not_equal(r, -1, "failed to set SO_REUSEADDR (%d)", errno); in test_common() 252 zassert_not_equal(r, -1, in test_common() 264 zassert_not_equal(r, -1, "failed to set TLS_SEC_TAG_LIST (%d)", in test_common() 269 zassert_not_equal(r, -1, "failed to set TLS_HOSTNAME (%d)", in test_common() [all …]
|
/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | poll.c | 58 zassert_not_equal(res, -1, "fcntl failed: %d", errno); in ZTEST_USER_F() 63 zassert_not_equal(res, -1, "fcntl failed: %d", errno); in ZTEST_USER_F() 66 zassert_not_equal(res, -1, "fcntl failed: %d", errno); in ZTEST_USER_F() 134 zassert_not_equal(res, -1, "socketpair() failed: %d", errno); in ZTEST_F() 178 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_USER_F() 180 zassert_not_equal(fds[0].revents & ZSOCK_POLLOUT, 0, "POLLOUT not set"); in ZTEST_USER_F() 183 zassert_not_equal(res, -1, "send() failed: %d", errno); in ZTEST_USER_F() 190 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_USER_F() 192 zassert_not_equal(fds[0].revents & ZSOCK_POLLIN, 0, "POLLIN not set"); in ZTEST_USER_F() 200 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_USER_F() [all …]
|
D | nonblock.c | 23 zassert_not_equal(res, -1, "fcntl() failed: %d", i, errno); in ZTEST_USER_F() 26 zassert_not_equal(res, -1, "fcntl() failed: %d", i, errno); in ZTEST_USER_F() 44 zassert_not_equal(res, -1, "fcntl() failed: %d", i, errno); in ZTEST_USER_F() 47 zassert_not_equal(res, -1, "fcntl() failed: %d", i, errno); in ZTEST_USER_F()
|
/Zephyr-latest/tests/net/lib/http_server/crime/src/ |
D | main.c | 77 zassert_not_equal(ret, -1, "failed to create client socket (%d)", errno); in test_crime() 84 zassert_not_equal(-1, ret, "inet_pton() failed (%d)", errno); in test_crime() 85 zassert_not_equal(0, ret, "%s is not a valid IPv4 address", MY_IPV4_ADDR); in test_crime() 90 zassert_not_equal(ptr, NULL, "inet_ntop() failed (%d)", errno); in test_crime() 93 zassert_not_equal(ret, -1, "failed to connect (%s/%d)", strerror(errno), errno); in test_crime() 102 zassert_not_equal(ret, -1, "send() failed (%d)", errno); in test_crime() 106 zassert_not_equal(recv_len, -1, "recv() failed (%d)", errno); in test_crime() 112 zassert_not_equal(ret, -1, "recv() failed (%d)", errno); in test_crime() 129 zassert_not_equal(-1, ret, "close() failed on the client fd (%d)", errno); in test_crime()
|
/Zephyr-latest/tests/net/lib/http_server/tls/src/ |
D | main.c | 152 zassert_not_equal(ret, -1, "failed to create client socket (%d)", errno); in test_tls() 168 zassert_not_equal(ret, -1, "failed to set TLS_SEC_TAG_LIST (%d)", errno); in test_tls() 172 zassert_not_equal(ret, -1, "failed to set TLS_HOSTNAME (%d)", errno); in test_tls() 179 zassert_not_equal(-1, ret, "inet_pton() failed (%d)", errno); in test_tls() 180 zassert_not_equal(ret, 0, "%s is not a valid IPv4 address", MY_IPV4_ADDR); in test_tls() 185 zassert_not_equal(ptr, NULL, "inet_ntop() failed (%d)", errno); in test_tls() 188 zassert_not_equal(ret, -1, "failed to connect (%d)", errno); in test_tls() 191 zassert_not_equal(ret, -1, "send() failed (%d)", errno); in test_tls() 197 zassert_not_equal(recv_len, -1, "recv() failed (%d)", errno); in test_tls() 203 zassert_not_equal(ret, -1, "recv() failed (%d)", errno); in test_tls() [all …]
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | signal.c | 29 zassert_not_equal(signals, 0x80000000, ""); in Thread_1() 36 zassert_not_equal(signals, 0x80000000, ""); in Thread_2() 49 zassert_not_equal(signals, 0x80000000, in test_multiple_signal_flags() 54 zassert_not_equal(signals, 0x80000000, ""); in test_multiple_signal_flags() 58 zassert_not_equal(signals, 0x80000000, in test_multiple_signal_flags() 62 zassert_not_equal(signals, 0x80000000, ""); in test_multiple_signal_flags() 105 zassert_not_equal(signals, 0x80000000, "signal clear failed"); in ZTEST() 135 zassert_not_equal(signals, 0x80000000, "clear signal failed"); in ZTEST() 139 zassert_not_equal(signals, 0x80000000, "set any signal failed"); in ZTEST() 173 zassert_not_equal(signals, 0x80000000, "signal set failed in ISR"); in offload_function()
|
/Zephyr-latest/tests/bluetooth/host/crypto/mocks/ |
D | aes_expects.c | 18 zassert_not_equal(psa_cipher_encrypt_fake.arg1_val, 0, in expect_single_call_psa_cipher_encrypt() 20 zassert_not_equal(psa_cipher_encrypt_fake.arg3_val, 0, in expect_single_call_psa_cipher_encrypt() 24 zassert_not_equal(psa_cipher_encrypt_fake.arg5_val, 0, in expect_single_call_psa_cipher_encrypt()
|
/Zephyr-latest/tests/bluetooth/df/common/src/ |
D | bt_conn_common.c | 36 zassert_not_equal(conn, NULL, "Failed acquire ll_conn instance"); in ut_bt_create_connection() 59 zassert_not_equal(conn, NULL, "Failed ll_conn instance for given handle"); in ut_bt_destroy_connection() 69 zassert_not_equal(conn, NULL, "Failed ll_conn instance for given handle"); in ut_bt_set_peer_features() 80 zassert_not_equal(conn, NULL, "Failed ll_conn instance for given handle"); in ut_bt_set_periph_latency()
|
/Zephyr-latest/tests/lib/c_lib/thrd/src/ |
D | mtx.c | 27 zassert_not_equal(thrd_success, mtx_init(NULL, FORTY_TWO)); in ZTEST() 28 zassert_not_equal(thrd_success, mtx_init(&mutex, FORTY_TWO)); in ZTEST() 32 zassert_not_equal(thrd_success, mtx_init(NULL, mtx_plain)); in ZTEST() 33 zassert_not_equal(thrd_success, mtx_init((mtx_t *)BIOS_FOOD, FORTY_TWO)); in ZTEST() 61 zassert_not_equal(thrd_success, mtx_lock(NULL)); in ZTEST() 62 zassert_not_equal(thrd_success, mtx_lock((mtx_t *)BIOS_FOOD)); in ZTEST() 74 zassert_not_equal(thrd_success, mtx_lock((&mutex))); in ZTEST() 162 zassert_not_equal(thrd_success, mtx_unlock(&mtx)); in ZTEST()
|
/Zephyr-latest/tests/subsys/modbus/src/ |
D | test_modbus_client.c | 58 zassert_not_equal(err, 0, "FC05 out of range request not failed"); in test_coil_wr_rd() 61 zassert_not_equal(err, 0, "FC15 out of range request not failed"); in test_coil_wr_rd() 77 zassert_not_equal(err, 0, "FC02 out of range request not failed"); in test_di_rd() 80 zassert_not_equal(err, 0, "FC02 out of range request not failed"); in test_di_rd() 101 zassert_not_equal(err, 0, "FC04 out of range request not failed"); in test_input_reg() 119 zassert_not_equal(err, 0, "FC06 out of range request not failed"); in test_holding_reg() 134 zassert_not_equal(err, 0, "FC03 out of range request not failed"); in test_holding_reg() 170 zassert_not_equal(err, 0, "FC16 FP out of range request not failed"); in test_holding_reg() 177 zassert_not_equal(err, 0, "FC16 FP out of range request not failed"); in test_holding_reg() 181 zassert_not_equal(err, 0, "FC16 write to FP address request not failed"); in test_holding_reg() [all …]
|