/external/svox/pico/lib/ |
D | picoos.h | 56 typedef picopal_uint32 picoos_uint32; typedef 81 picoos_uint32 picoos_strlen(const picoos_char *); 84 picoos_int16 picoos_slprintf(picoos_char * b, picoos_uint32 bsize, const picoos_char *f, ...); 103 pico_status_t picoos_string_to_uint32 (picoos_char str[], picoos_uint32 * res); 284 picoos_uint32 * len); 309 pico_status_t picoos_read_le_uint32 (picoos_File file, picoos_uint32 * val); 313 pico_status_t picoos_read_pi_uint32 (picoos_File file, picoos_uint32 * val); 316 pico_status_t picoos_write_le_uint32 (picoos_File file, picoos_uint32 val); 338 picoos_bool picoos_GetPos(picoos_File f, picoos_uint32 * pos); 341 picoos_bool picoos_FileLength(picoos_File f, picoos_uint32 * len); [all …]
|
D | picobase.h | 47 typedef picoos_uint32 picobase_utf32; 112 const picoos_uint32 utf8slenmax, 113 picoos_uint32 *pos, 121 const picoos_uint32 utf8slenmax, 122 picoos_uint32 *pos); 136 const picoos_uint32 utf8slenmin, 137 picoos_uint32 *pos, 145 const picoos_uint32 utf8slenmin, 146 picoos_uint32 *pos);
|
D | picokfst.c | 80 …oUnsignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * pos, picoos_uint32 * nu… in FixedBytesToUnsignedNum() 86 (*num) = ((*num) << 8) + (picoos_uint32)stream[*pos]; in FixedBytesToUnsignedNum() 94 static void FixedBytesToSignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * pos… in FixedBytesToSignedNum() 97 picoos_uint32 val; in FixedBytesToSignedNum() 101 val = (val << 8) + (picoos_uint32)stream[*pos]; in FixedBytesToSignedNum() 116 static void BytesToNum (picoos_uint8 * stream, picoos_uint32 * pos, picoos_int32 * num) in BytesToNum() 118 picoos_uint32 val; in BytesToNum() 119 picoos_uint32 b; in BytesToNum() 122 b = (picoos_uint32)stream[*pos]; in BytesToNum() 126 b = (picoos_uint32)stream[*pos]; in BytesToNum() [all …]
|
D | picoos.c | 131 picoos_uint32 picoos_strlen(const picoos_char *s) in picoos_strlen() 133 return (picoos_uint32)picopal_strlen((const picopal_char *)s); in picoos_strlen() 148 picoos_int16 picoos_slprintf(picoos_char * b, picoos_uint32 bsize, const picoos_char *f, ...) in picoos_slprintf() 911 #define cardinal_ptr_t picoos_uint32 * 936 picoos_uint32 lFileLen; 937 picoos_uint32 lPos; 1047 picoos_uint32 * len) in LReadBytes() 1059 } else if (((picoos_uint32)res != (*len))) { in LReadBytes() 1122 static picoos_bool LGetPos(picoos_File f, picoos_uint32 * pos) in LGetPos() 1156 picoos_uint32 i = 0; in picoos_StrRead() [all …]
|
D | picobase.c | 98 static picoos_uint32 base_utf32_lowercase (picoos_uint32 utf32) in base_utf32_lowercase() 101 picoos_uint32 lc; in base_utf32_lowercase() 496 static picoos_uint32 base_utf32_uppercase (picoos_uint32 utf32) in base_utf32_uppercase() 498 picoos_uint32 lc; in base_utf32_uppercase() 956 const picoos_uint32 utf8slenmax, in picobase_get_next_utf8char() 957 picoos_uint32 *pos, in picobase_get_next_utf8char() 961 picoos_uint32 poscnt; in picobase_get_next_utf8char() 986 const picoos_uint32 utf8slenmax, in picobase_get_next_utf8charpos() 987 picoos_uint32 *pos) { in picobase_get_next_utf8charpos() 990 picoos_uint32 poscnt; in picobase_get_next_utf8charpos() [all …]
|
D | picoktab.c | 174 static picoos_uint32 ktab_propOffset (const picoktab_Graphs this, picoos_uint32 graphsOffset, picoo… 263 picoos_uint32 graphsOffset; in picoktab_hasVowellikeProp() 273 static void ktab_getStrProp (const picoktab_Graphs this, picoos_uint32 graphsOffset, picoos_uint32 … in ktab_getStrProp() 276 picoos_uint32 i, l; in ktab_getStrProp() 288 static picoos_uint32 ktab_propOffset(const picoktab_Graphs this, in ktab_propOffset() 289 picoos_uint32 graphsOffset, picoos_uint32 prop) in ktab_propOffset() 293 picoos_uint32 n = 0; in ktab_propOffset() 369 picoos_uint32 picoktab_graphOffset (const picoktab_Graphs this, picoos_uchar * utf8graph) in picoktab_graphOffset() 372 picoos_uint32 graphsOffset; in picoktab_graphOffset() 373 picoos_uint32 propOffset; in picoktab_graphOffset() [all …]
|
D | picoktab.h | 86 picoos_uint32 picoktab_graphOffset(const picoktab_Graphs this, 99 picoos_uint32 graphsOffset, 102 picoos_uint32 graphsOffset, 105 picoos_uint32 graphsOffset, 106 picoos_uint32 *value); 108 picoos_uint32 graphsOffset, 111 picoos_uint32 graphsOffset, 114 picoos_uint32 graphsOffset, 117 picoos_uint32 graphsOffset,
|
D | picoklex.c | 151 picoos_uint32 curpos = 0; in klexInitialize() 247 static picoos_uint32 klex_getSearchIndexVal(const klex_SubObj this, in klex_getSearchIndexVal() 250 picoos_uint32 pos, val; in klex_getSearchIndexVal() 266 picoos_uint32 searchval, indval; in klex_getLexblockNr() 310 picoos_uint32 pos = low * PICOKLEX_LEX_SIE_SIZE; in klex_getLexblockNr() 328 picoos_uint32 sval1, sval2; in klex_getLexblockRange() 387 const picoos_uint32 lexpos, in klex_setLexResult() 417 const picoos_uint32 lexposStart, in klex_lexblockLookup() 418 const picoos_uint32 lexposEnd, in klex_lexblockLookup() 422 picoos_uint32 lexpos; in klex_lexblockLookup() [all …]
|
D | picokpr.c | 163 static picoos_uint32 kpr_getUInt32(picoos_uint8 * p) in kpr_getUInt32() 172 picoos_uint32 offset = 0; in kprInitialize() 345 picoos_uint32 c = p[KPR_ATTRVAL_INT_OFS] + in picokpr_getAttrValArrInt32() 391 picoos_uint32 c = p[KPR_OUTITEM_STROFS_OFS+0] + in picokpr_getOutItemStr() 402 picoos_uint32 c = p[KPR_OUTITEM_VAL_OFS+0] + in picokpr_getOutItemVal() 432 picoos_uint32 c/*, b*/; in picokpr_getTokSetNP() 435 picoos_uint32 p0, p1, p2, p3; in picokpr_getTokSetNP() 469 picoos_uint32 c/*, b*/; in picokpr_getTokSetWP() 472 picoos_uint32 p0, p1, p2, p3; in picokpr_getTokSetWP() 555 picoos_uint32 c = p[KPR_PROD_PRODPREFCOST_OFS+0] + in picokpr_getProdPrefCost()
|
D | picosig.c | 80 picoos_uint32 sInSDFilePos; 89 picoos_uint32 nNumFrame; /* running count for frame number in output items */ 99 picoos_uint32 scmeanpowLFZ, scmeanpowMGC; 100 picoos_uint32 scmeanLFZ, scmeanMGC; 163 sig_subObj->scmeanLFZ = (1 << (picoos_uint32) sig_subObj->scmeanpowLFZ); in sigInitialize() 164 sig_subObj->scmeanMGC = (1 << (picoos_uint32) sig_subObj->scmeanpowMGC); in sigInitialize() 325 picoos_uint32 nIndexValue; in getPhsFromPdf() 338 nCurrIndexOffset = ((picoos_uint8*) pdf->indexBase) + phsIndex * sizeof(picoos_uint32); in getPhsFromPdf() 736 picoos_uint32 n_samp, n_i; in sigStep() 738 picoos_uint32 n_start, n_fram, n_bytes; in sigStep() [all …]
|
D | picotrns.h | 99 picotrns_AltDesc picotrns_allocate_alt_desc_buf(picoos_MemoryManager mm, picoos_uint32 maxByteSize,… 138 picoos_uint32 *nrSteps); 181 picoos_uint32 maxOutputSymIds);
|
D | picotrns.c | 142 picoos_uint32 nrSol; /* nr of solutions so far */ 161 picotrns_AltDesc picotrns_allocate_alt_desc_buf(picoos_MemoryManager mm, picoos_uint32 maxByteSize,… in picotrns_allocate_alt_desc_buf() 164 (*numAltDescs) = (picoos_uint32) (maxByteSize / sizeof(picotrns_altDesc_t)); in picotrns_allocate_alt_desc_buf() 383 static void NoteSolution (picoos_uint32 * nrSol, picotrns_printSolutionFct printSolution, in NoteSolution() 388 picoos_uint32 i; in NoteSolution() 566 picoos_uint32 *nrSteps) in picotrns_transduce() 681 picoos_uint32 nrSteps; in picotrns_stTransduce() 725 picoos_uint32 maxOutputSymIds) in picotrns_stGetSymSequence() 728 picoos_uint32 outputCount = 0; in picotrns_stGetSymSequence()
|
D | picokpr.h | 72 typedef picoos_uint32 picokpr_StrArrOffset; 83 typedef picoos_uint32 picokpr_TokSetNP; 84 typedef picoos_uint32 picokpr_TokSetWP;
|
D | picorsrc.c | 61 picoos_uint32 magic; /* magic number used to validate handles */ 78 (res)->magic = ((picoos_uint32) (uintptr_t) (res)) ^ MAGIC_MASK 81 ((res)->magic == (((picoos_uint32) (uintptr_t) (res)) ^ MAGIC_MASK)) 296 picoos_FileHeader header, picoos_uint32 * headerlen, picoos_File file) in readHeader() 300 picoos_uint32 n; in readHeader() 340 picoos_uint32 size, in picorsrc_createKnowledgeBase() 473 picoos_uint32 datalen, in picorsrc_getKbList() 478 picoos_uint32 curpos = 0, offset, size; in picorsrc_getKbList() 540 picoos_uint32 headerlen, len,maxlen; in picorsrc_loadResource() 779 picoos_char * name, picoos_uint32 maxlen) { in picorsrc_rsrcGetName()
|
D | picokdt.c | 246 picoos_uint32 beg_offset[128]; /* for efficiency */ 305 picoos_uint32 curpos = 0, pos; in kdtDtInitialize() 789 static void kdt_jump(const picoos_uint32 iJump, in kdt_jump() 790 picoos_uint32 *iByteNo, in kdt_jump() 792 picoos_uint32 iByteSize; in kdt_jump() 876 static picoos_uint32 kdtGetShiftVal(register kdt_subobj_t *this, in kdtGetShiftVal() 877 const picoos_int16 iSize, picoos_uint32 *iByteNo, picoos_int8 *iBitNo) in kdtGetShiftVal() 879 picoos_uint32 v, b, iVal; in kdtGetShiftVal() 1000 picoos_uint32 *iByteNo, in kdtAskTree() 1002 picoos_uint32 iNodeType; in kdtAskTree() [all …]
|
D | picocep.c | 188 picoos_uint32 nNumFrames; 199 picoos_uint32 scmeanpowLFZ, scmeanpowMGC; 200 picoos_uint32 scmeanLFZ, scmeanMGC; 217 … picoos_uint32 outXCepReadPos, outXCepWritePos; /* uint32 needed for MAXWINLEN*ceporder > 2^16 */ 246 static picoos_int32 getFromPdf(picokpdf_PdfMUL pdf, picoos_uint32 vecstart, 354 cep->scmeanLFZ = (1 << (picoos_uint32) cep->scmeanpowLFZ); in cepInitialize() 356 cep->scmeanMGC = (1 << (picoos_uint32) cep->scmeanpowMGC); in cepInitialize() 710 static picoos_int32 picocep_fixptInvDiagEle(picoos_uint32 d, in picocep_fixptInvDiagEle() 713 picoos_uint32 r, b, c, h, f, stop; in picocep_fixptInvDiagEle() 774 static picoos_int32 picocep_fixptinv(picoos_int32 a, picoos_uint32 invb, in picocep_fixptinv() [all …]
|
D | picoapid.h | 51 picoos_uint32 magic; /* magic number used to validate handles */
|
D | picokpdf.c | 120 if ((picoos_uint32)(pos + (pdfdur->numframes * pdfdur->vecsize)) != this->size) { in kpdfDURInitialize() 238 if ((picoos_uint32)(pos + (pdfmul->numframes * pdfmul->vecsize)) != this->size) { in kpdfMULInitialize() 266 pdfphs->contentBase = pdfphs->indexBase + pdfphs->numvectors * sizeof(picoos_uint32); in kpdfPHSInitialize()
|
D | picoctrl.c | 329 (picoos_uint32) ctrl->procCbOut[newPU])); in ctrlAddPU() 499 picoos_uint32 magic; /* magic number used to validate handles */ 511 (eng)->magic = ((picoos_uint32) (uintptr_t) (eng)) ^ MAGIC_MASK 514 ((eng)->magic == (((picoos_uint32) (uintptr_t) (eng)) ^ MAGIC_MASK)) 629 PICODBG_DEBUG(("cbOut has address %i", (picoos_uint32) this->cbOut)); in picoctrl_newEngine()
|
D | picoknow.c | 51 …PICODBG_TRACE(("allocated KnowledgeBase at address %i with size %i",(picoos_uint32)this,sizeof(*th… in picoknow_newKnowledgeBase()
|
D | picoknow.h | 174 picoos_uint32 size; /* size */
|
D | picorsrc.h | 128 picoos_char * name, picoos_uint32 maxlen);
|
D | picotok.c | 406 static void tok_getDur (picoos_uchar durStr[], picoos_uint32 * dur, picoos_bool * done) in tok_getDur() 460 static picoos_bool tok_isRelative (picoos_uchar strval[], picoos_uint32 * val) in tok_isRelative() 642 …d tok_checkLimits (picodata_ProcessingUnit this, picoos_uint32 * value, picoos_uint32 min, picoos_… in tok_checkLimits() 677 picoos_uint32 uval; in tok_interpretMarkup() 683 picoos_uint32 dur; in tok_interpretMarkup()
|
D | picopr.c | 231 typedef picoos_uint32 pr_MemState; 306 picoos_uint32 workMemTop; 307 picoos_uint32 maxWorkMemTop; 433 static void pr_getMemState(picodata_ProcessingUnit this, pr_MemTypes mType, picoos_uint32 *lmemStat… in pr_getMemState() 441 static void pr_resetMemState(picodata_ProcessingUnit this, pr_MemTypes mType, picoos_uint32 lmemSta… in pr_resetMemState() 468 static picoos_uint32 pr_strcpy(picoos_uint8 * dest, const picoos_uint8 * src) in pr_strcpy() 482 static picoos_uint32 pr_strcat(picoos_uint8 * dest, const picoos_uint8 * src) in pr_strcat() 623 picoos_uint32 i; in tok_tokenDigitStrToInt() 624 picoos_uint32 l; in tok_tokenDigitStrToInt() 627 picoos_uint32 n; in tok_tokenDigitStrToInt() [all …]
|
D | picosig2.h | 152 extern void mel_2_lin_lookup(sig_innerobj_t *sig_inObj, picoos_uint32 mgc);
|