Searched refs:HashMapAdd (Results 1 – 4 of 4) sorted by relevance
/base/security/selinux_adapter/test/unittest/parameter_static/ |
D | unit_test.cpp | 125 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/ |
D | selinux_map.h | 60 int32_t HashMapAdd(HashTab *handle, HashNode *hashNode);
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_map.c | 93 int32_t HashMapAdd(HashTab *handle, HashNode *node) in HashMapAdd() function
|
D | contexts_trie.c | 63 HashMapAdd(root->handle, &groupNode->hashNode); in AddGroupNode()
|