Lines Matching refs:pos
557 static void ktab_getUtf8 (picoos_uchar ** pos, picoos_uchar * to)
560 l = picobase_det_utf8_length(**pos);
562 *(to++) = *((*pos)++);
583 picoos_uint8 * pos;
592 pos = &(g->graphTable[graphsOffset]);
593 *propset = *pos;
595 pos++; /* advance to FROM */
596 ktab_getUtf8(&pos, from); /* get FROM and advance */
598 ktab_getUtf8(&pos, to); /* get TO and advance */
603 (*stokenType) = *(pos++); /* get TOKENTYPE and advance */
608 (*stokenSubType) = *(pos++); /* get TOKENSUBTYPE and advance */
613 (*value) = *(pos++); /* get VALUE and advance */
618 ktab_getUtf8(&pos, lowercase); /* get LOWERCASE and advance */
623 ktab_getUtf8(&pos, graphsubs1); /* get GRAPHSUBS1 and advance */
628 ktab_getUtf8(&pos, graphsubs2); /* get GRAPHSUBS2 and advance */
633 (*punct) = *(pos++); /* get PUNCT and advance */
813 /* Pos */
816 /* overview binary file format for pos kb:
818 pos-kb = header posids
841 the unique POS list, and then in increasing order, 2 symbols, 3
891 picoos_uint16 os, pos;
903 for (i = 0, pos = 0; i < PICOKTAB_MAXNRPOS_IN_COMB; i++, pos += 4) {
904 ktabpos->nrcomb[i] = ((picoos_uint16)(this->base[pos+1])) << 8 |
905 this->base[pos];
908 os = ((picoos_uint16)(this->base[pos+3])) << 8 | this->base[pos+2];
910 PICODBG_TRACE(("i %d, pos %d, nr %d, osprev %d, os %d", i, pos,
963 /* Pos methods */
993 const picoos_uint8 pos) {
1000 PICODBG_TRACE(("pos %d, nrcombinations %d", pos, ktabpos->nrcomb[0]));
1002 while ((i < ktabpos->nrcomb[0]) && (pos > ktabpos->nrcombstart[0][i])) {
1003 PICODBG_TRACE(("compare with pos %d at position %d",
1004 ktabpos->nrcombstart[0][i], pos, i));
1007 return ((i < ktabpos->nrcomb[0]) && (pos == ktabpos->nrcombstart[0][i]));
1012 const picoos_uint8 pos,
1030 /* treat case i==0, grplen==0, ie. pos == posgroup */
1031 if (pos == posgroup) {
1055 /* test if 'pos' is contained in the components of 'posgroup' */
1058 if (pos == grp[i]) {
1102 PICODBG_WARN(("dynamically created POS combination not found in table; taking first (%i)",poslist[0]));
1105 } else { /* not a composed POS */