Lines Matching refs:unlikely
181 #ifndef unlikely
182 #define unlikely(expr) expect((expr) != 0, 0) macro
1015 if (unlikely(forwardIp > mflimitPlusOne)) goto _last_literals; in LZ4_compress_generic_validated()
1040 if (unlikely(forwardIp > mflimitPlusOne)) goto _last_literals; in LZ4_compress_generic_validated()
1092 if ((match > lowLimit) && unlikely(ip[-1] == match[-1])) { in LZ4_compress_generic_validated()
1093 …do { ip--; match--; } while (((ip > anchor) & (match > lowLimit)) && (unlikely(ip[-1] == match[-1]… in LZ4_compress_generic_validated()
1100 (unlikely(op + litLength + (2 + 1 + LASTLITERALS) + (litLength/255) > olimit)) ) { in LZ4_compress_generic_validated()
1104 …(unlikely(op + (litLength+240)/255 /* litlen */ + litLength /* literals */ + 2 /* offset */ + 1 /*… in LZ4_compress_generic_validated()
1173 (unlikely(op + (1 + LASTLITERALS) + (matchCode+240)/255 > olimit)) ) { in LZ4_compress_generic_validated()
1180 if (unlikely(ip <= filledIp)) { in LZ4_compress_generic_validated()
1934 if (initial_check && unlikely((*ip) >= ilimit)) { /* read limit reached */ in read_variable_length()
1941 if (unlikely((*ip) > ilimit)) { /* read limit reached */ in read_variable_length()
1945 if ((sizeof(length)<8) && unlikely(length > ((Rvl_t)(-1)/2)) ) { in read_variable_length()
2001 if (unlikely(outputSize==0)) { in LZ4_decompress_generic()
2006 if (unlikely(srcSize==0)) { return -1; } in LZ4_decompress_generic()
2035 … if (unlikely((uptrval)(op)+length<(uptrval)(op))) { goto _output_error; } /* overflow detection */ in LZ4_decompress_generic()
2036 … if (unlikely((uptrval)(ip)+length<(uptrval)(ip))) { goto _output_error; } /* overflow detection */ in LZ4_decompress_generic()
2070 … if (unlikely((uptrval)(op)+length<(uptrval)op)) { goto _output_error; } /* overflow detection */ in LZ4_decompress_generic()
2094 if ( checkOffset && (unlikely(match + dictSize < lowPrefix)) ) { in LZ4_decompress_generic()
2101 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()
2135 if (unlikely(offset<16)) { in LZ4_decompress_generic()
2199 … if (unlikely((uptrval)(op)+length<(uptrval)(op))) { goto _output_error; } /* overflow detection */ in LZ4_decompress_generic()
2200 … if (unlikely((uptrval)(ip)+length<(uptrval)(ip))) { goto _output_error; } /* overflow detection */ in LZ4_decompress_generic()
2278 … if (unlikely((uptrval)(op)+length<(uptrval)op)) goto _output_error; /* overflow detection */ in LZ4_decompress_generic()
2285 …if ((checkOffset) && (unlikely(match + dictSize < lowPrefix))) goto _output_error; /* Error : of… in LZ4_decompress_generic()
2289 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()
2335 if (unlikely(offset<8)) { in LZ4_decompress_generic()
2350 if (unlikely(cpy > oend-MATCH_SAFEGUARD_DISTANCE)) { in LZ4_decompress_generic()