Home
last modified time | relevance | path

Searched refs:zstr (Results 1 – 4 of 4) sorted by relevance

/netbsd/src/external/gpl2/xcvs/dist/src/
Dzlib.c53 z_stream zstr; member
69 compress_error (int status, int zstatus, z_stream *zstr, const char *msg) in compress_error() argument
77 zmsg = zstr->msg; in compress_error()
106 zstatus = inflateInit (&n->zstr); in compress_buffer_initialize()
108 zstatus = deflateInit (&n->zstr, level); in compress_buffer_initialize()
110 compress_error (1, zstatus, &n->zstr, "compression initialization"); in compress_buffer_initialize()
170 cb->zstr.avail_out = size; in compress_buffer_input()
171 cb->zstr.next_out = (Bytef *) data; in compress_buffer_input()
183 cb->zstr.avail_in = bd->size; in compress_buffer_input()
184 cb->zstr.next_in = (Bytef *) bd->bufp; in compress_buffer_input()
[all …]
/netbsd/src/external/cddl/osnet/dist/tools/ctf/cvt/
Dctf.c1423 z_stream zstr; in decompress_ctf() local
1426 zstr.zalloc = (alloc_func)0; in decompress_ctf()
1427 zstr.zfree = (free_func)0; in decompress_ctf()
1428 zstr.opaque = (voidpf)0; in decompress_ctf()
1430 zstr.next_in = (Bytef *)cbuf; in decompress_ctf()
1431 zstr.avail_in = cbufsz; in decompress_ctf()
1432 zstr.next_out = (Bytef *)dbuf; in decompress_ctf()
1433 zstr.avail_out = dbufsz; in decompress_ctf()
1435 if ((rc = inflateInit(&zstr)) != Z_OK || in decompress_ctf()
1436 (rc = inflate(&zstr, Z_NO_FLUSH)) != Z_STREAM_END || in decompress_ctf()
[all …]
/netbsd/src/external/cddl/osnet/dist/tools/ctf/dump/
Ddump.c1054 z_stream zstr; in main() local
1061 bzero(&zstr, sizeof (z_stream)); in main()
1062 zstr.next_in = (void *)cd.cd_ctfdata; in main()
1063 zstr.avail_in = cd.cd_ctflen; in main()
1064 zstr.next_out = buf; in main()
1065 zstr.avail_out = hp->cth_stroff + hp->cth_strlen; in main()
1067 if ((rc = inflateInit(&zstr)) != Z_OK) in main()
1070 if ((rc = inflate(&zstr, Z_FINISH)) != Z_STREAM_END) in main()
1073 if ((rc = inflateEnd(&zstr)) != Z_OK) in main()
1076 if (zstr.total_out != hp->cth_stroff + hp->cth_strlen) in main()
/netbsd/src/lib/libc/time/
Dzic.c3053 struct zone zstr[2]; in stringzone() local
3092 stdzp = &zstr[0]; in stringzone()
3093 dstzp = &zstr[1]; in stringzone()
3094 zstr[0].z_stdoff = zp->z_stdoff + 2 * save; in stringzone()
3095 zstr[0].z_format = "XXX"; /* Any 3 letters will do. */ in stringzone()
3096 zstr[0].z_format_specifier = 0; in stringzone()
3097 zstr[1].z_stdoff = zstr[0].z_stdoff; in stringzone()
3098 zstr[1].z_format = zp->z_format; in stringzone()
3099 zstr[1].z_format_specifier = zp->z_format_specifier; in stringzone()