Home
last modified time | relevance | path

Searched refs:sizeToWrite (Results 1 – 7 of 7) sorted by relevance

/external/zstd/contrib/seekable_format/examples/
Dseekable_decompression.c60 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()
Dseekable_decompression_mem.c62 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()
Dseekable_compression.c46 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()
Dparallel_processing.c73 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()
Dparallel_compression.c59 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/
Dcommon.h146 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/
DVkImage.cpp1324 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()