Home
last modified time | relevance | path

Searched refs:origin_ (Results 1 – 4 of 4) sorted by relevance

/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dmapper.cc19 : ptr_(NULL), origin_(NULL), avail_(0), size_(0), in Mapper()
23 : ptr_(ptr), origin_(NULL), avail_(size), size_(0), in Mapper()
30 : ptr_(NULL), origin_(MAP_FAILED), avail_(0), size_(0), fd_(-1) {}
33 : ptr_(ptr), origin_(MAP_FAILED), avail_(size), size_(0), fd_(-1) {
41 if (origin_ != NULL) { in ~Mapper()
42 ::UnmapViewOfFile(origin_); in ~Mapper()
55 if (origin_ != MAP_FAILED) { in ~Mapper()
56 ::munmap(origin_, size_); in ~Mapper()
88 temp.origin_ = ::MapViewOfFile(temp.map_, FILE_MAP_READ, 0, 0, 0); in open()
89 MARISA_ALPHA_THROW_IF(temp.origin_ == NULL, MARISA_ALPHA_IO_ERROR); in open()
[all …]
Dmapper.h42 void *origin_; variable
/external/marisa-trie/lib/marisa/
Dmapper.cc19 : ptr_(NULL), origin_(NULL), avail_(0), size_(0), in Mapper()
23 : ptr_(ptr), origin_(NULL), avail_(size), size_(0), in Mapper()
29 : ptr_(NULL), origin_(MAP_FAILED), avail_(0), size_(0), fd_(-1) {}
32 : ptr_(ptr), origin_(MAP_FAILED), avail_(size), size_(0), fd_(-1) {
39 if (origin_ != NULL) { in ~Mapper()
40 ::UnmapViewOfFile(origin_); in ~Mapper()
53 if (origin_ != MAP_FAILED) { in ~Mapper()
54 ::munmap(origin_, size_); in ~Mapper()
85 temp.origin_ = ::MapViewOfFile(temp.map_, FILE_MAP_READ, 0, 0, 0); in open()
86 MARISA_THROW_IF(temp.origin_ == NULL, MARISA_IO_ERROR); in open()
[all …]
Dmapper.h41 void *origin_; variable