Lines Matching refs:headx

141     picoacph_headx_t headx[PICOACPH_MAXNR_HEADX];  member
184 acph->headx[i].head.type = 0; in acphInitialize()
185 acph->headx[i].head.info1 = 0; in acphInitialize()
186 acph->headx[i].head.info2 = 0; in acphInitialize()
187 acph->headx[i].head.len = 0; in acphInitialize()
188 acph->headx[i].cind = 0; in acphInitialize()
189 acph->headx[i].boundstrength = 0; in acphInitialize()
190 acph->headx[i].boundtype = 0; in acphInitialize()
336 for (i = 0; i < acph->headx[ind].head.len; i++) { in acphGetNrSylls()
337 ch = acph->cbuf[acph->headx[ind].cind + i]; in acphGetNrSylls()
361 if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) { in acphPhrItemSeqGetPosLeft()
362 val = acph->headx[i].head.info1; in acphPhrItemSeqGetPosLeft()
393 (acph->headx[upbound].head.type != PICODATA_ITEM_WORDPHON)) { in acphSubPhrasing()
411 if (acph->headx[i].head.type == PICODATA_ITEM_WORDPHON) { in acphSubPhrasing()
420 valbuf[1] = acph->headx[upbound].head.info1; in acphSubPhrasing()
434 PICODBG_TRACE(("iter: %d, type: %c", i, acph->headx[i].head.type)); in acphSubPhrasing()
437 if ((acph->headx[i].head.type != PICODATA_ITEM_WORDPHON)) { in acphSubPhrasing()
441 PICODBG_TRACE(("iter: %d, curpos: %d", i, acph->headx[i].head.info1)); in acphSubPhrasing()
444 curpos = acph->headx[i].head.info1; in acphSubPhrasing()
510 acph->headx[i].boundstrength = (picoos_uint8)dtres.class; in acphSubPhrasing()
516 switch (acph->headx[acph->headxLen - 1].head.info2) { in acphSubPhrasing()
518 acph->headx[i].boundtype = in acphSubPhrasing()
522 acph->headx[i].boundtype = in acphSubPhrasing()
526 acph->headx[i].boundtype = in acphSubPhrasing()
531 acph->headx[i].boundtype = in acphSubPhrasing()
541 acph->headx[i].boundtype = in acphSubPhrasing()
553 acph->headx[0].boundstrength = in acphSubPhrasing()
557 acph->headx[0].boundstrength = in acphSubPhrasing()
566 switch (acph->headx[acph->headxLen - 1].head.info1) { in acphSubPhrasing()
581 switch (acph->headx[acph->headxLen - 1].head.info2) { in acphSubPhrasing()
583 acph->headx[0].boundtype = in acphSubPhrasing()
587 acph->headx[0].boundtype = in acphSubPhrasing()
591 acph->headx[0].boundtype = in acphSubPhrasing()
596 acph->headx[0].boundtype = in acphSubPhrasing()
604 acph->headx[0].boundtype = in acphSubPhrasing()
626 if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) { in acphAccItemSeqGetPosLeft()
627 val = acph->headx[i].head.info1; in acphAccItemSeqGetPosLeft()
654 pend = acph->headx[ind].cind + acph->headx[ind].head.len; in acphAccNrSyllParts()
655 for (pind = acph->headx[ind].cind; pind < pend; pind++) { in acphAccNrSyllParts()
703 (acph->headx[i].boundstrength == PICODATA_ITEMINFO1_BOUND_PHR0)) { in acphAccGetNrsRight()
704 if (acph->headx[i].head.type == PICODATA_ITEM_WORDPHON) { in acphAccGetNrsRight()
715 (acph->headx[i].head.info2 != PICODATA_ACC1)) { in acphAccGetNrsRight()
716 if (acph->headx[i].head.type == PICODATA_ITEM_WORDPHON) { in acphAccGetNrsRight()
722 if ((i < acph->headxLen) && (acph->headx[i].head.info2 == PICODATA_ACC1)) { in acphAccGetNrsRight()
749 (acph->headx[i].boundstrength == PICODATA_ITEMINFO1_BOUND_PHR0)) { in acphAccGetNrsLeft()
750 if (acph->headx[i].head.type == PICODATA_ITEM_WORDPHON) { in acphAccGetNrsLeft()
757 if ((acph->headx[i].boundstrength != PICODATA_ITEMINFO1_BOUND_PHR0) && in acphAccGetNrsLeft()
758 (acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) { in acphAccGetNrsLeft()
773 pos = acph->headx[ind].cind; in acphIsWordWithoutStress()
774 for (i = 0; i < acph->headx[ind].head.len; i++) { in acphIsWordWithoutStress()
811 (acph->headx[upbound].head.type != PICODATA_ITEM_WORDPHON)) { in acphAccentuation()
837 valbuf[1] = acph->headx[upbound].head.info1; in acphAccentuation()
852 PICODBG_TRACE(("iter: %d, type: %c", i, acph->headx[i].head.type)); in acphAccentuation()
855 if ((acph->headx[i].head.type != PICODATA_ITEM_WORDPHON)) { in acphAccentuation()
859 PICODBG_TRACE(("iter: %d, curpos: %d", i, acph->headx[i].head.info1)); in acphAccentuation()
862 curpos = acph->headx[i].head.info1; in acphAccentuation()
943 acph->headx[i].head.info2 = PICODATA_ACC3; in acphAccentuation()
945 acph->headx[i].head.info2 = (picoos_uint8)dtres.class; in acphAccentuation()
948 acph->headx[i].head.info2 = (picoos_uint8)dtres.class; in acphAccentuation()
951 i, acph->headx[i].head.info2)); in acphAccentuation()
1080 PICODATA_MAX_ITEMSIZE, &(acph->headx[acph->headxLen].head), in acphStep()
1092 if ((acph->headx[acph->headxLen].head.type in acphStep()
1094 && (acph->headx[acph->headxLen].head.info1 in acphStep()
1096 acph->headx[acph->headxLen].head.type in acphStep()
1098 acph->headx[acph->headxLen].head.info1 in acphStep()
1100 acph->headx[acph->headxLen].head.info2 in acphStep()
1102 acph->headx[acph->headxLen].head.len = 0; in acphStep()
1106 if (acph->headx[acph->headxLen].head.type in acphStep()
1119 acph->headx[acph->headxLen].cind = acph->cbufLen; in acphStep()
1122 acph->headx[acph->headxLen].cind = 0; in acphStep()
1135 acph->headx[acph->headxLen].head.type = PICODATA_ITEM_PUNC; in acphStep()
1136 acph->headx[acph->headxLen].head.info1 = in acphStep()
1138 acph->headx[acph->headxLen].head.info2 = in acphStep()
1140 acph->headx[acph->headxLen].head.len = 0; in acphStep()
1196 if ((acph->headx[i].boundstrength != 0) && in acphStep()
1197 (acph->headx[i].boundstrength != in acphStep()
1201 acph->headx[i].boundstrength, in acphStep()
1202 acph->headx[i].boundtype)); in acphStep()
1205 ittype = acph->headx[i].head.type; in acphStep()
1209 if ((32 <= acph->headx[i].head.info1) && in acphStep()
1210 (acph->headx[i].head.info1 < 127) && in acphStep()
1212 PICODBG_INFO_MSG(("'%c',",acph->headx[i].head.info1)); in acphStep()
1214 PICODBG_INFO_MSG(("%3d,", acph->headx[i].head.info1)); in acphStep()
1216 if ((32 <= acph->headx[i].head.info2) && in acphStep()
1217 (acph->headx[i].head.info2 < 127)) { in acphStep()
1218 PICODBG_INFO_MSG(("'%c',",acph->headx[i].head.info2)); in acphStep()
1220 PICODBG_INFO_MSG(("%3d,", acph->headx[i].head.info2)); in acphStep()
1222 PICODBG_INFO_MSG(("%3d)", acph->headx[i].head.len)); in acphStep()
1224 for (j = 0; j < acph->headx[i].head.len; j++) { in acphStep()
1227 acph->cbuf[acph->headx[i].cind+j])); in acphStep()
1230 acph->cbuf[acph->headx[i].cind+j])); in acphStep()
1279 if (acph->headx[0].head.info1 in acphStep()
1282 acph->headx[0].boundstrength, in acphStep()
1283 acph->headx[0].boundtype, &dopuoutfull, in acphStep()
1299 switch (acph->headx[i].head.type) { in acphStep()
1302 if ((acph->headx[i].head.info1 == in acphStep()
1319 } else if ((acph->headx[i].head.info1 == in acphStep()
1343 if ((acph->headx[i].boundstrength == in acphStep()
1345 (acph->headx[i].boundstrength == in acphStep()
1348 acph->headx[i].boundstrength, in acphStep()
1349 acph->headx[i].boundtype, in acphStep()
1363 rv = picodata_put_itemparts(&(acph->headx[i].head), in acphStep()
1364 &(acph->cbuf[acph->headx[i].cind]), in acphStep()
1365 acph->headx[i].head.len, in acphStep()
1385 acph->headx[i].boundstrength = 0; in acphStep()
1406 acph->headx[i].boundstrength = 0; in acphStep()