/Zephyr-latest/tests/drivers/flash/negative_tests/src/ |
D | main.c | 66 zassert_true(rc == 0, "flash_get_page_info_by_offs returned %d", rc); in flash_driver_setup() 91 /* Check error returned when erasing memory at wrong address (too low) */ in ZTEST() 93 zassert_true(rc < 0, "Invalid use of flash_erase returned %d", rc); in ZTEST() 95 /* Check error returned when erasing memory at wrong address (too high) */ in ZTEST() 97 zassert_true(rc < 0, "Invalid use of flash_erase returned %d", rc); in ZTEST() 99 /* Check error returned when erasing unaligned memory or too large chunk of memory */ in ZTEST() 101 zassert_true(rc < 0, "Invalid use of flash_erase returned %d", rc); in ZTEST() 105 zassert_true(rc == 0, "flash_erase 0 bytes returned %d", rc); in ZTEST() 124 /* Check error returned when filling memory at wrong address (too low) */ in ZTEST() 126 zassert_true(rc < 0, "Invalid use of flash_fill returned %d", rc); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_create/src/ |
D | test_suite_invalid_inputs.c | 26 * - '-EINVAL' error code is returned representing invalid values were used. 34 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 46 * - '-EINVAL' error code is returned representing invalid values were used. 55 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 68 * - '-ENOMEM' error code is returned representing invalid values were used. 78 zassert_true(err == -ENOMEM, "Unexpected error code '%d' was returned", err); in ZTEST() 90 * - '-EINVAL' error code is returned representing invalid values were used. 102 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 114 * - '-EINVAL' error code is returned representing invalid values were used. 122 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_random_id_addr/src/ |
D | test_suite_invalid_cases.c | 51 * - A negative error code is returned by bt_id_create(). 61 zassert_true(err != 0, "Unexpected error code '%d' was returned", err); in ZTEST() 72 * - A negative error code is returned by bt_id_create(). 87 zassert_true(err != 0, "Unexpected error code '%d' was returned", err); in ZTEST() 108 * bt_hci_cmd_send_sync() returns 0 (success) and the returned number of addresses is 0. 122 * - A negative error code is returned by bt_id_create(). 144 zassert_true(err != 0, "Unexpected error code '%d' was returned", err); in ZTEST() 149 * bt_hci_cmd_send_sync() returns 0 (success) and the returned number of addresses is 1, but no 157 * holding the returned addresses information, so response should be discarded and operation fails. 164 * - A negative error code is returned by bt_id_create(). [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_reset/src/ |
D | test_suite_invalid_inputs.c | 31 * - '-EINVAL' error code is returned representing invalid values were used. 39 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 52 * - '-EINVAL' error code is returned representing invalid values were used. 62 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 75 * - '-EINVAL' error code is returned representing invalid values were used. 84 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 97 * - '-EINVAL' error code is returned representing invalid values were used. 105 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 118 * - '-EINVAL' error code is returned representing invalid values were used. 126 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() [all …]
|
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/rom_api/ |
D | sample.yaml | 11 - "Test Zephyr crypto hash API for multiblock plus remainder returned 0" 13 - "Test Zephyr crypto arbitrary chunk size returned 0" 15 - "Test Zephyr crypto arbitrary chunk size returned 0" 17 - "Test Zephyr crypto arbitrary chunk size returned 0"
|
/Zephyr-latest/tests/net/lib/lwm2m/content_plain_text/src/ |
D | main.c | 77 "Invalid length returned"); in ZTEST() 94 zassert_equal(ret, -ENOMEM, "Invalid error code returned"); in ZTEST() 108 "Invalid length returned"); in ZTEST() 125 zassert_equal(ret, -ENOMEM, "Invalid error code returned"); in ZTEST() 139 "Invalid length returned"); in ZTEST() 156 zassert_equal(ret, -ENOMEM, "Invalid error code returned"); in ZTEST() 172 "Invalid length returned"); in ZTEST() 189 zassert_equal(ret, -ENOMEM, "Invalid error code returned"); in ZTEST() 200 zassert_equal(ret, strlen(test_string), "Invalid length returned"); in ZTEST() 216 zassert_equal(ret, -ENOMEM, "Invalid error code returned"); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_delete/src/ |
D | test_suite_invalid_inputs.c | 29 * - '-EINVAL' error code is returned representing invalid values were used. 37 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 48 * - '-EINVAL' error code is returned representing invalid values were used. 58 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 69 * - '-EALREADY' error code is returned representing invalid values were used. 81 zassert_true(err == -EALREADY, "Unexpected error code '%d' was returned", err); in ZTEST() 114 * - '-EBUSY' error code is returned representing invalid values were used. 135 zassert_true(err == -EBUSY, "Unexpected error code '%d' was returned", err); in ZTEST() 146 * - '-EALREADY' error code is returned representing invalid values were used. 167 zassert_true(err < 0, "Unexpected error code '%d' was returned", err); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_type/src/ |
D | main.c | 32 /* This list will hold returned references while filling keys pool */ 69 * - A valid reference is returned by bt_keys_get_type() 95 "bt_keys_get_type() returned a reference with an incorrect ID"); in ZTEST() 97 "bt_keys_get_type() returned a reference with an incorrect key type"); in ZTEST() 99 "bt_keys_get_type() returned incorrect address %s value, expected %s", in ZTEST() 111 * - A NULL value is returned by bt_keys_get_type() 122 zassert_true(returned_key == NULL, "bt_keys_get_type() returned a non-NULL reference"); in ZTEST() 132 * - A valid reference is returned by bt_keys_get_type() 133 * - Key reference returned matches the previously returned one 157 "bt_keys_get_type() returned unexpected reference"); in ZTEST()
|
/Zephyr-latest/tests/posix/single_process/src/ |
D | sysconf.c | 18 zassert_equal(ret, _POSIX_VERSION, "sysconf returned unexpected value %d", ret); in ZTEST() 22 zassert_equal(ret, -1, "sysconf returned unexpected value %d", ret); in ZTEST() 27 zassert_equal(ret, _POSIX_VERSION, "sysconf returned unexpected value %d", ret); in ZTEST() 29 zassert_equal(ret, -1L, "sysconf returned unexpected value %d", ret); in ZTEST()
|
/Zephyr-latest/tests/kernel/common/src/ |
D | bitarray.c | 48 #define FAIL_ALLOC_RET_MSG_FMT "sys_bitarray_alloc with region size %i returned incorrect result" 544 zassert_equal(ret, 0, "sys_bitarray_popcount_region() returned unexpected value: %d", ret); in ZTEST() 545 zassert_equal(count, 1, "sys_bitarray_popcount_region() returned unexpected count: %d", in ZTEST() 549 zassert_equal(ret, 0, "sys_bitarray_popcount_region() returned unexpected value: %d", ret); in ZTEST() 550 zassert_equal(count, 0, "sys_bitarray_popcount_region() returned unexpected count: %d", in ZTEST() 554 zassert_equal(ret, 0, "sys_bitarray_popcount_region() returned unexpected value: %d", ret); in ZTEST() 555 zassert_equal(count, 1, "sys_bitarray_popcount_region() returned unexpected count: %d", in ZTEST() 559 zassert_equal(ret, 0, "sys_bitarray_popcount_region() returned unexpected value: %d", ret); in ZTEST() 560 zassert_equal(count, 2, "sys_bitarray_popcount_region() returned unexpected count: %d", in ZTEST() 564 zassert_equal(ret, 0, "sys_bitarray_popcount_region() returned unexpected value: %d", ret); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_scan_own_addr/src/ |
D | test_suite_invalid_inputs.c | 49 * - bt_id_set_scan_own_addr() fails and returns the same error code returned by 64 zassert_true(err < 0, "Unexpected error code '%d' was returned", err); in ZTEST() 71 * code is returned. 80 * - bt_id_set_scan_own_addr() fails and returns the same error code returned by 98 zassert_true(err == -ENOBUFS, "Unexpected error code '%d' was returned", err); in ZTEST() 111 * - bt_id_set_scan_own_addr() fails and returns the same error code returned by 132 zassert_true(err < 0, "Unexpected error code '%d' was returned", err); in ZTEST()
|
/Zephyr-latest/tests/benchmarks/thread_metric/ |
D | thread_metric_readme.txt | 148 returned. If an error occurs, TM_ERROR is returned. The created thread 154 thread_id. If successful, a TM_SUCCESS is returned. 159 thread_id. If successful, a TM_SUCCESS is returned. 174 one 16-byte message. If successful, a TM_SUCCESS is returned. 179 If successful, a TM_SUCCESS is returned. 184 queue. If successful, a TM_SUCCESS is returned. 189 TM_SUCCESS is returned. 194 If successful, a TM_SUCCESS is returned. 199 If successful, a TM_SUCCESS is returned. 204 128-byte block of memory. If successful, a TM_SUCCESS is returned. [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_le_oob_get_local/src/ |
D | test_suite_invalid_inputs.c | 49 * - '-EAGAIN' error code is returned representing invalid values were used. 60 zassert_true(err == -EAGAIN, "Unexpected error code '%d' was returned", err); in ZTEST() 72 * - '-EINVAL' error code is returned representing invalid values were used. 83 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 98 * - '-EINVAL' error code is returned representing invalid values were used. 119 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 138 * - '-EINVAL' error code is returned representing invalid values were used. 163 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() 183 * - '-EINVAL' error code is returned representing invalid values were used. 213 zassert_true(err == -EINVAL, "Unexpected error code '%d' was returned", err); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_adv_own_addr/src/ |
D | test_suite_invalid_inputs.c | 65 * - 'ENOTSUP' error is returned 81 zassert_true(err == -ENOTSUP, "Unexpected error code '%d' was returned", err); in ZTEST() 87 * Operation fails if bt_id_set_adv_private_addr() failed and a negative error code is returned. 111 zassert_true(err < 0, "Unexpected error code '%d' was returned", err); in ZTEST() 119 * Operation fails if bt_id_set_adv_random_addr() failed and a negative error code is returned. 147 zassert_true(err < 0, "Unexpected error code '%d' was returned", err); in ZTEST() 158 * Operation fails if bt_id_set_adv_random_addr() failed and a negative error code is returned. 186 zassert_true(err < 0, "Unexpected error code '%d' was returned", err); in ZTEST() 192 * Operation fails if bt_id_set_adv_private_addr() failed and a negative error code is returned. 217 zassert_true(err < 0, "Unexpected error code '%d' was returned", err); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_addr/src/ |
D | main.c | 34 /* This list will hold returned references while filling keys pool */ 56 * - A NULL value is returned 68 zassert_true(returned_ref == NULL, "bt_keys_find() returned a non-NULL reference"); in ZTEST() 92 * - A valid reference value is returned 106 zassert_true(returned_ref != NULL, "bt_keys_find_addr() returned a NULL reference"); in ZTEST() 108 "bt_keys_find_addr() returned unexpected reference"); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find/src/ |
D | main.c | 30 /* This list will hold returned references while filling keys pool */ 52 * - NULL reference is returned 64 zassert_true(returned_ref == NULL, "bt_keys_find() returned a non-NULL reference"); in ZTEST() 89 * - Valid reference pointer is returned and matches the correct reference 108 zassert_true(returned_ref != NULL, "bt_keys_find() returned a NULL reference"); in ZTEST() 110 "bt_keys_find() returned unexpected reference"); in ZTEST()
|
/Zephyr-latest/include/zephyr/drivers/modem/ |
D | simcom-sim7080.h | 124 * @return 0 on success. Otherwise -1 is returned. 131 * @return 0 on success. Otherwise -1 is returned. 138 * @return 0 on success. Otherwise <0 is returned. 145 * @return 0 on success. Otherwise <0 is returned. 152 * @return 0 on success. If no fix is acquired yet -EAGAIN is returned. 153 * Otherwise <0 is returned. 181 * @return Number of sms read on success. Otherwise -1 is returned. 195 * @return 0 on success. Otherwise -1 is returned. 207 * @return 0 if the session was started. Otherwise -1 is returned.
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/src/ |
D | main.c | 27 /* This list will hold returned references while filling keys pool */ 66 * - A valid reference is returned by bt_keys_get_addr() 89 "bt_keys_get_addr() returned a reference with an incorrect ID"); in ZTEST() 97 * Test no equal references returned by bt_keys_get_addr() 103 * - All returned references are different from each other 113 "bt_keys_get_addr() returned unexpected reference at slot %u", i); in ZTEST() 137 * - A valid reference is returned by bt_keys_get_addr() that 138 * matches the one returned after adding the ID and address pair 160 "bt_keys_get_addr() returned unexpected reference"); in ZTEST()
|
D | test_suite_full_list_overwrite_oldest.c | 19 /* This list holds returned references while filling keys pool */ 129 * - NULL pointer is returned as there is no room 142 zassert_true(returned_key == NULL, "bt_keys_get_addr() returned a non-NULL reference"); in ZTEST() 155 * - A valid pointer in the keys pool is returned, matching the one previously assigned to the 172 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a NULL reference"); in ZTEST() 174 "bt_keys_get_addr() returned reference doesn't match expected one"); in ZTEST() 189 * - A valid pointer in the keys pool is returned, matching the one previously assigned to the 206 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a NULL reference"); in ZTEST() 208 "bt_keys_get_addr() returned reference doesn't match expected one"); in ZTEST() 223 * - A valid pointer in the keys pool is returned, matching the one previously assigned to the [all …]
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_store/src/ |
D | main.c | 58 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST() 65 zassert_true(returned_code == 0, "bt_keys_store() returned a non-zero code"); in ZTEST() 92 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST() 99 zassert_true(returned_code == -1, "bt_keys_store() returned a non-zero code"); in ZTEST() 125 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST() 132 zassert_true(returned_code == 0, "bt_keys_store() returned a non-zero code"); in ZTEST() 159 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST() 166 zassert_true(returned_code == -1, "bt_keys_store() returned a non-zero code"); in ZTEST()
|
/Zephyr-latest/include/zephyr/sys/ |
D | sys_heap.h | 39 * the chunk is always returned immediately to the heap for other 116 * returned. The allocated memory is guaranteed to have a starting 132 * Behaves in all ways like sys_heap_alloc(), except that the returned 136 * The resulting memory can be returned to the heap using sys_heap_free(). 147 * De-allocates a pointer to memory previously returned from 156 * @param mem A pointer previously returned from sys_heap_alloc() 164 * expanded in place, the pointer returned will be identical. 168 * the remaining memory returned to the heap. If the allocation of a 169 * new block fails, then NULL will be returned and the old block will 173 * @param ptr Original pointer returned from a previous allocation [all …]
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_cache.h | 54 * @retval On error, a negative value is returned. 64 * @param addrinfo Addrinfo resulting from the query which will be returned 69 * @retval On error, a negative value is returned. 80 * @retval On error, a negative value is returned. 91 * @retval on success the amount of dns_addrinfo written into the addrinfo array will be returned. 93 * @retval On error a negative value is returned.
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_irk/src/ |
D | main.c | 45 /* This list will hold returned references while filling keys pool */ 94 * - A NULL value is returned 112 "bt_keys_find_irk() returned a non-valid reference"); in ZTEST() 145 * - A NULL value is returned 165 "bt_keys_find_irk() returned a non-valid reference"); in ZTEST() 178 * - A valid reference value is returned 214 "bt_keys_find_irk() returned a NULL reference %d", it); in ZTEST() 217 "bt_keys_find_irk() returned unexpected reference"); in ZTEST() 224 "bt_keys_find_irk() returned a non-valid reference %d", it); in ZTEST() 274 * - A valid reference value is returned [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_client/src/ |
D | main.c | 71 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST() 72 zassert_equal_ptr(response_ptr, &testing_user_data, "User data not returned correctly"); in ZTEST() 95 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST() 96 zassert_is_null(response_ptr, "NULL pointer was not returned"); in ZTEST() 101 zassert_equal_ptr(response_ptr, &testing_user_data, "User data not returned correctly"); in ZTEST() 105 zassert_is_null(res_buf, "NULL pointer was not returned"); in ZTEST() 106 zassert_is_null(response_ptr, "NULL pointer was not returned"); in ZTEST()
|
/Zephyr-latest/include/zephyr/net/ |
D | udp.h | 39 * @details The values in the returned header are in network byte order. 40 * Note that you must access the UDP header values by the returned pointer, 51 * Always use the returned pointer to access the UDP header. 69 * The hdr parameter value should be the same that is returned by function 75 * @param hdr Header data pointer that was returned by net_udp_get_hdr().
|