Lines Matching refs:pos
323 struct subtitle_list *pos, *tmp; in set_subtitle() local
325 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle()
326 tmp = pos->next; in set_subtitle()
327 free(pos); in set_subtitle()
333 if (pos) { in set_subtitle()
334 pos->next = xcalloc(1, sizeof(*pos)); in set_subtitle()
335 pos = pos->next; in set_subtitle()
337 subtitles = pos = xcalloc(1, sizeof(*pos)); in set_subtitle()
339 pos->text = sp->text; in set_subtitle()
348 struct subtitle_list *pos, *tmp; in reset_subtitle() local
350 for (pos = subtitles; pos != NULL; pos = tmp) { in reset_subtitle()
351 tmp = pos->next; in reset_subtitle()
352 free(pos); in reset_subtitle()
367 struct jump_key *pos; in update_text() local
370 list_for_each_entry(pos, data->head, entries) { in update_text()
371 if (pos->offset >= start && pos->offset < end) { in update_text()
375 int key = '0' + (pos->index % JUMP_NB) + 1; in update_text()
379 data->targets[k] = pos->target; in update_text()
385 memcpy(buf + pos->offset, header, sizeof(header) - 1); in update_text()
442 struct jump_key *pos, *tmp; in search_conf() local
457 list_for_each_entry_safe(pos, tmp, &head, entries) in search_conf()
458 free(pos); in search_conf()