Lines Matching refs:headxLen
194 picoos_uint16 headxLen; /* length, 0 if empty */
269 sa->headxLen = 0;
532 while ((first < sa->headxLen) &&
538 if (first >= sa->headxLen) {
553 valbuf[i] = saPosDItemSeqGetPosRight(this, sa, lastprev3, sa->headxLen, &lastprev3);
556 PICODBG_TRACE(("headxLen: %d", sa->headxLen));
559 for (ci = first; ci < sa->headxLen; ci++) {
586 valbuf[PICOKDT_NRATT_POSD-1] = saPosDItemSeqGetPosRight(this, sa, lastprev3, sa->headxLen, &lastprev3);
1208 sa->procState, sa->headxLen, sa->cbuf1Len,
1225 &(sa->headx[sa->headxLen].head),
1238 if ((sa->headx[sa->headxLen].head.type ==
1240 (sa->headx[sa->headxLen].head.info1 ==
1242 sa->headx[sa->headxLen].head.type =
1244 sa->headx[sa->headxLen].head.info1 =
1246 sa->headx[sa->headxLen].head.info2 =
1248 sa->headx[sa->headxLen].head.len = 0;
1253 sa->headx[sa->headxLen].cind = sa->cbuf1Len;
1255 if ((sa->headx[sa->headxLen].head.type ==
1257 (sa->headx[sa->headxLen].head.info1 ==
1259 (sa->headx[sa->headxLen].head.info2 ==
1264 sa->headx[sa->headxLen].head.type = PICODATA_ITEM_WORDPHON;
1265 headxLen].head.info1 = PICODATA_POS_XX;
1266 sa->headx[sa->headxLen].head.info2 = PICODATA_ITEMINFO2_NA;
1269 while ((i < sa->headx[sa->headxLen].head.len) && (wordsep != sa->cbuf1[sa->headx[sa->headxLen].cind+i])) {
1270 PICODBG_INFO(("accepting phoneme %i",sa->cbuf1[sa->headx[sa->headxLen].cind+i]));
1274 if (i < sa->headx[sa->headxLen].head.len) {
1276 sa->headx[sa->headxLen].head.len = i;
1281 if (sa->headx[sa->headxLen].head.type ==
1287 if ((sa->headxLen >= (PICOSA_MAXNR_HEADX - 2)) ||
1294 sa->headx[sa->headxLen].cind = sa->cbuf1Len;
1297 sa->headx[sa->headxLen].cind = 0;
1299 sa->headxLen++;
1310 sa->headx[sa->headxLen].head.type = PICODATA_ITEM_PUNC;
1311 sa->headx[sa->headxLen].head.info1 =
1313 sa->headx[sa->headxLen].head.info2 =
1315 sa->headx[sa->headxLen].head.len = 0;
1317 sa->headxLen++;
1349 if (sa->headxLen > 0) {
1359 } else if (sa->headxLen == 0) { /* no items in inBuf */
1368 for (i = 0; i < sa->headxLen; i++) {
1413 if (sa->headxLen > 0) {
1428 for (i = 0; i < sa->headxLen; i++) {
1472 } else if (sa->headxLen == 0) { /* no items in inBuf */
1481 for (i = 0; i < sa->headxLen; i++) {
1523 sa->headxBottom, sa->headxLen));
1526 if (0 == sa->headxLen) {
1568 sa->headxLen--;