Lines Matching defs:buffer
362 * Tells if the content of `buffer` starts with a valid Frame Identifier.
366 unsigned ZSTD_isFrame(const void* buffer, size_t size)
369 { U32 const magic = MEM_readLE32(buffer);
377 * Tells if the content of `buffer` starts with a valid Frame Identifier for a skippable frame.
380 unsigned ZSTD_isSkippableFrame(const void* buffer, size_t size)
383 { U32 const magic = MEM_readLE32(buffer);
551 * Retrieves a zstd skippable frame containing data given by src, and writes it to dst buffer.
557 * Returns an error if destination buffer is not large enough, or if the frame is not skippable.
879 * literals in the output buffer, after the block it is decompressing.
1254 dctx->expected = MEM_readLE32(dctx->headerBuffer + ZSTD_FRAMEIDSIZE); /* note : dctx->expected can grow seriously large, beyond local buffer size */
1826 /* Checks that the output buffer hasn't changed if ZSTD_obm_stable is used. */
1833 /* Any buffer is allowed in zdss_init, this must be the same for every other call until
1838 /* The buffer must match our expectation exactly. */
1845 * and updates the stage and the output buffer state. This call is extracted so it can be
1865 /* Write directly into the output buffer */
1960 /* Check output buffer is large enough for ZSTD_odm_stable. */
1981 /* control buffer memory usage */
1989 /* Adapt buffer sizes to frame header instructions */
2099 /* Update the expected output buffer for ZSTD_obm_stable. */