Searched defs:MappedFile (Results 1 - 3 of 3) sorted by relevance

/external/openfst/src/lib/
H A Dmapped-file.cc28 const int MappedFile::kArchAlignment = 16;
30 MappedFile::MappedFile(const MemoryRegion &region) : region_(region) { } function in class:fst::MappedFile
32 MappedFile::~MappedFile() {
45 MappedFile* MappedFile::Allocate(size_t size) {
50 return new MappedFile(region);
53 MappedFile* MappedFile
[all...]
/external/openfst/src/include/fst/
H A Dmapped-file.h44 class MappedFile { class in namespace:fst
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* Borro
[all...]
/external/autotest/client/cros/
H A Dmemory_bandwidth_logger.py58 class MappedFile: class in inherits:
184 with MappedFile('/dev/mem', bar_addr, IMC_MMAP_SIZE) as mm:
227 mm: MappedFile representing physical memory

Completed in 125 milliseconds