Lines Matching full:copy

8    Permission is hereby granted, free of charge, to any person obtaining a copy
11 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
194 unsigned int copy; in FASTLZ_COMPRESSOR() local
199 /* create literal copy only */ in FASTLZ_COMPRESSOR()
213 /* we start with literal copy */ in FASTLZ_COMPRESSOR()
214 copy = 2; in FASTLZ_COMPRESSOR()
316 /* if we have copied something, adjust the copy count */ in FASTLZ_COMPRESSOR()
317 if (copy) in FASTLZ_COMPRESSOR()
318 /* copy is biased, '0' means 1 byte copy */ in FASTLZ_COMPRESSOR()
319 *(op - copy - 1) = copy - 1; in FASTLZ_COMPRESSOR()
321 /* back, to overwrite the copy count */ in FASTLZ_COMPRESSOR()
325 copy = 0; in FASTLZ_COMPRESSOR()
389 /* assuming literal copy */ in FASTLZ_COMPRESSOR()
397 copy++; in FASTLZ_COMPRESSOR()
398 if (FASTLZ_UNEXPECT_CONDITIONAL(copy == MAX_COPY)) { in FASTLZ_COMPRESSOR()
399 copy = 0; in FASTLZ_COMPRESSOR()
404 /* left-over as literal copy */ in FASTLZ_COMPRESSOR()
408 copy++; in FASTLZ_COMPRESSOR()
409 if (copy == MAX_COPY) { in FASTLZ_COMPRESSOR()
410 copy = 0; in FASTLZ_COMPRESSOR()
415 /* if we have copied something, adjust the copy length */ in FASTLZ_COMPRESSOR()
416 if (copy) in FASTLZ_COMPRESSOR()
417 *(op - copy - 1) = copy - 1; in FASTLZ_COMPRESSOR()
489 /* optimize copy for a run */ in FASTLZ_DECOMPRESSOR()
501 /* copy from reference */ in FASTLZ_DECOMPRESSOR()
508 /* copy a byte, so that now it's word aligned */ in FASTLZ_DECOMPRESSOR()
514 /* copy 16-bit at once */ in FASTLZ_DECOMPRESSOR()