Lines Matching refs:cur_seg
108 struct fragment *cur_seg;
352 free_fragment(&pls->cur_seg);
1777 free_fragment(&v->cur_seg);
1778 v->cur_seg = get_current_fragment(v);
1779 if (!v->cur_seg) {
1789 ret = open_input(c, v, v->cur_seg);
1810 /* check the v->cur_seg, if it is null, get current and double check if the new v->cur_seg*/
1811 if (!v->cur_seg) {
1812 v->cur_seg = get_current_fragment(v);
1814 if (!v->cur_seg) {
1818 ret = read_from_url(v, v->cur_seg, buf, buf_size);