Lines Matching refs:headx
74 * - headx : structured buffer containing item heads, each expanded by a pointer to the item contents
114 * all relevant bounds are placed in the corresponding headx extention; original bound items become invalid.
118 * - "side-bounds" (in the headx extension) are output by "calling" FEED
144 /* nr item restriction: maximum number of extended item heads in headx */
178 picospho_headx_t headx[SPHO_MAXNR_HEADX]; /* "expanded head" buffer */
267 /* item buffer headx/cbuf */
405 /* shift relevant data in headx/'cbuf' (between 'readPos' incl and writePos non-incl) to 'start'.
424 c_i = spho->headx[to].cind;
426 c_j = spho->headx[j].cind;
446 /* shift headx */
448 spho->headx[j].cind -= c_diff;
449 spho->headx[i++] = spho->headx[j++];
549 head = &(spho->headx[pos].head);
550 content = spho->cbuf + spho->headx[pos].cind;
816 ohead.info1 = spho->headx[spho->outReadPos].boundstrength;
817 ohead.info2 = spho->headx[spho->outReadPos].phrasetype;
818 sildur = spho->headx[spho->outReadPos].sildur;
834 spho->headx[spho->outReadPos].boundstrength = 0;
841 * and sildur of the current item (spho->headx[spho->outReadPos]) accordingly.
860 spho->headx[spho->outReadPos].boundstrength = strength;
861 spho->headx[spho->outReadPos].sildur = -1;
862 PICODBG_DEBUG(("setting bound strength to fst-suggested value %c (was %c)",strength, spho->headx[spho->outReadPos].boundstrength, spho->breakTime));
871 PICODBG_DEBUG(("setting bound strength to break-imposed value %c (was %c) and time to %i",strength, spho->headx[spho->outReadPos].boundstrength, spho->breakTime));
872 spho->headx[spho->outReadPos].boundstrength = strength;
873 spho->headx[spho->outReadPos].sildur = spho->breakTime;
876 if (spho->headx[spho->outReadPos].boundstrength) {
894 spho->headx[spho->lastPhraseBoundPos].phrasetype
899 spho->headx[spho->lastPhraseBoundPos].phrasetype
903 spho->headx[spho->outReadPos].phrasetype = PICODATA_ITEMINFO2_NA;
908 spho->headx[spho->lastPhraseBoundPos].phrasetype
999 PICODATA_MAX_ITEMSIZE, &(spho->headx[spho->headxWritePos].head),
1002 spho->headx[spho->headxWritePos].cind = spho->cbufWritePos;
1003 spho->headx[spho->headxWritePos].boundstrength = 0;
1016 * (if no more items fit into headx) */
1064 /* no more items in headx */
1066 PICODBG_INFO(("no more items in headx but we are forced to transduce"));
1068 /* headx is full; we are forced to transduce before reaching the sentence end */
1076 PICODBG_INFO(("no more items in headx, try to collect more"));
1083 ihead = spho->headx[spho->headxReadPos].head;
1084 icontent = spho->cbuf + spho->headx[spho->headxReadPos].cind;
1162 || (PICODATA_ITEM_BOUND == spho->headx[spho->activeEndPos].head.type))) {
1274 ihead = spho->headx[spho->outReadPos].head;
1275 /* icontent = spho->cbuf + spho->headx[spho->outReadPos].cind; */
1301 ihead = spho->headx[spho->outReadPos].head;
1302 icontent = spho->cbuf + spho->headx[spho->outReadPos].cind;
1413 ihead = spho->headx[spho->outReadPos].head;
1414 icontent = spho->cbuf + spho->headx[spho->outReadPos].cind;
1420 PICODBG_DEBUG(("RECOMB treating item in headx at pos %i",spho->outReadPos));
1439 if (spho->headx[spho->outReadPos].boundstrength) {
1444 spho->headx[spho->outReadPos].boundstrength = 0;
1516 ihead = spho->headx[spho->outReadPos].head;
1517 icontent = spho->cbuf + spho->headx[spho->outReadPos].cind;
1519 PICODBG_DEBUG(("SYL (1) treating item in headx at pos %i",spho->outReadPos));
1556 PICODBG_DEBUG(("collecting syllable phonemes before headx position %i",nextInPos));