Searched refs:strm (Results 1 – 2 of 2) sorted by relevance
/haiku/src/libs/libsolv/ext/ |
H A D | solv_xfopen.c | 126 lzma_stream strm; member 132 static inline lzma_ret setup_alone_encoder(lzma_stream *strm, int level) in setup_alone_encoder() argument 136 return lzma_alone_encoder(strm, &options); in setup_alone_encoder() 175 lzfile->strm = stream_init; in lzopen() 179 ret = lzma_easy_encoder(&lzfile->strm, level, LZMA_CHECK_SHA256); in lzopen() 181 ret = setup_alone_encoder(&lzfile->strm, level); in lzopen() 184 ret = lzma_auto_decoder(&lzfile->strm, 100 << 20, 0); in lzopen() 207 lzfile->strm.avail_out = sizeof(lzfile->buf); in lzclose() 208 lzfile->strm.next_out = lzfile->buf; in lzclose() 209 ret = lzma_code(&lzfile->strm, LZMA_FINISH); in lzclose() [all …]
|
/haiku/src/bin/unzip/ |
H A D | fileio.c | 86 # define WriteError(buf,len,strm) \ argument 87 (win_fprintf(pG, strm, (extent)len, (char far *)buf) != (int)(len)) 90 # define WriteError(buf,len,strm) \ argument 91 ((extent)fwrite((char *)(buf),1,(extent)(len),strm) != (extent)(len)) 93 # define WriteError(buf,len,strm) \ argument 94 ((extent)write(fileno(strm),(char *)(buf),(extent)(len)) != (extent)(len))
|