Lines Matching full:outmaptable
244 picoos_uint8 *outmaptable;
321 dtp->outmaptable = this->base + outpos;
335 dtp->outmaptable = NULL;
343 if (dtp->outmaptable[PICOKDT_MTSPOS_NRMAPTABLES] != 1) {
350 if ((dtp->outmaptable[PICOKDT_MTPOS_START + PICOKDT_MTPOS_LENTABLE]
352 && (dtp->outmaptable[PICOKDT_MTPOS_START + PICOKDT_MTPOS_LENTABLE
355 set outmaptable to NULL if so */
356 if (dtp->outmaptable[PICOKDT_MTPOS_START + PICOKDT_MTPOS_TABLETYPE]
358 dtp->outmaptable = NULL;
387 dtp->nrattributes, (dtp->outmaptable - dtp->inpmaptable),
408 /* check outmaptable is word type */
411 || (dtp->outmaptable == NULL)
413 || (dtp->outmaptable[PICOKDT_MTSPOS_NRMAPTABLES] != nroutmt)
414 || (dtp->outmaptable[PICOKDT_MTPOS_START+PICOKDT_MTPOS_TABLETYPE]
419 dtp->outmaptable[PICOKDT_MTSPOS_NRMAPTABLES],
420 dtp->outmaptable[PICOKDT_MTPOS_START +
1411 nr = dt->outmaptable[PICOKDT_MTPOS_START + PICOKDT_MTPOS_TABLETYPE];
1430 nr = ((picoos_uint16)(dt->outmaptable[PICOKDT_MTPOS_START +
1432 | dt->outmaptable[PICOKDT_MTPOS_START + PICOKDT_MTPOS_NUMBER];
1436 *outval = dt->outmaptable[PICOKDT_MTPOS_START +
1439 *outval = ((picoos_uint16)(dt->outmaptable[PICOKDT_MTPOS_START +
1441 | dt->outmaptable[PICOKDT_MTPOS_START +
1453 /* outmaptable also used to map from decoded tree output domain to
1472 if (dt->outmaptable == NULL) {
1480 if (dt->outmaptable[pos++] != 1) { /* only one omt possible */
1481 PICODBG_ERROR(("check failed: nrtab: %d", dt->outmaptable[pos-1]));
1486 lentable = ((picoos_uint16)(dt->outmaptable[pos+1])) << 8 |
1487 dt->outmaptable[pos];
1492 /* if (dt->outmaptable[pos] == PICOKDT_MTTYPE_EMPTY), in
1496 if (dt->outmaptable[pos] == PICOKDT_MTTYPE_BYTE) {
1498 } else if (dt->outmaptable[pos] == PICOKDT_MTTYPE_WORD) {
1502 PICODBG_ERROR(("wrong table type %d", dt->outmaptable[pos]));
1508 *outfallbackval = ((picoos_uint16)(dt->outmaptable[pos+1])) << 8 |
1509 dt->outmaptable[pos];
1515 if (inval == dt->outmaptable[pos]) {
1525 if (inval == (((picoos_uint16)(dt->outmaptable[pos+1])) << 8 |
1526 dt->outmaptable[pos])) {
1569 if (dt->outmaptable == NULL) {
1580 lentable = (((picoos_uint16)(dt->outmaptable[pos + 1])) << 8 |
1581 dt->outmaptable[pos]);
1585 if (dt->outmaptable[pos] != PICOKDT_MTTYPE_BYTETOVAR) {
1587 PICODBG_ERROR(("wrong table type %d", dt->outmaptable[pos]));
1594 nrinbytes = (((picoos_uint16)(dt->outmaptable[pos+1])) << 8 |
1595 dt->outmaptable[pos]);
1618 offset1 = (((picoos_uint16)(dt->outmaptable[off2ind - 1])) << 8 |
1619 dt->outmaptable[off2ind - 2]);
1621 *nr = (((picoos_uint16)(dt->outmaptable[off2ind + 1])) << 8 |
1622 dt->outmaptable[off2ind]) - offset1;
1643 outval[i] = dt->outmaptable[pos++];