HomeSort by: relevance | last modified time | path
    Searched defs:zbuf (Results 1 - 6 of 6) sorted by relevancy

  /src/sbin/newfs_sysvbfs/
newfs_sysvbfs.c 125 uint8_t zbuf[8192] = {0, }; local in function:main
142 size_t writenow = MIN(filesize, (off_t)sizeof(zbuf));
144 if ((size_t)write(fd, zbuf, writenow) != writenow) {
155 if (write(fd, zbuf, 1) != 1) {
  /src/sbin/newfs_v7fs/
newfs_v7fs.c 157 uint8_t zbuf[8192] = {0, }; local in function:main
173 (off_t)sizeof(zbuf));
175 if ((size_t)write(fd, zbuf, writenow) !=
185 if (write(fd, zbuf, 1) != 1) {
  /src/sys/opencrypto/
deflate.c 49 #define ZBUF 10
85 z_stream zbuf; local in function:deflate_global
89 struct deflate_buf buf[ZBUF];
93 memset(&zbuf, 0, sizeof(z_stream));
94 zbuf.next_in = data; /* data that is going to be processed */
95 zbuf.zalloc = ocf_zalloc;
96 zbuf.zfree = ocf_zfree;
97 zbuf.opaque = Z_NULL;
98 zbuf.avail_in = size; /* Total length of data to be processed */
117 zbuf.next_out = buf[0].out
231 z_stream zbuf; local in function:gzip_global
    [all...]
  /src/usr.sbin/kgmon/
kgmon.c 512 char *zbuf; local in function:reset
535 if ((zbuf = malloc(biggest)) == NULL)
536 err(EXIT_FAILURE, "cannot allocate zbuf space");
537 (void)memset(zbuf, 0, biggest);
539 if ((size_t)kvm_write(kvp->kd, (u_long)kvp->gpm.kcount, zbuf,
543 if ((size_t)kvm_write(kvp->kd, (u_long)kvp->gpm.froms, zbuf,
547 if ((size_t)kvm_write(kvp->kd, (u_long)kvp->gpm.tos, zbuf,
550 free(zbuf);
555 if (sysctl(mib, miblen, NULL, NULL, zbuf, (size_t)kvp->gpm.kcountsize) < 0)
558 if (sysctl(mib, miblen, NULL, NULL, zbuf, (size_t)kvp->gpm.fromssize) < 0
    [all...]
  /src/usr.sbin/bad144/
bad144.c 480 char *zbuf; local in function:blkzero
482 zbuf = calloc(1, (unsigned int)dp->d_secsize);
483 if (zbuf == NULL)
486 free(zbuf);
491 if (nflag == 0 && (size_t)write(f, zbuf, dp->d_secsize) != dp->d_secsize)
494 free(zbuf);
  /src/sys/dev/stbi/
stb_image.c 2280 } zbuf; typedef in typeref:struct:__anon26c9e3660a08
2282 __forceinline static int zget8(zbuf *z)
2288 static void fill_bits(zbuf *z)
2297 __forceinline static unsigned int zreceive(zbuf *z, int n)
2307 __forceinline static int zhuffman_decode(zbuf *a, zhuffman *z)
2334 static int expand(zbuf *z, int n) // need to make room for n bytes
2365 static int parse_huffman_block(zbuf *a)
2393 static int compute_huffman_codes(zbuf *a)
2439 static int parse_uncompressed_block(zbuf *a)
2468 static int parse_zlib_header(zbuf *a
    [all...]

Completed in 134 milliseconds