Home
last modified time | relevance | path

Searched refs:lz (Results 1 – 25 of 73) sorted by relevance

123

/freebsd/usr.bin/gzip/
H A Dunlz.c290 lz_flush(struct lz_decoder *lz) in lz_flush() argument
292 off_t offs = lz->pos - lz->spos; in lz_flush()
297 lz_crc_update(&lz->crc, lz->obuf + lz->spos, size); in lz_flush()
298 if (fwrite(lz->obuf + lz->spos, 1, size, lz->fout) != size) in lz_flush()
301 lz->wrapped = lz->pos >= lz->dict_size; in lz_flush()
302 if (lz->wrapped) { in lz_flush()
303 lz->ppos += lz->pos; in lz_flush()
304 lz->pos = 0; in lz_flush()
306 lz->spos = lz->pos; in lz_flush()
311 lz_destroy(struct lz_decoder *lz) in lz_destroy() argument
[all …]
/freebsd/lib/libiconv_modules/mapper_std/
H A Dcitrus_mapper_std.c82 struct _citrus_mapper_std_linear_zone *lz; in rowcol_convert() local
92 lz = &rc->rc_src_rowcol[0]; i > 0; ++lz) { in rowcol_convert()
95 if (n < lz->begin || n > lz->end) { in rowcol_convert()
106 idx = idx * lz->width + n - lz->begin; in rowcol_convert()
135 set_linear_zone(struct _citrus_mapper_std_linear_zone *lz, in set_linear_zone() argument
142 lz->begin = begin; in set_linear_zone()
143 lz->end = end; in set_linear_zone()
144 lz->width= end - begin + 1; in set_linear_zone()
154 struct _citrus_mapper_std_linear_zone *lz; in rowcol_parse_variable_compat() local
172 lz = rc->rc_src_rowcol; in rowcol_parse_variable_compat()
[all …]
/freebsd/contrib/xz/src/liblzma/lz/
H A Dlz_encoder.c27 lzma_lz_encoder lz; member
176 const lzma_ret ret = coder->lz.code(coder->lz.coder, in lz_encode()
497 if (coder->lz.end != NULL) in lz_encoder_end()
498 coder->lz.end(coder->lz.coder, allocator); in lz_encoder_end()
500 lzma_free(coder->lz.coder, allocator); in lz_encoder_end()
514 if (coder->lz.options_update == NULL) in lz_encoder_update()
517 return_if_error(coder->lz.options_update( in lz_encoder_update()
518 coder->lz.coder, reversed_filters)); in lz_encoder_update()
532 if (coder->next.code == NULL && coder->lz.set_out_limit != NULL) in lz_encoder_set_out_limit()
533 return coder->lz.set_out_limit( in lz_encoder_set_out_limit()
[all …]
H A Dlz_decoder.c27 lzma_lz_decoder lz; member
96 const lzma_ret ret = coder->lz.code( in decode_buffer()
97 coder->lz.coder, &coder->dict, in decode_buffer()
208 if (coder->lz.end != NULL) in lz_decoder_end()
209 coder->lz.end(coder->lz.coder, allocator); in lz_decoder_end()
211 lzma_free(coder->lz.coder, allocator); in lz_decoder_end()
221 lzma_ret (*lz_init)(lzma_lz_decoder *lz, in lzma_lz_decoder_init() argument
239 coder->lz = LZMA_LZ_DECODER_INIT; in lzma_lz_decoder_init()
246 return_if_error(lz_init(&coder->lz, allocator, in lzma_lz_decoder_init()
/freebsd/lib/msun/src/
H A De_fmod.c30 u_int32_t lx, ly, lz; in fmod() local
89 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmod()
92 if((hz|lz)==0) /* return sign(x)*0 */ in fmod()
94 hx = hz+hz+(lz>>31); lx = lz+lz; in fmod()
97 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmod()
98 if(hz>=0) {hx=hz;lx=lz;} in fmod()
H A De_fmodl.c66 manl_t lx,ly,lz; in fmodl() local
117 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl()
120 if ((hz|lz)==0) /* return sign(x)*0 */ in fmodl()
122 hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; in fmodl()
125 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl()
126 if(hz>=0) {hx=hz;lx=lz;} in fmodl()
H A Ds_remquo.c31 u_int32_t lx,ly,lz,q,sxy; in remquo() local
97 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo()
99 else {hx = hz+hz+(lz>>31); lx = lz+lz; q++;} in remquo()
102 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo()
103 if(hz>=0) {hx=hz;lx=lz;q++;} in remquo()
H A Ds_remquol.c69 manl_t lx,ly,lz; in remquol() local
125 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
127 else {hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol()
130 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
131 if(hz>=0) {hx=hz;lx=lz;q++;} in remquol()
/freebsd/contrib/xz/src/liblzma/lzma/
H A Dlzma2_encoder.c308 lzma2_encoder_init(lzma_lz_encoder *lz, const lzma_allocator *allocator, in lzma2_encoder_init() argument
315 lzma_lzma2_coder *coder = lz->coder; in lzma2_encoder_init()
321 lz->coder = coder; in lzma2_encoder_init()
322 lz->code = &lzma2_encode; in lzma2_encoder_init()
323 lz->end = &lzma2_encoder_end; in lzma2_encoder_init()
324 lz->options_update = &lzma2_encoder_options_update; in lzma2_encoder_init()
H A Dlzma_decoder.c1118 lzma_lzma_decoder_create(lzma_lz_decoder *lz, const lzma_allocator *allocator, in lzma_lzma_decoder_create() argument
1121 if (lz->coder == NULL) { in lzma_lzma_decoder_create()
1122 lz->coder = lzma_alloc(sizeof(lzma_lzma1_decoder), allocator); in lzma_lzma_decoder_create()
1123 if (lz->coder == NULL) in lzma_lzma_decoder_create()
1126 lz->code = &lzma_decode; in lzma_lzma_decoder_create()
1127 lz->reset = &lzma_decoder_reset; in lzma_lzma_decoder_create()
1128 lz->set_uncompressed = &lzma_decoder_uncompressed; in lzma_lzma_decoder_create()
1145 lzma_decoder_init(lzma_lz_decoder *lz, const lzma_allocator *allocator, in lzma_decoder_init() argument
1176 lz, allocator, options, lz_options)); in lzma_decoder_init()
1178 lzma_decoder_reset(lz->coder, options); in lzma_decoder_init()
[all …]
H A Dlzma_decoder.h49 lzma_lz_decoder *lz, const lzma_allocator *allocator,
/freebsd/sys/dev/random/
H A Dbuild.sh45 -lz \
55 -lz \
/freebsd/usr.bin/mkcsmapper/
H A Dyacc.y579 store(const linear_zone_t *lz, u_int32_t dst, int inc) in store() argument
588 n = ((lz->begin >> i) & rowcol_mask) - p->begin; in store()
591 n = lz->width; in store()
620 set_src(linear_zone_t *lz, u_int32_t begin, u_int32_t end) in set_src() argument
626 lz->begin = begin, lz->end = end; in set_src()
627 lz->width = end - begin + 1; in set_src()
/freebsd/tools/bsdbox/
H A DMakefile.base23 CRUNCH_LIBS+= -larchive -lbz2 -lz -llzma -lbsdxml -lssl -lcrypto
60 CRUNCH_LIBS+= -lz -llzma -lbz2
/freebsd/lib/libz/
H A DMakefile68 $(CC) -o minigzip minigzip.o -L. -lz
71 $(CC) -o example example.o -L. -lz
/freebsd/lib/virtual_oss/bt/
H A Dsbc_encode.c77 uint8_t lz; in calc_scalefactors_joint() local
95 lz = 1; in calc_scalefactors_joint()
97 lz++; in calc_scalefactors_joint()
100 x = 16 - lz; in calc_scalefactors_joint()
102 lz = 1; in calc_scalefactors_joint()
104 lz++; in calc_scalefactors_joint()
107 y = 16 - lz; in calc_scalefactors_joint()
/freebsd/sys/dev/sound/macio/
H A Daoa.c151 int err, lz; in aoa_chan_setblocksize() local
159 __asm volatile ("cntlzw %0,%1" : "=r"(lz) : "r"(blocksz)); in aoa_chan_setblocksize()
160 blocksz = 1 << (31 - lz); in aoa_chan_setblocksize()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A DMakefile49 $(CXX) -o $@ kex_fuzz.o $(SK_NULL_OBJS) $(LDFLAGS) $(FUZZ_FLAGS) $(LIBS) -lz
52 … agent_fuzz.o agent_fuzz_helper.o sk-dummy.o ../../../ssh-sk.o $(LDFLAGS) $(FUZZ_FLAGS) $(LIBS) -lz
/freebsd/contrib/bzip2/
H A Dblocksort.c80 #define fpush(lz,hz) { stackLo[sp] = lz; \ argument
84 #define fpop(lz,hz) { sp--; \ argument
85 lz = stackLo[sp]; \
596 #define mpush(lz,hz,dz) { stackLo[sp] = lz; \ argument
601 #define mpop(lz,hz,dz) { sp--; \ argument
602 lz = stackLo[sp]; \
/freebsd/crypto/openssl/test/testutil/
H A Dformat_output.c207 char *out, int *lz, const BIGNUM *bn) in convert_bn_memory() argument
215 if (*lz) { in convert_bn_memory()
228 *lz = 0; in convert_bn_memory()
233 *lz = 0; in convert_bn_memory()
/freebsd/sys/contrib/zlib/
H A Dzlib.pc.in13 Libs: -L${libdir} -L${sharedlibdir} -lz
/freebsd/lib/liblzma/
H A DMakefile94 .PATH: ${LZMADIR}/lz
147 -I${LZMADIR}/lz \
/freebsd/contrib/sqlite3/
H A DMakefile.fallback10 LIBS = -lz
/freebsd/contrib/bc/tests/dc/scripts/
H A Deaster.dc13 ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30%
/freebsd/contrib/ntp/sntp/m4/
H A Dntp_openssl.m4524 dnl check for linking with -lcrypto failure, and try -lcrypto -lz.
557 LIBS="-$ntp_ssl_libs -lz $NTPSSL_SAVED_LIBS"
559 [if linking with $ntp_ssl_libs_l -lz works],
576 ntp_ssl_libs_l="$ntp_ssl_libs_l -lz"

123