Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/programs/
H A Dfileio.c3171 #define ERROR_IF(c,n,...) { \ macro
3193 ERROR_IF(file_position != file_size, info_truncated_input, in FIO_analyzeFrames()
3199ERROR_IF(feof(srcFile), info_not_zstd, "Error: reached end of file with incomplete frame"); in FIO_analyzeFrames()
3200 ERROR_IF(1, info_frame_error, "Error: did not reach end of file but ran out of frames"); in FIO_analyzeFrames()
3213 ERROR_IF(ZSTD_getFrameHeader(&header, headerBuffer, numBytesRead) != 0, in FIO_analyzeFrames()
3224ERROR_IF(ZSTD_isError(headerSize), info_frame_error, "Error: could not determine frame header size… in FIO_analyzeFrames()
3225 ERROR_IF(fseek(srcFile, ((long)headerSize)-((long)numBytesRead), SEEK_CUR) != 0, in FIO_analyzeFrames()
3233 ERROR_IF(fread(blockHeaderBuffer, 1, 3, srcFile) != 3, in FIO_analyzeFrames()
3240ERROR_IF(isWrongBlock, info_frame_error, "Error: unsupported block type"); in FIO_analyzeFrames()
3242 ERROR_IF(fseek(srcFile, blockSize, SEEK_CUR) != 0, in FIO_analyzeFrames()
[all …]