Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/unit/math_extras/
Dtests.inc108 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/
Dhash_map_cxx.h74 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
86 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
Dhash_map_sc.h74 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
86 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
Dhash_map_oa_lp.h79 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
91 SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
Dhash_map.h333 __ASSERT_NO_MSG(size < SIZE_MAX / 100); in sys_hashmap_should_rehash()
/Zephyr-latest/tests/kernel/msgq/msgq_api/src/
Dtest_msgq.h22 #define OVERFLOW_SIZE_MSG SIZE_MAX
/Zephyr-latest/tests/lib/hash_map/src/
D_main.c16 SYS_HASHMAP_CONFIG(SIZE_MAX, CUSTOM_LOAD_FACTOR));
/Zephyr-latest/tests/posix/threads_ext/src/
Dmain.c53 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/
Dimg_gr_stub.c243 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/
Ddevmux.c52 return SIZE_MAX; in devmux_inst_get()
/Zephyr-latest/lib/libc/minimal/include/
Dstdint.h70 #define SIZE_MAX __SIZE_MAX__ macro
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dzephyr_img_mgmt.c560 if (req->off == SIZE_MAX) { in img_mgmt_upload_inspect()
589 if (req->size == SIZE_MAX) { in img_mgmt_upload_inspect()
Dimg_mgmt.c721 .off = SIZE_MAX, in img_mgmt_upload()
722 .size = SIZE_MAX, in img_mgmt_upload()
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c14 #define OVERFLOW_SIZE SIZE_MAX
/Zephyr-latest/include/zephyr/net/
Dnet_pkt_filter.h303 .max = SIZE_MAX, \
/Zephyr-latest/lib/hash/
Dhash_map_oa_lp.c127 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/
Dimg_mgmt_client.c207 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/
Dshell.c637 size_t argc = 0, args_left = SIZE_MAX; in execute()
/Zephyr-latest/subsys/bluetooth/host/
Dconn.c1049 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/
Dsockets_inet.c1252 size_t _max_len = (max_len == NULL) ? SIZE_MAX : *max_len; in zsock_recv_stream_immediate()