Lines Matching refs:outWritePos

250     picoos_uint16 outWritePos; /* next pos to write to outBuf */  member
490 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
491 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem()
492 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem()
493 tok->outBuf[tok->outWritePos++] = 0; in tok_putItem()
508 if (tok->outWritePos + 4 + len < OUT_BUF_SIZE) { in tok_putItem()
509 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
510 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem()
511 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem()
512 tok->outBuf[tok->outWritePos++] = len; in tok_putItem()
514 tok->outBuf[tok->outWritePos++] = str[i]; in tok_putItem()
523 if (tok->outWritePos + 4 < OUT_BUF_SIZE) { in tok_putItem()
524 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
525 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem()
526 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem()
527 tok->outBuf[tok->outWritePos++] = 0; in tok_putItem()
539 if (tok->outWritePos + 4 + 2 < OUT_BUF_SIZE) { in tok_putItem()
540 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
541 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem()
542 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem()
543 tok->outBuf[tok->outWritePos++] = 2; in tok_putItem()
544 tok->outBuf[tok->outWritePos++] = val % 256; in tok_putItem()
545 tok->outBuf[tok->outWritePos++] = val / 256; in tok_putItem()
557 if (tok->outWritePos + 4 + len < OUT_BUF_SIZE) { in tok_putItem()
558 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
559 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem()
560 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem()
561 tok->outBuf[tok->outWritePos++] = len; in tok_putItem()
563 tok->outBuf[tok->outWritePos++] = str[i]; in tok_putItem()
586 tok->outBuf[tok->outWritePos++] = type; in tok_putItem2()
587 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem2()
588 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem2()
589 tok->outBuf[tok->outWritePos++] = len; in tok_putItem2()
591 tok->outBuf[tok->outWritePos++] = data[i]; in tok_putItem2()
1445 tok->outWritePos = 0; in tokReset()
1548 if ((tok->outWritePos - tok->outReadPos) > 0) { in tokStep()
1549 …if (picodata_cbPutItem(this->cbOut, &tok->outBuf[tok->outReadPos], tok->outWritePos - tok->outRead… in tokStep()
1551 … (picoos_uint8 *)"tok:", &tok->outBuf[tok->outReadPos], tok->outWritePos - tok->outReadPos); in tokStep()
1553 if (tok->outWritePos == tok->outReadPos) { in tokStep()
1554 tok->outWritePos = 0; in tokStep()