| /illumos-gate/usr/src/man/man3xcurses/ |
| H A D | newpad.3xcurses | 8 newpad, pnoutrefresh, prefresh, subpad \- create or refresh a pad or subpad 24 \fBint\fR \fBpnoutrefresh\fR(\fBWINDOW *\fR\fIpad\fR, \fBint\fR \fIpminrow\fR, \fBint\fR \fIpmincol… 30 \fBint\fR \fBprefresh\fR(\fBWINDOW *\fR\fIpad\fR, \fBint\fR \fIpminrow\fR, \fBint\fR \fIpmincol\fR,… 46 Is the number of lines in the pad to be created. 55 Is the number of columns in the pad to be created. 61 \fB\fIpad\fR\fR 64 Is a pointer to the pad to refresh. 73 Is the row coordinate of the upper left corner of the pad rectangle to be 83 Is the column coordinate of the upper left corner of the pad rectangle to be 94 screen where pad is to be positioned. [all …]
|
| H A D | pechochar.3xcurses | 19 \fBint\fR \fBpechochar\fR(\fBWINDOW *\fR\fIpad\fR, \fBchtype\fR \fIch\fR); 24 \fBint\fR \fBpecho_wchar\fR(\fBWINDOW *\fR\fIpad\fR, \fBconst chtype *\fR\fIwch\fR); 31 \fB\fIpad\fR\fR 34 Is a pointer to the pad in which the character is to be added. 43 Is a pointer to the character to be written to the pad. 52 Is a pointer to the complex character to be written to the pad. 61 to \fBprefresh()\fR. \fBprefresh()\fR reuses the last position of the pad on
|
| /illumos-gate/usr/src/lib/libcurses/screen/ |
| H A D | prefresh.c | 47 * Pad refresh. These routines are provided for upward compatibility 48 * with the 'pad' structure of Sys V.2. Since windows now can be of 50 * parent windows effortlessly, a separate notion of 'pad' as 53 * pminy, pminx: the area (pminy, pminx, maxy, maxx) of pad is refreshed 58 prefresh(WINDOW *pad, int pminy, int pminx, int sminy, in prefresh() argument 61 return (_prefresh(wrefresh, pad, pminy, pminx, sminy, in prefresh() 66 _prefresh(int (*func)(WINDOW *), WINDOW *pad, int pminy, int pminx, in _prefresh() argument 71 * If pad->_padwin doesn't exist(meaning that this is in _prefresh() 75 if (!pad->_padwin) { in _prefresh() 76 if ((pad->_padwin = derwin(pad, pad->_maxy, pad->_maxx, in _prefresh() [all …]
|
| H A D | pechowchar.c | 37 * pechochar(WINDOW *pad, chtype ch) is functionally equivalent to 38 * waddch(WINDOW *pad, chtype ch), prefresh(WINDOW *pad, `the same arguments 46 pechowchar(WINDOW *pad, chtype ch) in pechowchar() argument 52 * If pad->_padwin exists(meaning that p*refresh have been in pechowchar() 54 * wechochar on the pad itself in pechowchar() 57 if ((padwin = pad->_padwin) != NULL) { in pechowchar() 58 padwin->_cury = pad->_cury - padwin->_pary; in pechowchar() 59 padwin->_curx = pad->_curx - padwin->_parx; in pechowchar() 61 pad->_cury = padwin->_cury + padwin->_pary; in pechowchar() 62 pad->_curx = padwin->_curx + padwin->_parx; in pechowchar() [all …]
|
| H A D | pechochar.c | 46 * pechochar(WINDOW *pad, chtype ch) is functionally equivalent to 47 * waddch(WINDOW *pad, chtype ch), prefresh(WINDOW *pad, `the same arguments 55 pechochar(WINDOW *pad, chtype ch) in pechochar() argument 61 * If pad->_padwin exists(meaning that p*refresh have been in pechochar() 63 * wechochar on the pad itself in pechochar() 66 if ((padwin = pad->_padwin) != NULL) { in pechochar() 67 padwin->_cury = pad->_cury - padwin->_pary; in pechochar() 68 padwin->_curx = pad->_curx - padwin->_parx; in pechochar() 70 pad->_cury = padwin->_cury + padwin->_pary; in pechochar() 71 pad->_curx = padwin->_curx + padwin->_parx; in pechochar() [all …]
|
| H A D | newpad.c | 48 WINDOW *pad; in newpad() local 50 pad = newwin(l, nc, 0, 0); in newpad() 51 if (pad != (WINDOW *) NULL) in newpad() 52 pad->_flags |= _ISPAD; in newpad() 53 return (pad); in newpad()
|
| /illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
| H A D | pecho_wc.c | 45 pecho_wchar(WINDOW *pad, const cchar_t *cc) in pecho_wchar() argument 50 __m_trace("pecho_wchar(%p, %p)", pad, cc); in pecho_wchar() 54 dy = pad->_smaxy - pad->_sminy; in pecho_wchar() 55 dx = pad->_smaxx - pad->_sminx; in pecho_wchar() 58 if (pad->_cury < pad->_refy || pad->_curx < pad->_refx in pecho_wchar() 59 || pad->_refy + dy < pad->_cury || pad->_refx + dx < pad->_curx) in pecho_wchar() 62 /* Add the character to the pad. */ in pecho_wchar() 63 if ((code = wadd_wch(pad, cc)) == OK) { in pecho_wchar() 66 pad, pad->_refy, pad->_refx, in pecho_wchar() 67 pad->_sminy, pad->_sminx, pad->_smaxy, pad->_smaxx in pecho_wchar()
|
| H A D | prefresh.c | 45 * Update newscr with the given pad then display to the terminal. 69 * Update newscr with the given pad. This allows newscr to 76 pnoutrefresh(pad, pminr, pminc, sminr, sminc, smaxr, smaxc) in pnoutrefresh() argument 77 WINDOW *pad; in pnoutrefresh() 86 pad, pminr, pminc, sminr, sminc, smaxr, smaxc 106 if (pad->_maxy <= pminr || pad->_maxx <= pminc 115 * beyond the bottom and right-hand edges of the pad. 117 if (pad->_maxx <= pminc + smaxc-sminc+1) 118 smaxc = sminc + pad->_maxx - 1 - pminc; 119 if (pad->_maxy <= pminr + smaxr-sminr+1) [all …]
|
| /illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
| H A D | pecho_wc.c | 50 pecho_wchar(WINDOW *pad, const cchar_t *cc) in pecho_wchar() argument 56 dy = pad->_smaxy - pad->_sminy; in pecho_wchar() 57 dx = pad->_smaxx - pad->_sminx; in pecho_wchar() 61 if (pad->_cury < pad->_refy || pad->_curx < pad->_refx || in pecho_wchar() 62 pad->_refy + dy < pad->_cury || pad->_refx + dx < pad->_curx) in pecho_wchar() 65 /* Add the character to the pad. */ in pecho_wchar() 66 code1 = wadd_wch(pad, cc); in pecho_wchar() 69 code = prefresh(pad, pad->_refy, pad->_refx, in pecho_wchar() 70 pad->_sminy, pad->_sminx, pad->_smaxy, pad->_smaxx); in pecho_wchar()
|
| H A D | prefresh.c | 50 * Update newscr with the given pad then display to the terminal. 66 * Update newscr with the given pad. This allows newscr to 73 pnoutrefresh(WINDOW *pad, int pminr, int pminc, int sminr, int sminc, in pnoutrefresh() argument 95 if (pad->_maxy <= pminr || pad->_maxx <= pminc || in pnoutrefresh() 106 * beyond the bottom and right-hand edges of the pad. in pnoutrefresh() 108 if (pad->_maxx <= pminc + smaxc-sminc + 1) in pnoutrefresh() 109 smaxc = sminc + pad->_maxx - 1 - pminc; in pnoutrefresh() 110 if (pad->_maxy <= pminr + smaxr-sminr + 1) in pnoutrefresh() 111 smaxr = sminr + pad->_maxy - 1 - pminr; in pnoutrefresh() 114 pad->_refy = (short) pminr; in pnoutrefresh() [all …]
|
| /illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | topo_digraph_xml.c | 42 tdg_xml_nvstring(FILE *fp, uint_t pad, const char *name, const char *value) in tdg_xml_nvstring() argument 44 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s' %s='%s' />\n", pad, "", in tdg_xml_nvstring() 50 tdg_xml_nvlist(FILE *fp, uint_t pad, const char *name) in tdg_xml_nvlist() argument 52 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s'>\n", pad, "", in tdg_xml_nvlist() 57 tdg_xml_nvuint8(FILE *fp, uint_t pad, const char *name, const uint8_t value) in tdg_xml_nvuint8() argument 59 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s' %s='%u' />\n", pad, "", in tdg_xml_nvuint8() 65 tdg_xml_nvint8(FILE *fp, uint_t pad, const char *name, const uint8_t value) in tdg_xml_nvint8() argument 67 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s' %s='%d' />\n", pad, "", in tdg_xml_nvint8() 73 tdg_xml_nvuint16(FILE *fp, uint_t pad, const char *name, const uint8_t value) in tdg_xml_nvuint16() argument 75 (void) fprintf(fp, "%*s<%s %s='%s' %s='%s' %s='%u' />\n", pad, "", in tdg_xml_nvuint16() [all …]
|
| /illumos-gate/usr/src/man/man3curses/ |
| H A D | curs_pad.3curses | 28 \fBint\fR \fBprefresh\fR(\fBWINDOW *\fR\fIpad\fR, \fBint\fR \fIpminrow\fR, \fBint\fR \fIpmincol\fR,… 34 \fBint\fR \fBpnoutrefresh\fR(\fBWINDOW *\fR\fIpad\fR, \fBint\fR \fIpminrow\fR, \fBint\fR \fIpmincol… 40 \fBint\fR \fBpechochar\fR(\fBWINDOW *\fR\fIpad\fR, \fBchtype\fR \fIch\fR); 45 \fBint\fR \fBpechowchar\fR(\fBWINDOW *\fR\fIpad\fR, \fBchtype\fR \fIwch\fR); 51 The \fBnewpad()\fR routine creates and returns a pointer to a new pad data 53 \fIncols\fR. A pad is like a window, except that it is not restricted by the 58 call \fBwrefresh\fR(3CURSES) with a \fIpad\fR as an argument; the routines \fB 60 routines require additional parameters to specify the part of the pad to be 65 a pad with the given number of lines, \fInlines\fR, and columns, \fIncols\fR. 67 position (\fIbegin_x\fR\fB, \fR\fIbegin_y\fR) on the pad. The window is made in [all …]
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | audit_core.c | 75 /* initialize the process audit data (pad) memory allocator */ in audit_init() 140 struct p_audit_data *pad; in audit_update_context() local 143 pad = P2A(p); in audit_update_context() 144 if (pad == NULL) { in audit_update_context() 151 if (pad->pad_flags & PAD_SETMASK) { in audit_update_context() 157 mutex_enter(&pad->pad_lock); in audit_update_context() 159 if (pad->pad_flags & PAD_SETMASK) { in audit_update_context() 162 mutex_exit(&pad->pad_lock); in audit_update_context() 171 ainfo->ai_mask = pad->pad_newmask; in audit_update_context() 175 pad->pad_flags &= ~PAD_SETMASK; in audit_update_context() [all …]
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
| H A D | tmxfmt.c | 45 number(register char* s, register char* e, register long n, register int p, int w, int pad) in number() argument 51 if (p > 0 && (pad == 0 || pad == '0')) in number() 60 switch (pad) in number() 108 int pad; in tmxfmt() local 155 pad = 0; in tmxfmt() 165 pad = c; in tmxfmt() 176 pad = c; in tmxfmt() 263 cp = number(cp, ep, (long)(1900 + tm->tm_year) / 100, 2, width, pad); in tmxfmt() 266 cp = number(cp, ep, (long)tm->tm_mday, 2, width, pad); in tmxfmt() 272 cp = number(cp, ep, (long)tm->tm_mday, -2, width, pad); in tmxfmt() [all …]
|
| /illumos-gate/usr/src/lib/libeti/form/common/ |
| H A D | field_pad.c | 37 set_field_pad(FIELD *f, int pad) in set_field_pad() argument 39 if (!(isascii(pad) && isprint(pad))) in set_field_pad() 44 if (Pad(f) != pad) { in set_field_pad() 45 Pad(f) = pad; in set_field_pad() 54 return (Pad(Field(f))); in field_pad()
|
| /illumos-gate/usr/src/lib/libeti/menu/common/ |
| H A D | menupad.c | 38 set_menu_pad(MENU *m, int pad) in set_menu_pad() argument 40 if (!isprint(pad)) { in set_menu_pad() 44 Pad(m) = pad; in set_menu_pad() 50 Pad(Dfl_Menu) = pad; in set_menu_pad() 58 return (Pad(m ? m : Dfl_Menu)); in menu_pad()
|
| /illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
| H A D | strncpy.S | 68 nop ! pad to align loop on 16-byte boundary 83 bz,a %ncc, .bytepad ! yes, at least one byte to pad here 87 nop ! pad 88 nop ! pad 153 addcc %g4, 16, %g0 ! number of pad bytes < 16 ? 168 bnz,pt %ncc, .makealigned ! yup, pad another byte 170 nop ! pad to align copy loop below 171 nop ! pad to align copy loop below 173 ! here we know that there at least another 8 bytes to pad, since 174 ! we don't get here unless there were >= 16 bytes to pad to begin [all …]
|
| /illumos-gate/usr/src/cmd/loadkeys/type_101/ |
| H A D | neaten.sh | 75 markrow $sorted 1 15 "Main Pad Row 1: digits, Backspace" 76 markrow $sorted 16 29 "Main Pad Row 2: Tab, QWERTY..." 77 markrow $sorted 30 43 "Main Pad Row 3: CapsLock, ASDFGH..., Enter" 78 markrow $sorted 44 57 "Main Pad Row 4: Shift, ZXCVBN..., Shift" 79 markrow $sorted 58 65 "Main Pad Row 5: Ctrl, Alt, Space, ..." 81 markrow $sorted 75 89 "Arrow Pad" 82 markrow $sorted 90 108 "Numeric Pad"
|
| H A D | canadian_french2 | 29 # Main Pad Row 1: digits, Backspace 46 # Main Pad Row 2: Tab, QWERTY... 57 # Main Pad Row 3: CapsLock, ASDFGH..., Enter 64 # Main Pad Row 4: Shift, ZXCVBN..., Shift 75 # Main Pad Row 5: Ctrl, Alt, Space, ... 78 # Numeric Pad
|
| H A D | denmark | 29 # Main Pad Row 1: digits, Backspace 46 # Main Pad Row 2: Tab, QWERTY... 57 # Main Pad Row 3: CapsLock, ASDFGH..., Enter 64 # Main Pad Row 4: Shift, ZXCVBN..., Shift 75 # Main Pad Row 5: Ctrl, Alt, Space, ... 78 # Numeric Pad
|
| H A D | france | 28 # Main Pad Row 1: digits, Backspace 45 # Main Pad Row 2: Tab, QWERTY... 56 # Main Pad Row 3: CapsLock, ASDFGH..., Enter 63 # Main Pad Row 4: Shift, ZXCVBN..., Shift 74 # Main Pad Row 5: Ctrl, Alt, Space, ... 77 # Numeric Pad
|
| /illumos-gate/usr/src/uts/common/syscall/ |
| H A D | auditsys.c | 769 struct p_audit_data *pad; in getcwd() local 773 pad = P2A(curproc); in getcwd() 774 ASSERT(pad != NULL); in getcwd() 776 mutex_enter(&(pad->pad_lock)); in getcwd() 777 app = pad->pad_cwd; in getcwd() 779 mutex_exit(&(pad->pad_lock)); in getcwd() 799 struct p_audit_data *pad; in getcar() local 803 pad = P2A(curproc); in getcar() 804 ASSERT(pad != NULL); in getcar() 806 mutex_enter(&(pad->pad_lock)); in getcar() [all …]
|
| /illumos-gate/usr/src/common/ficl/ |
| H A D | tools.c | 187 (void) sprintf(vm->pad, "%d bins, %2.0f%% filled, Depth: " in ficlPrimitiveHashSummary() 192 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveHashSummary() 215 (void) sprintf(vm->pad, ": %.*s\n", word->length, word->name); in ficlPrimitiveSeeXT() 216 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT() 229 (void) sprintf(vm->pad, "variable = %ld (%#lx)\n", in ficlPrimitiveSeeXT() 231 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT() 235 (void) sprintf(vm->pad, "user variable %ld (%#lx)\n", in ficlPrimitiveSeeXT() 237 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT() 241 (void) sprintf(vm->pad, "constant = %ld (%#lx)\n", in ficlPrimitiveSeeXT() 243 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT() [all …]
|
| /illumos-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | zfs_sha256.c | 199 uint8_t pad[128]; in SHA256() local 209 pad[i] = ((uint8_t *)buf)[i]; in SHA256() 211 for (pad[padsize++] = 0x80; (padsize & 63) != 56; padsize++) in SHA256() 212 pad[padsize] = 0; in SHA256() 215 pad[padsize++] = (size << 3) >> (56 - 8 * i); in SHA256() 218 SHA256Transform(H, pad + i); in SHA256() 255 uint8_t pad[256]; in SHA512() local 265 pad[k] = ((uint8_t *)buf)[k+i]; in SHA512() 268 for (pad[padsize++] = 0x80; padsize < 112; padsize++) in SHA512() 269 pad[padsize] = 0; in SHA512() [all …]
|
| /illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
| H A D | sha256.c | 200 uint8_t pad[128]; in SHA256() local 210 pad[k] = ((uint8_t *)buf)[k+i]; in SHA256() 212 for (pad[padsize++] = 0x80; (padsize & 63) != 56; padsize++) in SHA256() 213 pad[padsize] = 0; in SHA256() 216 pad[padsize++] = (size << 3) >> (56 - 8 * i); in SHA256() 219 SHA256Transform(H, pad + i); in SHA256() 256 uint8_t pad[256]; in SHA512() local 266 pad[k] = ((uint8_t *)buf)[k+i]; in SHA512() 269 for (pad[padsize++] = 0x80; padsize < 112; padsize++) in SHA512() 270 pad[padsize] = 0; in SHA512() [all …]
|