Searched refs:SIZE_MAX (Results 1 – 20 of 20) sorted by relevance
/Zephyr-latest/tests/unit/math_extras/ |
D | tests.inc | 108 zassert_false(size_add_overflow(0, SIZE_MAX, &result)); 109 zassert_equal(result, SIZE_MAX); 110 zassert_true(size_add_overflow(1, SIZE_MAX, &result)); 113 zassert_false(size_add_overflow(SIZE_MAX, 0, &result)); 114 zassert_equal(result, SIZE_MAX); 115 zassert_true(size_add_overflow(SIZE_MAX, 2, &result)); 126 zassert_false(size_mul_overflow(SIZE_MAX, 1, &result)); 127 zassert_equal(result, SIZE_MAX); 128 zassert_true(size_mul_overflow(SIZE_MAX, 2, &result)); 129 zassert_equal(result, SIZE_MAX * 2); [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | hash_map_cxx.h | 74 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR)) 86 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
|
D | hash_map_sc.h | 74 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR)) 86 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
|
D | hash_map_oa_lp.h | 79 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR)) 91 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
|
D | hash_map.h | 333 __ASSERT_NO_MSG(size < SIZE_MAX / 100); in sys_hashmap_should_rehash()
|
/Zephyr-latest/tests/kernel/msgq/msgq_api/src/ |
D | test_msgq.h | 22 #define OVERFLOW_SIZE_MSG SIZE_MAX
|
/Zephyr-latest/tests/lib/hash_map/src/ |
D | _main.c | 16 SYS_HASHMAP_CONFIG(SIZE_MAX, CUSTOM_LOAD_FACTOR));
|
/Zephyr-latest/tests/posix/threads_ext/src/ |
D | main.c | 53 zassert_equal(pthread_attr_setguardsize(NULL, SIZE_MAX), EINVAL); in ZTEST() 59 zassert_equal(pthread_attr_setguardsize(&attr, SIZE_MAX), EINVAL); in ZTEST()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
D | img_gr_stub.c | 243 length = SIZE_MAX; in img_upload_init_verify() 244 offset = SIZE_MAX; in img_upload_init_verify() 248 if (rc || data.len == 0 || offset == SIZE_MAX || image != TEST_IMAGE_NUM) { in img_upload_init_verify()
|
/Zephyr-latest/drivers/misc/devmux/ |
D | devmux.c | 52 return SIZE_MAX; in devmux_inst_get()
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | stdint.h | 70 #define SIZE_MAX __SIZE_MAX__ macro
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | zephyr_img_mgmt.c | 560 if (req->off == SIZE_MAX) { in img_mgmt_upload_inspect() 589 if (req->size == SIZE_MAX) { in img_mgmt_upload_inspect()
|
D | img_mgmt.c | 721 .off = SIZE_MAX, in img_mgmt_upload() 722 .size = SIZE_MAX, in img_mgmt_upload()
|
/Zephyr-latest/tests/lib/multi_heap/src/ |
D | test_mheap_api.c | 14 #define OVERFLOW_SIZE SIZE_MAX
|
/Zephyr-latest/include/zephyr/net/ |
D | net_pkt_filter.h | 303 .max = SIZE_MAX, \
|
/Zephyr-latest/lib/hash/ |
D | hash_map_oa_lp.c | 127 if (map->data->size != SIZE_MAX && map->data->size == map->config->max_size) { in sys_hashmap_oa_lp_rehash()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/ |
D | img_mgmt_client.c | 207 if (rc || image_upload_buf->image_upload_offset == SIZE_MAX) { in image_upload_res_fn() 418 image_upload_buf->image_upload_offset = SIZE_MAX; in img_mgmt_client_upload()
|
/Zephyr-latest/subsys/shell/ |
D | shell.c | 637 size_t argc = 0, args_left = SIZE_MAX; in execute()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | conn.c | 1049 buf = conn->tx_data_pull(conn, SIZE_MAX, &buf_len); in bt_conn_tx_processor() 1052 buf = conn->tx_data_pull(conn, SIZE_MAX, &buf_len); in bt_conn_tx_processor()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_inet.c | 1252 size_t _max_len = (max_len == NULL) ? SIZE_MAX : *max_len; in zsock_recv_stream_immediate()
|