/dports/devel/simgear/simgear-2020.3.11/simgear/io/iostreams/ |
H A D | sgstream.cxx | 39 : istream(&gzbuf) in sg_gzifstream() 49 : istream(&gzbuf) in sg_gzifstream() 59 : istream(&gzbuf) in sg_gzifstream() 61 gzbuf.attach( fd, io_mode ); in sg_gzifstream() 102 gzbuf.attach( fd, io_mode ); in attach() 107 return gzbuf.approxOffset(); in approxOffset() 168 : ostream(&gzbuf) in sg_gzofstream() 177 : ostream(&gzbuf) in sg_gzofstream() 187 : ostream(&gzbuf) in sg_gzofstream() 189 gzbuf.attach( fd, io_mode ); in sg_gzofstream() [all …]
|
H A D | sgstream.hxx | 95 void close() { gzbuf.close(); } in close() 98 bool is_open() { return gzbuf.is_open(); } in is_open() 179 void close() { gzbuf.close(); } in close() 182 bool is_open() { return gzbuf.is_open(); } in is_open()
|
H A D | gzfstream.hxx | 154 gzfilebuf gzbuf; member 164 gzfilebuf gzbuf; member
|
/dports/math/gretl/gretl-2021d/utils/dbzip/ |
H A D | gretlzip.c | 131 char gzbuf[BUFSIZE]; in ggz_create() local 205 chk = gzwrite(fgz, gzbuf, len); in ggz_create() 211 chk = gzwrite(fgz, gzbuf, len); in ggz_create() 218 chk = gzwrite(fgz, gzbuf, len); in ggz_create() 241 char gzbuf[BUFSIZE]; in ggz_extract() local 273 clear(gzbuf, BUFSIZE); in ggz_extract() 274 gzread(fgz, gzbuf, INFOLEN); in ggz_extract() 275 strcpy(infobuf, gzbuf); in ggz_extract() 303 write(fidx, gzbuf, bgot); in ggz_extract() 310 write(fbin, gzbuf, bgot); in ggz_extract() [all …]
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/zlib/ |
H A D | TestZlibCompressorDecompressor.java | 363 DataInputBuffer gzbuf = new DataInputBuffer(); in testBuiltInGzipDecompressorExceptions() local 364 decompStream = new DecompressorStream(gzbuf, decompressor); in testBuiltInGzipDecompressorExceptions() 365 gzbuf.reset(new byte[] { 0, 0, 1, 1, 1, 1, 11, 1, 1, 1, 1 }, 11); in testBuiltInGzipDecompressorExceptions() 378 DataInputBuffer gzbuf = new DataInputBuffer(); in testBuiltInGzipDecompressorExceptions() local 379 decompStream = new DecompressorStream(gzbuf, decompressor); in testBuiltInGzipDecompressorExceptions() 380 gzbuf.reset(new byte[] { 31, -117, 7, 1, 1, 1, 1, 11, 1, 1, 1, 1 }, 11); in testBuiltInGzipDecompressorExceptions() 392 DataInputBuffer gzbuf = new DataInputBuffer(); in testBuiltInGzipDecompressorExceptions() local 393 decompStream = new DecompressorStream(gzbuf, decompressor); in testBuiltInGzipDecompressorExceptions() 405 DataInputBuffer gzbuf = new DataInputBuffer(); in testBuiltInGzipDecompressorExceptions() local 406 decompStream = new DecompressorStream(gzbuf, decompressor); in testBuiltInGzipDecompressorExceptions() [all …]
|
/dports/games/golly/golly-3.3-src/gollybase/ |
H A D | writepattern.cpp | 233 class gzbuf : public std::streambuf class 236 gzbuf() : file(NULL) { } in gzbuf() function in gzbuf 237 gzbuf(const char *path) : file(NULL) { open(path); } in gzbuf() function in gzbuf 238 ~gzbuf() { close(); } in ~gzbuf() 240 gzbuf *open(const char *path) in open() 247 gzbuf *close() in close() 324 gzbuf gzbuf; in writepattern() local 335 streambuf = gzbuf.open(filename); in writepattern()
|
/dports/emulators/atari800/atari800-3.1.0/src/ |
H A D | input.c | 137 static char gzbuf[GZBUFSIZE+1]; variable 455 gzgets(playbackfp, gzbuf, GZBUFSIZE); in INPUT_Frame() 539 gzgets(playbackfp, gzbuf, GZBUFSIZE); in INPUT_Frame() 540 sscanf(gzbuf,"%d ",&i); in INPUT_Frame() 555 gzgets(playbackfp, gzbuf, GZBUFSIZE); in INPUT_Frame() 556 sscanf(gzbuf,"%d ",&i); in INPUT_Frame() 598 gzgets(playbackfp, gzbuf, GZBUFSIZE); in INPUT_Frame() 599 sscanf(gzbuf,"%d ",&trigtemp); in INPUT_Frame() 892 gzgets(playbackfp, gzbuf, GZBUFSIZE); in update_adler32_of_screen() 951 gzgets(playbackfp, gzbuf, GZBUFSIZE); in INPUT_PlaybackInt() [all …]
|
/dports/ftp/wget/wget-1.21.2/src/ |
H A D | retr.c | 290 char *gzbuf = NULL; in fd_read_body() local 295 gzbuf = xmalloc (gzbufsize); in fd_read_body() 296 if (gzbuf != NULL) in fd_read_body() 309 xfree (gzbuf); in fd_read_body() 461 if (gzbuf != NULL) in fd_read_body() 480 gzstream.next_out = (unsigned char *) gzbuf; in fd_read_body() 504 write_res = write_data (out, NULL, gzbuf, towrite, &skip, in fd_read_body() 573 if (gzbuf != NULL) in fd_read_body() 587 xfree (gzbuf); in fd_read_body()
|
/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/ |
H A D | worldio.cpp | 175 uchar *gzbuf = new uchar[GZBUFSIZE]; in readmcfggz() local 180 if(compress2(gzbuf, &gzbufsize, data, *size, 9) != Z_OK) in readmcfggz() 184 DELETEA(gzbuf); in readmcfggz() 190 DELETEA(gzbuf); in readmcfggz() 193 return gzbuf; in readmcfggz()
|
H A D | serverfiles.h | 15 uchar *data, *gzbuf; member 17 servermapbuffer() : data(NULL) { gzbuf = new uchar[GZBUFSIZE]; } in servermapbuffer() 18 ~servermapbuffer() { delete[] gzbuf; } in ~servermapbuffer() 60 if(!cfgdata || compress2(gzbuf, &gzbufsize, cfgdata, cfgsize, 9) != Z_OK) in load() 72 memcpy(data + cgzsize, gzbuf, cfgsizegz); in load() 110 … if(uncompress(gzbuf, &rawsize, ndata + nmapsize, ncfgsizegz) == Z_OK && rawsize - ncfgsize == 0) in sendmap() 111 fwrite(gzbuf, 1, cfgsize, fp); in sendmap()
|
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/io/compress/ |
H A D | TestCodec.java | 534 DataInputBuffer gzbuf = new DataInputBuffer(); in testGzipCompatibility() local 535 gzbuf.reset(dflbuf.getData(), dflbuf.getLength()); in testGzipCompatibility() 543 InputStream gzin = codec.createInputStream(gzbuf, decom); in testGzipCompatibility() 578 DataInputBuffer gzbuf = new DataInputBuffer(); in GzipConcatTest() local 579 gzbuf.reset(dflbuf.getData(), dflbuf.getLength()); in GzipConcatTest() 580 InputStream gzin = codec.createInputStream(gzbuf, decom); in GzipConcatTest()
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/ |
H A D | TestCodec.java | 661 DataInputBuffer gzbuf = new DataInputBuffer(); in testGzipCompatibility() local 662 gzbuf.reset(dflbuf.getData(), dflbuf.getLength()); in testGzipCompatibility() 670 InputStream gzin = codec.createInputStream(gzbuf, decom); in testGzipCompatibility() 705 DataInputBuffer gzbuf = new DataInputBuffer(); in GzipConcatTest() local 706 gzbuf.reset(dflbuf.getData(), dflbuf.getLength()); in GzipConcatTest() 707 InputStream gzin = codec.createInputStream(gzbuf, decom); in GzipConcatTest()
|
/dports/math/gretl/gretl-2021d/gui/ |
H A D | database.c | 2455 char gzbuf[GRETL_BUFSIZE]; in ggz_extract() local 2486 memset(gzbuf, 0, GRETL_BUFSIZE); in ggz_extract() 2487 gzread(fgz, gzbuf, INFOLEN); in ggz_extract() 2492 fprintf(stderr, "bad infobuf:\n%s\n", gzbuf); in ggz_extract() 2507 memset(gzbuf, 0, GRETL_BUFSIZE); in ggz_extract() 2512 fwrite(gzbuf, 1, bgot, fidx); in ggz_extract() 2527 memcpy(&(nf.frac), gzbuf, sizeof(long)); in ggz_extract() 2534 memset(gzbuf, 0, GRETL_BUFSIZE); in ggz_extract() 2539 fwrite(gzbuf, 1, bgot, fbin); in ggz_extract() 2552 memset(gzbuf, 0, GRETL_BUFSIZE); in ggz_extract() [all …]
|