Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/third_party/zlib/
H A Dfill_window_sse.c41 uInt wsize = s->w_size; in fill_window_sse() local
51 more = wsize; in fill_window_sse()
64 if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window_sse()
66 zmemcpy(s->window, s->window+wsize, (unsigned)wsize); in fill_window_sse()
67 s->match_start -= wsize; in fill_window_sse()
68 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ in fill_window_sse()
69 s->block_start -= (long) wsize; in fill_window_sse()
91 n = wsize; in fill_window_sse()
106 more += wsize; in fill_window_sse()
[all...]
H A Dinfback.c65 state->wsize = 1U << windowBits;
214 left = state->wsize; \
287 left = state->wsize;
486 if (state->whave < state->wsize)
487 state->whave = state->wsize - left;
488 inflate_fast(strm, state->wsize);
578 if (state->offset > state->wsize - (state->whave < state->wsize ?
589 copy = state->wsize - state->offset;
610 if (left < state->wsize) {
[all...]
H A Dinffast.c67 unsigned wsize; /* window size or zero if not using window */ local
70 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
94 wsize = state->wsize;
205 from += wsize - op;
215 from += wsize + wnext - op;
/third_party/skia/third_party/externals/zlib/
H A Dfill_window_sse.c41 uInt wsize = s->w_size; in fill_window_sse() local
51 more = wsize; in fill_window_sse()
64 if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window_sse()
66 zmemcpy(s->window, s->window+wsize, (unsigned)wsize); in fill_window_sse()
67 s->match_start -= wsize; in fill_window_sse()
68 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ in fill_window_sse()
69 s->block_start -= (long) wsize; in fill_window_sse()
91 n = wsize; in fill_window_sse()
106 more += wsize; in fill_window_sse()
[all...]
H A Dinfback.c65 state->wsize = 1U << windowBits;
214 left = state->wsize; \
287 left = state->wsize;
486 if (state->whave < state->wsize)
487 state->whave = state->wsize - left;
488 inflate_fast(strm, state->wsize);
578 if (state->offset > state->wsize - (state->whave < state->wsize ?
589 copy = state->wsize - state->offset;
610 if (left < state->wsize) {
[all...]
H A Dinffast.c67 unsigned wsize; /* window size or zero if not using window */ local
70 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
94 wsize = state->wsize;
205 from += wsize - op;
215 from += wsize + wnext - op;
/third_party/curl/tests/unit/
H A Dunit2601.c93 size_t wsize, size_t rsize, int opts) in check_bufq()
117 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq()
119 fail_unless((size_t)n <= wsize, "write: wrong size returned"); in check_bufq()
126 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq()
166 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq()
183 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq()
184 if(n < 0 || (size_t)n != wsize) { in check_bufq()
185 fail_unless(n > 0 && (size_t)n == wsize, "write should be complete"); in check_bufq()
197 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq()
198 fail_unless(n > 0 && (size_t)n == wsize, "writ in check_bufq()
91 check_bufq(size_t pool_spares, size_t chunk_size, size_t max_chunks, size_t wsize, size_t rsize, int opts) check_bufq() argument
[all...]
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
H A Ddio_read.c37 static void do_buffered_writes(int fd, char *bufptr, long long fsize, long long wsize, int pattern) in do_buffered_writes() argument
42 memset(bufptr, pattern, wsize); in do_buffered_writes()
46 for (offset = 0; offset + wsize <= fsize; offset += wsize) { in do_buffered_writes()
47 w = pwrite(fd, bufptr, wsize, offset); in do_buffered_writes()
50 if (w != wsize) in do_buffered_writes()
51 tst_brk(TBROK, "pwrite: wrote %lld bytes out of %lld", w, wsize); in do_buffered_writes()
/third_party/node/deps/zlib/
H A Dslide_hash_simd.h29 #define Z_SLIDE_INIT_SIMD(wsize) _mm_set1_epi16((ush)(wsize))
45 #define Z_SLIDE_INIT_SIMD(wsize) vdupq_n_u16((ush)(wsize))
103 * to implement slide_hash() `(m >= wsize ? m - wsize : NIL);` code. in slide_hash_simd()
H A Dinfback.c58 state->wsize = 1U << windowBits; in inflateBackInit_()
206 left = state->wsize; \
274 left = state->wsize; in inflateBack()
474 if (state->whave < state->wsize) in inflateBack()
475 state->whave = state->wsize - left; in inflateBack()
476 inflate_fast(strm, state->wsize); in inflateBack()
566 if (state->offset > state->wsize - (state->whave < state->wsize ? in inflateBack()
577 copy = state->wsize - state->offset; in inflateBack()
612 if (left < state->wsize) { in inflateBack()
[all...]
H A Dinffast.c64 unsigned wsize; /* window size or zero if not using window */ in inflate_fast() local
67 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */ in inflate_fast()
91 wsize = state->wsize; in inflate_fast()
202 from += wsize - op; in inflate_fast()
212 from += wsize + wnext - op; in inflate_fast()
/third_party/ltp/testcases/kernel/pty/
H A Dpty07.c82 struct winsize wsize; in setup() local
94 SAFE_IOCTL(fd, TIOCGWINSZ, &wsize); in setup()
95 consize.v_rows = wsize.ws_row; in setup()
96 consize.v_cols = wsize.ws_col; in setup()
/third_party/libwebsockets/win32port/zlib/
H A Dinfback.c56 state->wsize = 1U << windowBits;
205 left = state->wsize; \
278 left = state->wsize;
477 if (state->whave < state->wsize)
478 state->whave = state->wsize - left;
479 inflate_fast(strm, state->wsize);
569 if (state->offset > state->wsize - (state->whave < state->wsize ?
580 copy = state->wsize - state->offset;
601 if (left < state->wsize) {
[all...]
H A Dinflate.c118 state->wsize = 0;
345 Update the window with the last wsize (normally 32K) bytes written before
376 if (state->wsize == 0) {
377 state->wsize = 1U << state->wbits;
382 /* copy state->wsize or less output bytes into the circular window */
384 if (copy >= state->wsize) {
385 zmemcpy(state->window, strm->next_out - state->wsize, state->wsize);
387 state->whave = state->wsize;
390 dist = state->wsize
[all...]
H A Dinffast.c80 unsigned wsize; /* window size or zero if not using window */ local
83 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
107 wsize = state->wsize;
218 from += wsize - op;
228 from += wsize + wnext - op;
/third_party/zlib/
H A Dinfback.c58 state->wsize = 1U << windowBits; in inflateBackInit_()
206 left = state->wsize; \
274 left = state->wsize; in inflateBack()
473 if (state->whave < state->wsize) in inflateBack()
474 state->whave = state->wsize - left; in inflateBack()
475 inflate_fast(strm, state->wsize); in inflateBack()
565 if (state->offset > state->wsize - (state->whave < state->wsize ? in inflateBack()
576 copy = state->wsize - state->offset; in inflateBack()
611 if (left < state->wsize) { in inflateBack()
[all...]
H A Dinffast.c60 unsigned wsize; /* window size or zero if not using window */ in inflate_fast() local
63 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */ in inflate_fast()
87 wsize = state->wsize; in inflate_fast()
198 from += wsize - op; in inflate_fast()
208 from += wsize + wnext - op; in inflate_fast()
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/
H A Dinffast_chunk.c35 CHUNKCOPY_CHUNK_SIZE-1 bytes of padding beyond strm->state->wsize
88 unsigned wsize; /* window size or zero if not using window */ local
91 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
116 wsize = state->wsize;
118 wnext = (state->wnext == 0 && whave >= wsize) ? wsize : state->wnext;
255 from += wsize - op;
H A Dinflate.c153 state->wsize = 0;
386 Update the window with the last wsize (normally 32K) bytes written before
411 unsigned wsize = 1U << state->wbits; local
413 ZALLOC(strm, wsize + CHUNKCOPY_CHUNK_SIZE,
423 zmemzero(state->window + wsize, CHUNKCOPY_CHUNK_SIZE);
428 if (state->wsize == 0) {
429 state->wsize = 1U << state->wbits;
434 /* copy state->wsize or less output bytes into the circular window */
435 if (copy >= state->wsize) {
436 zmemcpy(state->window, end - state->wsize, stat
[all...]
/third_party/skia/third_party/externals/zlib/contrib/optimizations/
H A Dinffast_chunk.c35 CHUNKCOPY_CHUNK_SIZE-1 bytes of padding beyond strm->state->wsize
88 unsigned wsize; /* window size or zero if not using window */ local
91 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
116 wsize = state->wsize;
118 wnext = (state->wnext == 0 && whave >= wsize) ? wsize : state->wnext;
255 from += wsize - op;
/third_party/node/deps/zlib/contrib/optimizations/
H A Dinffast_chunk.c36 CHUNKCOPY_CHUNK_SIZE-1 bytes of padding beyond strm->state->wsize
86 unsigned wsize; /* window size or zero if not using window */ in inflate_fast_chunk_() local
89 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */ in inflate_fast_chunk_()
114 wsize = state->wsize; in inflate_fast_chunk_()
116 wnext = (state->wnext == 0 && whave >= wsize) ? wsize : state->wnext; in inflate_fast_chunk_()
273 from += wsize - op; in inflate_fast_chunk_()
H A Dinflate.c136 state->wsize = 0; in inflateReset()
357 Update the window with the last wsize (normally 32K) bytes written before
378 unsigned wsize = 1U << state->wbits; in updatewindow() local
380 ZALLOC(strm, wsize + CHUNKCOPY_CHUNK_SIZE, in updatewindow()
390 zmemzero(state->window + wsize, CHUNKCOPY_CHUNK_SIZE); in updatewindow()
395 if (state->wsize == 0) { in updatewindow()
396 state->wsize = 1U << state->wbits; in updatewindow()
401 /* copy state->wsize or less output bytes into the circular window */ in updatewindow()
402 if (copy >= state->wsize) { in updatewindow()
403 zmemcpy(state->window, end - state->wsize, stat in updatewindow()
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_mult.c423 size_t *wsize = NULL; /* individual window sizes */ in ossl_ec_wNAF_mul() local
513 wsize = OPENSSL_malloc(totalnum * sizeof(wsize[0])); in ossl_ec_wNAF_mul()
523 if (wsize == NULL || wNAF_len == NULL || wNAF == NULL || val_sub == NULL) { in ossl_ec_wNAF_mul()
537 wsize[i] = EC_window_bits_for_scalar_size(bits); in ossl_ec_wNAF_mul()
538 num_val += (size_t)1 << (wsize[i] - 1); in ossl_ec_wNAF_mul()
541 bn_compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], in ossl_ec_wNAF_mul()
570 wsize[num] = pre_comp->w; in ossl_ec_wNAF_mul()
571 tmp_wNAF = bn_compute_wNAF(scalar, wsize[num], &tmp_len); in ossl_ec_wNAF_mul()
674 for (j = 0; j < ((size_t)1 << (wsize[ in ossl_ec_wNAF_mul()
[all...]
/third_party/openssl/crypto/ec/
H A Dec_mult.c423 size_t *wsize = NULL; /* individual window sizes */ in ossl_ec_wNAF_mul() local
513 wsize = OPENSSL_malloc(totalnum * sizeof(wsize[0])); in ossl_ec_wNAF_mul()
523 if (wsize == NULL || wNAF_len == NULL || wNAF == NULL || val_sub == NULL) { in ossl_ec_wNAF_mul()
537 wsize[i] = EC_window_bits_for_scalar_size(bits); in ossl_ec_wNAF_mul()
538 num_val += (size_t)1 << (wsize[i] - 1); in ossl_ec_wNAF_mul()
541 bn_compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], in ossl_ec_wNAF_mul()
570 wsize[num] = pre_comp->w; in ossl_ec_wNAF_mul()
571 tmp_wNAF = bn_compute_wNAF(scalar, wsize[num], &tmp_len); in ossl_ec_wNAF_mul()
674 for (j = 0; j < ((size_t)1 << (wsize[ in ossl_ec_wNAF_mul()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dtwinvq.c336 int j, first_wsize, wsize; // Window size in imdct_and_window() local
346 wsize = types_sizes[wtype_to_wsize[wtype]]; in imdct_and_window()
347 first_wsize = wsize; in imdct_and_window()
358 wsize = types_sizes[wtype_to_wsize[sub_wtype]]; in imdct_and_window()
362 tctx->fdsp->vector_fmul_window(out2, prev_buf + (bsize - wsize) / 2, in imdct_and_window()
364 ff_sine_windows[av_log2(wsize)], in imdct_and_window()
365 wsize / 2); in imdct_and_window()
366 out2 += wsize; in imdct_and_window()
368 memcpy(out2, buf1 + bsize * j + wsize / 2, in imdct_and_window()
369 (bsize - wsize / in imdct_and_window()
[all...]

Completed in 15 milliseconds

12