Home | History | Annotate | Download | only in lib

Lines Matching defs:it

813 static picoos_bool pr_isCmdType (pr_ioItemPtr it, picoos_uint8 type)
815 if ((it != NULL) && (it->head.type == PICODATA_ITEM_CMD) && (it->head.info1 == type)) {
823 static picoos_bool pr_isCmdInfo2 (pr_ioItemPtr it, picoos_uint8 info2)
825 if ((it != NULL) && (it->head.type == PICODATA_ITEM_CMD) && (it->head.info2 == info2)) {
3221 /* this is ok to be in 'initialize' because it is a private memory within pr. Creating a new mm
3333 pr_ioItemPtr it;
3374 it = pr->routItemList;
3379 if (it->head.type == PICODATA_ITEM_TOKEN) {
3380 if ((it->head.info1 != PICODATA_ITEMINFO1_TOKTYPE_SPACE) && (it->head.len > 0)) {
3381 nrUtfChars = picobase_utf8_length(it->data, PR_MAX_DATA_LEN);
3383 && (((id = picoktab_graphOffset(pr->graphs, it->data)) > 0))
3404 len = pr_strlen(it->data);
3406 if (picobase_get_next_utf8char(it->data, it->head.len, &pos, inUtf8char)) {
3462 pr->outBuf[pr->outWritePos++] = it->head.type;
3463 pr->outBuf[pr->outWritePos++] = it->head.info1;
3464 pr->outBuf[pr->outWritePos++] = it->head.info2;
3465 pr->outBuf[pr->outWritePos++] = it->head.len;
3466 for (i=0; i<it->head.len; i++) {
3467 pr->outBuf[pr->outWritePos++] = it->data[i];
3472 pr_disposeItem(this, &it);
3484 /* input data is available in the input buffer, copy it to an input item
3485 and treat it */
3487 pr_newItem(this, pr_DynMem, &it, pr->inBuf[0], pr->inBuf[3], /*inItem*/TRUE);
3489 it->head.type = pr->inBuf[0];
3490 it->head.info1 = pr->inBuf[1];
3491 it->head.info2 = pr->inBuf[2];
3492 it->head.len = pr->inBuf[3];
3494 it->data[i] = pr->inBuf[4+i];
3496 it->data[pr->inBuf[3]] = 0;
3498 it->val = tok_tokenDigitStrToInt(this, pr, it->data);
3500 it->val = 0;
3503 picobase_lowercase_utf8_str(it->data,it->strci,PR_MAX_DATA_LEN, &ldone);
3504 pr_firstLetterToLowerCase(it->data,it->strcis);
3505 it->alc = picobase_is_utf8_lowercase(it->data,PR_MAX_DATA_LEN);
3506 it->auc = picobase_is_utf8_uppercase(it->data,PR_MAX_DATA_LEN);
3507 it->suc = pr_isSUC(it->data);
3510 pr_treatItem(this, pr, it);