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.c2945 #define ERROR_IF(c,n,...) { \ macro
2967 ERROR_IF(file_position != file_size, info_truncated_input, in FIO_analyzeFrames()
2973ERROR_IF(feof(srcFile), info_not_zstd, "Error: reached end of file with incomplete frame"); in FIO_analyzeFrames()
2974 ERROR_IF(1, info_frame_error, "Error: did not reach end of file but ran out of frames"); in FIO_analyzeFrames()
2987 ERROR_IF(ZSTD_getFrameHeader(&header, headerBuffer, numBytesRead) != 0, in FIO_analyzeFrames()
2992ERROR_IF(ZSTD_isError(headerSize), info_frame_error, "Error: could not determine frame header size… in FIO_analyzeFrames()
2993 ERROR_IF(fseek(srcFile, ((long)headerSize)-((long)numBytesRead), SEEK_CUR) != 0, in FIO_analyzeFrames()
3001 ERROR_IF(fread(blockHeaderBuffer, 1, 3, srcFile) != 3, in FIO_analyzeFrames()
3008ERROR_IF(isWrongBlock, info_frame_error, "Error: unsupported block type"); in FIO_analyzeFrames()
3010 ERROR_IF(fseek(srcFile, blockSize, SEEK_CUR) != 0, in FIO_analyzeFrames()
[all …]