Home
last modified time | relevance | path

Searched refs:whole_file_view_ (Results 1 – 3 of 3) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Dfileread.cc230 this->whole_file_view_ = new View(0, size, contents, 0, false, in open()
232 this->add_view(this->whole_file_view_); in open()
343 if (this->whole_file_view_) in find_view()
345 return this->whole_file_view_; in find_view()
382 if (this->whole_file_view_ != NULL) in do_read()
387 memcpy(p, this->whole_file_view_->data() + start, size); in do_read()
566 if (this->whole_file_view_ == NULL in find_or_make_view()
569 this->whole_file_view_ = this->make_view(0, this->size_, 0, cache); in find_or_make_view()
805 || p->second == this->whole_file_view_) in clear_views()
817 if (p->second == this->whole_file_view_) in clear_views()
[all …]
Dfileread.h75 released_(true), whole_file_view_(NULL) in File_read()
444 View* whole_file_view_; variable
DChangeLog9450 * fileread.cc (File_read::~File_read): Don't delete whole_file_view_.
9451 (File_read::open[1]): Remove initial mapping of whole_file_view_.
9452 (File_read::open[2]): Add whole_file_view_ to list of views.
9453 (File_read::make_view): Remove test of whole_file_view_.
9454 (File_read::find_or_make_view): Create whole_file_view_ if
9459 --no-keep-files-mapped is set. Set whole_file_view_ to NULL
11895 (File_read::~File_read): Dispose the new whole_file_view_.
11897 (File_read::open): Use whole_file_view_ instead of contents_.
11898 (File_read::find_view): Use whole_file_view_ if applicable.
11899 (File_read::do_read): Use whole_file_view_ instead of contents_.
[all …]