Lines Matching defs:this

5  * you may not use this file except in compliance with the License.
92 static pico_status_t kpdfDURInitialize(register picoknow_KnowledgeBase this,
97 if (NULL == this || NULL == this->subObj) {
101 pdfdur = (picokpdf_pdfdur_t *)this->subObj;
105 pdfdur->numframes = ((picoos_uint16)(this->base[pos+1])) << 8 |
106 this->base[pos];
108 pdfdur->vecsize = this->base[pos++];
109 pdfdur->sampperframe = this->base[pos++];
110 pdfdur->phonquantlen = this->base[pos++];
111 pdfdur->phonquant = &(this->base[pos]);
113 pdfdur->statequantlen = this->base[pos++];
114 pdfdur->statequant = &(this->base[pos]);
116 pdfdur->content = &(this->base[pos]);
120 if ((picoos_uint32)(pos + (pdfdur->numframes * pdfdur->vecsize)) != this->size) {
123 this->size));
144 static pico_status_t kpdfMULInitialize(register picoknow_KnowledgeBase this,
151 if (NULL == this || NULL == this->subObj) {
155 pdfmul = (picokpdf_pdfmul_t *)this->subObj;
159 pdfmul->numframes = ((picoos_uint16)(this->base[pos+1])) << 8 |
160 this->base[pos];
162 pdfmul->vecsize = this->base[pos++];
163 pdfmul->numstates = this->base[pos++];
167 pdfmul->stateoffset[i] = pdfmul->stateoffset[i-1] + (this->base[pos] | ((picoos_uint16) this->base[pos+1] << 8));
173 pdfmul->ceporder = this->base[pos++];
174 pdfmul->numvuv = this->base[pos++];
175 pdfmul->numdeltas = this->base[pos++];
176 scmeanpow = this->base[pos++];
177 maxbigpow = this->base[pos++];
184 pdfmul->amplif = this->base[pos++];
207 pdfmul->meanpowUm[i] = convScaleFactorToBig(this->base[pos++], pdfmul->bigpow);
212 pdfmul->ivarpow[i] = convScaleFactorToBig(this->base[pos++], pdfmul->bigpow);
232 pdfmul->content = &(this->base[pos]);
238 if ((picoos_uint32)(pos + (pdfmul->numframes * pdfmul->vecsize)) != this->size) {
241 this->size));
249 static pico_status_t kpdfPHSInitialize(register picoknow_KnowledgeBase this,
254 if (NULL == this || NULL == this->subObj) {
258 pdfphs = (picokpdf_pdfphs_t *)this->subObj;
262 pdfphs->numvectors = ((picoos_uint16)(this->base[pos+1])) << 8 |
263 this->base[pos];
265 pdfphs->indexBase = &(this->base[pos]);
273 static pico_status_t kpdfMULSubObjDeallocate(register picoknow_KnowledgeBase this,
279 if ((NULL != this) && (NULL != this->subObj)) {
280 pdfmul = (picokpdf_pdfmul_t *)this->subObj;
283 picoos_deallocate(mm, (void *) &(this->subObj));
288 static pico_status_t kpdfDURSubObjDeallocate(register picoknow_KnowledgeBase this,
290 if (NULL != this) {
291 picoos_deallocate(mm, (void *) &this->subObj);
296 static pico_status_t kpdfPHSSubObjDeallocate(register picoknow_KnowledgeBase this,
298 if (NULL != this) {
299 picoos_deallocate(mm, (void *) &this->subObj);
308 pico_status_t picokpdf_specializePdfKnowledgeBase(picoknow_KnowledgeBase this,
313 if (NULL == this) {
319 this->subDeallocate = kpdfDURSubObjDeallocate;
320 this->subObj = picoos_allocate(common->mm,sizeof(picokpdf_pdfdur_t));
321 if (NULL == this->subObj) {
325 status = kpdfDURInitialize(this, common);
328 this->subDeallocate = kpdfMULSubObjDeallocate;
329 this->subObj = picoos_allocate(common->mm,sizeof(picokpdf_pdfmul_t));
330 if (NULL == this->subObj) {
334 status = kpdfMULInitialize(this, common);
337 this->subDeallocate = kpdfPHSSubObjDeallocate;
338 this->subObj = picoos_allocate(common->mm,sizeof(picokpdf_pdfphs_t));
339 if (NULL == this->subObj) {
343 status = kpdfPHSInitialize(this, common);
352 picoos_deallocate(common->mm, (void *) &this->subObj);
363 picokpdf_PdfDUR picokpdf_getPdfDUR(picoknow_KnowledgeBase this) {
364 return ((NULL == this) ? NULL : ((picokpdf_PdfDUR) this->subObj));
367 picokpdf_PdfMUL picokpdf_getPdfMUL(picoknow_KnowledgeBase this) {
368 return ((NULL == this) ? NULL : ((picokpdf_PdfMUL) this->subObj));
371 picokpdf_PdfPHS picokpdf_getPdfPHS(picoknow_KnowledgeBase this) {
372 return ((NULL == this) ? NULL : ((picokpdf_PdfPHS) this->subObj));