Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dpecho_wc.c47 pecho_wchar(WINDOW *pad, const cchar_t *cc) in pecho_wchar() argument
52 __m_trace("pecho_wchar(%p, %p)", pad, cc); in pecho_wchar()
56 dy = pad->_smaxy - pad->_sminy; in pecho_wchar()
57 dx = pad->_smaxx - pad->_sminx; in pecho_wchar()
60 if (pad->_cury < pad->_refy || pad->_curx < pad in pecho_wchar()
[all...]
H A Dprefresh.c47 * Update newscr with the given pad then display to the terminal.
71 * Update newscr with the given pad. This allows newscr to
78 pnoutrefresh(pad, pminr, pminc, sminr, sminc, smaxr, smaxc) in pnoutrefresh() argument
79 WINDOW *pad; in pnoutrefresh()
88 pad, pminr, pminc, sminr, sminc, smaxr, smaxc
108 if (pad->_maxy <= pminr || pad->_maxx <= pminc
117 * beyond the bottom and right-hand edges of the pad.
119 if (pad->_maxx <= pminc + smaxc-sminc+1)
120 smaxc = sminc + pad
[all...]
/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dpecho_wc.c52 pecho_wchar(WINDOW *pad, const cchar_t *cc) in pecho_wchar() argument
58 dy = pad->_smaxy - pad->_sminy; in pecho_wchar()
59 dx = pad->_smaxx - pad->_sminx; in pecho_wchar()
63 if (pad->_cury < pad->_refy || pad->_curx < pad->_refx || in pecho_wchar()
64 pad in pecho_wchar()
[all...]
H A Dprefresh.c52 * Update newscr with the given pad then display to the terminal.
68 * Update newscr with the given pad. This allows newscr to
75 pnoutrefresh(WINDOW *pad, int pminr, int pminc, int sminr, int sminc, in pnoutrefresh() argument
97 if (pad->_maxy <= pminr || pad->_maxx <= pminc || in pnoutrefresh()
108 * beyond the bottom and right-hand edges of the pad. in pnoutrefresh()
110 if (pad->_maxx <= pminc + smaxc-sminc + 1) in pnoutrefresh()
111 smaxc = sminc + pad->_maxx - 1 - pminc; in pnoutrefresh()
112 if (pad->_maxy <= pminr + smaxr-sminr + 1) in pnoutrefresh()
113 smaxr = sminr + pad in pnoutrefresh()
[all...]
/titanic_51/usr/src/lib/libcurses/screen/
H A Dprefresh.c50 * with the 'pad' structure of Sys V.2. Since windows now can be of
52 * parent windows effortlessly, a separate notion of 'pad' as
55 * pminy, pminx: the area (pminy, pminx, maxy, maxx) of pad is refreshed
60 prefresh(WINDOW *pad, int pminy, int pminx, int sminy, in prefresh() argument
63 return (_prefresh(wrefresh, pad, pminy, pminx, sminy, in prefresh()
68 _prefresh(int (*func)(WINDOW *), WINDOW *pad, int pminy, int pminx, in _prefresh() argument
73 * If pad->_padwin doesn't exist(meaning that this is in _prefresh()
77 if (!pad->_padwin) { in _prefresh()
78 if ((pad->_padwin = derwin(pad, pa in _prefresh()
101 _padjust(WINDOW * pad,int pminy,int pminx,int sminy,int sminx,int smaxy,int smaxx) _padjust() argument
[all...]
H A Dpechowchar.c39 * pechochar(WINDOW *pad, chtype ch) is functionally equivalent to
40 * waddch(WINDOW *pad, chtype ch), prefresh(WINDOW *pad, `the same arguments
48 pechowchar(WINDOW *pad, chtype ch) in pechowchar() argument
54 * If pad->_padwin exists(meaning that p*refresh have been in pechowchar()
56 * wechochar on the pad itself in pechowchar()
59 if ((padwin = pad->_padwin) != NULL) { in pechowchar()
60 padwin->_cury = pad->_cury - padwin->_pary; in pechowchar()
61 padwin->_curx = pad->_curx - padwin->_parx; in pechowchar()
63 pad in pechowchar()
[all...]
H A Dpechochar.c48 * pechochar(WINDOW *pad, chtype ch) is functionally equivalent to
49 * waddch(WINDOW *pad, chtype ch), prefresh(WINDOW *pad, `the same arguments
57 pechochar(WINDOW *pad, chtype ch) in pechochar() argument
63 * If pad->_padwin exists(meaning that p*refresh have been in pechochar()
65 * wechochar on the pad itself in pechochar()
68 if ((padwin = pad->_padwin) != NULL) { in pechochar()
69 padwin->_cury = pad->_cury - padwin->_pary; in pechochar()
70 padwin->_curx = pad->_curx - padwin->_parx; in pechochar()
72 pad in pechochar()
[all...]
H A Dnewpad.c50 WINDOW *pad; in newpad() local
52 pad = newwin(l, nc, 0, 0); in newpad()
53 if (pad != (WINDOW *) NULL) in newpad()
54 pad->_flags |= _ISPAD; in newpad()
55 return (pad); in newpad()
/titanic_51/usr/src/uts/common/os/
H A Daudit_core.c75 /* 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 in audit_update_context()
214 p_audit_data_t *pad; /* child process audit data */ audit_newproc() local
286 p_audit_data_t *pad; audit_pfree() local
[all...]
H A Daudit_memory.c33 /* process audit data (pad) cache */
101 p_audit_data_t *pad = vpad; in au_pad_const() local
103 mutex_init(&pad->pad_lock, NULL, MUTEX_DEFAULT, NULL); in au_pad_const()
112 p_audit_data_t *pad = vpad; in au_pad_destr() local
114 mutex_destroy(&pad->pad_lock); in au_pad_destr()
/titanic_51/usr/src/lib/libast/common/tm/
H A Dtmxfmt.c45 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, 0, width, pad); in tmxfmt()
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxfmt.c45 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()
[all...]
/titanic_51/usr/src/lib/libeti/form/common/
H A Dfield_pad.c39 set_field_pad(FIELD *f, int pad) in set_field_pad() argument
41 if (!(isascii(pad) && isprint(pad))) in set_field_pad()
46 if (Pad(f) != pad) { in set_field_pad()
47 Pad(f) = pad; in set_field_pad()
/titanic_51/usr/src/boot/sys/cddl/boot/zfs/
H A Dsha256.c200 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[padsiz in SHA512()
[all...]
/titanic_51/usr/src/grub/grub-0.97/stage2/
H A Dzfs_sha256.c199 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[padsiz in SHA512()
[all...]
/titanic_51/usr/src/common/ficl/
H A Dtools.c186 sprintf(vm->pad, "%d bins, %2.0f%% filled, Depth: " in ficlPrimitiveHashSummary()
191 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveHashSummary()
214 sprintf(vm->pad, ": %.*s\n", word->length, word->name); in ficlPrimitiveSeeXT()
215 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
228 sprintf(vm->pad, "variable = %ld (%#lx)\n", in ficlPrimitiveSeeXT()
230 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
234 sprintf(vm->pad, "user variable %ld (%#lx)\n", in ficlPrimitiveSeeXT()
236 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
240 sprintf(vm->pad, "constant = %ld (%#lx)\n", in ficlPrimitiveSeeXT()
242 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
[all...]
/titanic_51/usr/src/lib/libeti/menu/common/
H A Dmenupad.c40 set_menu_pad(MENU *m, int pad) in set_menu_pad() argument
42 if (!isprint(pad)) { in set_menu_pad()
46 Pad(m) = pad; in set_menu_pad()
52 Pad(Dfl_Menu) = pad; in set_menu_pad()
/titanic_51/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c50 * Output the header for the dump. pad is the width of the address
57 mdb_dump_header(int flags, int pad, int offset) in mdb_dump_header() argument
64 mdb_printf("%*s ", pad, ""); in mdb_dump_header()
89 * Output a line of data. pad is as defined above. A non-zero lmargin
94 mdb_dump_data(uint64_t addr, uchar_t *buf, int flags, int pad, in mdb_dump_data() argument
108 mdb_printf("%0*llx: ", pad, addr); in mdb_dump_data()
206 int pad, n; in mdb_dump_internal() local
267 pad = mdb_dump_pad(addr, len, flags, bytes); in mdb_dump_internal()
281 mdb_dump_header(flags, pad, l); in mdb_dump_internal()
383 mdb_dump_data(i, buf, flags, pad, in mdb_dump_internal()
[all...]
/titanic_51/usr/src/uts/intel/promif/
H A Dprom_printf.c102 int b, c, i, pad, width, ells; in _doprint() local
119 for (pad = ' '; c == '0'; c = *fmt++) in _doprint()
120 pad = '0'; in _doprint()
170 _printn(ul, b, width, pad, emit, bp); in _doprint()
203 _printn(uint64_t n, int b, int width, int pad, void (*emit)(char, char **), in _printn() argument
216 *cp++ = (char)pad; in _printn()
/titanic_51/usr/src/psm/promif/ieee1275/common/
H A Dprom_printf.c99 int b, c, i, pad, width, ells; in _doprint() local
131 for (pad = ' '; c == '0'; c = *fmt++) in _doprint()
132 pad = '0'; in _doprint()
181 _printn(ul, b, width, pad, bp); in _doprint()
226 _printn(uint64_t n, int b, int width, int pad, char **bp) in _printn() argument
238 *cp++ = (char)pad; in _printn()
/titanic_51/usr/src/uts/common/syscall/
H A Dauditsys.c763 struct p_audit_data *pad; in getcwd() local
767 pad = P2A(curproc); in getcwd()
768 ASSERT(pad != NULL); in getcwd()
770 mutex_enter(&(pad->pad_lock)); in getcwd()
771 app = pad->pad_cwd; in getcwd()
773 mutex_exit(&(pad->pad_lock)); in getcwd()
793 struct p_audit_data *pad; in getcar() local
797 pad = P2A(curproc); in getcar()
798 ASSERT(pad != NULL); in getcar()
800 mutex_enter(&(pad in getcar()
932 struct p_audit_data *pad = P2A(p); setumask() local
1015 struct p_audit_data *pad = P2A(p); setsmask() local
1302 struct p_audit_data *pad; setpmask() local
[all...]
/titanic_51/usr/src/cmd/geniconvtbl/
H A Diconv_tm.h111 pad_t pad; member
115 pad_t pad; member
121 #define itm_pad itm_place_union_struct.pad
126 pad_t pad; member
130 pad_t pad; member
342 pad_t pad; member
352 pad_t pad; member
356 pad_t pad; member
628 pad_t pad; member
736 pad_t pad; member
[all...]
/titanic_51/usr/src/lib/libc/sparcv9/gen/
H A Dstrncpy.s68 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 t
[all...]
/titanic_51/usr/src/uts/sparc/sys/
H A Dsynch32.h46 #define mutex_lockw lock.lock64.pad[4]
47 #define mutex_waiters lock.lock64.pad[7]
48 #define mutex_spinners lock.lock64.pad[5]
/titanic_51/usr/src/uts/intel/sys/
H A Dsynch32.h46 #define mutex_lockw lock.lock64.pad[7]
47 #define mutex_waiters lock.lock64.pad[6]
48 #define mutex_spinners lock.lock64.pad[5]

12345678910>>...14