OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MappedFile
(Results
1 - 12
of
12
) sorted by null
/external/chromium_org/net/disk_cache/
mapped_file_posix.cc
16
void*
MappedFile
::Init(const base::FilePath& name, size_t size) {
41
void
MappedFile
::Flush() {
44
MappedFile
::~
MappedFile
() {
mapped_file_win.cc
14
void*
MappedFile
::Init(const base::FilePath& name, size_t size) {
39
MappedFile
::~
MappedFile
() {
52
void
MappedFile
::Flush() {
mapped_file_avoid_mmap_posix.cc
14
void*
MappedFile
::Init(const base::FilePath& name, size_t size) {
37
void
MappedFile
::Flush() {
52
MappedFile
::~
MappedFile
() {
mapped_file.h
24
class NET_EXPORT_PRIVATE
MappedFile
: public File {
26
MappedFile
() : File(true), init_(false) {}
50
virtual ~
MappedFile
();
62
DISALLOW_COPY_AND_ASSIGN(
MappedFile
);
68
explicit ScopedFlush(
MappedFile
* file) : file_(file) {}
73
MappedFile
* file_;
/external/chromium/net/disk_cache/
mapped_file.h
23
class
MappedFile
: public File {
25
MappedFile
() : File(true), init_(false) {}
41
virtual ~
MappedFile
();
50
DISALLOW_COPY_AND_ASSIGN(
MappedFile
);
mapped_file_posix.cc
16
void*
MappedFile
::Init(const FilePath& name, size_t size) {
35
bool
MappedFile
::Load(const FileBlock* block) {
40
bool
MappedFile
::Store(const FileBlock* block) {
45
MappedFile
::~
MappedFile
() {
mapped_file_win.cc
13
void*
MappedFile
::Init(const FilePath& name, size_t size) {
32
MappedFile
::~
MappedFile
() {
45
bool
MappedFile
::Load(const FileBlock* block) {
50
bool
MappedFile
::Store(const FileBlock* block) {
/external/openfst/src/lib/
mapped-file.cc
28
const int
MappedFile
::kArchAlignment = 16;
30
MappedFile
::
MappedFile
(const MemoryRegion ®ion) : region_(region) { }
32
MappedFile
::~
MappedFile
() {
45
MappedFile
*
MappedFile
::Allocate(size_t size) {
50
return new
MappedFile
(region);
53
MappedFile
*
MappedFile
::Borrow(void *data)
[
all
...]
/art/runtime/base/unix_file/
mapped_file.h
31
class
MappedFile
: public FdFile {
39
MappedFile
() : FdFile(), file_size_(-1), mapped_file_(NULL) {
41
// Creates a
MappedFile
using the given file descriptor. Takes ownership of
43
explicit
MappedFile
(int fd) : FdFile(fd), file_size_(-1), mapped_file_(NULL) {
47
virtual ~
MappedFile
();
92
DISALLOW_COPY_AND_ASSIGN(
MappedFile
);
mapped_file.cc
29
MappedFile
::~
MappedFile
() {
32
int
MappedFile
::Close() {
39
bool
MappedFile
::MapReadOnly() {
61
bool
MappedFile
::MapReadWrite(int64_t file_size) {
84
bool
MappedFile
::Unmap() {
98
int64_t
MappedFile
::Read(char* buf, int64_t byte_count, int64_t offset) const {
114
int
MappedFile
::SetLength(int64_t new_length) {
119
int64_t
MappedFile
::GetLength() const {
127
int
MappedFile
::Flush()
[
all
...]
/external/openfst/src/include/fst/
mapped-file.h
44
class
MappedFile
{
46
virtual ~
MappedFile
();
56
// Returns a
MappedFile
object that contains the contents of the input
59
// or else mapping will fail. If mapping is not possible, then a
MappedFile
61
static
MappedFile
* Map(istream* s, const FstReadOptions& opts, size_t size);
63
// Creates a
MappedFile
object with a new[]'ed block of memory of size.
65
static
MappedFile
* Allocate(size_t size);
67
// Creates a
MappedFile
object pointing to a borrowed reference to data.
68
// This block of memory is not owned by the
MappedFile
object and will not
71
static
MappedFile
* Borrow(void *data)
[
all
...]
/external/chromium_org/chrome/installer/test/
alternate_version_generator.cc
150
class
MappedFile
{
152
MappedFile
() : size_(), mapping_(), view_() { }
153
~
MappedFile
();
161
DISALLOW_COPY_AND_ASSIGN(
MappedFile
);
162
}; // class
MappedFile
164
MappedFile
::~
MappedFile
() {
167
PLOG(DFATAL) << "
MappedFile
failed to unmap view.";
177
bool
MappedFile
::Initialize(base::PlatformFile file) {
376
MappedFile
image_mapping
[
all
...]
Completed in 347 milliseconds