Lines Matching defs:buffer

245 #define MATCH_SAFEGUARD_DISTANCE  ((2*WILDCOPYLENGTH) - MINMATCH)   /* ensure it's possible to write 2 x wildcopyLength without overflowing output buffer */
1085 if ((outputDirective == limitedOutput) && /* Check output buffer overflow */
1158 if ((outputDirective) && /* Check output buffer overflow */
1269 if ( (outputDirective) && /* Check output buffer overflow */
1374 * to call if the state buffer is known to be correctly initialized already
1507 LZ4_stream_t* LZ4_initStream (void* buffer, size_t size)
1510 if (buffer == NULL) { return NULL; }
1512 if (!LZ4_isAligned(buffer, LZ4_stream_t_alignment())) return NULL;
1513 MEM_INIT(buffer, 0, sizeof(LZ4_stream_t_internal));
1514 return (LZ4_stream_t*)buffer;
1788 * - Does not know input size (presume input buffer is "large enough")
1823 if ((size_t)(oend-op) < ll) return -1; /* output buffer overflow */
1846 if ((size_t)(oend-op) < ml) return -1; /* output buffer overflow */
1979 /* Empty output buffer */
2179 * In partialDecoding scenario, it's necessary to ensure there is no buffer overflow.
2183 * restriction, which is not valid since the output buffer is allowed to be undersized.
2206 * so check that we exactly consume the input and don't overrun the output buffer.
2220 * filled the output buffer or
2498 * when setting a ring buffer for streaming decompression (optional scenario),
2499 * provides the minimum size of this ring buffer
2501 * Note : in a ring buffer scenario,
2504 * decoding resumes from beginning of ring buffer.
2505 * @return : minimum ring buffer size,
2520 If it's not possible, save the relevant part of decoded data into a safe buffer,
2550 /* The buffer wraps around, or they're switching to another buffer. */