Home
last modified time | relevance | path

Searched refs:pico_status_t (Results 1 – 25 of 38) sorted by relevance

12

/external/svox/pico/lib/
Dpicoos.h103 pico_status_t picoos_string_to_uint32 (picoos_char str[], picoos_uint32 * res);
104 pico_status_t picoos_string_to_int32 (picoos_char str[], picoos_int32 * res);
233 pico_status_t picoos_emRaiseException(picoos_ExceptionManager this,
234 pico_status_t exceptionCode, picoos_char * baseMessage, picoos_char * fmt, ...);
236 pico_status_t picoos_emGetExceptionCode(picoos_ExceptionManager this);
241 pico_status_t warningCode, picoos_char * baseMessage, picoos_char * fmt, ...);
245 pico_status_t picoos_emGetWarningCode(picoos_ExceptionManager this, picoos_uint8 warnNum);
307 pico_status_t picoos_read_le_int16 (picoos_File file, picoos_int16 * val);
308 pico_status_t picoos_read_le_uint16 (picoos_File file, picoos_uint16 * val);
309 pico_status_t picoos_read_le_uint32 (picoos_File file, picoos_uint32 * val);
[all …]
Dpicorsrc.h116 pico_status_t picorsrc_loadResource(picorsrc_ResourceManager this,
120 pico_status_t picorsrc_unloadResource(picorsrc_ResourceManager this, picorsrc_Resource * rsrc);
123 pico_status_t picorsrc_createDefaultResource(picorsrc_ResourceManager this /*,
127 pico_status_t picorsrc_rsrcGetName(picorsrc_Resource resource,
137 pico_status_t picorsrc_createVoiceDefinition(picorsrc_ResourceManager this,
141 pico_status_t picorsrc_releaseVoiceDefinition(picorsrc_ResourceManager this,
144 pico_status_t picorsrc_addResourceToVoiceDefinition(picorsrc_ResourceManager this,
174 pico_status_t picorsrc_createVoice(picorsrc_ResourceManager this, const picoos_char * voiceName, pi…
177 pico_status_t picorsrc_releaseVoice(picorsrc_ResourceManager this, picorsrc_Voice * voice);
Dpicodata.h86 pico_status_t picodata_cbPutCh(register picodata_CharBuffer this, picoos_char ch);
92 pico_status_t picodata_cbReset (register picodata_CharBuffer this);
301 pico_status_t picodata_cbGetItem(register picodata_CharBuffer this,
313 pico_status_t picodata_cbGetSpeechData(register picodata_CharBuffer this,
324 pico_status_t picodata_cbPutItem(register picodata_CharBuffer this,
346 pico_status_t picodata_get_itemparts_nowarn(
359 pico_status_t picodata_get_itemparts(
372 pico_status_t picodata_put_itemparts(const picodata_itemhead_t *head,
383 pico_status_t picodata_get_iteminfo(
396 pico_status_t picodata_copy_item(const picoos_uint8 *inbuf,
[all …]
Dpicotrns.h133 extern pico_status_t picotrns_transduce (picokfst_FST fst, picoos_bool firstSolOnly,
149 pico_status_t picotrns_eliminate_epsilons(const picotrns_possym_t inSeq[], picoos_uint16 inSeqLen,
154 pico_status_t picotrns_trivial_syllabify(picoktab_Phones phones,
169 pico_status_t picotrns_disposeSimpleTransducer(picotrns_SimpleTransducer * this,
172 pico_status_t picotrns_stInitialize(picotrns_SimpleTransducer transducer);
174 pico_status_t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_u…
176 pico_status_t picotrns_stTransduce(picotrns_SimpleTransducer this, picokfst_FST fst);
178 pico_status_t picotrns_stGetSymSequence(
Dpicopal.h78 typedef signed int pico_status_t; typedef
85 #define PICO_EOF (pico_status_t) -1
210 extern pico_status_t picopal_fclose (picopal_File f);
219 extern pico_status_t picopal_fseek (picopal_File f, picopal_uint32 offset, picopal_int8 seekmode);
222 extern pico_status_t picopal_fget_char (picopal_File f, picopal_char * ch);
230 extern pico_status_t picopal_fflush (picopal_File f);
272 pico_status_t picopal_mpr_protect(void *addr, picopal_objsize_t len, picopal_int16 prot);
Dpicodata.c51 typedef pico_status_t (* picodata_cbPutItemMethod) (register picodata_CharBuffer this,
55 typedef pico_status_t (* picodata_cbGetItemMethod) (register picodata_CharBuffer this,
59 typedef pico_status_t (* picodata_cbSubResetMethod) (register picodata_CharBuffer this);
60 typedef pico_status_t (* picodata_cbSubDeallocateMethod) (register picodata_CharBuffer this, picoos…
81 static pico_status_t data_cbPutItem(register picodata_CharBuffer this,
85 static pico_status_t data_cbGetItem(register picodata_CharBuffer this,
89 pico_status_t picodata_cbReset(register picodata_CharBuffer this) in picodata_cbReset()
145 pico_status_t picodata_cbPutCh(register picodata_CharBuffer this, in picodata_cbPutCh()
176 static pico_status_t data_cbGetItem(register picodata_CharBuffer this, in data_cbGetItem()
261 static pico_status_t data_cbPutItem(register picodata_CharBuffer this, in data_cbPutItem()
[all …]
Dpicorsrc.c224 pico_status_t picorsrc_createDefaultResource(picorsrc_ResourceManager this /*,
259 static pico_status_t findResource(picorsrc_ResourceManager this, picoos_char * resourceName, picors… in findResource()
282 static pico_status_t parse_resource_name(picoos_char * fileName) in parse_resource_name()
295 static pico_status_t readHeader(picorsrc_ResourceManager this, in readHeader()
301 pico_status_t status; in readHeader()
337 static pico_status_t picorsrc_createKnowledgeBase( in picorsrc_createKnowledgeBase()
463 static pico_status_t picorsrc_releaseKnowledgeBase( in picorsrc_releaseKnowledgeBase()
471 static pico_status_t picorsrc_getKbList(picorsrc_ResourceManager this, in picorsrc_getKbList()
477 pico_status_t status = PICO_OK; in picorsrc_getKbList()
536 pico_status_t picorsrc_loadResource(picorsrc_ResourceManager this, in picorsrc_loadResource()
[all …]
Dpicokpdf.c92 static pico_status_t kpdfDURInitialize(register picoknow_KnowledgeBase this, in kpdfDURInitialize()
144 static pico_status_t kpdfMULInitialize(register picoknow_KnowledgeBase this, in kpdfMULInitialize()
249 static pico_status_t kpdfPHSInitialize(register picoknow_KnowledgeBase this, in kpdfPHSInitialize()
273 static pico_status_t kpdfMULSubObjDeallocate(register picoknow_KnowledgeBase this, in kpdfMULSubObjDeallocate()
288 static pico_status_t kpdfDURSubObjDeallocate(register picoknow_KnowledgeBase this, in kpdfDURSubObjDeallocate()
296 static pico_status_t kpdfPHSSubObjDeallocate(register picoknow_KnowledgeBase this, in kpdfPHSSubObjDeallocate()
308 pico_status_t picokpdf_specializePdfKnowledgeBase(picoknow_KnowledgeBase this, in picokpdf_specializePdfKnowledgeBase()
311 pico_status_t status; in picokpdf_specializePdfKnowledgeBase()
Dpicopam.c389 static pico_status_t pam_initialize(register picodata_ProcessingUnit this, picoos_int32 resetMode);
390 static pico_status_t pam_terminate(register picodata_ProcessingUnit this);
391 static pico_status_t pam_allocate(picoos_MemoryManager mm, pam_subobj_t *pam);
393 static pico_status_t pam_subobj_deallocate(register picodata_ProcessingUnit this,
400 static pico_status_t pam_deal_with(const picoos_uint8 *item);
412 static pico_status_t pam_reset_processors(register picodata_ProcessingUnit this);
413 static pico_status_t pam_reset_processors_back(
415 static pico_status_t pam_create_syllable(register picodata_ProcessingUnit this,
419 static pico_status_t pam_process_event_feature(
422 static pico_status_t pam_process_event(register picodata_ProcessingUnit this,
[all …]
Dpicokdbg.c73 static pico_status_t kdbgInitialize(register picoknow_KnowledgeBase this, in kdbgInitialize()
89 static pico_status_t kdbgSubObjDeallocate(register picoknow_KnowledgeBase this, in kdbgSubObjDeallocate()
98 pico_status_t picokdbg_specializeDbgKnowledgeBase(picoknow_KnowledgeBase this, in picokdbg_specializeDbgKnowledgeBase()
Dpicoktab.h64 pico_status_t picoktab_specializeIdsKnowledgeBase(picoknow_KnowledgeBase this,
77 pico_status_t picoktab_specializeGraphsKnowledgeBase(picoknow_KnowledgeBase this,
136 pico_status_t picoktab_specializePhonesKnowledgeBase(picoknow_KnowledgeBase this,
189 pico_status_t picoktab_specializePosKnowledgeBase(picoknow_KnowledgeBase this,
Dpicoktab.c65 static pico_status_t ktabIdsInitialize(register picoknow_KnowledgeBase this, in ktabIdsInitialize()
84 static pico_status_t ktabIdsSubObjDeallocate(register picoknow_KnowledgeBase this, in ktabIdsSubObjDeallocate()
93 pico_status_t picoktab_specializeIdsKnowledgeBase(picoknow_KnowledgeBase this, in picoktab_specializeIdsKnowledgeBase()
204 static pico_status_t ktabGraphsInitialize(register picoknow_KnowledgeBase this, in ktabGraphsInitialize()
222 static pico_status_t ktabGraphsSubObjDeallocate(register picoknow_KnowledgeBase this, in ktabGraphsSubObjDeallocate()
231 pico_status_t picoktab_specializeGraphsKnowledgeBase(picoknow_KnowledgeBase this, in picoktab_specializeGraphsKnowledgeBase()
695 static pico_status_t ktabPhonesInitialize(register picoknow_KnowledgeBase this, in ktabPhonesInitialize()
711 static pico_status_t ktabPhonesSubObjDeallocate(register picoknow_KnowledgeBase this, in ktabPhonesSubObjDeallocate()
719 pico_status_t picoktab_specializePhonesKnowledgeBase(picoknow_KnowledgeBase this, in picoktab_specializePhonesKnowledgeBase()
887 static pico_status_t ktabPosInitialize(register picoknow_KnowledgeBase this, in ktabPosInitialize()
[all …]
Dpicopal.c345 pico_status_t picopal_fflush (picopal_File f) in picopal_fflush()
351 pico_status_t picopal_fclose (picopal_File f) in picopal_fclose()
378 pico_status_t picopal_fseek (picopal_File f, picopal_uint32 offset, picopal_int8 seekmode) in picopal_fseek()
383 pico_status_t picopal_fget_char (picopal_File f, picopal_char * ch) in picopal_fget_char()
430 pico_status_t picopal_mpr_protect(void *addr, picopal_objsize_t len, picopal_int16 prot) in picopal_mpr_protect()
432 pico_status_t status = PICO_OK; in picopal_mpr_protect()
Dpicoctrl.c93 static pico_status_t ctrlInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) { in ctrlInitialize()
95 pico_status_t status= PICO_OK; in ctrlInitialize()
236 static pico_status_t ctrlTerminate(register picodata_ProcessingUnit this) { in ctrlTerminate()
237 pico_status_t status = PICO_OK; in ctrlTerminate()
262 static pico_status_t ctrlSubObjDeallocate(register picodata_ProcessingUnit this, in ctrlSubObjDeallocate()
295 static pico_status_t ctrlAddPU(register picodata_ProcessingUnit this, in ctrlAddPU()
524 pico_status_t picoctrl_engReset(picoctrl_Engine this, picoos_int32 resetMode) in picoctrl_engReset()
526 pico_status_t status; in picoctrl_engReset()
723 pico_status_t picoctrl_engFeedText(picoctrl_Engine this, in picoctrl_engFeedText()
756 pico_status_t rv; in picoctrl_engFetchOutputItemBytes()
Dpicotrns.c180 pico_status_t picotrns_eliminate_epsilons(const picotrns_possym_t inSeq[], picoos_uint16 inSeqLen, in picotrns_eliminate_epsilons()
207 pico_status_t picotrns_trivial_syllabify(picoktab_Phones phones, in picotrns_trivial_syllabify()
561 pico_status_t picotrns_transduce (picokfst_FST fst, picoos_bool firstSolOnly, in picotrns_transduce()
616 pico_status_t picotrns_stInitialize(picotrns_SimpleTransducer transducer) in picotrns_stInitialize()
660 pico_status_t picotrns_disposeSimpleTransducer(picotrns_SimpleTransducer * this, in picotrns_disposeSimpleTransducer()
678 pico_status_t picotrns_stTransduce(picotrns_SimpleTransducer this, picokfst_FST fst) in picotrns_stTransduce()
682 pico_status_t status; in picotrns_stTransduce()
703 pico_status_t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_u… in picotrns_stAddWithPlane()
722 pico_status_t picotrns_stGetSymSequence( in picotrns_stGetSymSequence()
Dpicowa.c81 static pico_status_t waInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) { in waInitialize()
146 static pico_status_t waTerminate(register picodata_ProcessingUnit this) { in waTerminate()
150 static pico_status_t waSubObjDeallocate(register picodata_ProcessingUnit this, in waSubObjDeallocate()
253 static pico_status_t waProcessWordgraph(register picodata_ProcessingUnit this, in waProcessWordgraph()
257 pico_status_t status; in waProcessWordgraph()
381 pico_status_t rv = PICO_OK; in waStep()
446 pico_status_t rvP = PICO_OK; in waStep()
Dpicoctrl.h65 pico_status_t picoctrl_engFeedText(
71 pico_status_t picoctrl_engReset(
Dpicoos.c819 pico_status_t picoos_emRaiseException(picoos_ExceptionManager this, in picoos_emRaiseException()
820 pico_status_t exceptionCode, picoos_char * baseMessage, picoos_char * fmt, ...) in picoos_emRaiseException()
839 pico_status_t picoos_emGetExceptionCode(picoos_ExceptionManager this) in picoos_emGetExceptionCode()
850 pico_status_t warningCode, picoos_char * baseMessage, picoos_char * fmt, ...) in picoos_emRaiseWarning()
877 pico_status_t picoos_emGetWarningCode(picoos_ExceptionManager this, picoos_uint8 index) in picoos_emGetWarningCode()
1878 pico_status_t picoos_clearHeader(picoos_FileHeader header) in picoos_clearHeader()
1890 pico_status_t picoos_setHeaderField(picoos_FileHeader header, in picoos_setHeaderField()
1910 pico_status_t picoos_getHeaderField(picoos_FileHeader header, picoos_uint8 index, picoos_field_stri… in picoos_getHeaderField()
1942 pico_status_t picoos_getSVOXHeaderString(picoos_char * str, picoos_uint8 * len, picoos_uint32 maxle… in picoos_getSVOXHeaderString()
1959 pico_status_t picoos_readPicoHeader(picoos_File f, picoos_uint32 * headerlen) in picoos_readPicoHeader()
[all …]
Dpicosig.c117 static pico_status_t sigInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) in sigInitialize()
196 static pico_status_t sigTerminate(register picodata_ProcessingUnit this) in sigTerminate()
217 static pico_status_t sigSubObjDeallocate(register picodata_ProcessingUnit this, in sigSubObjDeallocate()
317 static pico_status_t getPhsFromPdf(register picodata_ProcessingUnit this, in getPhsFromPdf()
374 static pico_status_t sigProcess(register picodata_ProcessingUnit this, in sigProcess()
643 static pico_status_t sig_deal_with(const picoos_uint8 *item) in sig_deal_with()
646 pico_status_t s_result; in sig_deal_with()
686 static pico_status_t sig_is_command(const picoos_uint8 *item) in sig_is_command()
728 pico_status_t s_result; in sigStep()
730 pico_status_t s_deal_with; in sigStep()
[all …]
Dpicokfst.c144 static pico_status_t kfstInitialize(register picoknow_KnowledgeBase this, in kfstInitialize()
184 static pico_status_t kfstSubObjDeallocate(register picoknow_KnowledgeBase this, in kfstSubObjDeallocate()
197 pico_status_t picokfst_specializeFSTKnowledgeBase(picoknow_KnowledgeBase this, in picokfst_specializeFSTKnowledgeBase()
200 pico_status_t status; in picokfst_specializeFSTKnowledgeBase()
Dpicosa.c245 static pico_status_t saInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) { in saInitialize()
427 static pico_status_t saTerminate(register picodata_ProcessingUnit this) { in saTerminate()
431 static pico_status_t saSubObjDeallocate(register picodata_ProcessingUnit this, in saSubObjDeallocate()
511 static pico_status_t saDisambPos(register picodata_ProcessingUnit this, in saDisambPos()
698 static pico_status_t saCopyItemContent1to2(register picodata_ProcessingUnit this, in saCopyItemContent1to2()
733 static pico_status_t saLexIndLookup(register picodata_ProcessingUnit this, in saLexIndLookup()
1005 static pico_status_t saGraphemeToPhoneme(register picodata_ProcessingUnit this, in saGraphemeToPhoneme()
1044 static pico_status_t saAddPhoneme(register sa_subobj_t *sa, picoos_uint16 pos, picoos_uint16 sym) { in saAddPhoneme()
1078 static pico_status_t saExtractPhonemes(register picodata_ProcessingUnit this, in saExtractPhonemes()
1082 pico_status_t rv= PICO_OK; in saExtractPhonemes()
[all …]
Dpicokdt.c299 static pico_status_t kdtDtInitialize(register picoknow_KnowledgeBase this, in kdtDtInitialize()
398 static pico_status_t kdtDtCheck(register picoknow_KnowledgeBase this, in kdtDtCheck()
430 static pico_status_t kdtPosPInitialize(register picoknow_KnowledgeBase this, in kdtPosPInitialize()
432 pico_status_t status; in kdtPosPInitialize()
463 static pico_status_t kdtPosDInitialize(register picoknow_KnowledgeBase this, in kdtPosDInitialize()
465 pico_status_t status; in kdtPosDInitialize()
496 static pico_status_t kdtG2PInitialize(register picoknow_KnowledgeBase this, in kdtG2PInitialize()
498 pico_status_t status; in kdtG2PInitialize()
530 static pico_status_t kdtPhrInitialize(register picoknow_KnowledgeBase this, in kdtPhrInitialize()
532 pico_status_t status; in kdtPhrInitialize()
[all …]
Dpicospho.c244 static pico_status_t sphoReset(register picodata_ProcessingUnit this) in sphoReset()
289 static pico_status_t sphoInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) in sphoInitialize()
336 static pico_status_t sphoTerminate(register picodata_ProcessingUnit this) in sphoTerminate()
342 static pico_status_t sphoSubObjDeallocate(register picodata_ProcessingUnit this, in sphoSubObjDeallocate()
461 static pico_status_t sphoAddPhoneme(register spho_subobj_t *spho, picoos_int16 pos, picoos_int16 sy… in sphoAddPhoneme()
478 static pico_status_t sphoAddStartPhoneme(register spho_subobj_t *spho) { in sphoAddStartPhoneme()
483 static pico_status_t sphoAddTermPhonemes(register spho_subobj_t *spho, picoos_uint16 pos) { in sphoAddTermPhonemes()
523 static pico_status_t sphoExtractPhonemes(register picodata_ProcessingUnit this, in sphoExtractPhonemes()
527 pico_status_t rv = PICO_OK; in sphoExtractPhonemes()
682 static pico_status_t getNextPosSym(spho_subobj_t * spho, picoos_int16 * pos, picoos_int16 * sym, in getNextPosSym()
[all …]
Dpicokdbg.h52 pico_status_t picokdbg_specializeDbgKnowledgeBase(picoknow_KnowledgeBase this,
Dpicoklex.c148 static pico_status_t klexInitialize(register picoknow_KnowledgeBase this, in klexInitialize()
182 static pico_status_t klexSubObjDeallocate(register picoknow_KnowledgeBase this, in klexSubObjDeallocate()
196 pico_status_t picoklex_specializeLexKnowledgeBase(picoknow_KnowledgeBase this, in picoklex_specializeLexKnowledgeBase()

12