Lines Matching refs:map
16 zassert_true(sys_hashmap_is_empty(&map)); in ZTEST()
18 zassert_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST()
19 zassert_equal(1, sys_hashmap_size(&map)); in ZTEST()
20 zassert_true(sys_hashmap_contains_key(&map, 1)); in ZTEST()
22 zassert_equal(1, sys_hashmap_insert(&map, 2, 2, NULL)); in ZTEST()
23 zassert_equal(2, sys_hashmap_size(&map)); in ZTEST()
24 zassert_true(sys_hashmap_contains_key(&map, 2)); in ZTEST()
31 zassert_true(sys_hashmap_is_empty(&map)); in ZTEST()
33 zassert_equal(1, sys_hashmap_insert(&map, 1, 1, NULL)); in ZTEST()
34 zassert_equal(1, sys_hashmap_size(&map)); in ZTEST()
35 zassert_true(sys_hashmap_contains_key(&map, 1)); in ZTEST()
38 zassert_equal(0, sys_hashmap_insert(&map, 1, 2, &old_value)); in ZTEST()
40 zassert_equal(1, sys_hashmap_size(&map)); in ZTEST()
41 zassert_true(sys_hashmap_contains_key(&map, 1)); in ZTEST()
48 zassert_true(sys_hashmap_is_empty(&map)); in ZTEST()
51 ret = sys_hashmap_insert(&map, i, i, NULL); in ZTEST()
53 zassert_equal(i + 1, sys_hashmap_size(&map)); in ZTEST()
57 zassert_true(sys_hashmap_contains_key(&map, i)); in ZTEST()