Searched refs:dist (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/libkern/zlib/ |
H A D | inffast.c | 130 unsigned dist; /* match distance */ local 201 dist = (unsigned)(this.val); 211 dist += (unsigned)hold & ((1U << op) - 1); 213 if (dist > dmax) { 221 Tracevv((stderr, "inflate: distance %u\n", dist)); 223 if (dist > op) { /* see if copy from window */ 224 op = dist - op; /* distance back in window */ 238 from = out - dist; /* rest from output */ 256 from = out - dist; /* rest from output */ 267 from = out - dist; /* res [all...] |
H A D | deflate.h | 310 int _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc)); 317 #define d_code(dist) \ 318 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)]) 319 /* Mapping from a distance to a distance code. dist is the distance - 1 and 344 ush dist = (distance); \ 345 s->d_buf[s->last_lit] = dist; \ 347 dist--; \ 349 s->dyn_dtree[d_code(dist)] [all...] |
H A D | trees.c | 273 int dist; /* distance index */ local 301 /* Initialize the mapping dist (0..32K) -> dist code (0..29) */ 302 dist = 0; 304 base_dist[code] = dist; 306 _dist_code[dist++] = (uch)code; 309 Assert (dist == 256, "tr_static_init: dist != 256"); 310 dist >>= 7; /* from now on, all distances are divided by 128 */ 312 base_dist[code] = dist << 1104 unsigned dist; /* distance of matched string */ local [all...] |
H A D | inflate.c | 357 unsigned copy, dist; local 384 dist = state->wsize - state->write; 385 if (dist > copy) dist = copy; 386 zmemcpy(state->window + state->write, strm->next_out - copy, dist); 387 copy -= dist; 394 state->write += dist; 396 if (state->whave < state->wsize) state->whave += dist;
|
/darwin-on-arm/xnu/libkern/zlib/intel/ |
H A D | inffastS.s | 65 #define dist -16(%ebp) // dist 331 andl $15, %ecx // op &= 15; edx = dist = this.val; 354 movzwl %dx, %edx // dist = (unsigned)(this.val); 360 addl %edx, %eax // dist += (unsigned)hold & ((1U << op) - 1); 364 cmpl dmax, %eax // dist vs dmax 365 ja Linvalid_distance_too_far_back // if (dist > dmax) break for invalid distance too far back 369 movl %eax, dist // save a copy of dist in stack 375 cmpl %eax, dist // dis [all...] |
Completed in 27 milliseconds