Home
last modified time | relevance | path

Searched refs:PICO_OK (Results 1 – 25 of 27) sorted by relevance

12

/external/svox/pico/lib/
Dpicorsrc.c269 return PICO_OK; in findResource()
275 if (PICO_OK == findResource(this, resourceName,&res)){ in isResourceLoaded()
287 return PICO_OK; in parse_resource_name()
306 if (PICO_OK == status) { in readHeader()
315 if (PICO_OK == status) { in readHeader()
317 status = (hdrlen1 <= PICOOS_MAX_HEADER_STRING_LEN-1) ? PICO_OK : PICO_ERR_OTHER; in readHeader()
318 if (PICO_OK == status) { in readHeader()
325 status = PICO_OK; in readHeader()
330 if (PICO_OK == status) { in readHeader()
459 return PICO_OK; in picorsrc_createKnowledgeBase()
[all …]
Dpicoapi.c79 pico_Status status = PICO_OK; in pico_initialize_priv()
114 status = PICO_OK; in pico_initialize_priv()
127 if (status != PICO_OK) { in pico_initialize_priv()
165 pico_Status status = PICO_OK; in pico_terminate()
207 pico_Status status = PICO_OK; in pico_getSystemStatusMessage()
217 if (picoos_emGetExceptionCode(system->common->em) == PICO_OK) { in pico_getSystemStatusMessage()
218 if (errCode == PICO_OK) { in pico_getSystemStatusMessage()
246 pico_Status status = PICO_OK; in pico_getNrSystemWarnings()
280 pico_Status status = PICO_OK; in pico_getSystemWarning()
319 pico_Status status = PICO_OK; in pico_loadResource()
[all …]
Dpicoextapi.c81 return PICO_OK; in picoext_getVersionInfo()
103 return PICO_OK; in picoext_setTraceLevel()
118 return PICO_OK; in picoext_setTraceFilterFN()
132 return PICO_OK; in picoext_setLogFile()
147 pico_Status status = PICO_OK; in getMemUsage()
169 pico_Status status = PICO_OK; in picoext_getSystemMemUsage()
192 pico_Status status = PICO_OK; in picoext_getEngineMemUsage()
210 pico_Status status = PICO_OK; in picoext_getLastScheduledPU()
219 pico_Status status = PICO_OK; in picoext_getLastProducedItemType()
Dpicoctrl.c95 pico_status_t status= PICO_OK; in ctrlInitialize()
104 status = PICO_OK; in ctrlInitialize()
106 if (PICO_OK == status) { in ctrlInitialize()
110 if (PICO_OK == status) { in ctrlInitialize()
115 if (PICO_OK != status) { in ctrlInitialize()
237 pico_status_t status = PICO_OK; in ctrlTerminate()
247 if (PICO_OK != status) { in ctrlTerminate()
280 return PICO_OK; in ctrlSubObjDeallocate()
400 return PICO_OK; in ctrlAddPU()
452 (PICO_OK == ctrlAddPU(this,PICODATA_PUTYPE_TOK, FALSE, /*last*/FALSE)) && in picoctrl_newControl()
[all …]
Dpicowa.c103 return PICO_OK; in waInitialize()
139 return PICO_OK; in waInitialize()
147 return PICO_OK; in waTerminate()
156 return PICO_OK; in waSubObjDeallocate()
292 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph()
297 if (PICO_OK != picodata_set_iteminfo1(wa->outBuf, wa->outLen, in waProcessWordgraph()
332 &wa->outLen)) == PICO_OK) { in waProcessWordgraph()
340 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph()
345 if (PICO_OK != picodata_set_iteminfo1(wa->outBuf, wa->outLen, in waProcessWordgraph()
354 return PICO_OK; in waProcessWordgraph()
[all …]
Dpicodata.c97 return PICO_OK; in picodata_cbReset()
152 return PICO_OK; in picodata_cbPutCh()
207 return PICO_OK; in data_cbGetItem()
258 return PICO_OK; in data_cbGetItem()
306 return PICO_OK; in data_cbPutItem()
407 return PICO_OK; in picodata_get_itemparts_nowarn()
445 return PICO_OK; in picodata_put_itemparts()
469 return PICO_OK; in picodata_get_iteminfo()
489 return PICO_OK; in picodata_copy_item()
505 return PICO_OK; in picodata_set_iteminfo1()
[all …]
Dpicokpdf.c128 return PICO_OK; in kpdfDURInitialize()
246 return PICO_OK; in kpdfMULInitialize()
268 return PICO_OK; in kpdfPHSInitialize()
285 return PICO_OK; in kpdfMULSubObjDeallocate()
293 return PICO_OK; in kpdfDURSubObjDeallocate()
301 return PICO_OK; in kpdfPHSSubObjDeallocate()
351 if (status != PICO_OK) { in picokpdf_specializePdfKnowledgeBase()
355 return PICO_OK; in picokpdf_specializePdfKnowledgeBase()
Dpicoos.c346 return PICO_OK; in os_init_mem_block()
633 this->curExceptionCode = PICO_OK; in picoos_emReset()
825 if (PICO_OK == this->curExceptionCode && PICO_OK != exceptionCode) { in picoos_emRaiseException()
853 if ((this->curNumWarnings < PICOOS_MAX_NUM_WARNINGS) && (PICO_OK != warningCode)) { in picoos_emRaiseWarning()
882 return PICO_OK; in picoos_emGetWarningCode()
1026 done = (PICO_OK == picopal_fclose((*f)->nf)); in LClose()
1111 done = (PICO_OK == picopal_fseek(f->nf, pos, PICOPAL_SEEK_SET)); in LSetPos()
1454 done = done && (PICO_OK == picoos_read_le_uint32(f, &n32)); /* length of riff chunk, unused */ in picoos_readWavHeader()
1457 …done = done && (PICO_OK == picoos_read_le_uint32(f, &n32)); /* length of fmt chunk in bytes; must … in picoos_readWavHeader()
1459 done = done && (PICO_OK == picoos_read_le_uint16(f, &formatTag)); in picoos_readWavHeader()
[all …]
Dpicokdbg.c85 return PICO_OK; in kdbgInitialize()
94 return PICO_OK; in kdbgSubObjDeallocate()
102 return PICO_OK; in picokdbg_specializeDbgKnowledgeBase()
Dpicopam.c521 return PICO_OK; in pam_allocate()
604 return PICO_OK; in pam_initialize()
707 return PICO_OK; in pam_initialize()
727 return PICO_OK; in pam_terminate()
768 return PICO_OK; in pam_subobj_deallocate()
813 if (PICO_OK != pam_allocate(mm, pam)) { in picopam_newPamUnit()
823 if (PICO_OK != pam_initialize(this, PICO_RESET_FULL)) { in picopam_newPamUnit()
895 return PICO_OK; in check_phones_size()
913 return PICO_OK; in check_syllables_size()
1201 return PICO_OK; in pamUpdateProcess()
[all …]
Dpicosa.c299 return PICO_OK; in saInitialize()
420 return PICO_OK; in saInitialize()
428 return PICO_OK; in saTerminate()
439 return PICO_OK; in saSubObjDeallocate()
541 return PICO_OK; in saDisambPos()
688 return PICO_OK; in saDisambPos()
727 return PICO_OK; in saCopyItemContent1to2()
774 return PICO_OK; in saLexIndLookup()
1036 return PICO_OK; in saGraphemeToPhoneme()
1060 return PICO_OK; in saAddPhoneme()
[all …]
Dpicospho.c285 return PICO_OK; in sphoReset()
338 return PICO_OK; in sphoTerminate()
356 return PICO_OK; in sphoSubObjDeallocate()
474 return PICO_OK; in sphoAddPhoneme()
527 pico_status_t rv = PICO_OK; in sphoExtractPhonemes()
609 if (PICO_OK != rv) { in sphoExtractPhonemes()
618 if (PICO_OK == rv) { in sphoExtractPhonemes()
622 if (PICO_OK == rv) { in sphoExtractPhonemes()
633 if (PICO_OK == rv) { in sphoExtractPhonemes()
659 if (PICO_OK != rv) { in sphoExtractPhonemes()
[all …]
Dpicoacph.c198 return PICO_OK; in acphInitialize()
272 return PICO_OK; in acphInitialize()
281 return PICO_OK; in acphTerminate()
290 return PICO_OK; in acphSubObjDeallocate()
608 return PICO_OK; in acphSubPhrasing()
818 return PICO_OK; in acphAccentuation()
957 return PICO_OK; in acphAccentuation()
972 pico_status_t rv = PICO_OK; in acphPutBoundItem()
985 if (rv != PICO_OK) { in acphPutBoundItem()
998 } else if (rv != PICO_OK) { in acphPutBoundItem()
[all …]
Dpicokdt.c313 if ((PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, &inppos)) in kdtDtInitialize()
314 && (PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, &outpos)) in kdtDtInitialize()
315 && (PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, in kdtDtInitialize()
389 return PICO_OK; in kdtDtInitialize()
425 return PICO_OK; in kdtDtCheck()
444 if ((status = kdtDtInitialize(this, common, dt)) != PICO_OK) { in kdtPosPInitialize()
449 PICOKDT_MTTYPE_WORD)) != PICO_OK) { in kdtPosPInitialize()
459 return PICO_OK; in kdtPosPInitialize()
477 if ((status = kdtDtInitialize(this, common, dt)) != PICO_OK) { in kdtPosDInitialize()
482 PICOKDT_MTTYPE_WORD)) != PICO_OK) { in kdtPosDInitialize()
[all …]
Dpicosig.c185 return PICO_OK; in sigInitialize()
205 return PICO_OK; in sigTerminate()
242 return PICO_OK; in sigSubObjDeallocate()
297 if (PICO_OK != sigInitialize(this, PICO_RESET_FULL)) { in picosig_newSigUnit()
355 return PICO_OK; in getPhsFromPdf()
627 return PICO_OK; in sigProcess()
751 rv = PICO_OK; in sigStep()
752 s_result = PICO_OK; in sigStep()
783 if ((PICO_OK == s_result) && (blen > 0)) { in sigStep()
1057 if (s_result != PICO_OK) { in sigStep()
[all …]
Dpicotrns.c196 return PICO_OK; in picotrns_eliminate_epsilons()
281 return PICO_OK; in picotrns_trivial_syllabify()
594 return PICO_OK; in picotrns_transduce()
622 return PICO_OK; in picotrns_stInitialize()
668 return PICO_OK; in picotrns_disposeSimpleTransducer()
688 if (PICO_OK != status) { in picotrns_stTransduce()
716 return PICO_OK; in picotrns_stAddWithPlane()
735 return PICO_OK; in picotrns_stGetSymSequence()
Dpicopal.c347 return (0 == fflush((FILE *)f)) ? PICO_OK : PICO_EOF; in picopal_fflush()
353 return (0 == fclose((FILE *)f)) ? PICO_OK : PICO_EOF; in picopal_fclose()
380 return (0 == fseek((FILE *)f, offset, seekmode)) ? PICO_OK : PICO_EOF; in picopal_fseek()
394 return (res >= 0) ? PICO_OK : PICO_EOF; in picopal_fget_char()
432 pico_status_t status = PICO_OK; in picopal_mpr_protect()
Dpicoktab.c80 return PICO_OK; in ktabIdsInitialize()
90 return PICO_OK; in ktabIdsSubObjDeallocate()
219 return PICO_OK; in ktabGraphsInitialize()
227 return PICO_OK; in ktabGraphsSubObjDeallocate()
708 return PICO_OK; in ktabPhonesInitialize()
716 return PICO_OK; in ktabPhonesSubObjDeallocate()
928 return PICO_OK; in ktabPosInitialize()
936 return PICO_OK; in ktabPosSubObjDeallocate()
Dpicokfst.c180 return PICO_OK; in kfstInitialize()
190 return PICO_OK; in kfstSubObjDeallocate()
215 if (PICO_OK != status) { in picokfst_specializeFSTKnowledgeBase()
219 return PICO_OK; in picokfst_specializeFSTKnowledgeBase()
Dpicoklex.c164 if (PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, in klexInitialize()
174 return PICO_OK; in klexInitialize()
188 return PICO_OK; in klexSubObjDeallocate()
213 return PICO_OK; in picoklex_specializeLexKnowledgeBase()
Dpicodefs.h82 #define PICO_OK (pico_Status) 0 macro
Dpicocep.c363 return PICO_OK; in cepInitialize()
376 return PICO_OK; in cepTerminate()
405 return PICO_OK; in cepSubObjDeallocate()
1481 pico_status_t sResult = PICO_OK; in cepStep()
1522 if ((PICO_OK == sResult) && (blen > 0)) { in cepStep()
1572 } else if (PICO_OK != sResult) { in cepStep()
1654 if (sResult != PICO_OK) { in cepStep()
1929 } else if (PICO_OK == sResult) { in cepStep()
Dpicokpr.c222 return PICO_OK; in kprInitialize()
232 return PICO_OK; in kprSubObjDeallocate()
Dpicotok.c932 …s[1].paramVal, tok->markupParams[0].paramVal, tok->phonemes, sizeof(tok->phonemes)-1) == PICO_OK) { in tok_interpretMarkup()
946 …tok->markupParams[0].paramVal, PICODATA_XSAMPA, tok->phonemes, sizeof(tok->phonemes)) == PICO_OK) { in tok_interpretMarkup()
1463 return PICO_OK; in tokReset()
1483 return PICO_OK; in tokTerminate()
1496 return PICO_OK; in tokSubObjDeallocate()
1549 …t, &tok->outBuf[tok->outReadPos], tok->outWritePos - tok->outReadPos, numBytesOutput) == PICO_OK) { in tokStep()
/external/svox/pico/tts/
Dcom_svox_picottsengine.cpp330 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
386 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
395 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
406 if ((PICO_OK != ret) && (ret != PICO_EXC_CANT_OPEN_FILE)) { in doLanguageSwitchFromLangIndex()
415 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
424 if ((PICO_OK == ret) && (picoUtppResource != NULL)) { in doLanguageSwitchFromLangIndex()
427 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
434 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
443 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
452 if (PICO_OK != ret) { in doLanguageSwitchFromLangIndex()
[all …]

12