Home | History | Annotate | Download | only in lib

Lines Matching refs:outReadPos

188     picoos_uint16 outReadPos; /* next pos to read from inBuf for output */
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) {
898 spho->lastPhraseBoundPos = spho->outReadPos;
903 spho->headx[spho->outReadPos].phrasetype = PICODATA_ITEMINFO2_NA;
1215 spho->outReadPos = 0;
1272 while (spho->outReadPos < spho->activeStartPos) {
1274 ihead = spho->headx[spho->outReadPos].head;
1275 /* icontent = spho->cbuf + spho->headx[spho->outReadPos].cind; */
1276 PICODBG_INFO(("in position %i, looking at item %s",spho->outReadPos,picodata_head_to_string(&ihead,msgstr,SPHO_MSGSTR_SIZE)));
1282 spho->outReadPos++;
1284 /* spho->outReadPos point now to the active region */
1298 while (spho->outReadPos < spho->activeEndPos) {
1301 ihead = spho->headx[spho->outReadPos].head;
1302 icontent = spho->cbuf + spho->headx[spho->outReadPos].cind;
1303 nextInPos = spho->outReadPos + 1;
1305 PICODBG_INFO(("in position %i, looking at item %s",spho->outReadPos,picodata_head_to_string(&ihead,msgstr,SPHO_MSGSTR_SIZE)));
1382 spho->outReadPos++;
1386 spho->outReadPos = 0;
1406 if (spho->outReadPos >= spho->activeEndPos) {
1407 PICODBG_DEBUG(("RECOMB reached active region's end at %i",spho->outReadPos));
1413 ihead = spho->headx[spho->outReadPos].head;
1414 icontent = spho->cbuf + spho->headx[spho->outReadPos].cind;
1418 nextInPos = spho->outReadPos + 1;
1420 PICODBG_DEBUG(("RECOMB treating item in headx at pos %i",spho->outReadPos));
1437 spho->outReadPos = nextInPos;
1439 if (spho->headx[spho->outReadPos].boundstrength) {
1444 spho->headx[spho->outReadPos].boundstrength = 0;
1464 spho->outReadPos = nextInPos;
1486 PICODBG_DEBUG(("RECOMB consuming item from inBuf %i -> %i",spho->outReadPos, nextInPos));
1487 spho->outReadPos = nextInPos;
1494 PICODBG_DEBUG(("RECOMB consuming item from inBuf %i -> %i",spho->outReadPos, nextInPos));
1495 spho->outReadPos = nextInPos;
1510 /* consume all transduced phonemes with pos in in the range [spho->outReadPos,nextInPos[ */
1516 ihead = spho->headx[spho->outReadPos].head;
1517 icontent = spho->cbuf + spho->headx[spho->outReadPos].cind;
1518 nextInPos = spho->outReadPos + 1;
1519 PICODBG_DEBUG(("SYL (1) treating item in headx at pos %i",spho->outReadPos));
1523 PICODBG_TRACE(("SYL expects accent at phonBuf[%i] = (%i,%i) (outReadPos=%i)", spho->phonReadPos, spho->phonBuf[spho->phonReadPos].pos, spho->phonBuf[spho->phonReadPos].sym,spho->outReadPos));
1535 PICODBG_DEBUG(("SYL (2) treating item in inBuf range [%i,%i[",spho->outReadPos,nextInPos));
1552 PICODBG_DEBUG(("SYL (3) treating item in inBuf range [%i,%i[",spho->outReadPos,nextInPos));
1564 PICODBG_DEBUG(("SYL (4) treating item in inBuf range [%i,%i[",spho->outReadPos,nextInPos));
1571 spho->outReadPos = nextInPos; /* advance to next item */
1576 PICODBG_DEBUG(("SYL (5) treating item in inBuf range [%i,%i[",spho->outReadPos,nextInPos));