Lines Matching refs:bufref

383 set_bufref(bufref_T *bufref, buf_T *buf)  in set_bufref()  argument
385 bufref->br_buf = buf; in set_bufref()
386 bufref->br_fnum = buf == NULL ? 0 : buf->b_fnum; in set_bufref()
387 bufref->br_buf_free_count = buf_free_count; in set_bufref()
398 bufref_valid(bufref_T *bufref) in bufref_valid() argument
400 return bufref->br_buf_free_count == buf_free_count in bufref_valid()
401 ? TRUE : buf_valid(bufref->br_buf) in bufref_valid()
402 && bufref->br_fnum == bufref->br_buf->b_fnum; in bufref_valid()
503 bufref_T bufref; in close_buffer() local
586 set_bufref(&bufref, buf); in close_buffer()
595 && !bufref_valid(&bufref)) in close_buffer()
616 && !bufref_valid(&bufref)) in close_buffer()
684 if (!bufref_valid(&bufref)) in close_buffer()
791 bufref_T bufref; in buf_freeall() local
799 set_bufref(&bufref, buf); in buf_freeall()
804 && !bufref_valid(&bufref)) in buf_freeall()
812 && !bufref_valid(&bufref)) in buf_freeall()
820 && !bufref_valid(&bufref)) in buf_freeall()
1183 bufref_T bufref; in empty_curbuf() local
1191 set_bufref(&bufref, buf); in empty_curbuf()
1203 if (buf != curbuf && bufref_valid(&bufref) && buf->b_nwindows == 0) in empty_curbuf()
1338 bufref_T bufref; in do_buffer_ext() local
1343 set_bufref(&bufref, buf); in do_buffer_ext()
1357 if (!bufref_valid(&bufref)) in do_buffer_ext()
1402 if (buf != curbuf && bufref_valid(&bufref) && buf->b_nwindows <= 0) in do_buffer_ext()
1538 bufref_T bufref; in do_buffer_ext() local
1540 set_bufref(&bufref, buf); in do_buffer_ext()
1542 if (!bufref_valid(&bufref)) in do_buffer_ext()
2013 bufref_T bufref; in buflist_new() local
2016 set_bufref(&bufref, buf); in buflist_new()
2020 && !bufref_valid(&bufref)) in buflist_new()
2214 bufref_T bufref; in buflist_new() local
2219 set_bufref(&bufref, buf); in buflist_new()
2221 && !bufref_valid(&bufref)) in buflist_new()
2226 && !bufref_valid(&bufref)) in buflist_new()
5304 bufref_T bufref; in ex_buffer_all() local
5306 set_bufref(&bufref, buf); in ex_buffer_all()
5320 if (!bufref_valid(&bufref)) in ex_buffer_all()