Home
last modified time | relevance | path

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

12345678910>>...13

/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/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Dtest_msgutil.py202 compress = zlib.compressobj(
207 expected = compress.compress('\x81\x05Hello')
208 expected += compress.flush(zlib.Z_SYNC_FLUSH)
212 compress = zlib.compressobj(
223 compressed_hello = compress.compress('Hello')
224 compressed_hello += compress.flush(zlib.Z_SYNC_FLUSH)
229 compressed_world = compress.compress('World')
230 compressed_world += compress.flush(zlib.Z_SYNC_FLUSH)
238 compress = zlib.compressobj(
254 compressed_hello = compress.compress('Hello')
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketPerMessageDeflateTest.cpp54 EXPECT_TRUE(f1.compress); in TEST()
61 EXPECT_TRUE(f2.compress); in TEST()
76 EXPECT_TRUE(f1.compress); in TEST()
83 EXPECT_TRUE(f2.compress); in TEST()
107 ASSERT_TRUE(frame.compress); in TEST()
117 ASSERT_EQ(!i, frame.compress); in TEST()
127 frame.compress = !i; in TEST()
131 ASSERT_FALSE(frame.compress); in TEST()
148 EXPECT_TRUE(f1.compress); in TEST()
162 EXPECT_TRUE(f1.compress); in TEST()
[all …]
DWebSocketPerMessageDeflate.cpp48 …tatic PassOwnPtr<CompressionMessageExtensionProcessor> create(WebSocketPerMessageDeflate& compress) in create() argument
50 return adoptPtr(new CompressionMessageExtensionProcessor(compress)); in create()
66 …ssageExtensionProcessor::CompressionMessageExtensionProcessor(WebSocketPerMessageDeflate& compress) in CompressionMessageExtensionProcessor() argument
68 , m_compress(compress) in CompressionMessageExtensionProcessor()
176 if (frame.compress) { in deflate()
200 frame.compress = !m_deflateOngoing; in deflate()
222 if (frame.compress) { in inflate()
228 if (frame.compress) { in inflate()
247 frame.compress = false; in inflate()
DWebSocketFrame.cpp64 bool compress = firstByte & compressBit; in parseFrame() local
116 frame.compress = compress; in parseFrame()
149 frameData.at(0) = (final ? finalBit : 0) | (compress ? compressBit : 0) | opCode; in makeFrameData()
177 , compress(false) in WebSocketFrame()
189 , compress(flags & Compress) in WebSocketFrame()
DWebSocketDeflateFramer.cpp183 frame.compress = true; in deflate()
200 if (!frame.compress) in inflate()
210 frame.compress = false; in inflate()
/external/chromium_org/tools/profile_chrome/
Dprofiler.py23 def _PullTraces(controllers, output, compress, write_json): argument
32 compress=compress,
55 def CaptureProfile(controllers, interval, output=None, compress=False, argument
87 return _PullTraces(controllers, output, compress, write_json)
/external/skia/src/core/
DSkFlate.cpp38 bool doFlate(bool compress, SkStream* src, SkWStream* dst) { in doFlate() argument
49 if (compress) in doFlate()
88 if (compress) in doFlate()
94 if (compress) in doFlate()
106 if (compress) in doFlate()
/external/chromium_org/third_party/skia/src/core/
DSkFlate.cpp38 bool doFlate(bool compress, SkStream* src, SkWStream* dst) { in doFlate() argument
49 if (compress) in doFlate()
88 if (compress) in doFlate()
94 if (compress) in doFlate()
106 if (compress) in doFlate()
/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/bzip2/
DMakefile-libbz2_so33 compress.o \
54 compress.o: compress.c
55 $(CC) $(CFLAGS) -c compress.c
/external/zlib/src/msdos/
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.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
/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>)
/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/openssl/crypto/comp/
Dcomp_lib.c41 if (ctx->meth->compress == NULL) in COMP_compress_block()
46 ret=ctx->meth->compress(ctx,out,olen,in,ilen); in COMP_compress_block()
/external/openssl/ssl/
Ddtls1.h134 COMP_CTX *compress; /* compression */ member
136 char *compress; member
/external/openssl/include/openssl/
Ddtls1.h134 COMP_CTX *compress; /* compression */ member
136 char *compress; member

12345678910>>...13