Home
last modified time | relevance | path

Searched refs:picoos_uint8 (Results 1 – 25 of 35) sorted by relevance

12

/external/svox/pico/lib/
Dpicokdt.h118 picoos_uint8 set; /* TRUE if class set, FALSE otherwise */
127 picoos_uint8 nr; /* 0 if no class set, nr of values set otherwise */
169 #define PICOKDT_OUTSIDEGRAPH_DEFCH (picoos_uint8)'\x30' /* ascii "0" */
170 #define PICOKDT_OUTSIDEGRAPH_DEFSTR (picoos_uint8 *)"\x30" /* ascii "0" */
177 #define PICOKDT_OUTSIDEGRAPH_EOW_DEFCH (picoos_uint8)'\x31' /* ascii "1" */
178 #define PICOKDT_OUTSIDEGRAPH_EOW_DEFSTR (picoos_uint8 *)"\x31" /* ascii "1" */
211 picoos_uint8 picokdt_dtPosPconstructInVec(const picokdt_DtPosP this,
212 const picoos_uint8 *graph,
214 const picoos_uint8 specgraphflag);
220 picoos_uint8 picokdt_dtPosPclassify(const picokdt_DtPosP this);
[all …]
Dpicoktab.h59 picoos_uint8 phonStartId;
60 picoos_uint8 phonTermId;
92 picoos_uint8 picoktab_hasVowellikeProp(const picoktab_Graphs this,
93 const picoos_uint8 *graph,
94 const picoos_uint8 graphlenmax);
100 picoos_uint8 *stokenType);
118 picoos_uint8 *info1,
119 picoos_uint8 *info2);
124 picoos_uint8 * propset,
125 picoos_uint8 * stokenType, picoos_uint8 * stokenSubType,
[all …]
Dpicokpdf.h101 picoos_uint8 vecsize;
102 picoos_uint8 sampperframe;
103 picoos_uint8 phonquantlen;
104 picoos_uint8 *phonquant;
105 picoos_uint8 statequantlen;
106 picoos_uint8 *statequant;
107 picoos_uint8 *content;
113 picoos_uint8 vecsize;
114 picoos_uint8 numstates;
116 picoos_uint8 ceporder;
[all …]
Dpicobase.h44 typedef picoos_uint8 picobase_utf8char[PICOBASE_UTF8_MAXLEN+1]; /* always zero terminated */
45 typedef picoos_uint8 picobase_utf8;
63 picoos_int32 picobase_utf8_length(const picoos_uint8 *utf8str,
77 … ((x)<(picoos_uint8)'\200')?1:(((x)>=(picoos_uint8)'\370')?0:(((x)>=(picoos_uint8)'\360')?4:(((x)…
88 …icoos_uchar utf8str[], picoos_char lowercase[], picoos_int32 lowercaseMaxLen, picoos_uint8 * done);
98 …f8_str (picoos_uchar utf8str[], picoos_char uppercase[], int uppercaseMaxLen, picoos_uint8 * done);
111 picoos_uint8 picobase_get_next_utf8char(const picoos_uint8 *utf8s,
120 picoos_uint8 picobase_get_next_utf8charpos(const picoos_uint8 *utf8s,
135 picoos_uint8 picobase_get_prev_utf8char(const picoos_uint8 *utf8s,
144 picoos_uint8 picobase_get_prev_utf8charpos(const picoos_uint8 *utf8s,
Dpicokpr.c113 typedef picoos_uint8 picokpr_Str[KPR_STR_SIZE];
115 typedef picoos_uint8 picokpr_AttrVal[KPR_ATTRVAL_SIZE];
116 typedef picoos_uint8 picokpr_OutItem[KPR_OUTITEM_SIZE];
117 typedef picoos_uint8 picokpr_Tok[KPR_TOK_SIZE];
118 typedef picoos_uint8 picokpr_Prod[KPR_PROD_SIZE];
119 typedef picoos_uint8 picokpr_Ctx[KPR_CTX_SIZE];
153 picoos_uint8 * rStrArr;
163 static picoos_uint32 kpr_getUInt32(picoos_uint8 * p) in kpr_getUInt32()
276 picoos_uint8 * p = (picoos_uint8 *)&(((kpr_SubObj)preproc)->rStrArr[ofs]); in picokpr_getVarStrPtr()
333 picoos_uint8 * p = (picoos_uint8 *)&(((kpr_SubObj)preproc)->rLexCatArr[ofs]); in picokpr_getLexCat()
[all …]
Dpicodata.h105 picoos_uint8 type;
106 picoos_uint8 info1;
107 picoos_uint8 info2;
108 picoos_uint8 len;
302 picoos_uint8 *buf, const picoos_uint16 blenmax,
314 picoos_uint8 *buf, const picoos_uint16 blenmax,
325 const picoos_uint8 *buf, const picoos_uint16 blenmax,
329 picoos_uint8 picodata_cbGetFrontItemType(register picodata_CharBuffer this);
336 picoos_uint8 is_valid_itemtype(const picoos_uint8 ch);
347 const picoos_uint8 *buf, const picoos_uint16 blenmax,
[all …]
Dpicoklex.h90 picoos_uint8 nrres; /* number of results, 0 of no entry found */
91 picoos_uint8 posindlen; /* number of posind bytes */
92 picoos_uint8 phonfound; /* phones found flag, TRUE if found */
93 picoos_uint8 posind[PICOKLEX_POSIND_MAXLEN]; /* sequence of multi-ind,
109 picoos_uint8 picoklex_lexLookup(const picoklex_Lex this,
110 const picoos_uint8 *graph,
117 picoos_uint8 picoklex_lexIndLookup(const picoklex_Lex this,
118 const picoos_uint8 *ind,
119 const picoos_uint8 indlen,
120 picoos_uint8 *pos,
[all …]
Dpicoktab.c182 #define KTAB_GRAPH_PROPSET_TO ((picoos_uint8)'\x01')
183 #define KTAB_GRAPH_PROPSET_TOKENTYPE ((picoos_uint8)'\x02')
184 #define KTAB_GRAPH_PROPSET_TOKENSUBTYPE ((picoos_uint8)'\x04')
185 #define KTAB_GRAPH_PROPSET_VALUE ((picoos_uint8)'\x08')
186 #define KTAB_GRAPH_PROPSET_LOWERCASE ((picoos_uint8)'\x010')
187 #define KTAB_GRAPH_PROPSET_GRAPHSUBS1 ((picoos_uint8)'\x020')
188 #define KTAB_GRAPH_PROPSET_GRAPHSUBS2 ((picoos_uint8)'\x040')
189 #define KTAB_GRAPH_PROPSET_PUNCT ((picoos_uint8)'\x080')
198 picoos_uint8 * offsetTable;
199 picoos_uint8 * graphTable;
[all …]
Dpicobase.c52 picoos_int32 picobase_utf8_length(const picoos_uint8 *utf8str, in picobase_utf8_length()
57 picoos_uint8 follow; in picobase_utf8_length()
58 picoos_uint8 ok; in picobase_utf8_length()
66 if ((utf8str[i] >= (picoos_uint8)'\200') && in picobase_utf8_length()
67 (utf8str[i] < (picoos_uint8)'\300')) { in picobase_utf8_length()
72 } else if (utf8str[i] < (picoos_uint8)'\200') { in picobase_utf8_length()
74 } else if (utf8str[i] >= (picoos_uint8)'\370') { in picobase_utf8_length()
76 } else if (utf8str[i] >= (picoos_uint8)'\360') { in picobase_utf8_length()
79 } else if (utf8str[i] >= (picoos_uint8)'\340') { in picobase_utf8_length()
82 } else if (utf8str[i] >= (picoos_uint8)'\300') { in picobase_utf8_length()
[all …]
Dpicoos.h54 typedef picopal_uint8 picoos_uint8; typedef
93 void * picoos_mem_set(void * dest, picoos_uint8 byte_val, picoos_objsize_t length);
102 …oos_int32 * ind, picoos_char sepCh, picoos_char part[], picoos_int32 maxsize, picoos_uint8 * done);
243 picoos_uint8 picoos_emGetNumOfWarnings(picoos_ExceptionManager this);
245 pico_status_t picoos_emGetWarningCode(picoos_ExceptionManager this, picoos_uint8 warnNum);
247 void picoos_emGetWarningMessage(picoos_ExceptionManager this, picoos_uint8 warnNum, picoos_char * m…
273 picoos_uint8 picoos_OpenBinary(picoos_Common g, picoos_File * f, picoos_char name[]);
277 picoos_uint8 picoos_ReadByte(picoos_File f, picoos_uint8 * by);
283 picoos_uint8 picoos_ReadBytes(picoos_File f, picoos_uint8 bytes[],
289 picoos_uint8 picoos_CreateBinary(picoos_Common g, picoos_File * f, picoos_char name[]);
[all …]
Dpicokdt.c243 picoos_uint8 *inpmaptable;
244 picoos_uint8 *outmaptable;
245 picoos_uint8 *tree;
249 picoos_uint8 *vfields;
250 picoos_uint8 *qfields;
251 picoos_uint8 nrattributes;
252 picoos_uint8 *treebody;
257 picoos_uint8 dset; /* TRUE if class set, FALSE otherwise */
265 picoos_uint8 inveclen; /* nr of ele set in invec; must be =nrattributes */
271 picoos_uint8 inveclen; /* nr of ele set in invec; must be =nrattributes */
[all …]
Dpicodata.c52 const picoos_uint8 *buf, const picoos_uint16 blenmax,
56 picoos_uint8 *buf, const picoos_uint16 blenmax,
57 picoos_uint16 *blen, const picoos_uint8 issd);
82 const picoos_uint8 *buf, const picoos_uint16 blenmax,
86 picoos_uint8 *buf, const picoos_uint16 blenmax,
87 picoos_uint16 *blen, const picoos_uint8 issd);
177 picoos_uint8 *buf, const picoos_uint16 blenmax, in data_cbGetItem()
178 picoos_uint16 *blen, const picoos_uint8 issd) in data_cbGetItem()
192 *blen = PICODATA_ITEM_HEADSIZE + (picoos_uint8)(this->buf[((this->front) + in data_cbGetItem()
236 buf[i] = (picoos_uint8)(this->buf[this->front++]); in data_cbGetItem()
[all …]
Dpicoklex.c143 picoos_uint8 *searchind;
144 picoos_uint8 *lexblocks;
263 const picoos_uint8 *graphsi) { in klex_getLexblockNr()
358 static picoos_int8 klex_lexMatch(picoos_uint8 *lexentry, in klex_lexMatch()
359 const picoos_uint8 *graph, in klex_lexMatch()
361 picoos_uint8 i; in klex_lexMatch()
362 picoos_uint8 lexlen; in klex_lexMatch()
363 picoos_uint8 *lexgraph; in klex_lexMatch()
386 static void klex_setLexResult(const picoos_uint8 *lexentry, in klex_setLexResult()
389 picoos_uint8 i; in klex_setLexResult()
[all …]
Dpicopam.c151 picoos_uint8 procState; /* where to take up work at next processing step */
152 picoos_uint8 retState; /* where to go back from feed state at next p.s. */
153 picoos_uint8 needMoreInput; /* more data necessary to start processing */
155 picoos_uint8 inBuf[PICOPAM_IN_BUFF_SIZE]; /* internal input buffer */
159 picoos_uint8 outBuf[PICOPAM_OUT_PAM_SIZE]; /* internal output buffer */
163 picoos_uint8 *sPhFeats; /*feature vector for a single phone */
166 picoos_uint8 *sPhIds; /*phone ids for the full sentence */
167 picoos_uint8 *sSyllItems; /*items attached to the syllable */
175 picoos_uint8 nLastAttachedItemId;/*last attached item id*/
176 picoos_uint8 nCurrAttachedItem; /*current attached item*/
[all …]
Dpicoacph.c127 picoos_uint8 boundstrength; /* bstrength to the left, 0 if not set */
128 picoos_uint8 boundtype; /* btype for following phrase, 0 if not set */
133 picoos_uint8 procState; /* for next processing step decision */
134 picoos_uint8 boundStrengthState; /* boundary strength state */
136 picoos_uint8 inspaceok; /* flag: headx/cbuf has space for an item */
137 picoos_uint8 needsmoreitems; /* flag: need more items */
139 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */
145 picoos_uint8 cbuf[PICOACPH_MAXSIZE_CBUF];
328 static picoos_uint8 acphGetNrSylls(register picodata_ProcessingUnit this, in acphGetNrSylls()
331 picoos_uint8 i; in acphGetNrSylls()
[all …]
Dpicocep.c162 picoos_uint8 procState; /* where to take up work at next processing step */
165 picoos_uint8 sentenceEnd;
166 picoos_uint8 feedFollowState;
169 picoos_uint8 inBuf[PICODATA_MAX_ITEMSIZE]; /* internal input buffer */
178 picoos_uint8 cbuf[PICOCEP_MAXSIZE_CBUF];
184 picoos_uint8 outBuf[PICODATA_MAX_ITEMSIZE]; /* internal output buffer (one item) */
210 picoos_uint8 phoneId[PICOCEP_MAXWINLEN]; /* synchronised with indexReadPos */
218 picoos_uint8 * outVoiced;
247 picoos_uint8 cepnum, picocep_WantMeanOrIvar_t wantMeanOrIvar,
251 picoos_int16 *smoothcep, picoos_uint8 cepnum,
[all …]
Dpicosa.c184 picoos_uint8 procState; /* for next processing step decision */
186 picoos_uint8 inspaceok; /* flag: headx/cbuf1 has space for an item */
187 picoos_uint8 needsmoreitems; /* flag: need more items */
188 picoos_uint8 phonesTransduced; /* flag: */
190 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */
196 picoos_uint8 cbuf1[PICOSA_MAXSIZE_CBUF];
200 picoos_uint8 cbuf2[PICOSA_MAXSIZE_CBUF];
233 picoos_uint8 numUlex;
237 picoos_uint8 numFsts;
239 picoos_uint8 curFst; /* the fst to be applied next */
[all …]
Dpicospho.c155 picoos_uint8 boundstrength; /* bstrength to the left, 0 if not set */
156 picoos_uint8 phrasetype; /* btype for following phrase, 0 if not set */
173 picoos_uint8 procState; /* for next processing step decision */
176 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */
182 picoos_uint8 cbuf[SPHO_MAXSIZE_CBUF];
186picoos_uint8 outBuf[PICODATA_BUFSIZE_DEFAULT]; /* internal output buffer to hold just one item */
192 picoos_uint8 sylBuf[255]; /* internal buffer to hold contents of syl item to be output */
193picoos_uint8 sylReadPos, sylWritePos; /* next pos to read from sylBuf, next pos to write to sylBuf…
212 picoos_uint8 lastPhraseType; /* phrase type of the last phrase boundary, 0 if not set */
214 picoos_uint8 needMoreInput, /* more data necessary to decide on token */
[all …]
Dpicowa.c55 picoos_uint8 procState; /* for next processing step decision */
58 picoos_uint8 inBuf[PICOWA_MAXITEMSIZE]; /* internal input buffer */
62 picoos_uint8 outBuf[PICOWA_MAXITEMSIZE]; /* internal output buffer */
70 picoos_uint8 numUlex;
82 picoos_uint8 i; in waInitialize()
192 static picoos_uint8 waClassifyPos(register picodata_ProcessingUnit this, in waClassifyPos()
194 const picoos_uint8 *graph, in waClassifyPos()
197 picoos_uint8 specchar; in waClassifyPos()
243 return (picoos_uint8)dtres.class; in waClassifyPos()
256 const picoos_uint8 *content) { in waProcessWordgraph()
[all …]
Dpicoos.c183 void * picoos_mem_set(void * dest, picoos_uint8 byte_val, picoos_objsize_t length) { in picoos_mem_set()
625 picoos_uint8 curNumWarnings;
872 picoos_uint8 picoos_emGetNumOfWarnings(picoos_ExceptionManager this) in picoos_emGetNumOfWarnings()
877 pico_status_t picoos_emGetWarningCode(picoos_ExceptionManager this, picoos_uint8 index) in picoos_emGetWarningCode()
886 void picoos_emGetWarningMessage(picoos_ExceptionManager this, picoos_uint8 index, picoos_char * msg… in picoos_emGetWarningMessage()
931 picoos_uint8 binary;
932 picoos_uint8 write;
1046 static picoos_bool LReadBytes(picoos_File f, picoos_uint8 bytes[], in LReadBytes()
1194 picoos_uint8 picoos_OpenBinary(picoos_Common g, picoos_File * f, in picoos_OpenBinary()
1202 picoos_bool picoos_ReadByte(picoos_File f, picoos_uint8 * by) in picoos_ReadByte()
[all …]
Dpicotrns.c46 picoos_uint8 picotrns_unplane(picoos_int16 symIn, picoos_uint8 * plane) { in picotrns_unplane()
49 return (picoos_uint8) symIn; in picotrns_unplane()
52 return (picoos_uint8) (symIn & 0xFF); in picotrns_unplane()
58 void PICOTRNS_PRINTSYM1(picoknow_KnowledgeBase kbdbg, picoos_int16 insym, picoos_uint8 phonemic) in PICOTRNS_PRINTSYM1()
62 picoos_uint8 plane; in PICOTRNS_PRINTSYM1()
70 PICODBG_INFO_MSG((" %s", picokdbg_getPhoneSym(dbg, (picoos_uint8) sym))); in PICOTRNS_PRINTSYM1()
103 picoos_uint8 phonemic) { in PICOTRNS_PRINTSYMSEQ1()
212 picoos_uint8 vowelFound = FALSE; in picotrns_trivial_syllabify()
227 while ((j < inSeqLen) && !picoktab_isSyllCarrier(phones,(picoos_uint8)inSeq[j].sym)) { in picotrns_trivial_syllabify()
266 while ((i < inSeqLen) && picoktab_isSyllCarrier(phones,(picoos_uint8)inSeq[i].sym)) { in picotrns_trivial_syllabify()
[all …]
Dpicokdbg.c69 picoos_uint8 *phonesyms;
125 picoos_uint8 picokdbg_getPhoneId(const picokdbg_Dbg this, in picokdbg_getPhoneId()
138 return (picoos_uint8)i; in picokdbg_getPhoneId()
145 const picoos_uint8 phid) { in picokdbg_getPhoneSym()
Dpicotrns.h78 picoos_uint8 picotrns_unplane(picoos_int16 symIn, picoos_uint8 * plane);
174 …t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_uint8 plane);
180 picoos_uint8 * outputSymIds,
Dpicosig.c70 picoos_uint8 procState; /* where to take up work at next processing step */
71 picoos_uint8 retState; /* where to return after next processing step */
72 picoos_uint8 needMoreInput; /* more data necessary to start processing */
74 picoos_uint8 inBuf[PICOSIG_IN_BUFF_SIZE]; /* internal input buffer */
82 picoos_uint8 outBuf[PICOSIG_OUT_BUFF_SIZE]; /* internal output buffer */
91 picoos_uint8 innerProcState; /*where to take up work at next processing step*/
326 picoos_uint8 *nCurrIndexOffset, *nContent; in getPhsFromPdf()
338 nCurrIndexOffset = ((picoos_uint8*) pdf->indexBase) + phsIndex * sizeof(picoos_uint32); in getPhsFromPdf()
584 = (picoos_uint8) PICODATA_ITEM_FRAME; in sigProcess()
586 = (picoos_uint8) (hop_p_half); in sigProcess()
[all …]
Dpicokfst.c58 picoos_uint8 * fstStream; /* the byte stream base address */
80 static void FixedBytesToUnsignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * p… in FixedBytesToUnsignedNum()
94 static void FixedBytesToSignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * pos… in FixedBytesToSignedNum()
116 static void BytesToNum (picoos_uint8 * stream, picoos_uint32 * pos, picoos_int32 * num) in BytesToNum()
247 extern picoos_uint8 picokfst_kfstGetTransductionMode(picokfst_FST this) in picokfst_kfstGetTransductionMode()

12