/src/common/dist/zlib/examples/ |
zran.h | 14 unsigned char window[32768]; // preceding 32K of uncompressed data member in struct:point
|
gun.c | 166 32K sliding window */ 635 unsigned char *window; local in function:main 639 window = match; /* reuse LZW match buffer */ 643 ret = inflateBackInit(&strm, 15, window);
|
gzappend.c | 264 unsigned char *window; local in function:gzscan 281 window = malloc(DSIZE); 282 if (window == NULL) bye("out of memory", ""); 305 /* set up output to next available section of sliding window */ 307 strm->next_out = window + have; 316 /* update crc and sliding window pointer */ 317 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out); 361 /* if window wrapped, build dictionary from window by rotating */ 363 rotate(window, DSIZE, have) [all...] |
/src/common/dist/zlib/contrib/infback9/ |
inflate9.h | 36 /* sliding window */ 37 unsigned char FAR *window; /* allocated sliding window, if needed */ member in struct:inflate_state
|
infback9.c | 17 window is a user-supplied window and output buffer that is 64K bytes. 19 int ZEXPORT inflateBack9Init_(z_stream FAR *strm, unsigned char FAR *window, 26 if (strm == Z_NULL || window == Z_NULL) 39 state->window = window; 169 /* Assure that some output space is available, by writing out the window 175 put = window; \ 186 strm provides the memory allocation functions and window buffer on input, 192 filled the window with output, or when it completes with data in th 222 unsigned char FAR *window; \/* allocated sliding window, if needed *\/ local in function:inflateBack9 [all...] |
/src/common/dist/zlib/ |
inffast.c | 62 unsigned wsize; /* window size or zero if not using window */ 63 unsigned whave; /* valid bytes in the window */ 64 unsigned wnext; /* window write index */ 65 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */ local in function:inflate_fast 74 /* window position, window bytes to copy */ 92 window = state->window; [all...] |
inflate.h | 81 including the allocated sliding window, which is up to 32K bytes. */ 95 /* sliding window */ 96 unsigned wbits; /* log base 2 of requested window size */ 97 unsigned wsize; /* window size or zero if not using window */ 98 unsigned whave; /* valid bytes in the window */ 99 unsigned wnext; /* window write index */ 100 unsigned char FAR *window; /* allocated sliding window, if needed */ member in struct:inflate_state
|
inflate.c | 13 * creation of window when not needed, minimize use of window when it is 34 * - Fix bug in reuse of allocated window after inflateReset() 47 * - Rearrange window copies in inflate_fast() for speed and simplification 48 * - Unroll last copy for window match in inflate_fast() 49 * - Use local copies of window variables in inflate_fast() for speed 56 * programs like gzip and unzip -- uses window as output buffer to avoid 57 * window copying 69 * - Changed type of window in inflateBackInit() to unsigned char * 166 /* set number of window bits, free window if different * 1451 unsigned char FAR *window; local in function:inflateCopy [all...] |
deflate.h | 102 /* A Pos is an index in the character window. We use short instead of int to 121 uInt w_size; /* LZ77 window size (32K by default) */ 125 Bytef *window; member in struct:internal_state 126 /* Sliding window. Input bytes are read into the second half of the window, 131 * the window size to 64K, which is quite useful on MSDOS. 132 * To do: use the user input buffer as sliding window. 136 /* Actual size of window: 2*wSize, except when the user input buffer 137 * is directly used as sliding window. 143 * An index in this array is thus a window index modulo 32K [all...] |
/src/sys/arch/alpha/include/ |
sysarch.h | 67 u_int window; member in struct:alpha_bus_get_window_args
|
/src/sys/dev/marvell/ |
mvsata_mv.c | 222 int window, target, attr, rv, i; local in function:mvsatahc_wininit 224 for (window = 0, i = 0; 225 tags[i] != MARVELL_TAG_UNDEFINED && window < MVSATAHC_NWINDOW; 239 MVSATAHC_WCR(window), 245 MVSATAHC_WBR(window), MVSATAHC_WBR_BASE(base)); 246 window++; 248 for (; window < MVSATAHC_NWINDOW; window++) 250 MVSATAHC_WCR(window), 0);
|
mvpex.c | 240 int window; local in function:mvpex_init 256 for (window = 0; window < MVPEX_NWINDOW; window++) 257 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVPEX_WC(window), 0); 275 mvpex_wininit(struct mvpex_softc *sc, int window, int tbegin, int tend, 281 for (targetid = tbegin; targetid <= tend && window < MVPEX_NWINDOW; 292 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVPEX_WC(window), 298 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVPEX_WB(window), 300 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVPEX_WR(window), 0) 361 int target, attr, window, rv, i, j; local in function:mvpex_wininit [all...] |
mvsdio.c | 698 int window, target, attr, rv, i; local in function:mvsdio_wininit 700 for (window = 0, i = 0; 701 tags[i] != MARVELL_TAG_UNDEFINED && window < MVSDIO_NWINDOW; i++) { 707 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVSDIO_WC(window), 712 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVSDIO_WB(window), 714 window++; 716 for (; window < MVSDIO_NWINDOW; window++) 717 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVSDIO_WC(window), 0);
|
ehci_mv.c | 366 int window, target, attr, rv, i; local in function:mvusb_wininit 368 for (window = 0, i = 0; 369 tags[i] != MARVELL_TAG_UNDEFINED && window < MARVELL_USB_NWINDOW; 383 MARVELL_USB_WCR(window), 389 MARVELL_USB_WBR(window), MARVELL_USB_WBR_BASE(base)); 390 window++; 392 for (; window < MARVELL_USB_NWINDOW; window++) 394 MARVELL_USB_WCR(window), 0);
|
/src/usr.bin/vndcompress/ |
offtab.c | 156 /* Don't bother if blkno is already in the window. */ 192 /* Don't bother if [start, end) does not cover our window. */ 278 * window is the whole offset table. 379 /* Initialize window of all ones. */ 383 /* Write the window to every position in the table. */ 409 /* Write out the first window with the first offset. */ 438 * Write the window unless we just did that and were 439 * interrupted before we could move the window. 473 * window. 478 /* If it's already in our window, we're good to go. * 489 uint64_t *window; local in function:offtab_prepare_put [all...] |
/src/sys/arch/arm/marvell/ |
mvsoc_space.c | 431 int window; local in function:mvsoc_bs_map 433 window = mvsoc_target(tag, NULL, NULL, &base, NULL); 434 if (window == -1) 436 if (window < nremap) { 437 remap = read_mlmbreg(MVSOC_MLMB_WRLR(window)) & 440 (read_mlmbreg(MVSOC_MLMB_WRHR(window)) << 16) << 16;
|
pci_machdep.c | 435 * Configure the flash Window to handle Configuration space 452 int window, target, attr, base, size, s; local in function:mvpex_mbus_conf_read 457 window = mvsoc_target(pex_pcicfg_tag, 459 if (window >= nwindow) { 468 if (window == 0 || window == 1) { 469 remapl = read_mlmbreg(MVSOC_MLMB_WRLR(window)); 470 remaph = read_mlmbreg(MVSOC_MLMB_WRHR(window)); 490 write_mlmbreg(MVSOC_MLMB_WCR(window), 492 write_mlmbreg(MVSOC_MLMB_WBR(window), pcicfg_addr) [all...] |
armadaxp.c | 323 int window; /* index of address decoding window registers */ member in struct:mbus_table_def 324 uint32_t base; /* base address of the window */ 325 uint32_t size; /* size of the window */ 326 uint8_t target; /* target unit of the window */ 327 uint8_t attr; /* target attribute of the window */ 1146 if (def->window >= nwindow) 1151 /* restore window base */ 1153 write_mlmbreg(MVSOC_MLMB_WBR(def->window), reg); 1155 /* restore window configuration * [all...] |
/src/sys/arch/evbarm/marvell/ |
marvell_machdep.c | 140 int window; local in function:marvell_fixup_mbus_pex 142 /* Reset PCI-Express space to window register. */ 143 window = mvsoc_target(memtag, &target, &attr, NULL, NULL); 144 write_mlmbreg(MVSOC_MLMB_WCR(window), 149 write_mlmbreg(MVSOC_MLMB_WBR(window), 152 if (window < nremap) { 153 write_mlmbreg(MVSOC_MLMB_WRLR(window), 155 write_mlmbreg(MVSOC_MLMB_WRHR(window), 0); 158 window = mvsoc_target(iotag, &target, &attr, NULL, NULL); 159 write_mlmbreg(MVSOC_MLMB_WCR(window), [all...] |
/src/sys/arch/x68k/dev/ |
bmd.c | 144 int window; local in function:bmd_match 162 /* Check window addr */ 167 window = 0xef0000; 169 window = 0xee0000; 170 if (badaddr((void *)IIOV(window)))
|
/src/sys/dev/pcmcia/ |
pcmcia_cis.c | 140 int window; local in function:pcmcia_scan_cis 170 PCMCIA_CIS_SIZE, &pcmh, &tuple.ptr, &window)) { 228 window); 416 pch, window); 436 pcmcia_chip_mem_unmap(pct, pch, window); 456 &pcmh, &tuple.ptr, &window); 480 &pcmh, &tuple.ptr, &window); 526 pcmcia_chip_mem_unmap(pct, pch, window);
|
pcmciavar.h | 97 int window; member in struct:pcmcia_config_entry::__anon1cb6a4710108 108 int window; member in struct:pcmcia_config_entry::__anon1cb6a4710208 324 #define pcmcia_mem_unmap(pf, window) \ 325 (pcmcia_chip_mem_unmap((pf)->sc->pct, (pf)->sc->pch, (window)))
|
/src/sys/arch/evbarm/armadaxp/ |
armadaxp_machdep.c | 206 /* Find first disabled window */ 213 /* If there is no free window, return erroneous value */ 221 int memtag = 0, iotag = 0, window, i; local in function:reset_axp_pcie_win 244 /* Reset PCI-Express space to window register. */ 245 window = mvsoc_target(memtag, &target, &attr, NULL, NULL); 247 /* Find free window if we've got spurious one */ 248 if (window >= nwindow) { 249 window = axp_pcie_free_win(); 251 if (window < 0) { 256 write_mlmbreg(MVSOC_MLMB_WCR(window), [all...] |
/src/dist/pf/sbin/pfctl/ |
pfctl_osfp.c | 97 int window, w_mod, ttl, df, psize, p_mod, mss, mss_mod, wscale, local in function:pfctl_file_fingerprints 155 if (GET_INT(window, &w_mod, "window size", T_DC|T_MSS|T_MTU| 195 fp.fp_wsize = window;
|
/src/sys/arch/hpcsh/dev/hd64465/ |
hd64465pcmcia.c | 553 int window = card_addr / ch->ch_memsize; local in function:hd64465pcmcia_chip_mem_map 554 KASSERT(window < MEMWIN_16M_MAX); 556 cookie->wc_tag = ch->ch_cmemt[window]; 557 ofs = card_addr - window * ch->ch_memsize; 562 /* XXX bogus. check window per common memory access. */ 563 hd64465pcmcia_memory_window16_switch(ch->ch_channel, window); 565 cookie->wc_window = window; 582 hd64465pcmcia_chip_mem_unmap(pcmcia_chipset_handle_t pch, int window) 584 struct hd64465pcmcia_window_cookie *cookie = (void *)window; 655 hd64465pcmcia_chip_io_unmap(pcmcia_chipset_handle_t pch, int window) [all...] |