Lines Matching defs:this

5  * you may not use this file except in compliance with the License.
169 static pico_status_t kprInitialize(register picoknow_KnowledgeBase this,
177 if (NULL == this || NULL == this->subObj) {
181 kpr = (kpr_subobj_t *) this->subObj;
183 kpr->rStrArrLen = kpr_getUInt32(&(this->base[KPR_STRARRLEN_OFFSET]));
184 kpr->rLexCatArrLen = kpr_getUInt32(&(this->base[KPR_LEXCATARRLEN_OFFSET]));
185 kpr->rAttrValArrLen = kpr_getUInt32(&(this->base[KPR_ATTRVALARRLEN_OFFSET]));
186 kpr->rOutItemArrLen = kpr_getUInt32(&(this->base[KPR_OUTITEMARRLEN_OFFSET]));
187 kpr->rTokArrLen = kpr_getUInt32(&(this->base[KPR_TOKARRLEN_OFFSET]));
188 kpr->rProdArrLen = kpr_getUInt32(&(this->base[KPR_PRODARRLEN_OFFSET]));
189 kpr->rCtxArrLen = kpr_getUInt32(&(this->base[KPR_CTXARRLEN_OFFSET]));
192 kpr->rStrArr = &(this->base[offset]);
196 kpr->rLexCatArr = (picokpr_LexCat2 *)&(this->base[offset]);
200 kpr->rAttrValArr = (picokpr_AttrVal *)&(this->base[offset]);
204 kpr->rOutItemArr = (picokpr_OutItem *)&(this->base[offset]);
208 kpr->rTokArr = (picokpr_Tok *)&(this->base[offset]);
212 kpr->rProdArr = (picokpr_Prod *)&(this->base[offset]);
216 kpr->rCtxArr = (picokpr_Ctx *)&(this->base[offset]);
220 kpr->rNetName = &(kpr->rStrArr[kpr_getUInt32(&(this->base[KPR_NETNAME_OFFSET]))]);
226 static pico_status_t kprSubObjDeallocate(register picoknow_KnowledgeBase this,
229 if (NULL != this) {
230 picoos_deallocate(mm, (void *) &this->subObj);
240 pico_status_t picokpr_specializePreprocKnowledgeBase(picoknow_KnowledgeBase this,
243 if (NULL == this) {
247 this->subDeallocate = kprSubObjDeallocate;
248 this->subObj = picoos_allocate(common->mm, sizeof(kpr_subobj_t));
249 if (NULL == this->subObj) {
253 return kprInitialize(this, common);
260 picokpr_Preproc picokpr_getPreproc(picoknow_KnowledgeBase this)
262 if (NULL == this) {
265 return (picokpr_Preproc) this->subObj;
286 len__9 = len__9; /*PP 13.10.08 : fix warning "var not used in this function"*/
296 len__10 = len__10; /*PP 13.10.08 : fix warning "var not used in this function"*/
306 len__11 = len__11; /*PP 13.10.08 : fix warning "var not used in this function"*/
317 len__12 = len__12; /* avoid warning "var not used in this function"*/