HomeSort by: relevance | last modified time | path
    Searched refs:wsize (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/common/lib/libc/string/
bcopy.c 67 #define wsize sizeof(word) macro
68 #define wmask (wsize - 1)
110 if ((u ^ (unsigned long)dst) & wmask || length < wsize)
113 t = wsize - (size_t)(u & wmask);
120 t = length / wsize;
121 TLOOP(*(word *)(void *)dst = *(const word *)(const void *)src; src += wsize; dst += wsize);
128 * (t&wmask) bytes to align, not wsize-(t&wmask).
136 if ((u ^ (unsigned long)dst) & wmask || length <= wsize)
143 t = length / wsize;
    [all...]
memset.c 58 #define wsize sizeof(u_int) macro
59 #define wmask (wsize - 1)
123 if (length < 3 * wsize) {
144 t = wsize - t;
152 t = length / wsize;
155 dst += wsize;
  /src/lib/libedit/
chartype.c 71 ct_conv_wbuff_resize(ct_buffer_t *conv, size_t wsize)
75 if (wsize <= conv->wsize)
78 conv->wsize = wsize;
80 p = el_realloc(conv->wbuff, conv->wsize * sizeof(*conv->wbuff));
82 conv->wsize = 0;
134 if (conv->wsize < ++len)
138 mbstowcs(conv->wbuff, s, conv->wsize);
156 if (conv->wsize < ++bufspace
    [all...]
chartype.h 65 size_t wsize; member in struct:ct_buffer_t
  /src/sys/fs/nfs/common/
nfsdiskless.h 84 int wsize; /* write size in bytes */ member in struct:onfs_args
nfs_diskless.c 82 * Validate/sanity check a rsize/wsize parameter.
140 } else if (strncmp(o, "wsize=", 6) == 0) {
142 if (checkrwsize(v, "wsize")) {
143 nd->wsize = (int) v;
266 nd3->root_args.wsize = 32768;
305 nd->root_args.wsize = 8192;
334 args.wsize = nd->root_args.wsize;
339 nd->root_args.wsize = args.wsize;
    [all...]
  /src/common/dist/zlib/
inffast.c 62 unsigned wsize; /* window size or zero if not using window */ local in function:inflate_fast
65 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
89 wsize = state->wsize;
200 from += wsize - op;
210 from += wsize + wnext - op;
infback.c 60 state->wsize = 1U << windowBits;
208 left = state->wsize; \
276 left = state->wsize;
475 if (state->whave < state->wsize)
476 state->whave = state->wsize - left;
477 inflate_fast(strm, state->wsize);
567 if (state->offset > state->wsize - (state->whave < state->wsize ?
578 copy = state->wsize - state->offset;
613 if (left < state->wsize) {
    [all...]
inflate.h 97 unsigned wsize; /* window size or zero if not using window */ member in struct:inflate_state
inflate.c 137 state->wsize = 0;
357 Update the window with the last wsize (normally 32K) bytes written before
385 if (state->wsize == 0) {
386 state->wsize = 1U << state->wbits;
391 /* copy state->wsize or less output bytes into the circular window */
392 if (copy >= state->wsize) {
393 zmemcpy(state->window, end - state->wsize, state->wsize);
395 state->whave = state->wsize;
398 dist = state->wsize - state->wnext
1452 unsigned wsize; local in function:inflateCopy
    [all...]
deflate.c 192 uInt wsize = s->w_size; local in function:slide_hash
198 *p = (Pos)(m >= wsize ? m - wsize : NIL);
200 n = wsize;
205 *p = (Pos)(m >= wsize ? m - wsize : NIL);
256 uInt wsize = s->w_size; local in function:fill_window
266 more = wsize;
279 if (s->strstart >= wsize + MAX_DIST(s)) {
281 zmemcpy(s->window, s->window + wsize, (unsigned)wsize - more)
    [all...]
  /src/sys/compat/ultrix/
ultrix_fs.c 319 int wsize; /* write size in bytes */ member in struct:ultrix_nfs_args
393 na.wsize = una.wsize;
  /src/usr.bin/resize/
resize.c 182 static const char *wsize[EMULATIONS] = variable in typeref:typename:const char * []
518 readstring(ttyfp, buf, wsize[emu]);
519 if (sscanf(buf, wsize[emu], &ts.ws_xpixel, &ts.ws_ypixel) != 2) {
  /src/sys/compat/sunos/
sunos.h 30 int wsize; /* write size in bytes */ member in struct:sunos_nfs_args
  /src/sys/netipsec/
keydb.h 150 u_int wsize; /* window size, i.g. 4 bytes */ member in struct:secreplay
ipsec.c 1595 if (replay->wsize == 0)
1599 frlast = replay->wsize - 1;
1600 wsizeb = replay->wsize << 3;
1651 if (replay->wsize == 0)
1655 frlast = replay->wsize - 1;
1656 wsizeb = replay->wsize << 3;
1665 memset(replay->bitmap, 0, replay->wsize);
1678 vshiftl(replay->bitmap, diff, replay->wsize);
1682 memset(replay->bitmap, 0, replay->wsize);
1732 * wsize: buffer size (bytes)
    [all...]
key_debug.c 565 printf(" secreplay { count=%u wsize=%u seq=%u lastseq=%u",
566 rpl->count, rpl->wsize, rpl->seq, rpl->lastseq);
575 for (len = 0; len < rpl->wsize; len++) {
  /src/sys/nfs/
nfsmount.h 60 int wsize; /* write size in bytes */ member in struct:nfs_args
97 "b\00soft\0b\01wsize\0b\02rsize\0b\03timeo\0" \
nfs_vfsops.c 494 if ((argp->flags & NFSMNT_WSIZE) && argp->wsize > 0) {
496 nmp->nm_wsize = argp->wsize;
610 args->wsize = nmp->nm_wsize;
  /src/sbin/mount_nfs/
mount_nfs.c 126 { "wsize", 0, ALTF_WSIZE, 1 },
146 .wsize = NFS_WSIZE,
332 nfsargsp->wsize =
333 (int)getmntoptnum(mp, "wsize");
401 nfsargsp->wsize = getnum(optarg, c);
489 "flags=%s, wsize=%d, rsize=%d, readdirsize=%d, timeo=%d, "
496 nfsargsp->wsize,
  /src/sys/compat/linux/arch/alpha/
linux_osf1.h 168 osf1_int wsize; member in struct:osf1_nfs_args
  /src/lib/libc/db/hash/
hash.c 482 ssize_t wsize; local in function:flush_meta
496 if ((wsize = pwrite(fp, whdrp, sizeof(HASHHDR), (off_t)0)) == -1)
499 if (wsize != sizeof(HASHHDR)) {
hash_page.c 595 ssize_t wsize; local in function:__put_page
624 if ((wsize = pwrite(fd, p, (size_t)size, (off_t)page << hashp->BSHIFT)) == -1)
627 if (wsize != size) {
  /src/sys/fs/nfs/client/
nfs_clvfsops.c 243 args->wsize = oargs->wsize;
631 if ((argp->flags & NFSMNT_WSIZE) && argp->wsize > 0) {
632 nmp->nm_wsize = argp->wsize;
737 "readdirsize", "soft", "hard", "mntudp", "tcp", "udp", "wsize", "rsize",
863 .wsize = NFS_WSIZE,
1002 if (vfs_getopt(mp->mnt_optnew, "wsize", (void **)&opt, NULL) == 0) {
1004 vfs_mount_error(mp, "illegal wsize");
1008 ret = sscanf(opt, "%d", &args.wsize);
1009 if (ret != 1 || args.wsize <= 0)
    [all...]
  /src/sys/net/
zlib.c 388 * and move to the first half later to keep a dictionary of at least wSize
390 * wSize-MAX_MATCH bytes, but this ensures that IO is always
397 /* Actual size of window: 2*wSize, except when the user input buffer
551 * distances are limited to MAX_DIST instead of WSIZE.
1589 uInt wsize = s->w_size; local in function:fill_window
1596 more = wsize;
1607 } else if (s->strstart >= wsize+MAX_DIST(s)) {
1609 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1610 s->match_start -= wsize;
    [all...]

Completed in 26 milliseconds

1 2