Lines Matching defs:element
36 RevokeElement *element =
39 while (element != NULL) {
40 delete element;
41 element = (RevokeElement*)hash_remove_first(fHash, NULL);
69 RevokeElement* element = (RevokeElement*)hash_lookup(fHash, &block);
71 if (element != NULL) {
72 TRACE("HashRevokeManager::Insert(): Already has an element\n");
73 if (element->commitID < commitID) {
74 TRACE("HashRevokeManager::Insert(): Deleting previous element\n");
75 status_t retValue = hash_remove(fHash, element);
80 delete element;
95 RevokeElement* element = (RevokeElement*)hash_lookup(fHash, &block);
97 if (element == NULL)
100 status_t retValue = hash_remove(fHash, element);
103 delete element;
112 RevokeElement* element = (RevokeElement*)hash_lookup(fHash, &block);
114 if (element == NULL)
117 return element->commitID >= commitID;
152 RevokeElement* element = new(std::nothrow) RevokeElement;
154 if (element == NULL)
157 element->block = block;
158 element->commitID = commitID;
160 status_t retValue = hash_insert_grow(fHash, element);