Lines Matching defs:size
47 * doesn't change the size of the data, it is enough to calculate the
50 * LZMA2 stores the data in chunks. Each chunk has a header whose size is
52 * the maximum chunk header size is 8 bytes. After the chunk header, there
57 * The maximum uncompressed size of the payload is 2 MiB. The minimum
58 * uncompressed size of the payload is in practice never less than the
59 * payload size itself. The LZMA2 format would allow uncompressed size
60 * to be less than the payload size, but no sane compressor creates such
62 * so there's never a need to create payloads whose uncompressed size is
63 * smaller than the compressed size.
65 * The assumption, that the uncompressed size of the payload is never
75 * - 8 bytes per every 32 KiB of uncompressed size (one LZMA2 chunk header
76 * per chunk, each chunk having average payload size of 32 KiB); and
77 * - 64 KiB (biggest possible LZMA2 chunk payload size) to make sure that
157 #define kmalloc(size, flags) malloc(size)
159 #define vmalloc(size) malloc(size)
177 static bool memeq(const void *a, const void *b, size_t size)
183 for (i = 0; i < size; ++i)
192 static void memzero(void *buf, size_t size)
195 uint8_t *e = b + size;
204 void *memmove(void *dest, const void *src, size_t size)
211 for (i = 0; i < size; ++i)
214 i = size;
252 int (*fill)(void *dest, unsigned int size),
253 int (*flush)(void *src, unsigned int size),