Lines Matching refs:window
82 UBYTE *window; /* the actual decoding window */ member
172 struct LZXstate *LZXinit(int window) in LZXinit() argument
175 ULONG wndsize = 1 << window; in LZXinit()
180 if (window < 15 || window > 21) return NULL; in LZXinit()
184 if (!(pState->window = HeapAlloc(GetProcessHeap(), 0, wndsize))) in LZXinit()
193 if (window == 20) posn_slots = 42; in LZXinit()
194 else if (window == 21) posn_slots = 50; in LZXinit()
195 else posn_slots = window << 1; in LZXinit()
222 HeapFree(GetProcessHeap(), 0, pState->window); in LZXteardown()
472 UBYTE *window = pState->window; in LZXdecompress() local
577 window[window_posn++] = main_element; in LZXdecompress()
619 rundest = window + window_posn; in LZXdecompress()
633 runsrc = window; in LZXdecompress()
651 window[window_posn++] = main_element; in LZXdecompress()
709 rundest = window + window_posn; in LZXdecompress()
723 runsrc = window; in LZXdecompress()
737 memcpy(window + window_posn, inpos, (size_t) this_run); in LZXdecompress()
749 memcpy(outpos, window + ((!window_posn) ? window_size : window_posn) - outlen, (size_t) outlen); in LZXdecompress()