TAG_SIZE 72 3rdparty/libwebp/dec/webp.c if (*data_size >= RIFF_HEADER_SIZE && !memcmp(*data, "RIFF", TAG_SIZE)) { TAG_SIZE 73 3rdparty/libwebp/dec/webp.c if (memcmp(*data + 8, "WEBP", TAG_SIZE)) { TAG_SIZE 76 3rdparty/libwebp/dec/webp.c const uint32_t size = get_le32(*data + TAG_SIZE); TAG_SIZE 78 3rdparty/libwebp/dec/webp.c if (size < TAG_SIZE + CHUNK_HEADER_SIZE) { TAG_SIZE 116 3rdparty/libwebp/dec/webp.c if (!memcmp(*data, "VP8X", TAG_SIZE)) { TAG_SIZE 119 3rdparty/libwebp/dec/webp.c const uint32_t chunk_size = get_le32(*data + TAG_SIZE); TAG_SIZE 160 3rdparty/libwebp/dec/webp.c uint32_t total_size = TAG_SIZE + // "WEBP". TAG_SIZE 184 3rdparty/libwebp/dec/webp.c chunk_size = get_le32(buf + TAG_SIZE); TAG_SIZE 201 3rdparty/libwebp/dec/webp.c if (!memcmp(buf, "VP8 ", TAG_SIZE) || TAG_SIZE 202 3rdparty/libwebp/dec/webp.c !memcmp(buf, "VP8L", TAG_SIZE)) { TAG_SIZE 210 3rdparty/libwebp/dec/webp.c if (!memcmp(buf, "ALPH", TAG_SIZE)) { // A valid ALPH header. TAG_SIZE 235 3rdparty/libwebp/dec/webp.c const int is_vp8 = !memcmp(data, "VP8 ", TAG_SIZE); TAG_SIZE 236 3rdparty/libwebp/dec/webp.c const int is_vp8l = !memcmp(data, "VP8L", TAG_SIZE); TAG_SIZE 238 3rdparty/libwebp/dec/webp.c TAG_SIZE + CHUNK_HEADER_SIZE; // "WEBP" + "VP8 nnnn" OR TAG_SIZE 251 3rdparty/libwebp/dec/webp.c const uint32_t size = get_le32(data + TAG_SIZE); TAG_SIZE 327 3rdparty/libwebp/dec/webp.c if (data_size < TAG_SIZE) return VP8_STATUS_NOT_ENOUGH_DATA; TAG_SIZE 331 3rdparty/libwebp/dec/webp.c (!found_riff && !found_vp8x && !memcmp(data, "ALPH", TAG_SIZE))) { TAG_SIZE 408 3rdparty/libwebp/demux/demux.c riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); TAG_SIZE 474 3rdparty/libwebp/demux/demux.c Skip(mem, TAG_SIZE); // VP8X TAG_SIZE 690 3rdparty/libwebp/demux/demux.c if (!memcmp(parser->id, GetBuffer(&dmux->mem_), TAG_SIZE)) { TAG_SIZE 880 3rdparty/libwebp/demux/demux.c if (!memcmp(header, fourcc, TAG_SIZE)) ++count; TAG_SIZE 892 3rdparty/libwebp/demux/demux.c if (!memcmp(header, fourcc, TAG_SIZE)) ++count; TAG_SIZE 48 3rdparty/libwebp/enc/syntax.c PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); TAG_SIZE 70 3rdparty/libwebp/enc/syntax.c PutLE32(vp8x + TAG_SIZE, VP8X_CHUNK_SIZE); TAG_SIZE 89 3rdparty/libwebp/enc/syntax.c PutLE32(alpha_chunk_hdr + TAG_SIZE, enc->alpha_data_size_); TAG_SIZE 112 3rdparty/libwebp/enc/syntax.c PutLE32(vp8_chunk_hdr + TAG_SIZE, (uint32_t)vp8_size); TAG_SIZE 381 3rdparty/libwebp/enc/syntax.c riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8_size; TAG_SIZE 728 3rdparty/libwebp/enc/vp8l.c PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); TAG_SIZE 729 3rdparty/libwebp/enc/vp8l.c PutLE32(riff + RIFF_HEADER_SIZE + TAG_SIZE, (uint32_t)vp8l_size); TAG_SIZE 761 3rdparty/libwebp/enc/vp8l.c const size_t riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8l_size + pad; TAG_SIZE 91 3rdparty/libwebp/mux/muxedit.c if (idx == IDX_UNKNOWN && data->size > TAG_SIZE) { TAG_SIZE 94 3rdparty/libwebp/mux/muxedit.c const WebPData tmp = { data->bytes + TAG_SIZE, data->size - TAG_SIZE }; TAG_SIZE 158 3rdparty/libwebp/mux/muxedit.c if (bitstream->size < TAG_SIZE || TAG_SIZE 159 3rdparty/libwebp/mux/muxedit.c memcmp(bitstream->bytes, "RIFF", TAG_SIZE)) { TAG_SIZE 208 3rdparty/libwebp/mux/muxinternal.c PutLE32(dst + TAG_SIZE, (uint32_t)chunk_size); TAG_SIZE 382 3rdparty/libwebp/mux/muxinternal.c PutLE32(dst + TAG_SIZE, (uint32_t)offset_to_next); TAG_SIZE 429 3rdparty/libwebp/mux/muxinternal.c PutLE32(data + TAG_SIZE, (uint32_t)size - CHUNK_HEADER_SIZE); TAG_SIZE 431 3rdparty/libwebp/mux/muxinternal.c PutLE32(data + TAG_SIZE + CHUNK_SIZE_BYTES, MKFOURCC('W', 'E', 'B', 'P')); TAG_SIZE 64 3rdparty/libwebp/mux/muxread.c if (data_size < TAG_SIZE) return WEBP_MUX_NOT_ENOUGH_DATA; TAG_SIZE 65 3rdparty/libwebp/mux/muxread.c chunk_size = GetLE32(data + TAG_SIZE); TAG_SIZE 176 3rdparty/libwebp/mux/muxread.c if (size < RIFF_HEADER_SIZE + TAG_SIZE) goto Err; TAG_SIZE 185 3rdparty/libwebp/mux/muxread.c riff_size = SizeWithPadding(GetLE32(data + TAG_SIZE)); TAG_SIZE 301 3rdparty/libwebp/mux/muxread.c PutLE32(dst + TAG_SIZE, VP8X_CHUNK_SIZE);