/freebsd/contrib/ee/ |
H A D | new_curse.c | 2023 wmove(window, row, column) /* move cursor to indicated position in window */ in wmove() argument 2024 WINDOW *window; in wmove() 2027 if ((row < window->Num_lines) && (column < window->Num_cols)) 2029 window->LX = column; 2030 window->LY = row; 2057 werase(window) /* clear the specified window */ in werase() argument 2058 WINDOW *window; in werase() 2063 window->SCROLL_CLEAR = CLEAR; 2064 window->scroll_up = window->scroll_down = 0; 2065 for (i = 0, tmp = window->first_line; i < window->Num_lines; i++, tmp = tmp->next_screen) [all …]
|
H A D | new_curse.h | 205 extern void wmove P_((WINDOW *window, int row, int column)); 207 extern void werase P_((WINDOW *window)); 208 extern void wclrtoeol P_((WINDOW *window)); 209 extern void wrefresh P_((WINDOW *window)); 210 extern void touchwin P_((WINDOW *window)); 211 extern void wnoutrefresh P_((WINDOW *window)); 214 extern int wgetch P_((WINDOW *window)); 217 extern void waddch P_((WINDOW *window, int c)); 218 extern void winsertln P_((WINDOW *window)); 219 extern void wdeleteln P_((WINDOW *window)); [all …]
|
/freebsd/sys/powerpc/pseries/ |
H A D | plpar_iommu.c | 106 struct dma_window *window = malloc(sizeof(struct dma_window), in phyp_iommu_set_dma_tag() local 108 window->start = 0; in phyp_iommu_set_dma_tag() 110 window->start <<= 32; in phyp_iommu_set_dma_tag() 111 window->start |= dmawindow[cell]; in phyp_iommu_set_dma_tag() 113 window->end = 0; in phyp_iommu_set_dma_tag() 115 window->end <<= 32; in phyp_iommu_set_dma_tag() 116 window->end |= dmawindow[cell]; in phyp_iommu_set_dma_tag() 118 window->end += window->start; in phyp_iommu_set_dma_tag() 122 window->map = NULL; in phyp_iommu_set_dma_tag() 125 window->map = i; in phyp_iommu_set_dma_tag() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress_internal.h | 137 ZSTD_window_t window; /* State for window round buffer management */ member 167 ZSTD_window_t window; /* State for the window round buffer management */ member 717 MEM_STATIC void ZSTD_window_clear(ZSTD_window_t* window) in ZSTD_window_clear() argument 719 size_t const endT = (size_t)(window->nextSrc - window->base); in ZSTD_window_clear() 722 window->lowLimit = end; in ZSTD_window_clear() 723 window->dictLimit = end; in ZSTD_window_clear() 730 MEM_STATIC U32 ZSTD_window_hasExtDict(ZSTD_window_t const window) in ZSTD_window_hasExtDict() argument 732 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 742 return ZSTD_window_hasExtDict(ms->window) ? in ZSTD_matchState_dictMode() 754 MEM_STATIC U32 ZSTD_window_needOverflowCorrection(ZSTD_window_t const window, in ZSTD_window_needOverflowCorrection() argument [all …]
|
H A D | zstd_lazy.c | 32 const BYTE* const base = ms->window.base; in ZSTD_updateDUBT() 38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 42 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() 74 const BYTE* const base = ms->window.base; in ZSTD_insertDUBT1() 75 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertDUBT1() 76 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() 86 U32 const windowValid = ms->window.lowLimit; in ZSTD_insertDUBT1() 169 const BYTE* const base = ms->window.base; in ZSTD_DUBT_findBetterDictMatch() 170 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_DUBT_findBetterDictMatch() 172 const BYTE* const dictBase = dms->window.base; in ZSTD_DUBT_findBetterDictMatch() [all …]
|
H A D | zstd_opt.c | 347 const BYTE* const base = ms->window.base; in ZSTD_insertAndFindFirstIndexHash3() 383 const BYTE* const base = ms->window.base; in ZSTD_insertBt1() 384 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertBt1() 385 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() 394 U32 const windowLow = ms->window.lowLimit; in ZSTD_insertBt1() 488 const BYTE* const base = ms->window.base; in ZSTD_updateTree_internal() 521 const BYTE* const base = ms->window.base; in ZSTD_insertBtAndGetAllMatches() 532 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertBtAndGetAllMatches() 533 U32 const dictLimit = ms->window.dictLimit; in ZSTD_insertBtAndGetAllMatches() 549 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches() [all …]
|
H A D | zstd_ldm.c | 235 state, startingHash, ip, iend - params->minMatchLength, state->window.base, in ZSTD_ldm_fillHashTable() 249 U32 const current = (U32)(anchor - ms->window.base); in ZSTD_ldm_limitTableUpdate() 261 int const extDict = ZSTD_window_hasExtDict(ldmState->window); in ZSTD_ldm_generateSequences_internal() 269 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() 270 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal() 271 BYTE const* const base = ldmState->window.base; in ZSTD_ldm_generateSequences_internal() 272 BYTE const* const dictBase = extDict ? ldmState->window.dictBase : NULL; in ZSTD_ldm_generateSequences_internal() 445 assert(ldmState->window.nextSrc >= (BYTE const*)src + srcSize); in ZSTD_ldm_generateSequences() 462 if (ZSTD_window_needOverflowCorrection(ldmState->window, chunkEnd)) { in ZSTD_ldm_generateSequences() 465 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences() [all …]
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_internal.h | 209 ZSTD_window_t window; /* State for window round buffer management */ member 260 ZSTD_window_t window; /* State for the window round buffer management */ member 954 MEM_STATIC void ZSTD_window_clear(ZSTD_window_t* window) in ZSTD_window_clear() argument 956 size_t const endT = (size_t)(window->nextSrc - window->base); in ZSTD_window_clear() 959 window->lowLimit = end; in ZSTD_window_clear() 960 window->dictLimit = end; in ZSTD_window_clear() 963 MEM_STATIC U32 ZSTD_window_isEmpty(ZSTD_window_t const window) in ZSTD_window_isEmpty() argument 965 return window.dictLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 966 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 967 (window.nextSrc - window.base) == ZSTD_WINDOW_START_INDEX; in ZSTD_window_isEmpty() [all …]
|
H A D | zstd_lazy.c | 32 const BYTE* const base = ms->window.base; in ZSTD_updateDUBT() 38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 42 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() 74 const BYTE* const base = ms->window.base; in ZSTD_insertDUBT1() 75 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertDUBT1() 76 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() 86 U32 const windowValid = ms->window.lowLimit; in ZSTD_insertDUBT1() 169 const BYTE* const base = ms->window.base; in ZSTD_DUBT_findBetterDictMatch() 170 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_DUBT_findBetterDictMatch() 172 const BYTE* const dictBase = dms->window.base; in ZSTD_DUBT_findBetterDictMatch() [all …]
|
H A D | zstd_opt.c | 388 const BYTE* const base = ms->window.base; in ZSTD_insertAndFindFirstIndexHash3() 426 const BYTE* const base = ms->window.base; in ZSTD_insertBt1() 427 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertBt1() 428 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() 535 const BYTE* const base = ms->window.base; in ZSTD_updateTree_internal() 568 const BYTE* const base = ms->window.base; in ZSTD_insertBtAndGetAllMatches() 579 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertBtAndGetAllMatches() 580 U32 const dictLimit = ms->window.dictLimit; in ZSTD_insertBtAndGetAllMatches() 596 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches() 597 const BYTE* const dmsEnd = dictMode == ZSTD_dictMatchState ? dms->window.nextSrc : NULL; in ZSTD_insertBtAndGetAllMatches() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | IOHandlerCursesGUI.cpp | 316 virtual bool WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw() argument 320 virtual HandleCharResult WindowDelegateHandleChar(Window &window, int key) { in WindowDelegateHandleChar() argument 335 bool WindowDelegateDraw(Window &window, bool force) override; 337 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override; 701 bool RemoveSubWindow(Window *window) { in RemoveSubWindow() argument 705 if ((*pos).get() == window) { in RemoveSubWindow() 717 window->Erase(); in RemoveSubWindow() 2276 void Execute(Window &window) { m_action(window); } in Execute() argument 2663 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw() argument 2666 window.Erase(); in WindowDelegateDraw() [all …]
|
/freebsd/libexec/tftpd/ |
H A D | tftp-transfer.c | 67 struct block_data window[WINDOWSIZE_MAX]; in tftp_send() local 80 window[windowblock].offset = tell_file(); in tftp_send() 81 window[windowblock].block = *block; in tftp_send() 88 window[windowblock].size = size; in tftp_send() 125 if (seek_file(window[0].offset) != 0) { in tftp_send() 132 *block = window[0].block; in tftp_send() 149 if (rp->th_block == window[i].block) in tftp_send() 165 if (seek_file(window[0].offset) != 0) { in tftp_send() 172 *block = window[0].block; in tftp_send() 183 window[j].block); in tftp_send() [all …]
|
/freebsd/lib/libc/rpc/ |
H A D | svc_auth_des.c | 82 u_int window; /* credential lifetime window */ member 120 u_int window; in _svcauth_des() local 153 cred->adc_fullname.window = (u_long)*ixdr++; in _svcauth_des() 205 cryptbuf[1].key.high = cred->adc_fullname.window; in _svcauth_des() 239 window = IXDR_GET_U_LONG(ixdr); in _svcauth_des() 241 if (winverf != window - 1) { in _svcauth_des() 253 window = authdes_cache[sid].window; in _svcauth_des() 268 current.tv_sec -= window; /* allow for expiration */ in _svcauth_des() 320 cred->adc_fullname.window = window; in _svcauth_des() 333 entry->window = window; in _svcauth_des() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/bus/ |
H A D | mvebu-mbus.txt | 20 the second cell for the address offset within the window. 30 within the internal register window (see below). 52 the first one controls the devices decoding window, 53 the second one controls the SDRAM decoding window and 80 ** MBus address decoding window specification 83 the window ID and the second one for the offset within the window. 84 In order to allow to describe valid and non-valid window entries, the 91 S = 0x0 for a MBus valid window 92 S = 0xf for a non-valid window (see below) 96 I = 4-bit window target ID [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | deflate.c | 156 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ 161 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ 279 zmemcpy(s->window, s->window + wsize, (unsigned)wsize - more); in fill_window() 303 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); in fill_window() 309 s->ins_h = s->window[str]; in fill_window() 310 UPDATE_HASH(s, s->ins_h, s->window[str + 1]); in fill_window() 315 UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); in fill_window() 350 zmemzero(s->window + curr, (unsigned)init); in fill_window() 361 zmemzero(s->window + s->high_water, (unsigned)init); in fill_window() 449 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_() [all …]
|
H A D | inflate.c | 167 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2() 168 ZFREE(strm, state->window); in inflateReset2() 169 state->window = Z_NULL; in inflateReset2() 208 state->window = Z_NULL; in inflateInit2_() 375 if (state->window == Z_NULL) { in updatewindow() 376 state->window = (unsigned char FAR *) in updatewindow() 379 if (state->window == Z_NULL) return 1; in updatewindow() 391 zmemcpy(state->window, end - state->wsize, state->wsize); in updatewindow() 398 zmemcpy(state->window + state->wnext, end - copy, dist); in updatewindow() 401 zmemcpy(state->window, end - copy, copy); in updatewindow() [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_exp.c | 172 int i, j, bits, ret = 0, wstart, wend, window, wvalue; in BN_mod_exp_recp() local 227 window = BN_window_bits_for_exponent_size(bits); in BN_mod_exp_recp() 228 if (window > 1) { in BN_mod_exp_recp() 231 j = 1 << (window - 1); in BN_mod_exp_recp() 274 for (i = 1; i < window; i++) { in BN_mod_exp_recp() 315 int i, j, bits, ret = 0, wstart, wend, window, wvalue; in BN_mod_exp_mont() local 380 window = BN_window_bits_for_exponent_size(bits); in BN_mod_exp_mont() 381 if (window > 1) { in BN_mod_exp_mont() 384 j = 1 << (window - 1); in BN_mod_exp_mont() 432 for (i = 1; i < window; i++) { in BN_mod_exp_mont() [all …]
|
/freebsd/contrib/dialog/ |
H A D | calendar.c | 59 WINDOW *window; member 383 werase(data->window); in draw_day() 391 dlg_attrset(data->window, menubox_attr); /* daynames headline */ in draw_day() 393 mvwprintw(data->window, in draw_day() 414 dlg_attrset(data->window, menubox_attr); /* weeknumbers headline */ in draw_day() 415 mvwprintw(data->window, in draw_day() 423 if (wmove(data->window, y, this_x) == ERR) in draw_day() 425 dlg_attrset(data->window, item_attr); /* not selected days */ in draw_day() 427 dlg_attrset(data->window, item_selected_attr); /* selected day */ in draw_day() 433 wprintw(data->window, "%*d", cell_wide - 2, mday); in draw_day() [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | ti-8x | 29 >0x00003B byte 0x0F (window settings) 45 >0x00003B byte 0x0B (window settings) 46 >0x00003B byte 0x0C (window settings) 63 >0x00003B byte 0x0B (window settings) 64 >0x00003B byte 0x0C (window settings) 82 >0x00003B byte 0x0F (window settings) 112 >0x00003B byte 0x17 (window settings) 113 >0x00003B byte 0x18 (window settings) 114 >0x00003B byte 0x19 (window settings) 115 >0x00003B byte 0x1A (window settings) [all …]
|
/freebsd/contrib/less/ |
H A D | scrsize.c | 48 static int get_winsize(dpy, window, p_width, p_height) in get_winsize() argument 50 Window window; 58 if (!XGetWindowAttributes(dpy, window, &win_attributes)) 60 if (!XGetWMNormalHints(dpy, window, &hints, &longjunk))
|
/freebsd/sys/contrib/device-tree/Bindings/security/tpm/ |
H A D | ibmvtpm.txt | 14 encode the physical address field of dma-window 17 encode the size field of dma-window properties 18 - ibm,my-dma-window : specifies DMA window associated with this virtual 37 ibm,my-dma-window = <0x10000003 0x0 0x0 0x0 0x10000000>;
|
/freebsd/sys/dev/exca/ |
H A D | exca.c | 283 DPRINTF("exca_mem_map window %d bus %x+%x card addr %x\n", in exca_mem_map() 299 exca_mem_unmap(struct exca_softc *sc, int window) in exca_mem_unmap() argument 301 if (window < 0 || window >= EXCA_MEM_WINS) in exca_mem_unmap() 302 panic("exca_mem_unmap: window out of range"); in exca_mem_unmap() 304 exca_clrb(sc, EXCA_ADDRWIN_ENABLE, mem_map_index[window].memenable); in exca_mem_unmap() 305 sc->memalloc &= ~(1 << window); in exca_mem_unmap() 479 DPRINTF("exca_do_io_map window %d: %02x%02x %02x%02x " in exca_do_io_map() 508 DPRINTF("exca_io_map window %d %s port %x+%x\n", in exca_io_map() 517 exca_io_unmap(struct exca_softc *sc, int window) in exca_io_unmap() 516 exca_io_unmap(struct exca_softc * sc,int window) exca_io_unmap() argument [all...] |
/freebsd/sys/contrib/device-tree/src/arm64/ti/ |
H A D | k3-am62.dtsi | 61 <0x00 0x01000000 0x00 0x01000000 0x00 0x01b28400>, /* First peripheral window */ 63 <0x00 0x0e000000 0x00 0x0e000000 0x00 0x01d20000>, /* Second peripheral window */ 65 <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>, /* Third peripheral window */ 67 <0x00 0x30101000 0x00 0x30101000 0x00 0x00010100>, /* CSI window */ 69 <0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core window */ 70 <0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core window */ 96 ranges = <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>; /* Peripheral window */
|
H A D | k3-am62a.dtsi | 60 <0x00 0x01000000 0x00 0x01000000 0x00 0x01b28400>, /* First peripheral window */ 62 <0x00 0x0e000000 0x00 0x0e000000 0x00 0x01d20000>, /* Second peripheral window */ 66 <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>, /* Third peripheral window */ 68 <0x00 0x30101000 0x00 0x30101000 0x00 0x00010100>, /* CSI window */ 71 <0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core window */ 72 <0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core window */ 102 ranges = <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>, /* Peripheral window */
|
H A D | k3-am62p.dtsi | 59 <0x00 0x01000000 0x00 0x01000000 0x00 0x01b28400>, /* First peripheral window */ 61 <0x00 0x0e000000 0x00 0x0e000000 0x00 0x01d20000>, /* Second peripheral window */ 63 <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>, /* Third peripheral window */ 65 <0x00 0x30101000 0x00 0x30101000 0x00 0x00010100>, /* CSI window */ 68 <0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core window */ 69 <0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core window */ 98 ranges = <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>, /* Peripheral window */
|