Searched refs:bx (Results 1 - 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/lib/libcurses/screen/
H A D_subpad.c49 subpad(WINDOW *win, int l, int nc, int by, int bx) argument
51 return (derwin(win, l, nc, by, bx));
H A Dmvwin.c50 mvwin(WINDOW *win, int by, int bx) argument
52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS ||
53 by < 0 || bx < 0)
58 win->_begx = (short) bx;
H A Dderwin.c52 * by, bx: coordinates for upper-left corner of the derived
57 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) argument
67 if (by < 0 || (by + num_lines) > orig->_maxy || bx < 0 ||
68 (bx + nc) > orig->_maxx)
71 nc = orig->_maxx - bx;
77 bx + orig->_begx)) == NULL)
82 win->_parx = (short) bx;
98 w_y16[y] = o_y16[hby] + bx;
103 w_y[y] = o_y[by] + bx;
H A Dsubwin.c48 subwin(WINDOW *win, int l, int nc, int by, int bx) argument
50 return (derwin(win, l, nc, by - win->_begy, bx - win->_begx));
H A Dnewwin.c51 newwin(int nlines, int ncols, int by, int bx) argument
59 ncols = COLS - bx;
61 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by,
62 bx)) == (WINDOW *) NULL) || (_image(win) == ERR)) {
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvwin.c53 mvwin(w, by, bx)
55 int by, bx;
61 __m_trace("mvwin(%p, %d, %d)", w, by, bx);
65 if (by < 0 || bx < 0)
70 if (lines < by + w->_maxy || columns < bx + w->_maxx)
75 || parent->_begx + parent->_maxx < bx + w->_maxx)
82 dx = bx - parent->_begx;
89 w->_begx = bx;
H A Dgetwin.c81 int by, bx, my, mx; local
88 if (fscanf(fp, "MAX=%d,%d BEG=%d,%d ", &my, &mx, &by, &bx) < 4)
94 if ((w = newwin(my, mx, by, bx)) == (WINDOW *) 0)
/illumos-gate/usr/src/ucblib/libcurses/
H A Dmvwin.c31 mvwin(WINDOW *win, int by, int bx) argument
36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS)
39 dx = bx - win->_begx;
52 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx)
55 win->_begx = (short)bx;
H A Dnewwin.c44 int i, by, bx, nl, nc; local
48 bx = begx;
55 nc = COLS - bx;
56 if ((win = makenew(nl, nc, by, bx)) == NULL)
98 int by, bx, nl, nc; local
101 bx = begx;
109 fprintf(outf, "SUBWIN(%0.2o, %d, %d, %d, %d)\n", orig, nl, nc, by, bx);
111 if (by < orig->_begy || bx < orig->_begx ||
113 bx + nc > orig->_maxx + orig->_begx)
118 nc = orig->_maxx + orig->_begx - bx;
158 int by, bx, nl, nc; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dapm.S36 xorw %bx, %bx
42 cmpw $0x504d, %bx
53 xorw %bx, %bx
89 xorw %bx, %bx
97 cmpw $0x504d, %bx
114 xorw %bx, %bx
[all...]
H A Dpxeloader.S34 1: popw %bx
38 movw %ax, %cs:(pxeseg-1b)(%bx)
40 movw %ax, %cs:(pxeoff-1b)(%bx)
41 movw %ax, %bx
H A Dasm.S33 ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg
234 movw %dx,%bx /* into %es:%bx */
236 movw %es:8(%bx),%ax /* Transfer contents of undi_call_info_t */
238 movw %es:6(%bx),%ax
240 movw %es:4(%bx),%ax
243 lcall *%es:0(%bx) /* Do the UNDI call */
274 pushw %bx
277 1: popw %bx /* various locations. */
278 pushw %bx /* sav
[all...]
H A Dstart_eltorito.S104 mov $(STAGE_ADDR >> 4), %bx
105 mov %bx, %es
106 xor %bx, %bx
138 mov %bx, 4(%si)
139 mov %es, %bx
140 mov %bx, 6(%si)
214 * WARNING: trashes %si, %ax, and %bx
223 mov $0x0001, %bx
259 mov $0x0001, %bx
[all...]
H A Dstart.S160 movw $BUFFERSEG, %bx
244 * %es:%bx = segment:offset of buffer
249 movw $BUFFERSEG, %bx
250 movw %bx, %es /* load %es segment with disk buffer */
252 xorw %bx, %bx /* %bx = 0, put it at 0 in the segment */
259 movw %es, %bx
285 movw %bx, %ds /* restore the source segment */
357 * WARNING: trashes %si, %ax, and %bx
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvwin.c56 mvwin(WINDOW *w, int by, int bx) argument
62 if (by < 0 || bx < 0)
67 if (lines < by + w->_maxy || columns < bx + w->_maxx)
72 parent->_begx + parent->_maxx < bx + w->_maxx)
80 dx = bx - parent->_begx;
87 w->_begx = (short) bx;
H A Dgetwin.c83 int by, bx, my, mx; local
86 if (fscanf(fp, "MAX=%d,%d BEG=%d,%d ", &my, &mx, &by, &bx) < 4)
92 if ((w = newwin(my, mx, by, bx)) == NULL)
/illumos-gate/usr/src/psm/stand/bootblks/ufs/i386/
H A Dmboot.S176 mov bx, RELOC_ADDR + FDISK_START
180 cmp byte ptr [bx], ACTIVE
182 add bx, FD_PTESIZE
194 push bx /* save partition pointer */
198 mov bx, 0x55AA /* signature to change */
202 cmp bx, 0xAA55
222 pop bx /* restore partition pointer */
223 push bx /* and save again */
227 push dword ptr [bx+8] /* relsect (lo 32 of 64-bit number) */
248 pop bx /* restor
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpci_io.c148 unsigned long bx = (bus << 8) | device_fn; local
164 "b" (bx),
175 unsigned long bx = (bus << 8) | device_fn; local
191 "b" (bx),
202 unsigned long bx = (bus << 8) | device_fn; local
218 "b" (bx),
229 unsigned long bx = (bus << 8) | device_fn; local
245 "b" (bx),
256 unsigned long bx = (bus << 8) | device_fn; local
272 "b" (bx),
283 unsigned long bx = (bus << 8) | device_fn; local
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_regset.c109 ulong_t bit, bx; local
112 for (bit = 1, bx = 0; bx <= maxb; bx++, bit <<= 1) {
114 reg = (int)((wx << BT_ULSHIFT) | bx);
/illumos-gate/usr/src/uts/common/os/
H A Dbitmap.c72 index_t bx; /* bit index in word */ local
80 for (bx = 0; bx <= maxbit; bx++, bit <<= 1) {
82 return (wx << BT_ULSHIFT | bx);
/illumos-gate/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S162 movw $0x55aa, %bx
174 cmpw $0xaa55, %bx
227 movw $STAGE1_BUFFERSEG, %bx
333 * %es:%bx = segment:offset of buffer
338 movw $STAGE1_BUFFERSEG, %bx
339 movw %bx, %es /* load %es segment with disk buffer */
341 xorw %bx, %bx /* %bx = 0, put it at 0 in the segment */
347 movw %es, %bx
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/
H A Dgptldr.S78 mov $end,%bx # BTX
79 mov 0xa(%bx),%si # Get BTX length and set
80 add %bx,%si # %si to start of boot2
90 mov $COPY_BLKS,%bx # Copy COPY_BLKS 32k blocks
103 dec %bx
107 mov $end,%bx # BTX
108 mov 0xa(%bx),%cx # Get BTX length and set
109 mov %bx,%si # %si to end of BTX
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/
H A DMakefile30 Sl bx ci ff lc lf lh \
/illumos-gate/usr/src/boot/sys/boot/i386/boot0/
H A Dboot0.S261 movw $(partbl+0x4),%bx # Partition table (+4)
268 read_entry: movb %ch,-0x4(%bx) # Zero active flag (ch == 0)
271 movb (%bx),%al # Load type
440 * Make %si and %bx point to the fake partition at LBA 0 (CHS 0:0:1).
448 movw %si,%bx # Partition for read
454 * F1..F4 was pressed, so make %bx point to the currently
459 xchgw %bx,%ax # partition
460 movb $0x80,(%bx) # Flag active
463 * Around the call, save the partition pointer to %bx and
466 1: pushw %bx # Sav
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/pmbr/
H A Dpmbr.s102 movw $0x55aa, %bx
106 cmpw $0xaa55, %bx # chs support is not
109 movw $LOAD/16,%bx # set buffer segment
110 movw %bx,%es
111 xorw %bx,%bx # and offset
117 boot: mov %bx,%es # Reset %es to zero
126 # Load a sector (64-bit LBA at %si) from disk %dl into %es:%bx by creating
132 pushw %bx # the transfer buffer
152 putstr.0: movw $0x7,%bx # Pag
[all...]

Completed in 97 milliseconds

12