Lines Matching refs:pos
320 struct subtitle_list *pos, *tmp; in set_subtitle() local
322 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle()
323 tmp = pos->next; in set_subtitle()
324 free(pos); in set_subtitle()
330 if (pos) { in set_subtitle()
331 pos->next = xcalloc(1, sizeof(*pos)); in set_subtitle()
332 pos = pos->next; in set_subtitle()
334 subtitles = pos = xcalloc(1, sizeof(*pos)); in set_subtitle()
336 pos->text = sp->text; in set_subtitle()
345 struct subtitle_list *pos, *tmp; in reset_subtitle() local
347 for (pos = subtitles; pos != NULL; pos = tmp) { in reset_subtitle()
348 tmp = pos->next; in reset_subtitle()
349 free(pos); in reset_subtitle()
364 struct jump_key *pos; in update_text() local
367 list_for_each_entry(pos, data->head, entries) { in update_text()
368 if (pos->offset >= start && pos->offset < end) { in update_text()
372 int key = '0' + (pos->index % JUMP_NB) + 1; in update_text()
376 data->targets[k] = pos->target; in update_text()
382 memcpy(buf + pos->offset, header, sizeof(header) - 1); in update_text()
439 struct jump_key *pos, *tmp; in search_conf() local
454 list_for_each_entry_safe(pos, tmp, &head, entries) in search_conf()
455 free(pos); in search_conf()