Searched refs:sys_hashmap_insert (Results 1 – 10 of 10) sorted by relevance
/Zephyr-Core-3.5.0/tests/lib/hash_map/src/ |
D | insert.c | 18 zassert_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST() 22 zassert_equal(1, sys_hashmap_insert(&map, 2, 2, NULL)); in ZTEST() 33 zassert_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST() 38 zassert_equal(0, sys_hashmap_insert(&map, 1, 2, &old_value)); in ZTEST() 51 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST()
|
D | size.c | 16 zassume_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST() 19 zassume_equal(1, sys_hashmap_insert(&map, 2, 2, NULL)); in ZTEST()
|
D | get.c | 18 zassert_equal(1, sys_hashmap_insert(&map, 0, 0, NULL)); in ZTEST() 24 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST() 44 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST()
|
D | remove.c | 17 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST() 37 zassert_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST()
|
D | clear.c | 18 zassert_equal(1, sys_hashmap_insert(&map, i, i, NULL)); in ZTEST() 41 zassert_equal(1, sys_hashmap_insert(&map, i, i, NULL)); in ZTEST()
|
D | load_factor.c | 21 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST() 46 ret = sys_hashmap_insert(hmap, i, i, NULL); in ZTEST()
|
D | empty.c | 20 zassume_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST()
|
D | foreach.c | 27 zassert_equal(1, sys_hashmap_insert(&map, i, i, NULL)); in ZTEST()
|
/Zephyr-Core-3.5.0/samples/basic/hash_map/src/ |
D | main.c | 39 ires = sys_hashmap_insert(&map, i, i, NULL); in main() 57 ires = sys_hashmap_insert(&map, i, stats.max_size - i, NULL); in main()
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | hash_map.h | 185 static inline int sys_hashmap_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_insert() function
|