Lines Matching refs:counter
50 int counter;
168 ctx->counter = 0;
180 ctx->counter += DSS_BLOCK_SIZE - DSS_AUDIO_BLOCK_HEADER_SIZE;
209 if (ctx->counter == 0)
226 if (ctx->counter < read_size) {
228 ctx->counter);
229 if (ret < ctx->counter)
232 offset = ctx->counter;
235 ctx->counter -= read_size;
262 if (ctx->counter == 0)
273 ctx->counter--;
287 if (ctx->counter < size) {
289 ctx->counter);
290 if (ret < ctx->counter)
293 offset += ctx->counter;
294 size -= ctx->counter;
295 ctx->counter = 0;
298 ctx->counter -= size;
345 ctx->counter = 0;
348 ctx->counter = DSS_BLOCK_SIZE - offset;