Lines Matching refs:this
46 picoknow_KnowledgeBase this; in picoknow_newKnowledgeBase() local
49 this = picoos_allocate(mm,sizeof(*this)); in picoknow_newKnowledgeBase()
50 if (NULL != this) { in picoknow_newKnowledgeBase()
51 …BG_TRACE(("allocated KnowledgeBase at address %i with size %i",(picoos_uint32)this,sizeof(*this))); in picoknow_newKnowledgeBase()
53 this->next = NULL; in picoknow_newKnowledgeBase()
54 this->id = PICOKNOW_KBID_NULL; in picoknow_newKnowledgeBase()
55 this->base = NULL; in picoknow_newKnowledgeBase()
56 this->size = 0; in picoknow_newKnowledgeBase()
57 this->subObj = NULL; in picoknow_newKnowledgeBase()
58 this->subDeallocate = NULL; in picoknow_newKnowledgeBase()
60 return this; in picoknow_newKnowledgeBase()
63 extern void picoknow_disposeKnowledgeBase(picoos_MemoryManager mm, picoknow_KnowledgeBase * this) in picoknow_disposeKnowledgeBase() argument
66 if (NULL != (*this)) { in picoknow_disposeKnowledgeBase()
67 id = (*this)->id; in picoknow_disposeKnowledgeBase()
70 if ((*this)->subObj != NULL) { in picoknow_disposeKnowledgeBase()
71 (*this)->subDeallocate((*this),mm); in picoknow_disposeKnowledgeBase()
73 picoos_deallocate(mm,(void**)this); in picoknow_disposeKnowledgeBase()