Lines Matching refs:ret
410 int ret = deflateInit2(&strm, level, METHOD, WINDOWBITS, MEMLEVEL, STRATEGY); in TryReconstruction() local
411 if (ret < 0) { in TryReconstruction()
412 LOG(ERROR) << "Failed to initialize deflate: " << ret; in TryReconstruction()
421 ret = deflate(&strm, Z_FINISH); in TryReconstruction()
422 if (ret < 0) { in TryReconstruction()
423 LOG(ERROR) << "Failed to deflate: " << ret; in TryReconstruction()
434 } while (ret != Z_STREAM_END); in TryReconstruction()
678 int ret = StartIteration(handle, &cookie); in InitializeChunks() local
679 if (ret != 0) { in InitializeChunks()
680 LOG(ERROR) << "Failed to iterate over entries in " << filename << ": " << ErrorCodeString(ret); in InitializeChunks()
688 while ((ret = Next(cookie, &entry, &name)) == 0) { in InitializeChunks()
694 if (ret != -1) { in InitializeChunks()
695 LOG(ERROR) << "Error while iterating over zip entries: " << ErrorCodeString(ret); in InitializeChunks()
805 int ret = ExtractToMemory(handle, entry, uncompressed_data.data(), uncompressed_len); in AddZipEntryToChunks() local
806 if (ret != 0) { in AddZipEntryToChunks()
808 << ErrorCodeString(ret); in AddZipEntryToChunks()
1308 int ret = inflateInit2(&strm, -15); in Initialize() local
1309 if (ret < 0) { in Initialize()
1310 LOG(ERROR) << "Failed to initialize inflate: " << ret; in Initialize()
1320 ret = inflate(&strm, Z_NO_FLUSH); in Initialize()
1321 if (ret < 0) { in Initialize()
1331 } while (ret != Z_STREAM_END); in Initialize()
1336 if (ret < 0) { in Initialize()