/third_party/skia/third_party/externals/zlib/ |
D | fill_window_sse.c | 41 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()
|
D | infback.c | 65 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) { 611 if (out(out_desc, state->window, state->wsize - left))
|
D | inffast.c | 67 unsigned wsize; /* window size or zero if not using window */ local 94 wsize = state->wsize; 205 from += wsize - op; 215 from += wsize + wnext - op;
|
/third_party/node/deps/v8/third_party/zlib/ |
D | fill_window_sse.c | 41 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()
|
D | infback.c | 65 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) { 611 if (out(out_desc, state->window, state->wsize - left))
|
D | inffast.c | 67 unsigned wsize; /* window size or zero if not using window */ local 94 wsize = state->wsize; 205 from += wsize - op; 215 from += wsize + wnext - op;
|
/third_party/curl/tests/unit/ |
D | unit2601.c | 93 size_t wsize, size_t rsize, int opts) in check_bufq() argument 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, "write should be complete"); in check_bufq()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_read.c | 37 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/ltp/testcases/kernel/pty/ |
D | pty07.c | 82 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/node/deps/zlib/ |
D | infback.c | 58 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() 613 if (out(out_desc, state->window, state->wsize - left) && in inflateBack()
|
D | slide_hash_simd.h | 29 #define Z_SLIDE_INIT_SIMD(wsize) _mm_set1_epi16((ush)(wsize)) argument 45 #define Z_SLIDE_INIT_SIMD(wsize) vdupq_n_u16((ush)(wsize)) argument
|
D | inffast.c | 64 unsigned wsize; /* window size or zero if not using window */ in inflate_fast() local 91 wsize = state->wsize; in inflate_fast() 202 from += wsize - op; in inflate_fast() 212 from += wsize + wnext - op; in inflate_fast()
|
/third_party/zlib/ |
D | infback.c | 65 state->wsize = 1U << windowBits; 215 left = state->wsize; \ 288 left = state->wsize; 487 if (state->whave < state->wsize) 488 state->whave = state->wsize - left; 489 inflate_fast(strm, state->wsize); 579 if (state->offset > state->wsize - (state->whave < state->wsize ? 590 copy = state->wsize - state->offset; 625 if (left < state->wsize) { 626 if (out(out_desc, state->window, state->wsize - left) &&
|
D | inffast.c | 63 unsigned wsize; /* window size or zero if not using window */ local 90 wsize = state->wsize; 201 from += wsize - op; 211 from += wsize + wnext - op;
|
/third_party/libwebsockets/win32port/zlib/ |
D | infback.c | 56 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) { 602 if (out(out_desc, state->window, state->wsize - left))
|
D | inflate.c | 118 state->wsize = 0; 376 if (state->wsize == 0) { 377 state->wsize = 1U << state->wbits; 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 - state->wnext; 397 state->whave = state->wsize; 401 if (state->wnext == state->wsize) state->wnext = 0; 402 if (state->whave < state->wsize) state->whave += dist; [all …]
|
/third_party/openssl/crypto/ec/ |
D | ec_mult.c | 423 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[i] - 1)); j++) { in ossl_ec_wNAF_mul() 705 if (wsize[i] > 1) { in ossl_ec_wNAF_mul() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
D | ec_mult.c | 423 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[i] - 1)); j++) { in ossl_ec_wNAF_mul() 705 if (wsize[i] > 1) { in ossl_ec_wNAF_mul() [all …]
|
/third_party/skia/third_party/externals/zlib/contrib/optimizations/ |
D | inffast_chunk.c | 88 unsigned wsize; /* window size or zero if not using window */ local 116 wsize = state->wsize; 118 wnext = (state->wnext == 0 && whave >= wsize) ? wsize : state->wnext; 255 from += wsize - op;
|
D | inflate.c | 152 state->wsize = 0; 410 unsigned wsize = 1U << state->wbits; local 412 ZALLOC(strm, wsize + CHUNKCOPY_CHUNK_SIZE, 422 zmemzero(state->window + wsize, CHUNKCOPY_CHUNK_SIZE); 427 if (state->wsize == 0) { 428 state->wsize = 1U << state->wbits; 434 if (copy >= state->wsize) { 435 zmemcpy(state->window, end - state->wsize, state->wsize); 437 state->whave = state->wsize; 440 dist = state->wsize - state->wnext; [all …]
|
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/ |
D | inffast_chunk.c | 88 unsigned wsize; /* window size or zero if not using window */ local 116 wsize = state->wsize; 118 wnext = (state->wnext == 0 && whave >= wsize) ? wsize : state->wnext; 255 from += wsize - op;
|
D | inflate.c | 153 state->wsize = 0; 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; 435 if (copy >= state->wsize) { 436 zmemcpy(state->window, end - state->wsize, state->wsize); 438 state->whave = state->wsize; 441 dist = state->wsize - state->wnext; [all …]
|
/third_party/node/deps/zlib/contrib/optimizations/ |
D | inffast_chunk.c | 86 unsigned wsize; /* window size or zero if not using window */ in inflate_fast_chunk_() local 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_()
|
D | inflate.c | 136 state->wsize = 0; in inflateReset() 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() 402 if (copy >= state->wsize) { in updatewindow() 403 zmemcpy(state->window, end - state->wsize, state->wsize); in updatewindow() 405 state->whave = state->wsize; in updatewindow() 408 dist = state->wsize - state->wnext; in updatewindow() [all …]
|
/third_party/mbedtls/library/ |
D | bignum_core.c | 636 size_t wsize = (Ebits > 671) ? 6 : (Ebits > 239) ? 5 : in exp_mod_get_window_size() local 640 if (wsize > MBEDTLS_MPI_WINDOW_SIZE) { in exp_mod_get_window_size() 641 wsize = MBEDTLS_MPI_WINDOW_SIZE; in exp_mod_get_window_size() 645 return wsize; in exp_mod_get_window_size() 650 const size_t wsize = exp_mod_get_window_size(E_limbs * biL); in mbedtls_mpi_core_exp_mod_working_limbs() local 651 const size_t welem = ((size_t) 1) << wsize; in mbedtls_mpi_core_exp_mod_working_limbs() 709 const size_t wsize = exp_mod_get_window_size(E_limbs * biL); in mbedtls_mpi_core_exp_mod() local 710 const size_t welem = ((size_t) 1) << wsize; in mbedtls_mpi_core_exp_mod() 768 if (window_bits == wsize || in mbedtls_mpi_core_exp_mod()
|