Lines Matching refs:pos
35 int pos; member
146 return (dctx->dp->pos); in dynamicTell()
149 static int dynamicSeek (struct gdIOCtx *ctx, const int pos) in dynamicSeek() argument
162 bytesNeeded = pos; in dynamicSeek()
174 if (pos > dp->logicalSize) { in dynamicSeek()
175 dp->logicalSize = pos; in dynamicSeek()
178 dp->pos = pos; in dynamicSeek()
191 dp->pos = 0; in newDynamic()
236 remain = dp->logicalSize - dp->pos; in dynamicGetbuf()
246 memcpy(buf, (void *) ((char *) dp->data + dp->pos), rlen); in dynamicGetbuf()
247 dp->pos += rlen; in dynamicGetbuf()
287 dp->pos = 0; in allocDynamic()
303 bytesNeeded = dp->pos + size; in appendDynamic()
317 memcpy((void *) (tmp + (dp->pos)), src, size); in appendDynamic()
318 dp->pos += size; in appendDynamic()
320 if (dp->pos > dp->logicalSize) { in appendDynamic()
321 dp->logicalSize = dp->pos; in appendDynamic()