Lines Matching refs:MemDataSize
127 static WEBP_INLINE size_t MemDataSize(const MemBuffer* const mem) { in MemDataSize() function
206 int done = (MemDataSize(mem) < min_size); in StoreFrame()
218 const size_t payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()
219 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()
224 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()
279 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in StoreFrame()
296 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
402 if (MemDataSize(mem) < min_size) return 0; in ReadHeader()
431 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ParseSingleImage()
471 if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; in ParseVP8X()
480 if (MemDataSize(mem) < vp8x_size) return PARSE_NEED_MORE_DATA; in ParseVP8X()
493 if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; in ParseVP8X()
522 if (MemDataSize(mem) < chunk_size_padded) { in ParseVP8X()
560 if (chunk_size_padded <= MemDataSize(mem)) { in ParseVP8X()
578 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in ParseVP8X()