Home
last modified time | relevance | path

Searched refs:uncompr (Results 1 – 25 of 78) sorted by relevance

1234

/external/python/cpython2/Modules/zlib/
Dexample.c39 Byte *uncompr, uLong uncomprLen));
41 Byte *uncompr, uLong uncomprLen));
43 Byte *uncompr, uLong uncomprLen));
46 Byte *uncompr, uLong uncomprLen));
49 Byte *uncompr, uLong uncomprLen));
81 Byte *uncompr, uLong uncomprLen));
83 Byte *uncompr, uLong uncomprLen));
88 void test_compress(compr, comprLen, uncompr, uncomprLen) in test_compress() argument
89 Byte *compr, *uncompr; in test_compress()
98 strcpy((char*)uncompr, "garbage");
[all …]
DMakefile.in61 OBJG = compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
65 PIC_OBJG = compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo
189 uncompr.o: $(SRCDIR)uncompr.c
190 $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)uncompr.c
255 uncompr.lo: $(SRCDIR)uncompr.c
257 $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/uncompr.o $(SRCDIR)uncompr.c
258 -@mv objs/uncompr.o $@
394 compress.o example.o minigzip.o uncompr.o: $(SRCDIR)zlib.h zconf.h
404 compress.lo example.lo minigzip.lo uncompr.lo: $(SRCDIR)zlib.h zconf.h
/external/rust/crates/libz-sys/src/zlib/test/
Dexample.c39 Byte *uncompr, uLong uncomprLen));
41 Byte *uncompr, uLong uncomprLen));
43 Byte *uncompr, uLong uncomprLen));
46 Byte *uncompr, uLong uncomprLen));
49 Byte *uncompr, uLong uncomprLen));
81 Byte *uncompr, uLong uncomprLen));
83 Byte *uncompr, uLong uncomprLen));
88 void test_compress(compr, comprLen, uncompr, uncomprLen) in test_compress() argument
89 Byte *compr, *uncompr; in test_compress()
98 strcpy((char*)uncompr, "garbage");
[all …]
/external/zstd/zlibWrapper/examples/
Dexample_original.c56 Byte *uncompr, uLong uncomprLen));
58 Byte *uncompr, uLong uncomprLen));
60 Byte *uncompr, uLong uncomprLen));
63 Byte *uncompr, uLong uncomprLen));
66 Byte *uncompr, uLong uncomprLen));
98 Byte *uncompr, uLong uncomprLen));
100 Byte *uncompr, uLong uncomprLen));
105 void test_compress(compr, comprLen, uncompr, uncomprLen) in test_compress() argument
106 Byte *compr, *uncompr; in test_compress()
115 strcpy((char*)uncompr, "garbage");
[all …]
Dexample.c61 Byte *uncompr, uLong uncomprLen));
63 Byte *uncompr, uLong uncomprLen));
65 Byte *uncompr, uLong uncomprLen));
68 Byte *uncompr, uLong uncomprLen));
71 Byte *uncompr, uLong uncomprLen));
106 Byte *uncompr, uLong uncomprLen));
108 Byte *uncompr, uLong uncomprLen));
113 void test_compress(compr, comprLen, uncompr, uncomprLen) in test_compress() argument
114 Byte *compr, *uncompr; in test_compress()
123 strcpy((char*)uncompr, "garbage");
[all …]
/external/rust/crates/libz-sys/src/zlib/contrib/pascal/
Dexample.pas57 uncompr: Pointer; uncomprLen: LongInt);
66 StrCopy(PChar(uncompr), 'garbage');
68 err := uncompress(uncompr, uncomprLen, compr, comprLen);
71 if StrComp(PChar(uncompr), hello) <> 0 then
74 WriteLn('uncompress(): ', PChar(uncompr));
83 uncompr: Pointer;
127 StrCopy(PChar(uncompr), 'garbage');
129 if gzread(zfile, uncompr, uncomprLen) <> len then
134 if StrComp(PChar(uncompr), hello) <> 0 then
136 WriteLn('bad gzread: ', PChar(uncompr));
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dexample.c39 void test_compress (unsigned char *compr, z_size_t comprLen,unsigned char *uncompr, z_size_t u…
40 void test_gzio (const char *fname, unsigned char *uncompr, z_size_t uncomprLen);
42 void test_inflate (unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t unco…
43 void test_large_deflate (unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t unco…
44 void test_large_inflate (unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t unco…
46 void test_sync (unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t unco…
48 void test_dict_inflate (unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t unco…
58 void test_compress(unsigned char *compr, z_size_t comprLen, unsigned char *uncompr, z_size_t uncomp… in test_compress() argument
65 strcpy((char*)uncompr, "garbage"); in test_compress()
67 err = PREFIX(uncompress)(uncompr, &uncomprLen, compr, comprLen); in test_compress()
[all …]
Dminigzip.c268 int uncompr = 0; in main() local
285 uncompr = 1; in main()
287 copyout = uncompr = 1; in main()
293 uncompr = 1; in main()
319 if (uncompr) { in main()
333 if (uncompr) { in main()
/external/oss-fuzz/projects/zlib/
Dcompress_fuzzer.c14 uint8_t *uncompr, size_t uncomprLen, in check_compress_level() argument
17 uncompress(uncompr, &uncomprLen, compr, comprLen); in check_compress_level()
21 assert(0 == memcmp(data, uncompr, dataLen)); in check_compress_level()
56 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
67 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
69 check_compress_level(compr, comprLen, uncompr, uncomprLen, 1); in LLVMFuzzerTestOneInput()
70 check_compress_level(compr, comprLen, uncompr, uncomprLen, 3); in LLVMFuzzerTestOneInput()
71 check_compress_level(compr, comprLen, uncompr, uncomprLen, 6); in LLVMFuzzerTestOneInput()
72 check_compress_level(compr, comprLen, uncompr, uncomprLen, 7); in LLVMFuzzerTestOneInput()
77 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_large_fuzzer.c27 unsigned char *uncompr, size_t uncomprLen) { in test_large_deflate() argument
44 c_stream.next_in = uncompr; in test_large_deflate()
63 c_stream.next_in = uncompr; in test_large_deflate()
81 unsigned char *uncompr, size_t uncomprLen) { in test_large_inflate() argument
96 d_stream.next_out = uncompr; /* discard the output */ in test_large_inflate()
116 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
127 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
129 test_large_deflate(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
130 test_large_inflate(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
133 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_small_fuzzer.c61 void test_inflate(unsigned char *compr, size_t comprLen, unsigned char *uncompr, in test_inflate() argument
72 d_stream.next_out = uncompr; in test_inflate()
88 if (memcmp(uncompr, data, dataLen)) { in test_inflate()
97 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
108 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
111 test_inflate(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
114 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_flush_fuzzer.c60 void test_sync(unsigned char *compr, size_t comprLen, unsigned char *uncompr, in test_sync() argument
75 d_stream.next_out = uncompr; in test_sync()
98 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
110 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
113 test_sync(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
116 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_dict_fuzzer.c94 unsigned char *uncompr; in test_dict_inflate() local
106 uncompr = (uint8_t *)calloc(1, dataLen); in test_dict_inflate()
107 d_stream.next_out = uncompr; in test_dict_inflate()
128 if (memcmp(uncompr, data, dataLen)) { in test_dict_inflate()
133 free(uncompr); in test_dict_inflate()
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dcompress_fuzzer.c20 uint8_t *uncompr, z_size_t uncomprLen, in check_compress_level() argument
23 PREFIX(uncompress)(uncompr, &uncomprLen, compr, comprLen); in check_compress_level()
27 assert(0 == memcmp(data, uncompr, dataLen)); in check_compress_level()
62 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
73 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
75 check_compress_level(compr, comprLen, uncompr, uncomprLen, 1); in LLVMFuzzerTestOneInput()
76 check_compress_level(compr, comprLen, uncompr, uncomprLen, 3); in LLVMFuzzerTestOneInput()
77 check_compress_level(compr, comprLen, uncompr, uncomprLen, 6); in LLVMFuzzerTestOneInput()
78 check_compress_level(compr, comprLen, uncompr, uncomprLen, 7); in LLVMFuzzerTestOneInput()
83 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_large_fuzzer.c32 void test_large_deflate(unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t uncom… in test_large_deflate() argument
49 c_stream.next_in = uncompr; in test_large_deflate()
68 c_stream.next_in = uncompr; in test_large_deflate()
85 void test_large_inflate(unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t uncom… in test_large_inflate() argument
100 d_stream.next_out = uncompr; /* discard the output */ in test_large_inflate()
120 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
131 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
133 test_large_deflate(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
134 test_large_inflate(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
137 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_small_fuzzer.c67 void test_inflate(unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t uncomprLen)… in test_inflate() argument
77 d_stream.next_out = uncompr; in test_inflate()
93 if (memcmp(uncompr, data, dataLen)) { in test_inflate()
102 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
113 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
116 test_inflate(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
119 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_flush_fuzzer.c66 void test_sync(unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t uncomprLen) { in test_sync() argument
80 d_stream.next_out = uncompr; in test_sync()
102 uint8_t *compr, *uncompr; in LLVMFuzzerTestOneInput() local
114 uncompr = (uint8_t *)calloc(1, uncomprLen); in LLVMFuzzerTestOneInput()
117 test_sync(compr, comprLen, uncompr, uncomprLen); in LLVMFuzzerTestOneInput()
120 free(uncompr); in LLVMFuzzerTestOneInput()
Dexample_dict_fuzzer.c100 unsigned char *uncompr; in test_dict_inflate() local
112 uncompr = (uint8_t *)calloc(1, dataLen); in test_dict_inflate()
113 d_stream.next_out = uncompr; in test_dict_inflate()
134 if (memcmp(uncompr, data, dataLen)) { in test_dict_inflate()
139 free(uncompr); in test_dict_inflate()
/external/rust/crates/libz-sys/src/zlib/msdos/
DMakefile.tc30 OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
32 OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.o…
70 uncompr.obj: uncompr.c zlib.h zconf.h
DMakefile.bor45 OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
47 OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.o…
85 uncompr.obj: uncompr.c zlib.h zconf.h
/external/rust/crates/libz-sys/src/zlib/watcom/
Dwatcom_f.mak10 trees.c uncompr.c zutil.c
15 trees.obj uncompr.obj zutil.obj
32 wlib -b -c $(ZLIB_LIB) -+trees.obj -+uncompr.obj -+zutil.obj
Dwatcom_l.mak10 trees.c uncompr.c zutil.c
15 trees.obj uncompr.obj zutil.obj
32 wlib -b -c $(ZLIB_LIB) -+trees.obj -+uncompr.obj -+zutil.obj
/external/rust/crates/libz-sys/src/zlib/
DMakefile.in61 OBJG = compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
65 PIC_OBJG = compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo
189 uncompr.o: $(SRCDIR)uncompr.c
190 $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)uncompr.c
255 uncompr.lo: $(SRCDIR)uncompr.c
257 $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/uncompr.o $(SRCDIR)uncompr.c
258 -@mv objs/uncompr.o $@
394 compress.o example.o minigzip.o uncompr.o: $(SRCDIR)zlib.h zconf.h
404 compress.lo example.lo minigzip.lo uncompr.lo: $(SRCDIR)zlib.h zconf.h
/external/rust/crates/libz-sys/src/zlib/win32/
DMakefile.bor28 OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
31 OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.o…
73 uncompr.obj: uncompr.c zlib.h zconf.h
/external/rust/crates/libz-sys/src/zlib/contrib/delphi/
Dzlibd32.mak22 OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
24 OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.o…
62 uncompr.obj: uncompr.c zlib.h zconf.h

1234