Home
last modified time | relevance | path

Searched full:window (Results 1 – 25 of 152) sorted by relevance

1234567

/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/
H A Dinffast.c80 unsigned wsize; /* window size or zero if not using window */
81 unsigned whave; /* valid bytes in the window */
82 unsigned write; /* window write index */
83 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */ local
92 /* window position, window bytes to copy */
110 window = state->window;
187 if (dist > op) { /* see if copy from window */
188 op = dist - op; /* distance back in window */
194 from = window - OFF;
197 if (op < len) { /* some from window */
[all …]
H A Dinfutil.h22 DRY, /* output remaining window bytes */
54 Bytef *window; /* sliding window */ member
55 Bytef *end; /* one byte after sliding window */
56 Bytef *read; /* window read pointer */
57 Bytef *write; /* window write pointer */
80 #define WRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=(uInt)WAVAIL;}}
90 /* copy as much as possible from the sliding window to the output area */
H A Dinflate.c11 * creation of window when not needed, minimize use of window when it is
32 * - Fix bug in reuse of allocated window after inflateReset()
45 * - Rearrange window copies in inflate_fast() for speed and simplification
46 * - Unroll last copy for window match in inflate_fast()
47 * - Use local copies of window variables in inflate_fast() for speed
54 * programs like gzip and unzip -- uses window as output buffer to avoid
55 * window copying
67 * - Changed type of window in inflateBackInit() to unsigned char *
183 state->window = Z_NULL;
310 Update the window with the last wsize (normally 32K) bytes written before
[all …]
H A Ddeflate.h90 /* A Pos is an index in the character window. We use short instead of int to
109 uInt w_size; /* LZ77 window size (32K by default) */
113 Bytef *window; member
114 /* Sliding window. Input bytes are read into the second half of the window,
119 * the window size to 64K, which is quite useful on MSDOS.
120 * To do: use the user input buffer as sliding window.
124 /* Actual size of window: 2*wSize, except when the user input buffer
125 * is directly used as sliding window.
131 * An index in this array is thus a window index modulo 32K.
149 /* Window position at the beginning of the current output block. Gets
[all …]
H A Dinfutil.c22 /* copy as much as possible from the sliding window to the output area */
36 /* compute number of bytes to copy as far as end of window */
49 /* copy as far as end of window */
54 /* see if more to copy at beginning of window */
58 q = s->window;
60 s->write = s->window;
H A Dinflate.h87 /* sliding window */
88 unsigned wbits; /* log base 2 of requested window size */
89 unsigned wsize; /* window size or zero if not using window */
90 unsigned whave; /* valid bytes in the window */
91 unsigned write; /* window write index */
92 unsigned char FAR *window; /* allocated sliding window, if needed */ member
H A Ddeflate.c11 * sliding window trailing behind the input currently being processed).
185 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
190 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
212 /* To do: ignore strm->next_in if we use it as window */
270 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */
287 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
297 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
339 zmemcpy(s->window, dictionary, length);
347 s->ins_h = s->window[0];
348 UPDATE_HASH(s, s->ins_h, s->window[1]);
[all …]
H A Dinfback.c25 windowBits is in the range 8..15, and window is a user-supplied
26 window and output buffer that is 2**windowBits bytes.
28 int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size) in inflateBackInit_() argument
31 unsigned char FAR *window;
40 if (strm == Z_NULL || window == Z_NULL ||
57 state->window = window;
198 /* Assure that some output space is available, by writing out the window
204 put = state->window; \
215 strm provides the memory allocation functions and window buffer on input,
221 filled the window with output, or when it completes with data in the
[all …]
H A Dinfblock.c82 s->read = s->write = s->window;
105 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
111 s->end = s->window + w;
130 Bytef *q; /* output window write pointer */
131 uInt m; /* bytes to end of window or read pointer */
213 (s->end - s->read) + (q - s->window))));
347 (s->end - s->read) + (q - s->window))));
377 ZFREE(z, s->window);
390 zmemcpy(s->window, d, n);
391 s->read = s->write = s->window + n;
/nrf52832-nimble/rt-thread/tools/
H A Dpymenuconfig.py92 Instances of this class also handle all interaction with main window.
124 Whether entry should be shown in main window.
127 String to display in a main window's Listbox.
142 a main window. Also selects choice value.
145 Called when '<Return>' key is pressed in a main window with 'SELECT'
147 choice value. For non-bool/tristate symbols asks MenuConfig window to
151 Called when '<Return>' key is pressed in a main window with 'HELP' action
153 text window.
281 all necessary interaction with MenuConfig window when symbol value
306 all necessary interaction with MenuConfig window when symbol value
[all …]
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/frontends/nconf/
H A Dnconf.h79 void print_in_middle(WINDOW *win,
88 void fill_window(WINDOW *win, const char *text);
89 int btn_dialog(WINDOW *main_window, const char *msg, int btn_num, ...);
90 int dialog_inputbox(WINDOW *main_window,
93 void refresh_all_windows(WINDOW *main_window);
94 void show_scroll_win(WINDOW *main_window,
H A Dnconf.gui.c147 void print_in_middle(WINDOW *win, in print_in_middle()
213 /* print all lines to the window. */
214 void fill_window(WINDOW *win, const char *text) in fill_window()
241 int btn_dialog(WINDOW *main_window, const char *msg, int btn_num, ...) in btn_dialog()
250 WINDOW *win; in btn_dialog()
251 WINDOW *msg_win; in btn_dialog()
252 WINDOW *menu_win; in btn_dialog()
357 int dialog_inputbox(WINDOW *main_window, in dialog_inputbox()
363 WINDOW *win; in dialog_inputbox()
364 WINDOW *prompt_win; in dialog_inputbox()
[all …]
H A Dnconf.c21 "o Global help: Unless in a data entry window, pressing <F1> will give \n"
22 " you the global help window, which you are just reading.\n"
27 " of <?> <h>, or if in a data entry window then press <F1>.\n"
63 "Close a help window <Enter> <Esc> <F5>\n"
64 "Close entry window, apply <Enter>\n"
65 "Close entry window, forget <Esc> <F5>\n"
78 "Unless in a data entry window, key <1> may be used instead of <F1>,\n"
94 "Text Box (Help Window)\n"
110 "If you use nconfig in a xterm window, make sure your TERM environment\n"
145 "<Esc> always leaves the current window.\n"
[all …]
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/libs/lxdialog/
H A Dtextbox.c25 static void print_page(WINDOW *win, int height, int width, update_text_fn
27 static void print_line(WINDOW *win, int row, int width);
29 static void print_position(WINDOW * win);
37 * refresh window content
39 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box()
62 WINDOW *dialog, *box; in dialog_textbox()
109 /* Create window for box region, used for scrolling text */ in dialog_textbox()
118 /* register the new window, along with its borders */ in dialog_textbox()
312 static void print_page(WINDOW *win, int height, int width, update_text_fn in print_page()
341 static void print_line(WINDOW * win, int row, int width) in print_line()
[all …]
H A Ddialog.h200 int on_key_esc(WINDOW *win);
221 void attr_clear(WINDOW * win, int height, int width, chtype attr);
223 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
224 void print_button(WINDOW * win, const char *label, int y, int x, int selected);
225 void print_title(WINDOW *dialog, const char *title, int width);
226 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
228 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
H A Dutil.c240 * Set window to attribute 'attr'
242 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear()
365 void print_title(WINDOW *dialog, const char *title, int width) in print_title()
377 * Print a string of text in a window, automatically wrap around to the
382 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) in print_autowrap()
447 void print_button(WINDOW * win, const char *label, int y, int x, int selected) in print_button()
477 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box()
511 void draw_shadow(WINDOW * win, int y, int x, int height, int width) in draw_shadow()
560 int on_key_esc(WINDOW *win) in on_key_esc()
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/
H A Dble_ll_sched.c353 * time is more than a transmit window offset interval (1.25 msecs). The in ble_ll_sched_master_new()
354 * master has to tell the slave how many transmit window offsets there are in ble_ll_sched_master_new()
357 * transmission start has to occur within the transmit window. The transmit in ble_ll_sched_master_new()
358 * window interval is in units of 1.25 msecs and has to be at least 1. To in ble_ll_sched_master_new()
360 * use a transmit window of 2. We do this because we dont quite know the in ble_ll_sched_master_new()
362 * could miss the transmit window. A final note: the actual transmission in ble_ll_sched_master_new()
364 * time. We dont add this to the calculation when calculating the window in ble_ll_sched_master_new()
366 * after the window offset we tell the slave. For example, say we think in ble_ll_sched_master_new()
368 * us to send a transmit window offset of 1. Since we are actually in ble_ll_sched_master_new()
370 * before the window offset. Transmitting later is fine since we have the in ble_ll_sched_master_new()
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/apps/telnetd/
H A Duip_shell.h82 * Print a string to the shell window.
86 * shell window. The string is automatically appended with a linebreak.
94 * Print a prompt to the shell window.
97 * prompt to the shell window.
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dtcp_out.c126 /* If we're sending a packet, update the announced right window edge */ in tcp_output_alloc_header()
390 /* don't allocate segments bigger than half the maximum window we ever received */ in tcp_write()
811 /* In a <SYN,ACK> (sent in state SYN_RCVD), the window scale option may only in tcp_enqueue_flags()
812 be sent if we received a window scale option from the remote host. */ in tcp_enqueue_flags()
900 /** Build a window scale option (3 bytes long) at the specified options pointer)
902 * @param opts option pointer where to store the window scale option
947 /* NB. MSS and window scale options are only sent on SYNs, so ignore them here */ in tcp_send_empty_ack()
1020 * because the ->unsent queue is empty or because the window does in tcp_output()
1073 * does not fit within the remaining send window and RTO timer is not running (we in tcp_output()
1074 * have no in-flight data). A traditional approach would fill the remaining window in tcp_output()
[all …]
H A Dtcp_in.c360 /* this is a zero-window probe, we respond to it with current RCV.NXT
601 npcb->snd_wl1 = seqno - 1;/* initialise to seqno-1 to force window update */
659 /* If the SYN is in the window it is an error, send a reset */
671 /* Acknowledge data, FIN or out-of-window SYN */
714 /* If the sequence number is inside the window, we only send an ACK
764 pcb->snd_wl1 = seqno - 1; /* initialise to seqno - 1 to force window update */
1018 /* Update window. */
1023 /* keep track of the biggest window announced by the remote host to calculate
1040 LWIP_DEBUGF(TCP_WND_DEBUG, ("tcp_receive: window update %"TCPWNDSIZE_F"\n", pcb->snd_wnd));
1045 ("tcp_receive: no window update lastack %"U32_F" ackno %"
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/
H A Duip-1.0-changelog.txt21 * Updated window behavior so that sending to a host with a small open
22 window works better now.
65 o TCP: Fixed bug with high byte of peer window size.
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/
H A Dtcp.h219 #define TF_WND_SCALE 0x0100U /* Window Scale option enabled */
238 tcpwnd_size_t rcv_wnd; /* receiver window available */
239 tcpwnd_size_t rcv_ann_wnd; /* receiver window to announce */
240 u32_t rcv_ann_right_edge; /* announced right edge of window */
266 window update. */
268 tcpwnd_size_t snd_wnd; /* sender window */
269 tcpwnd_size_t snd_wnd_max; /* the maximum sender window announced by the remote host */
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/
H A Dtcp.h197 u16_t rcv_wnd; /* receiver window available */
198 u16_t rcv_ann_wnd; /* receiver window to announce */
199 u32_t rcv_ann_right_edge; /* announced right edge of window */
225 window update. */
227 u16_t snd_wnd; /* sender window */
228 u16_t snd_wnd_max; /* the maximum sender window announced by the remote host */
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/test/unit/tcp/
H A Dtest_tcp.c153 /* disable initial congestion window (we don't send a SYN here...) */ in START_TEST()
350 /* disable initial congestion window (we don't send a SYN here...) */ in START_TEST()
449 /* disable initial congestion window (we don't send a SYN here...) */ in START_TEST()
536 /* disable initial congestion window (we don't send a SYN here...) */ in test_tcp_tx_full_window_lost()
539 /* send a full window (minus 1 packets) of TCP data in MSS-sized chunks */ in test_tcp_tx_full_window_lost()
571 /* send the last packet, now a complete window has been sent */ in test_tcp_tx_full_window_lost()
583 /* ACK all data but close the TX window */ in test_tcp_tx_full_window_lost()
592 /* send one byte more (out of window) -> persist timer starts */ in test_tcp_tx_full_window_lost()
601 /* no persist timer unless a zero window announcement has been received */ in test_tcp_tx_full_window_lost()
613 /* this should trigger the zero-window-probe */ in test_tcp_tx_full_window_lost()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dtcp_in.c428 /* this is a zero-window probe, we respond to it with current RCV.NXT
688 npcb->snd_wl1 = seqno - 1;/* initialise to seqno-1 to force window update */
757 /* If the SYN is in the window it is an error, send a reset */
769 /* Acknowledge data, FIN or out-of-window SYN */
814 /* If the sequence number is inside the window, we send a challenge ACK
865 pcb->snd_wl1 = seqno - 1; /* initialise to seqno - 1 to force window update */
1153 /* Update window. */
1158 /* keep track of the biggest window announced by the remote host to calculate
1165 LWIP_DEBUGF(TCP_WND_DEBUG, ("tcp_receive: window update %"TCPWNDSIZE_F"\n", pcb->snd_wnd));
1170 ("tcp_receive: no window update lastack %"U32_F" ackno %"
[all …]

1234567