Lines Matching refs:pos
106 size_t pos = prefixSize; in RDG_genBlock() local
114 if (buffSize < pos + size0) { in RDG_genBlock()
115 memset(buffPtr+pos, 0, buffSize-pos); in RDG_genBlock()
118 memset(buffPtr+pos, 0, size0); in RDG_genBlock()
119 pos += size0; in RDG_genBlock()
120 buffPtr[pos-1] = RDG_genChar(seed, lt); in RDG_genBlock()
124 if (pos==0) { in RDG_genBlock()
126 pos=1; in RDG_genBlock()
130 while (pos < buffSize) { in RDG_genBlock()
138 if (offset > pos) offset = (U32)pos; in RDG_genBlock()
139 match = pos - offset; in RDG_genBlock()
140 d = pos + length; in RDG_genBlock()
142 while (pos < d) buffPtr[pos++] = buffPtr[match++]; in RDG_genBlock()
147 d = pos + length; in RDG_genBlock()
149 while (pos < d) buffPtr[pos++] = RDG_genChar(seed, lt); in RDG_genBlock()