Home
last modified time | relevance | path

Searched refs:expanded_size (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc104 size_t expanded_size = std::max(current_size * 3 / 2, current_size + 1); in PutRTPPacket() local
105 expanded_size = std::min(expanded_size, kMaxHistoryCapacity); in PutRTPPacket()
106 Allocate(expanded_size); in PutRTPPacket()
/external/syslinux/com32/lib/libpng/
Dpngrutil.c334 png_size_t expanded_size = png_inflate(png_ptr, in png_decompress_chunk() local
344 (prefix_size + expanded_size >= png_ptr->user_chunk_malloc_max - 1)) in png_decompress_chunk()
348 prefix_size + expanded_size >= PNG_USER_CHUNK_MALLOC_MAX - 1) in png_decompress_chunk()
362 if (expanded_size > 0) in png_decompress_chunk()
367 prefix_size + expanded_size + 1); in png_decompress_chunk()
375 (png_bytep)(text + prefix_size), expanded_size); in png_decompress_chunk()
376 text[prefix_size + expanded_size] = 0; /* just in case */ in png_decompress_chunk()
378 if (new_size == expanded_size) in png_decompress_chunk()
382 *newlength = prefix_size + expanded_size; in png_decompress_chunk()