Lines Matching refs:assert
245 #ifndef assert
246 #define assert(condition) ((void)0) macro
469 assert(srcPtr + offset == dstPtr); in LZ4_memcpy_using_offset_base()
519 assert(dstEnd >= dstPtr + MINMATCH); in LZ4_memcpy_using_offset()
555 assert(val != 0); in LZ4_NbCommonBytes()
954 assert(0); in LZ4_clearHash()
986 assert(0); in LZ4_putIndexOnHash()
998 assert(idx < 65536); in LZ4_putIndexOnHash()
1013 assert(0); in LZ4_putPositionOnHash()
1055 assert(h < (1U << (LZ4_MEMORY_USAGE - 2))); in LZ4_getIndexOnHash()
1061 assert(h < (1U << (LZ4_MEMORY_USAGE - 1))); in LZ4_getIndexOnHash()
1064 assert(0); in LZ4_getIndexOnHash()
1106 assert(inputSize >= 0); in LZ4_prepareTable()
1189 assert(ip != NULL); in LZ4_compress_generic_validated()
1201 assert(dictDirective == noDict); /* only supported use case with byPtr */ in LZ4_compress_generic_validated()
1202 assert(acceleration >= 1); in LZ4_compress_generic_validated()
1251 assert(ip < mflimitPlusOne); in LZ4_compress_generic_validated()
1270 assert(matchIndex <= current); in LZ4_compress_generic_validated()
1271 assert(forwardIp - base < (ptrdiff_t)(2 GB - 1)); in LZ4_compress_generic_validated()
1278 assert(ip < mflimitPlusOne); in LZ4_compress_generic_validated()
1285 assert(tableType == byU32); in LZ4_compress_generic_validated()
1302 assert(startIndex - matchIndex >= MINMATCH); in LZ4_compress_generic_validated()
1324 assert(matchIndex < current); in LZ4_compress_generic_validated()
1329 … assert((current - matchIndex) <= LZ4_DISTANCE_MAX); /* match now expected within distance */ in LZ4_compress_generic_validated()
1403 assert(offset <= LZ4_DISTANCE_MAX && offset > 0); in LZ4_compress_generic_validated()
1410 assert(ip - match <= LZ4_DISTANCE_MAX); in LZ4_compress_generic_validated()
1422 assert(dictEnd > match); in LZ4_compress_generic_validated()
1450 assert(newMatchCode < matchCode); in LZ4_compress_generic_validated()
1470 assert(outputDirective == limitedOutput); in LZ4_compress_generic_validated()
1492 assert(!(outputDirective == fillOutput && op + 1 + LASTLITERALS > olimit)); in LZ4_compress_generic_validated()
1522 assert(matchIndex < current); in LZ4_compress_generic_validated()
1557 assert(matchIndex < current); in LZ4_compress_generic_validated()
1584 assert(olimit >= op); in LZ4_compress_generic_validated()
1590 assert(outputDirective == limitedOutput); in LZ4_compress_generic_validated()
1617 assert(result > 0); in LZ4_compress_generic_validated()
1651 assert(outputDirective == notLimited || dstCapacity >= 1); in LZ4_compress_generic()
1652 assert(dst != NULL); in LZ4_compress_generic()
1656 assert(inputConsumed != NULL); in LZ4_compress_generic()
1661 assert(src != NULL); in LZ4_compress_generic()
1672 assert(ctx != NULL); in LZ4_compress_fast_extState()
1796 assert(s != NULL); in LZ4_compress_destSize_extState()
1982 assert(nextSize >= 0); in LZ4_renormDictT()
2141 assert(dictSize == 0); in LZ4_saveDict()
2261 assert(lowPrefix <= op); in LZ4_decompress_generic()
2290 assert(oend - op >= FASTLOOP_SAFE_DISTANCE); in LZ4_decompress_generic()
2293 assert(ip < iend); in LZ4_decompress_generic()
2298 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
2373 assert(match <= op); in LZ4_decompress_generic()
2413 assert(match >= lowPrefix); in LZ4_decompress_generic()
2414 assert(match <= op); in LZ4_decompress_generic()
2415 assert(op + 18 <= oend); in LZ4_decompress_generic()
2480 assert((op <= oend) && (oend - op >= 32)); in LZ4_decompress_generic()
2501 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
2527 assert(match <= op); /* check overflow */ in LZ4_decompress_generic()
2583 assert(endOnInput); in LZ4_decompress_generic()
2602 assert(op <= oend); in LZ4_decompress_generic()
2710 assert(match >= lowPrefix); in LZ4_decompress_generic()
2716 assert(op <= oend); in LZ4_decompress_generic()
2974 assert(lz4sd->extDictSize == 0); in LZ4_decompress_safe_continue()
3018 assert(originalSize >= 0); in LZ4_decompress_fast_continue()
3022 assert(lz4sd->extDictSize == 0); in LZ4_decompress_fast_continue()
3073 assert(dictSize >= 0); in LZ4_decompress_safe_usingDict()
3076 assert(dictSize >= 0); in LZ4_decompress_safe_usingDict()
3084 assert(dictSize >= 0); in LZ4_decompress_fast_usingDict()