Searched refs:wsize (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-10-stable/lib/libc/string/
H A Dbcopy.c47 #define wsize sizeof(word) macro
48 #define wmask (wsize - 1)
95 if ((t ^ (uintptr_t)dst) & wmask || length < wsize)
98 t = wsize - (t & wmask);
105 t = length / wsize;
106 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize);
113 * (t&wmask) bytes to align, not wsize-(t&wmask).
119 if ((t ^ (uintptr_t)dst) & wmask || length <= wsize)
126 t = length / wsize;
[all...]
H A Dmemset.c43 #define wsize sizeof(u_int) macro
44 #define wmask (wsize - 1)
86 if (length < 3 * wsize) {
107 t = wsize - t;
115 t = length / wsize;
118 dst += wsize;
/freebsd-10-stable/sys/powerpc/powerpc/
H A Dbcopy.c57 #define wsize sizeof(word) macro
58 #define wmask (wsize - 1)
96 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) {
99 t = wsize - (t & wmask);
108 t = length / wsize;
109 TLOOP(*(word *)dst = *(const word *)src; src += wsize;
110 dst += wsize);
117 * (t&wmask) bytes to align, not wsize-(t&wmask).
124 if ((t ^ (uintptr_t)dst) & wmask || length <= wsize) {
133 t = length / wsize;
[all...]
/freebsd-10-stable/contrib/amd/include/
H A Dnfs_common.h42 u_long wsize; member in struct:nfs_common_args
85 nap->wsize = a.wsize; \
98 a.wsize = nap->wsize; \
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.h91 unsigned wsize; /* window size or zero if not using window */ member in struct:inflate_state
H A Dinffast.c82 unsigned wsize; /* window size or zero if not using window */ local
85 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
109 wsize = state->wsize;
198 from += wsize - op;
208 from += wsize + write - op;
H A Dinflate.c125 state->wsize = 0;
317 Update the window with the last wsize (normally 32K) bytes written before
348 if (state->wsize == 0) {
349 state->wsize = 1U << state->wbits;
354 /* copy state->wsize or less output bytes into the circular window */
356 if (copy >= state->wsize) {
357 zmemcpy(state->window, strm->next_out - state->wsize, state->wsize);
359 state->whave = state->wsize;
362 dist = state->wsize
[all...]
H A Ddeflate.c1278 uInt wsize = s->w_size; local
1286 more = wsize;
1299 if (s->strstart >= wsize+MAX_DIST(s)) {
1301 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1302 s->match_start -= wsize;
1303 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1304 s->block_start -= (long) wsize;
1317 *p = (Pos)(m >= wsize ? m-wsize
[all...]
/freebsd-10-stable/sys/nfs/
H A Dnfsdiskless.h82 int wsize; /* write size in bytes */ member in struct:onfs_args
H A Dnfs_diskless.c74 * Validate/sanity check a rsize/wsize parameter.
132 } else if (strncmp(o, "wsize=", 6) == 0) {
134 if (checkrwsize(v, "wsize")) {
135 nd->wsize = (int) v;
250 nd3->root_args.wsize = 32768;
289 nd->root_args.wsize = 8192;
318 args.wsize = nd->root_args.wsize;
323 nd->root_args.wsize = args.wsize;
[all...]
/freebsd-10-stable/crypto/openssl/crypto/ec/
H A Dec_mult.c344 size_t *wsize = NULL; /* individual window sizes */ local
429 wsize = OPENSSL_malloc(totalnum * sizeof wsize[0]);
439 if (!wsize || !wNAF_len || !wNAF || !val_sub) {
453 wsize[i] = EC_window_bits_for_scalar_size(bits);
454 num_val += (size_t)1 << (wsize[i] - 1);
457 compute_wNAF((i < num ? scalars[i] : scalar), wsize[i],
486 wsize[num] = pre_comp->w;
487 tmp_wNAF = compute_wNAF(scalar, wsize[num], &tmp_len);
590 for (j = 0; j < ((size_t)1 << (wsize[
[all...]
/freebsd-10-stable/contrib/zlib/
H A Dinffast.c63 unsigned wsize; /* window size or zero if not using window */ local
66 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
90 wsize = state->wsize;
201 from += wsize - op;
211 from += wsize + wnext - op;
H A Dinfback.c65 state->wsize = 1U << windowBits;
214 left = state->wsize; \
287 left = state->wsize;
485 if (state->whave < state->wsize)
486 state->whave = state->wsize - left;
487 inflate_fast(strm, state->wsize);
577 if (state->offset > state->wsize - (state->whave < state->wsize ?
588 copy = state->wsize - state->offset;
609 if (left < state->wsize) {
[all...]
H A Dinflate.h96 unsigned wsize; /* window size or zero if not using window */ member in struct:inflate_state
H A Dinflate.c151 state->wsize = 0;
383 Update the window with the last wsize (normally 32K) bytes written before
415 if (state->wsize == 0) {
416 state->wsize = 1U << state->wbits;
421 /* copy state->wsize or less output bytes into the circular window */
422 if (copy >= state->wsize) {
423 zmemcpy(state->window, end - state->wsize, state->wsize);
425 state->whave = state->wsize;
428 dist = state->wsize
[all...]
H A Ddeflate.c206 uInt wsize = s->w_size; local
212 *p = (Pos)(m >= wsize ? m - wsize : NIL);
214 n = wsize;
219 *p = (Pos)(m >= wsize ? m - wsize : NIL);
1487 uInt wsize = s->w_size; local
1497 more = wsize;
1510 if (s->strstart >= wsize+MAX_DIST(s)) {
1512 zmemcpy(s->window, s->window+wsize, (unsigne
[all...]
/freebsd-10-stable/sys/amd64/include/
H A Dvmm_instruction_emul.h41 uint64_t wval, int wsize, void *arg);
/freebsd-10-stable/sys/nfsclient/
H A Dnfsargs.h52 int wsize; /* write size in bytes */ member in struct:nfs_args
/freebsd-10-stable/sys/amd64/amd64/
H A Ddb_trace.c488 int avail, c, cpu, i, wsize; local
506 wsize = 8;
508 wsize = 4;
510 wsize = size;
511 amd64_set_watch(i, addr, wsize, DBREG_DR7_WRONLY, d);
512 addr += wsize;
513 size -= wsize;
/freebsd-10-stable/sys/i386/i386/
H A Ddb_trace.c627 int avail, i, wsize; local
643 wsize = 4;
645 wsize = size;
646 i386_set_watch(i, addr, wsize,
648 addr += wsize;
649 size -= wsize;
/freebsd-10-stable/sys/netipsec/
H A Dkeydb.h170 u_int wsize; /* window size, i.g. 4 bytes */ member in struct:secreplay
H A Dipsec.c1465 if (replay->wsize == 0)
1469 frlast = replay->wsize - 1;
1470 wsizeb = replay->wsize << 3;
1521 if (replay->wsize == 0)
1525 frlast = replay->wsize - 1;
1526 wsizeb = replay->wsize << 3;
1535 bzero(replay->bitmap, replay->wsize);
1548 vshiftl(replay->bitmap, diff, replay->wsize);
1552 bzero(replay->bitmap, replay->wsize);
1601 * wsize
1604 vshiftl(unsigned char *bitmap, int nbit, int wsize) argument
[all...]
/freebsd-10-stable/lib/libipsec/
H A Dpfkey.c473 pfkey_send_update(so, satype, mode, src, dst, spi, reqid, wsize,
477 u_int satype, mode, wsize;
488 reqid, wsize,
504 pfkey_send_add(so, satype, mode, src, dst, spi, reqid, wsize,
508 u_int satype, mode, wsize;
519 reqid, wsize,
1107 pfkey_send_x1(so, type, satype, mode, src, dst, spi, reqid, wsize,
1114 u_int wsize;
1216 p = pfkey_setsadbsa(p, ep, spi, wsize, a_type, e_type, flags);
1969 pfkey_setsadbsa(buf, lim, spi, wsize, aut
[all...]
/freebsd-10-stable/contrib/amd/libamu/
H A Dmount_fs.c547 nap->wsize = hasmntval(mntp, MNTTAB_OPT_WSIZE);
549 if (nap->wsize)
552 if (nfs_version == NFS_VERSION && nap->wsize > 8192)
553 nap->wsize = 8192;
656 plog(XLOG_DEBUG, "NA->wsize = %lu", a->wsize);
/freebsd-10-stable/lib/libedit/
H A Dchartype.h166 size_t wsize; member in struct:ct_buffer_t

Completed in 311 milliseconds

12