Home
last modified time | relevance | path

Searched refs:wsize (Results 1 – 25 of 51) sorted by relevance

123

/external/v8/third_party/zlib/
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()
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) {
611 if (out(out_desc, state->window, state->wsize - left))
Dinffast.c67 unsigned wsize; /* window size or zero if not using window */ local
94 wsize = state->wsize;
205 from += wsize - op;
215 from += wsize + wnext - op;
Dinflate.c151 state->wsize = 0;
416 if (state->wsize == 0) {
417 state->wsize = 1U << state->wbits;
423 if (copy >= state->wsize) {
424 zmemcpy(state->window, end - state->wsize, state->wsize);
426 state->whave = state->wsize;
429 dist = state->wsize - state->wnext;
436 state->whave = state->wsize;
440 if (state->wnext == state->wsize) state->wnext = 0;
441 if (state->whave < state->wsize) state->whave += dist;
[all …]
/external/zlib/
Dfill_window_sse.c38 uInt wsize = s->w_size; in fill_window_sse() local
48 more = wsize; in fill_window_sse()
61 if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window_sse()
63 zmemcpy(s->window, s->window+wsize, (unsigned)wsize); in fill_window_sse()
64 s->match_start -= wsize; in fill_window_sse()
65 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ in fill_window_sse()
66 s->block_start -= (long) wsize; in fill_window_sse()
88 n = wsize; in fill_window_sse()
103 more += wsize; in fill_window_sse()
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) {
611 if (out(out_desc, state->window, state->wsize - left))
Dinffast.c67 unsigned wsize; /* window size or zero if not using window */ local
94 wsize = state->wsize;
205 from += wsize - op;
215 from += wsize + wnext - op;
Dinflate.c151 state->wsize = 0;
416 if (state->wsize == 0) {
417 state->wsize = 1U << state->wbits;
423 if (copy >= state->wsize) {
424 zmemcpy(state->window, end - state->wsize, state->wsize);
426 state->whave = state->wsize;
429 dist = state->wsize - state->wnext;
436 state->whave = state->wsize;
440 if (state->wnext == state->wsize) state->wnext = 0;
441 if (state->whave < state->wsize) state->whave += dist;
[all …]
/external/perfetto/src/perfetto_cmd/
Dperfetto_cmd_android.cc134 auto wsize = PERFETTO_EINTR(sendfile(*staging_fd, fd, &offset, remaining)); in SaveOutputToIncidentTraceOrCrash() local
135 if (wsize < 0) { in SaveOutputToIncidentTraceOrCrash()
138 wsize, static_cast<int64_t>(offset), bytes_written_, in SaveOutputToIncidentTraceOrCrash()
141 remaining -= static_cast<size_t>(wsize); in SaveOutputToIncidentTraceOrCrash()
148 wsize, static_cast<int64_t>(offset), bytes_written_, in SaveOutputToIncidentTraceOrCrash()
/external/u-boot/fs/btrfs/
Dcompression.c122 size_t wsize; in decompress_zstd() local
125 wsize = ZSTD_DStreamWorkspaceBound(ZSTD_BTRFS_MAX_INPUT); in decompress_zstd()
126 workspace = malloc(wsize); in decompress_zstd()
129 wsize); in decompress_zstd()
133 dstream = ZSTD_initDStream(ZSTD_BTRFS_MAX_INPUT, workspace, wsize); in decompress_zstd()
/external/python/cpython2/Modules/zlib/
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) {
610 if (out(out_desc, state->window, state->wsize - left))
Dinffast.c63 unsigned wsize; /* window size or zero if not using window */ local
90 wsize = state->wsize;
201 from += wsize - op;
211 from += wsize + wnext - op;
Dinflate.c151 state->wsize = 0;
415 if (state->wsize == 0) {
416 state->wsize = 1U << state->wbits;
422 if (copy >= state->wsize) {
423 zmemcpy(state->window, end - state->wsize, state->wsize);
425 state->whave = state->wsize;
428 dist = state->wsize - state->wnext;
435 state->whave = state->wsize;
439 if (state->wnext == state->wsize) state->wnext = 0;
440 if (state->whave < state->wsize) state->whave += dist;
[all …]
/external/u-boot/fs/fat/
Dfat_write.c502 loff_t wsize; in get_set_cluster() local
517 wsize = min(bytesperclust - pos, size); in get_set_cluster()
524 memcpy(tmpbuf_cluster + pos, buffer, wsize); in get_set_cluster()
531 size -= wsize; in get_set_cluster()
532 buffer += wsize; in get_set_cluster()
533 *gotsize += wsize; in get_set_cluster()
546 wsize = clustcount * bytesperclust; in get_set_cluster()
555 size -= wsize; in get_set_cluster()
556 buffer += wsize; in get_set_cluster()
557 *gotsize += wsize; in get_set_cluster()
[all …]
/external/u-boot/arch/arm/mach-mvebu/
Dmbus.c182 u32 wsize; in mvebu_mbus_window_conflicts() local
187 &enabled, &wbase, &wsize, in mvebu_mbus_window_conflicts()
193 wend = wbase + wsize; in mvebu_mbus_window_conflicts()
219 u32 wsize; in mvebu_mbus_find_window() local
223 &enabled, &wbase, &wsize, in mvebu_mbus_find_window()
229 if (base == wbase && size == wsize) in mvebu_mbus_find_window()
422 u32 wsize; in mvebu_mbus_get_lowest_base() local
427 &enabled, &wbase, &wsize, in mvebu_mbus_get_lowest_base()
/external/v8/third_party/zlib/contrib/optimizations/
Dinffast_chunk.c88 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;
Dinflate.c152 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 …]
/external/zlib/contrib/optimizations/
Dinffast_chunk.c88 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;
Dinflate.c152 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 …]
/external/u-boot/lib/zlib/
Dinffast.c81 unsigned wsize; /* window size or zero if not using window */ in inflate_fast() local
116 wsize = state->wsize; in inflate_fast()
205 from += wsize - op; in inflate_fast()
215 from += wsize + write - op; in inflate_fast()
Dinflate.c22 state->wsize = 0; in inflateReset()
116 if (state->wsize == 0) { in updatewindow()
117 state->wsize = 1U << state->wbits; in updatewindow()
124 if (copy >= state->wsize) { in updatewindow()
125 zmemcpy(state->window, strm->next_out - state->wsize, state->wsize); in updatewindow()
127 state->whave = state->wsize; in updatewindow()
130 dist = state->wsize - state->write; in updatewindow()
137 state->whave = state->wsize; in updatewindow()
141 if (state->write == state->wsize) state->write = 0; in updatewindow()
142 if (state->whave < state->wsize) state->whave += dist; in updatewindow()
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/
Dexponentiation.c673 int wsize = 0; in BN_mod_exp_mont() local
676 wvalue <<= (i - wsize); in BN_mod_exp_mont()
678 wsize = i; in BN_mod_exp_mont()
684 for (int i = 0; i < wsize + 1; i++) { in BN_mod_exp_mont()
702 if (wstart == wsize) { in BN_mod_exp_mont()
705 wstart -= wsize + 1; in BN_mod_exp_mont()
777 unsigned wsize = 0; in bn_mod_exp_mont_small() local
780 wvalue <<= (i - wsize); in bn_mod_exp_mont_small()
782 wsize = i; in bn_mod_exp_mont_small()
788 for (unsigned i = 0; i < wsize + 1; i++) { in bn_mod_exp_mont_small()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dbzip_reverse_loops.ll46 define void @example1(i32* nocapture %a, i32 %n, i32 %wsize) nounwind uwtable ssp {
55 %cmp = icmp slt i32 %0, %wsize
56 %sub = sub nsw i32 %0, %wsize
/external/llvm/test/Transforms/LoopVectorize/
Dbzip_reverse_loops.ll47 define void @example1(i32* nocapture %a, i32 %n, i32 %wsize) nounwind uwtable ssp {
56 %cmp = icmp slt i32 %0, %wsize
57 %sub = sub nsw i32 %0, %wsize
/external/perfetto/src/base/
Dsubprocess.cc380 int64_t wsize = in TryPushStdin() local
383 if (wsize < 0 && errno == EAGAIN) in TryPushStdin()
386 if (wsize >= 0) { in TryPushStdin()
389 input_written_ += static_cast<size_t>(wsize); in TryPushStdin()

123