Lines Matching defs:assert

268 #  include <assert.h>
270 # ifndef assert
271 # define assert(condition) ((void)0)
477 assert(srcPtr + offset == dstPtr);
518 assert(dstEnd >= dstPtr + MINMATCH);
560 assert(val != 0);
787 case clearedTable: { /* illegal! */ assert(0); return; }
800 case byPtr: { /* illegal! */ assert(0); return; }
802 case byU16: { U16* hashTable = (U16*) tableBase; assert(idx < 65536); hashTable[h] = (U16)idx; return; }
812 case clearedTable: { /* illegal! */ assert(0); return; }
836 assert(h < (1U << (LZ4_MEMORY_USAGE-2)));
841 assert(h < (1U << (LZ4_MEMORY_USAGE-1)));
844 assert(0); return 0; /* forbidden case */
872 assert(inputSize >= 0);
959 assert(ip != NULL);
964 if (tableType==byPtr) assert(dictDirective==noDict); /* only supported use case with byPtr */
965 assert(acceleration >= 1);
1005 assert(ip < mflimitPlusOne);
1023 assert(matchIndex <= current);
1024 assert(forwardIp - base < (ptrdiff_t)(2 GB - 1));
1030 assert(ip < mflimitPlusOne);
1035 assert(tableType == byU32);
1047 assert(startIndex - matchIndex >= MINMATCH);
1048 assert(dictBase);
1063 assert(matchIndex < current);
1068 assert((current - matchIndex) <= LZ4_DISTANCE_MAX); /* match now expected within distance */
1128 assert(offset <= LZ4_DISTANCE_MAX && offset > 0);
1132 assert(ip-match <= LZ4_DISTANCE_MAX);
1142 assert(dictEnd > match);
1164 assert(newMatchCode < matchCode);
1180 assert(outputDirective == limitedOutput);
1199 assert(!(outputDirective == fillOutput && op + 1 + LASTLITERALS > olimit));
1223 assert(matchIndex < current);
1237 assert(dictBase);
1248 assert(matchIndex < current);
1273 assert(olimit >= op);
1277 assert(outputDirective == limitedOutput);
1299 assert(result > 0);
1328 assert(outputDirective == notLimited || dstCapacity >= 1);
1329 assert(dst != NULL);
1332 assert (inputConsumed != NULL);
1337 assert(src != NULL);
1349 assert(ctx != NULL);
1447 assert(s != NULL); (void)s;
1614 assert(nextSize >= 0);
1748 if (safeBuffer == NULL) assert(dictSize == 0);
1751 assert(dict->dictionary);
1811 if (dictStart == NULL) assert(dictSize == 0);
1908 assert(ip != NULL);
1909 assert(*ip != NULL);
1910 assert(ilimit != NULL);
1977 assert(lowPrefix <= op);
1998 assert(oend - op >= FASTLOOP_SAFE_DISTANCE);
1999 assert(ip < iend);
2030 assert(match <= op); /* overflow check */
2054 assert(match >= lowPrefix);
2055 assert(match <= op);
2056 assert(op + 18 <= oend);
2068 assert(dictEnd != NULL);
2101 assert((op <= oend) && (oend-op >= 32));
2115 assert(ip < iend);
2140 assert(match <= op); /* check overflow */
2201 assert(op<=oend);
2253 assert(dictEnd != NULL);
2279 assert(match >= lowPrefix);
2285 assert(op<=oend);
2487 assert(dictionary != NULL);
2531 assert(lz4sd->extDictSize == 0);
2568 (assert(LZ4_streamDecode!=NULL), &LZ4_streamDecode->internal_donotuse);
2572 assert(originalSize >= 0);
2576 assert(lz4sd->extDictSize == 0);
2620 assert(dictSize >= 0);
2623 assert(dictSize >= 0);
2635 assert(dictSize >= 0);
2638 assert(dictSize >= 0);
2648 assert(dictSize >= 0);