Home | History | Annotate | Download | only in gold

Lines Matching defs:View

140   // Return a view into the file starting at file offset START for
161 // Return a lasting view into the file starting at file offset START
164 // this view will remain valid until the view is deleted. It is an
250 // A view into the file.
251 class View
254 // Specifies how to dispose the data on destruction of the view.
266 View(off_t start, section_size_type size, const unsigned char* data,
273 ~View();
324 // Returns TRUE if this view contains permanent data -- e.g., data that
331 View(const View&);
332 View& operator=(const View&);
334 // The file offset of the start of the view.
336 // The size of the view.
340 // The number of locks on this view.
342 // The number of bytes that the view is shifted relative to the
346 // Whether the view is cached.
348 // Whether the view is mapped into memory. If not, data_ points
351 // Whether the view has been accessed recently.
355 friend class View;
359 typedef std::map<std::pair<off_t, unsigned int>, View*> Views;
362 typedef std::list<View*> Saved_views;
368 // Find a view into the file.
369 View*
371 View** vshifted) const;
377 // Add a view.
379 add_view(View*);
381 // Make a view into the file.
382 View*
386 // Find or make a view into the file.
387 View*
439 // A view containing the whole file. May be NULL if we mmap only
444 View* whole_file_view_;
447 // A view of file data that persists even when the file is unlocked.
458 // Return a pointer to the data associated with this view.
470 File_view(File_read& file, File_read::View* view, const unsigned char* data)
471 : file_(file), view_(view), data_(data)
475 File_read::View* view_;