Home
last modified time | relevance | path

Searched refs:sys_hashmap_insert (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.5.0/tests/lib/hash_map/src/
Dinsert.c18 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()
Dsize.c16 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()
Dget.c18 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()
Dremove.c17 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST()
37 zassert_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST()
Dclear.c18 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()
Dload_factor.c21 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST()
46 ret = sys_hashmap_insert(hmap, i, i, NULL); in ZTEST()
Dempty.c20 zassume_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST()
Dforeach.c27 zassert_equal(1, sys_hashmap_insert(&map, i, i, NULL)); in ZTEST()
/Zephyr-Core-3.5.0/samples/basic/hash_map/src/
Dmain.c39 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/
Dhash_map.h185 static inline int sys_hashmap_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_insert() function