Searched refs:ReadAllOrNone (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fxcodec/gif/ |
D | cfx_gifcontext_unittest.cpp | 20 using CFX_GifContext::ReadAllOrNone; 49 TEST(CFX_GifContext, ReadAllOrNone) { in TEST() argument 56 EXPECT_FALSE(context.ReadAllOrNone(nullptr, 0)); in TEST() 57 EXPECT_FALSE(context.ReadAllOrNone(nullptr, 10)); in TEST() 59 EXPECT_FALSE(context.ReadAllOrNone(dest_buffer.data(), 0)); in TEST() 60 EXPECT_FALSE(context.ReadAllOrNone(dest_buffer.data(), 10)); in TEST() 64 EXPECT_FALSE(context.ReadAllOrNone(dest_buffer.data(), sizeof(src_buffer))); in TEST() 67 EXPECT_FALSE(context.ReadAllOrNone(dest_buffer.data(), sizeof(src_buffer))); in TEST() 69 EXPECT_FALSE(context.ReadAllOrNone(nullptr, sizeof(src_buffer))); in TEST() 70 EXPECT_FALSE(context.ReadAllOrNone(nullptr, 1)); in TEST() [all …]
|
D | cfx_gifcontext.cpp | 72 if (!ReadAllOrNone(&signature, sizeof(signature))) in GetFrame() 97 if (!ReadAllOrNone(&extension, sizeof(extension))) in GetFrame() 131 if (!ReadAllOrNone(&img_data_size, sizeof(img_data_size))) in GetFrame() 145 if (!ReadAllOrNone(&img_data_size, sizeof(img_data_size))) in GetFrame() 230 if (!ReadAllOrNone(&img_data_size, sizeof(img_data_size))) in LoadFrame() 235 if (!ReadAllOrNone(img_data.data(), img_data_size)) { in LoadFrame() 270 if (!ReadAllOrNone(&img_data_size, sizeof(img_data_size))) in LoadFrame() 275 if (!ReadAllOrNone(img_data.data(), img_data_size)) { in LoadFrame() 347 bool CFX_GifContext::ReadAllOrNone(uint8_t* dest, uint32_t size) { in ReadAllOrNone() function in fxcodec::CFX_GifContext 363 if (!ReadAllOrNone(reinterpret_cast<uint8_t*>(&header), 6)) in ReadGifSignature() [all …]
|
D | cfx_gifcontext.h | 67 bool ReadAllOrNone(uint8_t* dest, uint32_t size);
|