Searched refs:SizeIsInvalid (Results 1 – 1 of 1) sorted by relevance
130 static WEBP_INLINE int SizeIsInvalid(const MemBuffer* const mem, size_t size) { in SizeIsInvalid() function230 if (SizeIsInvalid(mem, payload_size_padded)) return PARSE_ERROR; in StoreFrame()297 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame()405 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage()457 if (SizeIsInvalid(mem, chunk_size_padded)) return PARSE_ERROR; in ParseVP8XChunks()546 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X()559 if (SizeIsInvalid(mem, CHUNK_HEADER_SIZE)) return PARSE_ERROR; in ParseVP8X()