Searched refs:freeFunc (Results 1 – 2 of 2) sorted by relevance
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
D | rbtree.h | 60 int32_t RbTreeDecode(struct RbTree *t, RbTreeValueDecoder dec, RbTreeValueFree freeFunc, 65 void RbTreeDestroyEx(struct RbTree *t, RbTreeNodeHandler freeFunc);
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | rbtree.c | 504 int32_t RbTreeDecode(struct RbTree *t, RbTreeValueDecoder dec, RbTreeValueFree freeFunc, in RbTreeDecode() argument 507 … if (t == NULL || t->root == NULL || dec == NULL || freeFunc == NULL || buf == NULL || size == 0) { in RbTreeDecode() 549 freeFunc(&value); in RbTreeDecode() 580 void RbTreeDestroyEx(struct RbTree *t, RbTreeNodeHandler freeFunc) in RbTreeDestroyEx() argument 582 if ((t == NULL) || (freeFunc == NULL)) { in RbTreeDestroyEx() 586 TraverseInOrder(t, t->root, freeFunc, NULL); in RbTreeDestroyEx()
|