Home
last modified time | relevance | path

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

/lib/lz4/
A Dlz4_decompress.c122 const BYTE *match; in LZ4_decompress_generic() local
166 match = op - offset; in LZ4_decompress_generic()
290 match = op - offset; in LZ4_decompress_generic()
394 *op++ = *match++; in LZ4_decompress_generic()
405 op[0] = match[0]; in LZ4_decompress_generic()
406 op[1] = match[1]; in LZ4_decompress_generic()
407 op[2] = match[2]; in LZ4_decompress_generic()
408 op[3] = match[3]; in LZ4_decompress_generic()
413 LZ4_copy8(op, match); in LZ4_decompress_generic()
414 match += 8; in LZ4_decompress_generic()
[all …]
A Dlz4_compress.c245 const BYTE *match; in LZ4_compress_generic() local
283 ? (match < lowRefLimit) in LZ4_compress_generic()
287 : (match + MAX_DISTANCE < ip)) in LZ4_compress_generic()
296 match--; in LZ4_compress_generic()
341 match += refDelta; in LZ4_compress_generic()
348 match + MINMATCH, limit); in LZ4_compress_generic()
416 && (match + MAX_DISTANCE >= ip) in LZ4_compress_generic()
568 const BYTE *match; in LZ4_compress_destSize_generic() local
603 && (match > lowLimit) in LZ4_compress_destSize_generic()
606 match--; in LZ4_compress_destSize_generic()
[all …]
A Dlz4hc_compress.c125 const BYTE * const match = base + matchIndex; in LZ4HC_InsertAndFindBestMatch() local
127 if (*(match + ml) == *(ip + ml) in LZ4HC_InsertAndFindBestMatch()
128 && (LZ4_read32(match) == LZ4_read32(ip))) { in LZ4HC_InsertAndFindBestMatch()
130 match + MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
134 *matchpos = match; in LZ4HC_InsertAndFindBestMatch()
138 const BYTE * const match = dictBase + matchIndex; in LZ4HC_InsertAndFindBestMatch() local
140 if (LZ4_read32(match) == LZ4_read32(ip)) { in LZ4HC_InsertAndFindBestMatch()
148 match + MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
266 const BYTE * const match, in LZ4HC_encodeSequence() argument
299 LZ4_writeLE16(*op, (U16)(*ip - match)); in LZ4HC_encodeSequence()
/lib/zlib_deflate/
A Ddeflate.c612 match = s->window + cur_match; in longest_match()
634 scan++, match++; in longest_match()
645 if (*scan == *match) scan++; in longest_match()
652 if (match[best_len] != scan_end || in longest_match()
663 scan += 2, match++; in longest_match()
670 } while (*++scan == *++match && *++scan == *++match && in longest_match()
671 *++scan == *++match && *++scan == *++match && in longest_match()
672 *++scan == *++match && *++scan == *++match && in longest_match()
673 *++scan == *++match && *++scan == *++match && in longest_match()
708 IPos match, in check_match() argument
[all …]
/lib/
A Dglob.c73 bool match = false, inverted = (*pat == '!'); in glob_match() local
97 match |= (a <= c && c <= b); in glob_match()
100 if (match == inverted) in glob_match()
A Dglobtest.c21 bool match = glob_match(pat, str); in test() local
22 bool success = match == expected; in test()
39 printk(message, pat, str, mismatch + 3*match); in test()
A DKconfig38 Drivers may use these helpers to match the bit indices as described
A Dtest_bpf.c2328 bool match = __bpf_match_jmp_cond(dst, (s32)imm, op); in __bpf_emit_jmp_imm() local
2331 insns[i++] = BPF_ALU32_IMM(BPF_MOV, R0, match); in __bpf_emit_jmp_imm()
2335 if (!match) in __bpf_emit_jmp_imm()
2351 bool match = __bpf_match_jmp_cond((s32)dst, (s32)imm, op); in __bpf_emit_jmp32_imm() local
2356 if (!match) in __bpf_emit_jmp32_imm()
2372 bool match = __bpf_match_jmp_cond(dst, src, op); in __bpf_emit_jmp_reg() local
2378 if (!match) in __bpf_emit_jmp_reg()
2394 bool match = __bpf_match_jmp_cond((s32)dst, (s32)src, op); in __bpf_emit_jmp32_reg() local
2400 if (!match) in __bpf_emit_jmp32_reg()
A DKconfig.debug423 For modules whose split BTF does not match vmlinux, load without
/lib/zstd/compress/
A Dzstd_lazy.c92 const BYTE* match; in ZSTD_insertDUBT1() local
123 match = mBase + matchIndex; in ZSTD_insertDUBT1()
328 const BYTE* match; in ZSTD_DUBT_findBestMatch() local
558 const BYTE* match; in ZSTD_dedicatedDictSearch_lazy_search() local
560 match = ddsBase + matchIndex; in ZSTD_dedicatedDictSearch_lazy_search()
569 assert(match+4 <= ddsEnd); in ZSTD_dedicatedDictSearch_lazy_search()
600 const BYTE* match; in ZSTD_dedicatedDictSearch_lazy_search() local
606 assert(match+4 <= ddsEnd); in ZSTD_dedicatedDictSearch_lazy_search()
755 assert(match+4 <= dmsEnd); in ZSTD_HcFindBestMatch()
1718 …while ((start>anchor) && (match>mStart) && (start[-1] == match[-1])) { start--; match--; matchLeng… in ZSTD_compressBlock_lazy_generic()
[all …]
A Dzstd_double_fast.c400 const BYTE* match = base + matchIndexS; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
438 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
444 match = dictBase + dictMatchIndexS; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
447 if (match > dictStart && MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
488 mLength = ZSTD_count_2segments(ip+4, match+4, iend, dictEnd, prefixLowest) + 4; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
490 …while (((ip>anchor) & (match>dictStart)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /… in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
492 mLength = ZSTD_count(ip+4, match+4, iend) + 4; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
493 offset = (U32)(ip - match); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
494 …while (((ip>anchor) & (match>prefixLowest)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; … in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
649 const BYTE* match = matchBase + matchIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local
[all …]
A Dzstd_opt.c463 const BYTE* match; in ZSTD_insertBt1() local
518 match = base + matchIndex; in ZSTD_insertBt1()
521 match = dictBase + matchIndex; in ZSTD_insertBt1()
698 const BYTE* const match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches() local
699 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches()
727 const BYTE* match; in ZSTD_insertBtAndGetAllMatches() local
733 match = base + matchIndex; in ZSTD_insertBtAndGetAllMatches()
737 match = dictBase + matchIndex; in ZSTD_insertBtAndGetAllMatches()
760 if (match[matchLength] < ip[matchLength]) { in ZSTD_insertBtAndGetAllMatches()
786 const BYTE* match = dmsBase + dictMatchIndex; in ZSTD_insertBtAndGetAllMatches() local
[all …]
A Dzstd_fast.c557 const BYTE* match = base + matchIndex; in ZSTD_compressBlock_fast_dictMatchState_generic() local
599 if (ZSTD_match4Found_cmov(ip0, match, matchIndex, prefixStartIndex)) { in ZSTD_compressBlock_fast_dictMatchState_generic()
601 U32 const offset = (U32) (ip0 - match); in ZSTD_compressBlock_fast_dictMatchState_generic()
602 mLength = ZSTD_count(ip0 + 4, match + 4, iend) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic()
603 while (((ip0 > anchor) & (match > prefixStart)) in ZSTD_compressBlock_fast_dictMatchState_generic()
604 && (ip0[-1] == match[-1])) { in ZSTD_compressBlock_fast_dictMatchState_generic()
606 match--; in ZSTD_compressBlock_fast_dictMatchState_generic()
A Dzstd_compress_internal.h872 ZSTD_count_2segments(const BYTE* ip, const BYTE* match, in ZSTD_count_2segments() argument
875 const BYTE* const vEnd = MIN( ip + (mEnd - match), iEnd); in ZSTD_count_2segments()
876 size_t const matchLength = ZSTD_count(ip, match, vEnd); in ZSTD_count_2segments()
877 if (match + matchLength != mEnd) return matchLength; in ZSTD_count_2segments()
879 DEBUGLOG(7, "distance from match beginning to end dictionary = %i", (int)(mEnd - match)); in ZSTD_count_2segments()
/lib/zstd/decompress/
A Dzstd_decompress_block.c934 match = dictEnd - (prefixStart - match); in ZSTD_execSequenceEnd()
944 match = prefixStart; in ZSTD_execSequenceEnd()
983 match = dictEnd - (prefixStart - match); in ZSTD_execSequenceEndSplitLitBuffer()
993 match = prefixStart; in ZSTD_execSequenceEndSplitLitBuffer()
1019 PREFETCH_L1(match); in ZSTD_execSequence()
1056 match = dictEnd + (match - prefixStart); in ZSTD_execSequence()
1066 match = prefixStart; in ZSTD_execSequence()
1072 assert(match >= prefixStart); in ZSTD_execSequence()
1149 match = dictEnd + (match - prefixStart); in ZSTD_execSequenceSplitLitBuffer()
1159 match = prefixStart; in ZSTD_execSequenceSplitLitBuffer()
[all …]
/lib/kunit/
A Dresource.c63 int kunit_destroy_resource(struct kunit *test, kunit_resource_match_t match, in kunit_destroy_resource() argument
66 struct kunit_resource *res = kunit_find_resource(test, match, in kunit_destroy_resource()
/lib/842/
A D842_compress.c383 int i, match, b = 0; in check_template() local
391 match = check_index(p, 2, b >> 1); in check_template()
393 match = check_index(p, 4, b >> 2); in check_template()
395 match = check_index(p, 8, 0); in check_template()
398 if (!match) in check_template()

Completed in 75 milliseconds