Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/samples/basic/hash_map/src/
Dmain.c22 size_t max_size; member
46 ++stats.max_size; in main()
55 for (i = 0; i < stats.max_size; ++i) { in main()
57 ires = sys_hashmap_insert(&map, i, stats.max_size - i, NULL); in main()
68 for (i = stats.max_size; i > 0; --i) { in main()
98 stats->max_size); in print_stats()
/Zephyr-latest/samples/subsys/lorawan/fuota/src/
Dmain.c38 uint8_t unused, max_size; in datarate_changed() local
40 lorawan_get_payload_sizes(&unused, &max_size); in datarate_changed()
41 LOG_INF("New Datarate: DR %d, Max Payload %d", dr, max_size); in datarate_changed()
/Zephyr-latest/samples/subsys/lorawan/class_a/src/
Dmain.c42 uint8_t unused, max_size; in lorwan_datarate_changed() local
44 lorawan_get_payload_sizes(&unused, &max_size); in lorwan_datarate_changed()
45 LOG_INF("New Datarate: DR_%d, Max Payload %d", dr, max_size); in lorwan_datarate_changed()
/Zephyr-latest/tests/modules/nanopb/proto/sub/
Dnested.options1 NestedMessage.name max_size:32
/Zephyr-latest/tests/modules/nanopb/proto/
Dsimple.options1 SimpleMessage.buffer max_size:8 fixed_length:true
/Zephyr-latest/include/zephyr/sys/
Dhash_map_api.h199 size_t max_size; member
216 .max_size = (size_t)_max_size, .load_factor = (uint8_t)_load_factor, \
/Zephyr-latest/samples/modules/nanopb/src/
Dsimple.options.in1 SimpleMessage.buffer max_size:@CONFIG_SAMPLE_BUFFER_SIZE@ fixed_length:true
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dsmp_test_util.c28 uint16_t *buffer_size, char *name, uint32_t max_size) in create_settings_mgmt_read_packet() argument
35 (max_size == 0 || (zcbor_tstr_put_lit(zse, "max_size") && in create_settings_mgmt_read_packet()
36 zcbor_uint32_put(zse, max_size))) && in create_settings_mgmt_read_packet()
Dsmp_test_util.h17 uint16_t *buffer_size, char *name, uint32_t max_size);
/Zephyr-latest/subsys/mgmt/mcumgr/grp/settings_mgmt/src/
Dsettings_mgmt.c40 uint32_t max_size = CONFIG_MCUMGR_GRP_SETTINGS_VALUE_LEN; in settings_mgmt_read() local
53 ZCBOR_MAP_DECODE_KEY_DECODER("max_size", zcbor_uint32_decode, &max_size), in settings_mgmt_read()
72 if (max_size > CONFIG_MCUMGR_GRP_SETTINGS_VALUE_LEN) { in settings_mgmt_read()
73 max_size = CONFIG_MCUMGR_GRP_SETTINGS_VALUE_LEN; in settings_mgmt_read()
79 data = (uint8_t *)malloc(max_size); in settings_mgmt_read()
119 rc = settings_runtime_get(key_name, data, max_size); in settings_mgmt_read()
/Zephyr-latest/subsys/bindesc/
Dbindesc_read.c112 int bindesc_open_ram(struct bindesc_handle *handle, const uint8_t *address, size_t max_size) in bindesc_open_ram() argument
126 handle->size_limit = max_size; in bindesc_open_ram()
/Zephyr-latest/samples/basic/hash_map/
DREADME.rst50 …p_sample: n_insert: 118200 n_remove: 295500 n_replace: 329061 n_miss: 0 n_error: 0 max_size: 118200
/Zephyr-latest/drivers/dma/
Ddma_pl330.c324 uint32_t max_size; in dma_pl330_xfer() local
331 max_size = GET_MAX_DMA_SIZE((1 << ch_handle->src_burst_sz), in dma_pl330_xfer()
334 if (size > max_size) { in dma_pl330_xfer()
335 size = max_size; in dma_pl330_xfer()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_cli.h141 size_t max_size; member
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_3.rst54 (str,opt)"max_size" : (uint)
65 | "max_size" | optional maximum size of data to return |
88 (str,opt)"max_size" : (uint)
123 | "max_size" | will be set if the maximum supported data size is smaller than the |
/Zephyr-latest/lib/net_buf/
Dbuf.c689 size_t max_size; in net_buf_append_bytes() local
712 max_size = pool->alloc->max_alloc_size; in net_buf_append_bytes()
714 max_size ? MIN(len, max_size) : len, in net_buf_append_bytes()
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c593 lfs_size_t max_size; member
613 if (info->size > ctx->max_size) { in get_page_cb()
614 ctx->max_size = info->size; in get_page_cb()
631 .max_size = 0, in get_block_size()
644 return ctx.max_size; in get_block_size()
/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_cli.c332 cli->caps.max_size = MIN(cli->caps.max_size, in->max_size); in caps_adjust()
1419 caps.max_size = net_buf_simple_pull_le32(buf); in handle_info_status()
1427 caps.max_size == 0 || caps.mtu_size < 0x14) { in handle_info_status()
1434 caps.max_chunks, caps.max_chunk_size, caps.max_size, in handle_info_status()
1500 cli->caps.max_size = 0xffffffff; in bt_mesh_blob_cli_caps_get()
/Zephyr-latest/include/zephyr/
Dbindesc.h384 int bindesc_open_ram(struct bindesc_handle *handle, const uint8_t *address, size_t max_size);
/Zephyr-latest/subsys/net/lib/http/
Dhttp_hpack.c397 uint32_t max_size; in hpack_handle_dynamic_size_update() local
401 buf, datalen, HPACK_PREFIX_LEN_DYNAMIC_TABLE_SIZE_UPDATE, &max_size); in hpack_handle_dynamic_size_update()
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/
Dbroadcaster.c116 static size_t get_chars(char *buffer, size_t max_size) in get_chars() argument
120 while (pos < max_size) { in get_chars()
/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/doc/develop/test/
Dztest.rst77 size_t max_size;
88 fixture->max_size = 256;
96 memset(fixture->buff, 0, fixture->max_size);
110 zassert_equal(256, fixture->max_size);
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c516 static size_t get_chars(char *buffer, size_t max_size) in get_chars() argument
520 while (pos < max_size) { in get_chars()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dblob.c109 shell_print(bt_mesh_shell_ctx_shell, "\tMax BLOB size: %u bytes", caps->max_size); in blob_cli_caps()

12