Searched refs:guess_size (Results 1 – 1 of 1) sorted by relevance
627 FX_DWORD guess_size = orig_size ? orig_size : src_size * 2; in FlateUncompress() local631 if (guess_size > kMaxInitialAllocSize) { in FlateUncompress()632 guess_size = kMaxInitialAllocSize; in FlateUncompress()635 FX_DWORD buf_size = guess_size; in FlateUncompress()645 FX_Alloc(uint8_t, guess_size + 1)); in FlateUncompress()646 guess_buf.get()[guess_size] = '\0'; in FlateUncompress()661 FX_DWORD old_size = guess_size; in FlateUncompress()662 guess_size += alloc_step; in FlateUncompress()663 if (guess_size < old_size || guess_size + 1 < guess_size) { in FlateUncompress()670 FX_Realloc(uint8_t, guess_buf.release(), guess_size + 1); in FlateUncompress()[all …]