| /netbsd-src/external/gpl2/xcvs/dist/src/ |
| H A D | zlib.c | 53 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/mpl/dhcp/bind/dist/lib/isc/ |
| H A D | httpd.c | 910 z_stream zstr; in isc_httpd_compress() local 928 memset(&zstr, 0, sizeof(zstr)); in isc_httpd_compress() 929 zstr.total_in = zstr.avail_in = zstr.total_out = zstr.avail_out = in isc_httpd_compress() 932 zstr.next_in = isc_buffer_base(&httpd->bodybuffer); in isc_httpd_compress() 933 zstr.next_out = r.base; in isc_httpd_compress() 935 ret = deflateInit(&zstr, Z_DEFAULT_COMPRESSION); in isc_httpd_compress() 937 ret = deflate(&zstr, Z_FINISH); in isc_httpd_compress() 939 deflateEnd(&zstr); in isc_httpd_compress() 941 isc_buffer_add(&httpd->compbuffer, inputlen - zstr.avail_out); in isc_httpd_compress()
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| H A D | ctf.c | 1317 z_stream zstr; in decompress_ctf() local 1320 zstr.zalloc = (alloc_func)0; in decompress_ctf() 1321 zstr.zfree = (free_func)0; in decompress_ctf() 1322 zstr.opaque = (voidpf)0; in decompress_ctf() 1324 zstr.next_in = (Bytef *)cbuf; in decompress_ctf() 1325 zstr.avail_in = cbufsz; in decompress_ctf() 1326 zstr.next_out = (Bytef *)dbuf; in decompress_ctf() 1327 zstr.avail_out = dbufsz; in decompress_ctf() 1329 if ((rc = inflateInit(&zstr)) != Z_OK || in decompress_ctf() 1330 (rc = inflate(&zstr, Z_NO_FLUSH)) != Z_STREAM_END || in decompress_ctf() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/dump/ |
| H A D | dump.c | 958 z_stream zstr; in main() local 965 bzero(&zstr, sizeof (z_stream)); in main() 966 zstr.next_in = (void *)cd.cd_ctfdata; in main() 967 zstr.avail_in = cd.cd_ctflen; in main() 968 zstr.next_out = buf; in main() 969 zstr.avail_out = hp->cth_stroff + hp->cth_strlen; in main() 971 if ((rc = inflateInit(&zstr)) != Z_OK) in main() 974 if ((rc = inflate(&zstr, Z_FINISH)) != Z_STREAM_END) in main() 977 if ((rc = inflateEnd(&zstr)) != Z_OK) in main() 980 if (zstr.total_out != hp->cth_stroff + hp->cth_strlen) in main()
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | httpd.c | 724 z_stream zstr; in render_500() 739 zstr = (z_stream){ 747 ret = deflateInit(&zstr, Z_DEFAULT_COMPRESSION); in httpd_compress() 749 ret = deflate(&zstr, Z_FINISH); in httpd_compress() 751 deflateEnd(&zstr); in httpd_compress() 753 isc_buffer_add(req->compbuffer, zstr.total_out); in httpd_compress() 744 z_stream zstr; httpd_compress() local
|
| /netbsd-src/external/bsd/unbound/dist/validator/ |
| H A D | val_anchor.c | 1049 const char** zstr; in anchors_apply_cfg() local 1057 for(zstr = as112_zones; *zstr; zstr++) { in anchors_apply_cfg() 1058 if(!anchor_insert_insecure(anchors, *zstr)) { in anchors_apply_cfg() 1059 log_err("error in insecure-lan-zones: %s", *zstr); in anchors_apply_cfg()
|
| /netbsd-src/lib/libc/time/ |
| H A D | zic.c | 3022 struct zone zstr[2]; in stringzone() 3061 stdzp = &zstr[0]; in stringzone() 3062 dstzp = &zstr[1]; in stringzone() 3063 zstr[0].z_stdoff = zp->z_stdoff + 2 * save; in stringzone() 3064 zstr[0].z_format = "XXX"; /* Any 3 letters will do. */ in stringzone() 3065 zstr[0].z_format_specifier = 0; in stringzone() 3066 zstr[1].z_stdoff = zstr[0].z_stdoff; in stringzone() 3067 zstr[1].z_format = zp->z_format; in stringzone() 3068 zstr[ in stringzone() 2986 struct zone zstr[2]; stringzone() local [all...] |
| /netbsd-src/external/bsd/unbound/dist/services/ |
| H A D | localzone.c | 873 const char** zstr; in local_zone_enter_defaults() local 961 for(zstr = as112_zones; *zstr; zstr++) { in local_zone_enter_defaults() 962 if(!add_empty_default(zones, cfg, *zstr)) { in local_zone_enter_defaults()
|
| H A D | authzone.c | 1945 char zstr[255+1]; in auth_zone_zonemd_check_hash() local 1946 dname_str(z->name, zstr); in auth_zone_zonemd_check_hash() 1947 …verbose(VERB_ALGO, "auth-zone %s ZONEMD %d %d is unsupported: %s", zstr, (int)scheme, (int)hashalg… in auth_zone_zonemd_check_hash() 1953 char zstr[255+1]; in auth_zone_zonemd_check_hash() local 1954 dname_str(z->name, zstr); in auth_zone_zonemd_check_hash() 1956 verbose(VERB_ALGO, "auth-zone %s ZONEMD hash is correct", zstr); in auth_zone_zonemd_check_hash() 1976 char zstr[255+1]; in auth_zone_zonemd_check_hash() local 1977 dname_str(z->name, zstr); in auth_zone_zonemd_check_hash() 1978 verbose(VERB_ALGO, "auth-zone %s ZONEMD failed: %s", zstr, *reason); in auth_zone_zonemd_check_hash() 7958 char zstr[255+1]; in auth_zone_zonemd_fail() local [all …]
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | difffile.c | 894 struct nsd_options* opt, const char* zstr, const char* patname) in find_or_create_zone() argument 910 zopt->name = region_strdup(opt->region, zstr); in find_or_create_zone() 915 "pattern %s", zstr, patname); in find_or_create_zone() 922 zopt = zone_list_zone_insert(opt, zstr, patname, 0, 0); in find_or_create_zone()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | zone.c | 15941 const char *zstr; in zone_namerd_tostr() 15953 zstr = "managed-keys-zone"; in zone_namerd_tostr() 15956 zstr = "redirect-zone"; in zone_namerd_tostr() 15959 zstr = "zone "; in zone_namerd_tostr() 15964 (prefix != NULL ? ": " : ""), zstr, zone->strnamerd, in zone_namerd_tostr() 16064 const char *zstr; dns_zone_logv() local
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | zone.c | 16011 const char *zstr; in dns_zone_logv() local 16023 zstr = "managed-keys-zone"; in dns_zone_logv() 16026 zstr = "redirect-zone"; in dns_zone_logv() 16029 zstr = "zone "; in dns_zone_logv() 16034 (prefix != NULL ? ": " : ""), zstr, zone->strnamerd, in dns_zone_logv()
|