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
155 if (pos < 0) { in dynamicSeek()
165 bytesNeeded = pos; in dynamicSeek()
177 if (pos > dp->logicalSize) { in dynamicSeek()
178 dp->logicalSize = pos; in dynamicSeek()
181 dp->pos = pos; in dynamicSeek()
194 dp->pos = 0; in newDynamic()
239 remain = dp->logicalSize - dp->pos; in dynamicGetbuf()
249 memcpy(buf, (void *) ((char *) dp->data + dp->pos), rlen); in dynamicGetbuf()
250 dp->pos += rlen; in dynamicGetbuf()
290 dp->pos = 0; in allocDynamic()
306 bytesNeeded = dp->pos + size; in appendDynamic()
320 memcpy((void *) (tmp + (dp->pos)), src, size); in appendDynamic()
321 dp->pos += size; in appendDynamic()
323 if (dp->pos > dp->logicalSize) { in appendDynamic()
324 dp->logicalSize = dp->pos; in appendDynamic()