Lines Matching refs:srcPos
295 unsigned long srcPos; //current read position
308 srcPos(0),
417 if (srcPos >= src.size())
422 val |= ((long)(src[srcPos++])) << bitCnt;
469 if (srcPos >= src.size())
475 bitTmp = src[srcPos++];
544 //printf("pos:%d\n", srcPos);
573 if (srcPos + 4 > src.size())
579 int len = src[srcPos++];
580 len |= src[srcPos++] << 8;
583 if (src[srcPos++] != (~len & 0xff) ||
584 src[srcPos++] != ((~len >> 8) & 0xff))
591 if (srcPos + len > src.size())
597 dest.push_back(src[srcPos++]);
759 srcPos = 0;