Searched refs:sizeToWrite (Results 1 – 7 of 7) sorted by relevance
/external/zstd/contrib/seekable_format/examples/ |
D | seekable_decompression.c | 60 static size_t fwrite_orDie(const void* buffer, size_t sizeToWrite, FILE* file) in fwrite_orDie() argument 62 size_t const writtenSize = fwrite(buffer, 1, sizeToWrite, file); in fwrite_orDie() 63 if (writtenSize == sizeToWrite) return sizeToWrite; /* good */ in fwrite_orDie()
|
D | seekable_decompression_mem.c | 62 static size_t fwrite_orDie(const void* buffer, size_t sizeToWrite, FILE* file) in fwrite_orDie() argument 64 size_t const writtenSize = fwrite(buffer, 1, sizeToWrite, file); in fwrite_orDie() 65 if (writtenSize == sizeToWrite) return sizeToWrite; /* good */ in fwrite_orDie()
|
D | seekable_compression.c | 46 static size_t fwrite_orDie(const void* buffer, size_t sizeToWrite, FILE* file) in fwrite_orDie() argument 48 size_t const writtenSize = fwrite(buffer, 1, sizeToWrite, file); in fwrite_orDie() 49 if (writtenSize == sizeToWrite) return sizeToWrite; /* good */ in fwrite_orDie()
|
D | parallel_processing.c | 73 static size_t fwrite_orDie(const void* buffer, size_t sizeToWrite, FILE* file) in fwrite_orDie() argument 75 size_t const writtenSize = fwrite(buffer, 1, sizeToWrite, file); in fwrite_orDie() 76 if (writtenSize == sizeToWrite) return sizeToWrite; /* good */ in fwrite_orDie()
|
D | parallel_compression.c | 59 static size_t fwrite_orDie(const void* buffer, size_t sizeToWrite, FILE* file) in fwrite_orDie() argument 61 size_t const writtenSize = fwrite(buffer, 1, sizeToWrite, file); in fwrite_orDie() 62 if (writtenSize == sizeToWrite) return sizeToWrite; /* good */ in fwrite_orDie()
|
/external/zstd/examples/ |
D | common.h | 146 static size_t fwrite_orDie(const void* buffer, size_t sizeToWrite, FILE* file) in fwrite_orDie() argument 148 size_t const writtenSize = fwrite(buffer, 1, sizeToWrite, file); in fwrite_orDie() 149 if (writtenSize == sizeToWrite) return sizeToWrite; /* good */ in fwrite_orDie()
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 1324 size_t sizeToWrite = 0; in decodeETC2() local 1335 sizeToWrite = ((mipLevelExtent.height - 1) * pitchB) + (mipLevelExtent.width * bytes); in decodeETC2() 1345 ASSERT((dest + sizeToWrite) < decompressedImage->end()); in decodeETC2() 1346 memset(dest, 0xFF, sizeToWrite); in decodeETC2()
|