Home
last modified time | relevance | path

Searched refs:avail_ (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdf_dataavail_embeddertest.cpp166 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints)); in TEST_F()
173 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints)); in TEST_F()
178 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F()
179 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints())); in TEST_F()
180 document_ = FPDFAvail_GetDocument(avail_, nullptr); in TEST_F()
182 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsPageAvail(avail_, 1, loader.hints())); in TEST_F()
192 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F()
193 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints())); in TEST_F()
194 document_ = FPDFAvail_GetDocument(avail_, nullptr); in TEST_F()
205 status = FPDFAvail_IsFormAvail(avail_, loader.hints()); in TEST_F()
[all …]
Dfpdf_dataavail.cpp55 explicit FPDF_FileAvailContext(FX_FILEAVAIL* avail) : avail_(avail) {} in FPDF_FileAvailContext()
60 return !!avail_->IsDataAvail(avail_, offset, size); in IsDataAvail()
64 FX_FILEAVAIL* const avail_; member in __anonbc173ff40111::FPDF_FileAvailContext
Dfpdf_view_embeddertest.cpp721 ret = FPDFAvail_IsDocAvail(avail_, &hints); in TEST_F()
/external/marisa-trie/lib/marisa/grimoire/io/
Dmapper.cc21 : ptr_(NULL), origin_(NULL), avail_(0), size_(0), in Mapper()
25 : ptr_(NULL), origin_(MAP_FAILED), avail_(0), size_(0), fd_(-1) {}
72 MARISA_THROW_IF(size > avail_, MARISA_IO_ERROR); in seek()
87 marisa::swap(avail_, rhs.avail_); in swap()
100 MARISA_THROW_IF(size > avail_, MARISA_IO_ERROR); in map_data()
104 avail_ -= size; in map_data()
136 avail_ = size_; in open_()
152 avail_ = size_; in open_()
158 avail_ = size; in open_()
Dmapper.h44 std::size_t avail_; variable
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator_embeddertest.cpp72 avail_ = FPDFAvail_Create(fake_acc.GetFileAvail(), fake_acc.GetFileAccess()); in TEST_F()
74 FPDFAvail_IsDocAvail(avail_, fake_acc.GetDownloadHints())) { in TEST_F()
78 document_ = FPDFAvail_GetDocument(avail_, nullptr); in TEST_F()
83 FPDFAvail_IsPageAvail(avail_, 1, fake_acc.GetDownloadHints())) { in TEST_F()
/external/marisa-trie/lib/marisa/
Dkeyset.cc11 ptr_(NULL), avail_(0), size_(0), total_length_(0) {} in Keyset()
80 avail_ = 0; in reset()
100 marisa::swap(avail_, rhs.avail_); in swap()
114 if (size > avail_) { in reserve()
118 avail_ -= size; in reserve()
142 avail_ = BASE_BLOCK_SIZE; in append_base_block()
/external/marisa-trie/include/marisa/
Dkeyset.h63 std::size_t avail_; variable
/external/pdfium/testing/
Dembedder_test.cpp94 FPDFAvail_Destroy(avail_); in TearDown()
163 fake_file_access_.get(), &document_, &avail_, in OpenDocumentWithOptions()
277 (void)FPDFAvail_IsPageAvail(avail_, first_page, in GetFirstPageNum()
285 (void)FPDFAvail_IsPageAvail(avail_, i, in GetPageCount()
Dembedder_test.h253 FPDF_AVAIL avail_ = nullptr; variable