Lines Matching refs:pos
322 struct subtitle_list *pos, *tmp; in set_subtitle() local
324 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle()
325 tmp = pos->next; in set_subtitle()
326 free(pos); in set_subtitle()
332 if (pos) { in set_subtitle()
333 pos->next = xcalloc(1, sizeof(*pos)); in set_subtitle()
334 pos = pos->next; in set_subtitle()
336 subtitles = pos = xcalloc(1, sizeof(*pos)); in set_subtitle()
338 pos->text = sp->text; in set_subtitle()
347 struct subtitle_list *pos, *tmp; in reset_subtitle() local
349 for (pos = subtitles; pos != NULL; pos = tmp) { in reset_subtitle()
350 tmp = pos->next; in reset_subtitle()
351 free(pos); in reset_subtitle()
366 struct jump_key *pos; in update_text() local
369 list_for_each_entry(pos, data->head, entries) { in update_text()
370 if (pos->offset >= start && pos->offset < end) { in update_text()
374 int key = '0' + (pos->index % JUMP_NB) + 1; in update_text()
378 data->targets[k] = pos->target; in update_text()
384 memcpy(buf + pos->offset, header, sizeof(header) - 1); in update_text()
441 struct jump_key *pos, *tmp; in search_conf() local
456 list_for_each_entry_safe(pos, tmp, &head, entries) in search_conf()
457 free(pos); in search_conf()