Home | History | Annotate | Download | only in lib

Lines Matching defs:this

5  * you may not use this file except in compliance with the License.
46 picoknow_KnowledgeBase this;
49 this = picoos_allocate(mm,sizeof(*this));
50 if (NULL != this) {
51 PICODBG_TRACE(("allocated KnowledgeBase at address %i with size %i",(picoos_uint32)this,sizeof(*this)));
53 this->next = NULL;
54 this->id = PICOKNOW_KBID_NULL;
55 this->base = NULL;
56 this->size = 0;
57 this->subObj = NULL;
58 this->subDeallocate = NULL;
60 return this;
63 extern void picoknow_disposeKnowledgeBase(picoos_MemoryManager mm, picoknow_KnowledgeBase * this)
66 if (NULL != (*this)) {
67 id = (*this)->id;
70 if ((*this)->subObj != NULL) {
71 (*this)->subDeallocate((*this),mm);
73 picoos_deallocate(mm,(void**)this);