/src/lib/libcurses/ |
inwstr.c | 131 int x, cw, cnt; local in function:winnwstr 142 cw = start->wcols; 143 if (cw < 0) { 144 start += cw; 145 x += cw; 151 cw = start->wcols; 155 x += cw; 157 start += cw;
|
delch.c | 112 int cw, sx; local in function:wdelch 118 cw = temp1->wcols; 119 if (cw < 0) { 120 temp1 += cw; 121 sx += cw; 122 cw = temp1->wcols; 133 if (sx + cw < win->maxx) { 134 temp2 = temp1 + cw; 135 while (temp1 < end - (cw - 1)) {
|
in_wchstr.c | 126 int x = 0, cw = 0, cnt = 0; local in function:win_wchnstr 138 cw = start->wcols; 139 if (cw < 0) { 140 start += cw; 141 x += cw; 146 cw = start->wcols; 159 x += cw; 161 start += cw;
|
ins_wstr.c | 138 int width, len, lx, sx, x, y, tx, ty, cw, pcw, newx, tn, w; local in function:wins_nwstr 147 cw = wcwidth(*wstr); 148 if (cw < 0) 149 cw = 1; 150 if (!cw) 158 width = cw; 175 cw = wcwidth(*(scp - 1)); 176 if (cw < 0) 177 cw = 1; 178 width -= cw; [all...] |
add_wchstr.c | 140 int cw, x, y, sx, ex, newx, i, cnt; local in function:wadd_wchnstr 169 cw = (*lp).wcols; 170 if (cw >= 0) { 175 for (tp = lp + cw; tp < lp; tp++) { 186 lp += cw; 187 x += cw; 189 sx = x + cw; 202 cw = wcwidth(wc); 203 if (cw < 0) 204 cw = 1 [all...] |
in_wch.c | 90 int cw = lp->wcols; local in function:win_wch 92 if (cw < 0) 93 lp += cw;
|
ins_wch.c | 90 int cw, pcw, x, y, sx, ex, newx, i; local in function:wins_wch 100 cw = wcwidth(wch->vals[0]); 101 __CTRACE(__CTRACE_INPUT, "wins_wch: wcwidth %d\n", cw); 102 if (cw < 0) 103 cw = 1; 104 if (!cw) 145 if (cw > win->maxx - sx) 155 temp2 = temp1 - cw; 160 while (temp1 > temp2 + cw) { 187 start->wcols = cw; [all...] |
line.c | 220 int ocury, ocurx, wcn, i, cw; 232 cw = wcwidth(cc.vals[0]); 233 if (cw <= 0) 234 cw = 1; 235 if ( ( win->maxx - win->curx ) < cw ) 237 wcn = min( n, ( win->maxx - win->curx ) / cw ); 244 ocury, ocurx + i * cw); 245 mvwadd_wch(win, ocury, ocurx + i * cw, &cc);
|
border.c | 207 int endy, endx, i, j, k, cw, pcw, tlcw, blcw, trcw, brcw; 305 cw = wcwidth(left.vals[0]); 306 if (cw < 0) 307 cw = 1; 308 for ( j = 0; j < cw; j++ ) { 324 win->alines[i]->line[j].wcols = cw; 338 for (j = cw; win->alines[i]->line[j].wcols < 0; j++) { 349 cw = wcwidth(right.vals[0]); 350 if (cw < 0) 351 cw = 1 [all...] |
addbytes.c | 353 int sx = 0, ex = 0, cw = 0, i = 0, newx = 0, tabsize; 418 cw = (*lp).wcols; 419 if (cw < 0) { 420 lp += cw; 421 *x += cw; 455 cw = (*lp).wcols; 456 if (cw >= 0) { 459 for (sx = *x - 1; sx >= max(*x + cw, 0); sx--) { 472 sx = *x + cw; 480 cw = wcwidth(wch->vals[0]) [all...] |
cr_put.c | 204 int cw; local in function:plodput 207 cw = wctomb(s, c); 208 if (cw < 0) 209 cw = 1; 211 cw = 1; 214 plodcnt -= cw;
|
/src/sys/arch/mips/atheros/ |
ar5315.c | 95 uint32_t memcfg, cw, rw, dw; local in function:ar5315_get_memsize 101 cw = __SHIFTOUT(memcfg, AR5315_MEM_CFG_COL_WIDTH); 102 cw += 1; 112 memsize = (1 << cw) * (1 << rw) * dw; 114 printf("SDRAM_MEM_CFG =%x, cw=%d rw=%d dw=%d xmemsize=%d\n", memcfg, 115 cw, rw, dw, memsize);
|
/src/sys/compat/linux/arch/i386/ |
linux_machdep.h | 58 uint32_t cw; member in struct:linux_fpstate 109 unsigned long cw; member in struct:linux_libc_fpstate
|
/src/sys/dev/ |
cgd.c | 571 struct cgd_worker *cw; local in function:cgd_spawn 580 cw = cgd_create_one_worker(); 581 if (cw == NULL) { 588 cgd_destroy_one_worker(cw); 592 sc->sc_worker = cw; 601 struct cgd_worker *cw = sc->sc_worker; local in function:cgd_destroy 610 cgd_destroy_one_worker(cw); 652 cgd_destroy_one_worker(struct cgd_worker *cw) 655 KASSERT(cw == cgd_worker); 666 struct cgd_worker *cw; local in function:cgd_create_worker 846 struct cgd_worker *cw = sc->sc_worker; local in function:cgd_diskstart 986 struct cgd_worker *cw = sc->sc_worker; local in function:cgd_iodone2 1527 struct cgd_worker *cw = sc->sc_worker; local in function:cgd_cpu 1552 struct cgd_worker *cw = sc->sc_worker; local in function:cgd_enqueue 1568 struct cgd_worker *cw = sc->sc_worker; local in function:cgd_process [all...] |
/src/sys/dev/ic/ |
athrate-sample.h | 199 int cw = WIFI_CW_MIN; local in function:calc_usecs_unicast_packet 283 cw = MIN(WIFI_CW_MAX, (cw + 1) * 2); 284 tt += (t_slot * cw/2);
|
/src/sys/compat/linux32/arch/amd64/ |
linux32_signal.h | 133 u_int32_t cw; member in struct:linux32_libc_fpstate
|
/src/sys/netinet/ |
tcp_congctl.c | 595 u_int cw = tp->snd_cwnd; local in function:tcp_reno_newack 606 if (cw >= tp->snd_ssthresh) { 608 if (tp->t_bytes_acked >= cw) { 610 tp->t_bytes_acked -= cw; 637 if (cw >= tp->snd_ssthresh) { 638 incr = incr * incr / cw; 642 tp->snd_cwnd = uimin(cw + incr, TCP_MAXWIN << tp->snd_scale);
|
/src/sys/arch/hpcsh/dev/hd64461/ |
hd64461video.c | 81 int c, cw, cstep; member in struct:hd64461video_font 813 int w, h, cw; local in function:hd64461video_putchar 817 cw = sc->sc_font.cw; 818 hd64461video_bitblit(ctx, (uc % cw) * w, 819 sc->sc_vc->vc.vc_fbheight + (uc / cw) * h, row, col, h, w); 892 sc->sc_font.cw = hvc->hf.hf_width / w; 893 sc->sc_font.cstep = ((w * h * bpp) / NBBY) * sc->sc_font.cw; 895 DPRINTF("c = %d cw = %d cstep = %d\n", sc->sc_font.c, 896 sc->sc_font.cw, sc->sc_font.cstep) [all...] |
/src/sys/dev/hdaudio/ |
hdafg.c | 954 struct hdaudio_widget *w, *cw; local in function:hdafg_dump_dst_nid 986 cw = hdafg_widget_lookup(sc, w->w_conns[i]); 987 if (cw == NULL || cw->w_enable == false || cw->w_bindas == -1) 1236 struct hdaudio_widget *w, *cw; local in function:hdafg_control_parse 1252 cw = hdafg_widget_lookup(sc, 1254 if (cw == NULL || cw->w_enable == false) 1312 cw = hdafg_widget_lookup(sc 1446 struct hdaudio_widget *w, *cw; local in function:hdafg_disable_useless 2107 struct hdaudio_widget *w, *cw; local in function:hdafg_disable_unassoc 2221 struct hdaudio_widget *w, *cw; local in function:hdafg_disable_crossassoc [all...] |
/src/sys/dev/nor/ |
cfi.c | 422 for (u_int cw = 0; cw <= pw; cw++) { local in function:cfi_probe 424 cfi->cfi_chipwidth = cw; 580 int cw, pw; local in function:cfi_cmd 585 cw = 1 << cfi->cfi_chipwidth; 588 cmd <<= cw << 3; 590 pw -= cw;
|
/src/sys/crypto/aes/arch/x86/ |
aes_via.c | 157 const uint32_t cw[4] __aligned(16) = { local in function:aesvia_encN 170 : "b"(enc), "d"(cw) 178 const uint32_t cw[4] __aligned(16) = { local in function:aesvia_decN 191 : "b"(dec), "d"(cw) 281 const uint32_t cw[4] __aligned(16) = { local in function:aesvia_cbc_encN 302 : "b"(enc), "d"(cw) 311 const uint32_t cw[4] __aligned(16) = { local in function:aesvia_cbc_decN 333 : "a"(iv), "b"(dec), "d"(cw)
|
/src/sys/external/isc/atheros_hal/dist/ |
ah.c | 678 uint32_t cw; local in function:ath_hal_setTxQProps 695 cw = AH_MIN(qInfo->tqi_cwmin, 1024); 698 while (qi->tqi_cwmin < cw) 703 cw = AH_MIN(qInfo->tqi_cwmax, 1024); 706 while (qi->tqi_cwmax < cw)
|
/src/sys/arch/x86/x86/ |
fpu.c | 706 uint16_t cw, sw; local in function:fputrap 708 fnstcw(&cw); 714 statbits = sw & ~(cw & 0x3f);
|
via_padlock.c | 334 via_padlock_cbc(void *cw, void *src, void *dst, void *key, int rep, 348 : "a" (iv), "b" (key), "c" (rep), "d" (cw), "S" (src), "D" (dst)
|
/src/usr.bin/pr/ |
pr.c | 342 int cw = nmwd + 1; local in function:vertcol 392 fullcol = col + cw; 550 cnt += cw; 557 cnt += cw;
|