Home
last modified time | relevance | path

Searched refs:avail_ (Results 1 – 7 of 7) 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) {
128 Swap(&avail_, &rhs->avail_); in swap()
146 avail_ = (std::size_t)(size_ - offset); in seek()
153 avail_ = (std::size_t)-offset; in seek()
164 MARISA_ALPHA_THROW_IF(size > avail_, MARISA_ALPHA_IO_ERROR); in map_data()
166 avail_ -= size; in map_data()
Dmapper.h43 std::size_t avail_; 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) {
124 Swap(&avail_, &rhs->avail_); in swap()
142 avail_ = (std::size_t)(size_ - offset); in seek()
149 avail_ = (std::size_t)-offset; in seek()
160 MARISA_THROW_IF(size > avail_, MARISA_IO_ERROR); in map_data()
162 avail_ -= size; in map_data()
Dmapper.h42 std::size_t avail_; variable
/external/pdfium/testing/
Dembedder_test.cpp128 avail_(nullptr), in EmbedderTest()
177 FPDFAvail_Destroy(avail_); in TearDown()
202 avail_ = FPDFAvail_Create(&file_avail_, &file_access_); in OpenDocument()
203 (void) FPDFAvail_IsDocAvail(avail_, &hints_); in OpenDocument()
205 if (!FPDFAvail_IsLinearized(avail_)) { in OpenDocument()
208 document_ = FPDFAvail_GetDocument(avail_, nullptr); in OpenDocument()
212 (void) FPDFAvail_IsFormAvail(avail_, &hints_); in OpenDocument()
240 (void) FPDFAvail_IsPageAvail(avail_, first_page, &hints_); in GetFirstPageNum()
247 (void) FPDFAvail_IsPageAvail(avail_, i, &hints_); in GetPageCount()
Dembedder_test.h86 FPDF_AVAIL avail_; variable
/external/pdfium/fpdfsdk/src/
Dfpdf_dataavail_embeddertest.cpp16 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints_)); in TEST_F()
22 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints_)); in TEST_F()