Home
last modified time | relevance | path

Searched refs:compress (Results 1 – 25 of 221) sorted by relevance

123456789

/external/tinycompress/
Dcompress.c84 struct compress { struct
96 static int oops(struct compress *compress, int e, const char *fmt, ...) in oops() argument
102 vsnprintf(compress->error, COMPR_ERR_MAX, fmt, ap); in oops()
104 sz = strlen(compress->error); in oops()
106 snprintf(compress->error + sz, COMPR_ERR_MAX - sz, in oops()
113 const char *compress_get_error(struct compress *compress) in compress_get_error() argument
115 return compress->error; in compress_get_error()
117 static struct compress bad_compress = {
121 int is_compress_running(struct compress *compress) in is_compress_running() argument
123 return ((compress->fd > 0) && compress->running) ? 1 : 0; in is_compress_running()
[all …]
Dcplay.c138 static int print_time(struct compress *compress) in print_time() argument
143 if (compress_get_hpointer(compress, &avail, &tstamp) != 0) { in print_time()
145 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in print_time()
204 struct compress *compress; in play_samples() local
251 compress = compress_open(card, device, COMPRESS_IN, &config); in play_samples()
252 if (!compress || !is_compress_ready(compress)) { in play_samples()
255 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in play_samples()
272 wrote = compress_write(compress, buffer, num_read); in play_samples()
275 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in play_samples()
288 compress_start(compress); in play_samples()
[all …]
/external/tinycompress/include/tinycompress/
Dtinycompress.h82 struct compress;
97 struct compress *compress_open(unsigned int card, unsigned int device,
105 void compress_close(struct compress *compress);
115 int compress_get_hpointer(struct compress *compress,
127 int compress_get_tstamp(struct compress *compress,
147 int compress_write(struct compress *compress, const void *buf, unsigned int size);
164 int compress_read(struct compress *compress, void *buf, unsigned int size);
172 int compress_start(struct compress *compress);
180 int compress_stop(struct compress *compress);
188 int compress_pause(struct compress *compress);
[all …]
/external/liblzf/
Dlzf.c61 static enum { compress, uncompress, lzcat } mode = compress; enumerator
335 if (mode == compress) in compose_name()
419 if (mode == compress) in run_file()
482 mode = compress; in main()
517 if (mode == compress && isatty (1)) in main()
524 if (mode == compress) in main()
/external/e2fsprogs/e2fsck/
Drehash.c62 int compress; member
131 if (!fd->compress && ((dirent->name_len&0xFF) == 1) && in fill_dir_block()
134 if (!fd->compress && ((dirent->name_len&0xFF) == 2) && in fill_dir_block()
153 if (fd->compress) in fill_dir_block()
424 outdir->num = fd->compress ? 0 : 1; in copy_dir_entries()
434 slack = fd->compress ? 12 : in copy_dir_entries()
676 ext2_ino_t ino, int compress) in write_directory() argument
699 if (compress) in write_directory()
741 fd.compress = 0; in e2fsck_rehash_dir()
744 fd.compress = 1; in e2fsck_rehash_dir()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java188 boolean compress = false; in uploadTexture()
205 compress = true; in uploadTexture()
211 compress = true; in uploadTexture()
217 compress = true; in uploadTexture()
223 compress = true; in uploadTexture()
229 compress = true; in uploadTexture()
239 compress = true; in uploadTexture()
424 if (compress && data != null){ in uploadTexture()
/external/bzip2/
DMakefile-libbz2_so33 compress.o \
54 compress.o: compress.c
55 $(CC) $(CFLAGS) -c compress.c
DMakefile34 compress.o \
125 compress.o: compress.c
126 $(CC) $(CFLAGS) -c compress.c
149 $(DISTNAME)/compress.c \
/external/skia/src/core/
DSkFlate.cpp33 bool doFlate(bool compress, SkStream* src, SkWStream* dst) { in doFlate() argument
45 if (compress) in doFlate()
84 if (compress) in doFlate()
90 if (compress) in doFlate()
102 if (compress) in doFlate()
/external/zlib/src/msdos/
DMakefile.tc29 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
31 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
43 compress.obj: compress.c zlib.h zconf.h
DMakefile.bor44 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
46 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
58 compress.obj: compress.c zlib.h zconf.h
DMakefile.msc40 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
52 compress.obj: compress.c zlib.h zconf.h
/external/zlib/src/watcom/
Dwatcom_l.mak7 C_SOURCE = adler32.c compress.c crc32.c deflate.c &
12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj &
28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
Dwatcom_f.mak7 C_SOURCE = adler32.c compress.c crc32.c deflate.c &
12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj &
28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
/external/zlib/src/win32/
DMakefile.bor27 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
30 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
46 compress.obj: compress.c zlib.h zconf.h
/external/zlib/src/old/
Dvisual-basic.txt5 Q: Each time I use the compress function I get the -5 error (not enough
10 before the call of compress this length is equal to the total size of
22 compress
32 Declare Function compress Lib "ZLIB.DLL" (ByVal compr As
49 Declare Function compress Lib "ZLIB32.DLL"
78 'Call subCompressFile(<path with filename to compress> [, <path with
80 'Call subUncompressFile(<path with filename to compress>)
DMakefile.riscos18 @.lib: @.o.adler32 @.o.compress @.o.crc32 @.o.deflate @.o.gzio \
21 LibFile $(LibFileflags) @.o.adler32 @.o.compress @.o.crc32 @.o.deflate \
/external/zlib/src/contrib/delphi/
Dzlibd32.mak21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
35 compress.obj: compress.c zlib.h zconf.h
/external/zlib/src/contrib/pascal/
Dzlibd32.mak21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
35 compress.obj: compress.c zlib.h zconf.h
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeCompressor.java301 public static byte [] compress(String buffer) in compress() method in UnicodeCompressor
303 return compress(buffer.toCharArray(), 0, buffer.length()); in compress()
315 public static byte [] compress(char [] buffer, in compress() method in UnicodeCompressor
329 int byteCount = comp.compress(buffer, start, limit, null, in compress()
356 public int compress(char [] charBuffer, in compress() method in UnicodeCompressor
/external/squashfs-tools/squashfs-tools/
Dcompressor.h30 int (*compress)(void *, void *, void *, int, int, int *); member
58 return comp->compress(strm, dest, src, size, block_size, error); in compressor_compress()
/external/llvm/lib/Support/
DCompression.cpp49 zlib::Status zlib::compress(StringRef InputBuffer, in compress() function in zlib
85 zlib::Status zlib::compress(StringRef InputBuffer, in compress() function in zlib
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java144 boolean compress = false; in uploadTexture()
249 if (compress){ in uploadTexture()
272 if (compress && data != null){ in uploadTexture()
/external/zopfli/
DREADME4 The basic function to compress data is ZopfliCompress in zopfli.h. Use the
21 This library can only compress, not decompress. Existing zlib or deflate
/external/lz4/lib/
Dlz4frame.c455 …ompressBlock(void* dst, const void* src, size_t srcSize, compressFunc_t compress, void* lz4ctx, in… in LZ4F_compressBlock() argument
460 …cSize = (U32)compress(lz4ctx, (const char*)src, (char*)(cSizePtr+4), (int)(srcSize), (int)(srcSize… in LZ4F_compressBlock()
529 compressFunc_t compress; in LZ4F_compressUpdate() local
537compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLe… in LZ4F_compressUpdate()
558 …dstPtr += LZ4F_compressBlock(dstPtr, cctxPtr->tmpIn, blockSize, compress, cctxPtr->lz4CtxPtr, cctx… in LZ4F_compressUpdate()
569 …dstPtr += LZ4F_compressBlock(dstPtr, srcPtr, blockSize, compress, cctxPtr->lz4CtxPtr, cctxPtr->pre… in LZ4F_compressUpdate()
577 …dstPtr += LZ4F_compressBlock(dstPtr, srcPtr, srcEnd - srcPtr, compress, cctxPtr->lz4CtxPtr, cctxPt… in LZ4F_compressUpdate()
634 compressFunc_t compress; in LZ4F_flush() local
644compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLe… in LZ4F_flush()
647 …dstPtr += LZ4F_compressBlock(dstPtr, cctxPtr->tmpIn, cctxPtr->tmpInSize, compress, cctxPtr->lz4Ctx… in LZ4F_flush()

123456789