Home
last modified time | relevance | path

Searched refs:HashMapAdd (Results 1 – 4 of 4) sorted by relevance

/base/security/selinux_adapter/test/unittest/parameter_static/
Dunit_test.cpp125 ASSERT_EQ(HashMapAdd(handle, &(groupNode->hashNode)), 0);
140 EXPECT_EQ(-1, HashMapAdd(nullptr, &(groupNode->hashNode)));
154 ASSERT_EQ(-1, HashMapAdd(handle, nullptr));
171 EXPECT_EQ(-1, HashMapAdd(handle, &(groupNode->hashNode)));
188 ASSERT_EQ(0, HashMapAdd(handle, &(groupNode1->hashNode)));
191 ASSERT_EQ(-1, HashMapAdd(handle, &(groupNode2->hashNode)));
/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dselinux_map.h60 int32_t HashMapAdd(HashTab *handle, HashNode *hashNode);
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_map.c93 int32_t HashMapAdd(HashTab *handle, HashNode *node) in HashMapAdd() function
Dcontexts_trie.c63 HashMapAdd(root->handle, &groupNode->hashNode); in AddGroupNode()