Home
last modified time | relevance | path

Searched refs:subObj (Results 1 – 21 of 21) sorted by relevance

/external/svox/pico/lib/
Dpicokpdf.c97 if (NULL == this || NULL == this->subObj) { in kpdfDURInitialize()
101 pdfdur = (picokpdf_pdfdur_t *)this->subObj; in kpdfDURInitialize()
151 if (NULL == this || NULL == this->subObj) { in kpdfMULInitialize()
155 pdfmul = (picokpdf_pdfmul_t *)this->subObj; in kpdfMULInitialize()
254 if (NULL == this || NULL == this->subObj) { in kpdfPHSInitialize()
258 pdfphs = (picokpdf_pdfphs_t *)this->subObj; in kpdfPHSInitialize()
279 if ((NULL != this) && (NULL != this->subObj)) { in kpdfMULSubObjDeallocate()
280 pdfmul = (picokpdf_pdfmul_t *)this->subObj; in kpdfMULSubObjDeallocate()
283 picoos_deallocate(mm, (void *) &(this->subObj)); in kpdfMULSubObjDeallocate()
291 picoos_deallocate(mm, (void *) &this->subObj); in kpdfDURSubObjDeallocate()
[all …]
Dpicokdbg.c79 if (NULL == this || NULL == this->subObj) { in kdbgInitialize()
83 kdbg = (kdbg_subobj_t *)this->subObj; in kdbgInitialize()
92 picoos_deallocate(mm, (void *) &this->subObj); in kdbgSubObjDeallocate()
105 this->subObj = picoos_allocate(common->mm, sizeof(kdbg_subobj_t)); in picokdbg_specializeDbgKnowledgeBase()
106 if (NULL == this->subObj) { in picokdbg_specializeDbgKnowledgeBase()
118 return (picokdbg_Dbg)this->subObj; in picokdbg_getDbg()
Dpicoktab.c72 if (NULL == this || NULL == this->subObj) { in ktabIdsInitialize()
76 ids = (picoktab_FixedIds) this->subObj; in ktabIdsInitialize()
88 picoos_deallocate(mm, (void *) &this->subObj); in ktabIdsSubObjDeallocate()
101 this->subObj = picoos_allocate(common->mm, sizeof(picoktab_fixed_ids_t)); in picoktab_specializeIdsKnowledgeBase()
102 if (NULL == this->subObj) { in picoktab_specializeIdsKnowledgeBase()
111 return ((NULL == this) ? NULL : ((picoktab_FixedIds) this->subObj)); in picoktab_getFixedIds()
210 if (NULL == this || NULL == this->subObj) { in ktabGraphsInitialize()
214 ktabgraphs = (ktabgraphs_subobj_t *) this->subObj; in ktabGraphsInitialize()
225 picoos_deallocate(mm, (void *) &this->subObj); in ktabGraphsSubObjDeallocate()
238 this->subObj = picoos_allocate(common->mm, sizeof(ktabgraphs_subobj_t)); in picoktab_specializeGraphsKnowledgeBase()
[all …]
Dpicoctrl.c98 if (NULL == this || NULL == this->subObj) { in ctrlInitialize()
101 ctrl = (ctrl_subobj_t *) this->subObj; in ctrlInitialize()
140 register ctrl_subobj_t * ctrl = (ctrl_subobj_t *) this->subObj; in ctrlStep()
240 if (NULL == this || NULL == this->subObj) { in ctrlTerminate()
243 ctrl = (ctrl_subobj_t *) this->subObj; in ctrlTerminate()
267 if (NULL == this || NULL == this->subObj) { in ctrlSubObjDeallocate()
270 ctrl = (ctrl_subobj_t *) this->subObj; in ctrlSubObjDeallocate()
278 picoos_deallocate(this->common->mm, (void *) &this->subObj); in ctrlSubObjDeallocate()
307 ctrl = (ctrl_subobj_t *) this->subObj; in ctrlAddPU()
436 this->subObj = picoos_allocate(mm, sizeof(ctrl_subobj_t)); in picoctrl_newControl()
[all …]
Dpicopam.c564 if (NULL == this || NULL == this->subObj) { in pam_initialize()
567 pam = (pam_subobj_t *) this->subObj; in pam_initialize()
722 if (NULL == this || NULL == this->subObj) { in pam_terminate()
725 pam = (pam_subobj_t *) this->subObj; in pam_terminate()
745 pam = (pam_subobj_t *) this->subObj; in pam_subobj_deallocate()
765 picoos_deallocate(this->common->mm, (void *) &this->subObj); in pam_subobj_deallocate()
802 this->subObj = picoos_allocate(mm, sizeof(pam_subobj_t)); in picopam_newPamUnit()
803 if (this->subObj == NULL) { in picopam_newPamUnit()
812 pam = (pam_subobj_t *) this->subObj; in picopam_newPamUnit()
815 picoos_deallocate(mm, (void *) &this->subObj); in picopam_newPamUnit()
[all …]
Dpicokfst.c153 if (NULL == this || NULL == this->subObj) { in kfstInitialize()
157 kfst = (kfst_subobj_t *) this->subObj; in kfstInitialize()
188 picoos_deallocate(mm, (void *) &this->subObj); in kfstSubObjDeallocate()
209 this->subObj = picoos_allocate(common->mm, sizeof(kfst_subobj_t)); in picokfst_specializeFSTKnowledgeBase()
211 if (NULL == this->subObj) { in picokfst_specializeFSTKnowledgeBase()
216 picoos_deallocate(common->mm,(void **)&this->subObj); in picokfst_specializeFSTKnowledgeBase()
235 return (picokfst_FST) this->subObj; in picokfst_getFST()
Dpicokdt.c437 if (NULL == this || NULL == this->subObj) { in kdtPosPInitialize()
441 dtposp = (kdtposp_subobj_t *)this->subObj; in kdtPosPInitialize()
470 if (NULL == this || NULL == this->subObj) { in kdtPosDInitialize()
474 dtposd = (kdtposd_subobj_t *)this->subObj; in kdtPosDInitialize()
503 if (NULL == this || NULL == this->subObj) { in kdtG2PInitialize()
507 dtg2p = (kdtg2p_subobj_t *)this->subObj; in kdtG2PInitialize()
537 if (NULL == this || NULL == this->subObj) { in kdtPhrInitialize()
541 dtphr = (kdtphr_subobj_t *)this->subObj; in kdtPhrInitialize()
571 if (NULL == this || NULL == this->subObj) { in kdtAccInitialize()
575 dtacc = (kdtacc_subobj_t *)this->subObj; in kdtAccInitialize()
[all …]
Dpicoknow.c57 this->subObj = NULL; in picoknow_newKnowledgeBase()
70 if ((*this)->subObj != NULL) { in picoknow_disposeKnowledgeBase()
Dpicoklex.c158 if (NULL == this || NULL == this->subObj) { in klexInitialize()
162 klex = (klex_subobj_t *) this->subObj; in klexInitialize()
186 picoos_deallocate(mm, (void *) &this->subObj); in klexSubObjDeallocate()
205 this->subObj = picoos_allocate(common->mm, sizeof(klex_subobj_t)); in picoklex_specializeLexKnowledgeBase()
206 if (NULL == this->subObj) { in picoklex_specializeLexKnowledgeBase()
237 return (picoklex_Lex) this->subObj; in picoklex_getLex()
Dpicosig.c120 if (NULL == this || NULL == this->subObj) { in sigInitialize()
123 sig_subObj = (sig_subobj_t *) this->subObj; in sigInitialize()
200 if (NULL == this || NULL == this->subObj) { in sigTerminate()
203 sig_subObj = (sig_subobj_t *) this->subObj; in sigTerminate()
221 if ((NULL == this) || ((this)->subObj == NULL)) { in sigSubObjDeallocate()
224 sig_subObj = (sig_subobj_t *) (this)->subObj; in sigSubObjDeallocate()
240 picoos_deallocate(this->common->mm, (void *) &this->subObj); in sigSubObjDeallocate()
276 this->subObj = picoos_allocate(mm, sizeof(sig_subobj_t)); in picosig_newSigUnit()
278 if (NULL == this->subObj) { in picosig_newSigUnit()
283 sig_subObj = (sig_subobj_t *) this->subObj; in picosig_newSigUnit()
[all …]
Dpicowa.c90 if (NULL == this || NULL == this->subObj) { in waInitialize()
94 wa = (wa_subobj_t *) this->subObj; in waInitialize()
153 picoos_deallocate(this->common->mm, (void *) &this->subObj); in waSubObjDeallocate()
177 this->subObj = picoos_allocate(mm, sizeof(wa_subobj_t)); in picowa_newWordAnaUnit()
178 if (this->subObj == NULL) { in picowa_newWordAnaUnit()
383 if (NULL == this || NULL == this->subObj) { in waStep()
386 wa = (wa_subobj_t *) this->subObj; in waStep()
Dpicokpr.c177 if (NULL == this || NULL == this->subObj) { in kprInitialize()
181 kpr = (kpr_subobj_t *) this->subObj; in kprInitialize()
230 picoos_deallocate(mm, (void *) &this->subObj); in kprSubObjDeallocate()
248 this->subObj = picoos_allocate(common->mm, sizeof(kpr_subobj_t)); in picokpr_specializePreprocKnowledgeBase()
249 if (NULL == this->subObj) { in picokpr_specializePreprocKnowledgeBase()
265 return (picokpr_Preproc) this->subObj; in picokpr_getPreproc()
Dpicospho.c249 if (NULL == this || NULL == this->subObj) { in sphoReset()
253 spho = (spho_subobj_t *) this->subObj; in sphoReset()
299 if (NULL == this || NULL == this->subObj) { in sphoInitialize()
304 spho = (spho_subobj_t *) this->subObj; in sphoInitialize()
347 spho = (spho_subobj_t *) this->subObj; in sphoSubObjDeallocate()
350 if (NULL != this->subObj) { in sphoSubObjDeallocate()
351 spho = (spho_subobj_t *) (this->subObj); in sphoSubObjDeallocate()
353 picoos_deallocate(mm, (void *) &this->subObj); in sphoSubObjDeallocate()
375 this->subObj = picoos_allocate(mm, sizeof(spho_subobj_t)); in picospho_newSentPhoUnit()
376 if (this->subObj == NULL) { in picospho_newSentPhoUnit()
[all …]
Dpicosa.c255 if (NULL == this || NULL == this->subObj) { in saInitialize()
259 sa = (sa_subobj_t *) this->subObj; in saInitialize()
435 sa = (sa_subobj_t *) this->subObj; in saSubObjDeallocate()
437 picoos_deallocate(mm, (void *) &this->subObj); in saSubObjDeallocate()
461 this->subObj = picoos_allocate(mm, sizeof(sa_subobj_t)); in picosa_newSentAnaUnit()
462 if (this->subObj == NULL) { in picosa_newSentAnaUnit()
468 sa = (sa_subobj_t *) this->subObj; in picosa_newSentAnaUnit()
1200 if (NULL == this || NULL == this->subObj) { in saStep()
1203 sa = (sa_subobj_t *) this->subObj; in saStep()
Dpicodata.c77 void * subObj; member
94 if (NULL != this->subObj) { in picodata_cbReset()
126 this->subObj = NULL; in picodata_newCharBuffer()
137 if (NULL != (*this)->subObj) { in picodata_disposeCharBuffer()
627 this->subObj = NULL; in picodata_newProcessingUnit()
637 if (NULL != (*this)->subObj) { in picodata_disposeProcessingUnit()
Dpicoknow.h178 void * subObj; member
Dpicoacph.c166 if (NULL == this || NULL == this->subObj) { in acphInitialize()
170 acph = (acph_subobj_t *) this->subObj; in acphInitialize()
288 picoos_deallocate(this->common->mm, (void *) &this->subObj); in acphSubObjDeallocate()
311 this->subObj = picoos_allocate(mm, sizeof(acph_subobj_t)); in picoacph_newAccPhrUnit()
312 if (this->subObj == NULL) { in picoacph_newAccPhrUnit()
1058 if (NULL == this || NULL == this->subObj) { in acphStep()
1061 acph = (acph_subobj_t *) this->subObj; in acphStep()
Dpicocep.c292 if (NULL == this || NULL == this->subObj) { in cepInitialize()
295 cep = (cep_subobj_t *) this->subObj; in cepInitialize()
399 cep_subobj_t * cep = (cep_subobj_t *) this->subObj; in cepSubObjDeallocate()
403 picoos_deallocate(this->common->mm, (void *) &this->subObj); in cepSubObjDeallocate()
438 this->subObj = picoos_allocate(mm, sizeof(cep_subobj_t)); in picocep_newCepUnit()
440 cep = (cep_subobj_t *) this->subObj; in picocep_newCepUnit()
442 if (this->subObj == NULL) { in picocep_newCepUnit()
1491 if (NULL == this || NULL == this->subObj) { in cepStep()
1494 cep = (cep_subobj_t *) this->subObj; in cepStep()
Dpicotok.c1407 if (NULL == this || NULL == this->subObj) { in tokReset()
1410 tok = (tok_subobj_t *) this->subObj; in tokReset()
1493 picoos_deallocate(this->common->mm, (void *) &this->subObj); in tokSubObjDeallocate()
1513 this->subObj = picoos_allocate(mm, sizeof(tok_subobj_t)); in picotok_newTokenizeUnit()
1514 if (this->subObj == NULL) { in picotok_newTokenizeUnit()
1518 tok = (tok_subobj_t *) this->subObj; in picotok_newTokenizeUnit()
1537 if (NULL == this || NULL == this->subObj) { in tokStep()
1540 tok = (tok_subobj_t *) this->subObj; in tokStep()
Dpicopr.c360 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_ALLOCATE()
415 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_DEALLOCATE()
435 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_getMemState()
443 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_resetMemState()
915 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_createContextList()
943 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_disposeContextList()
1019 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_newItem()
1067 pr_subobj_t * pr = (pr_subobj_t *) this->subObj; in pr_copyItem()
3177 if (NULL == this || NULL == this->subObj) { in prReset()
3180 pr = (pr_subobj_t *) this->subObj; in prReset()
[all …]
Dpicodata.h518 void * subObj; member