Home
last modified time | relevance | path

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

12345678910>>...12

/illumos-gate/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->_refx in pecho_wchar()
61 || pad->_refy + dy < pad->_cury || pad->_refx + dx < pad->_curx) in pecho_wchar()
65 if ((code = wadd_wch(pad, cc)) == OK) { in pecho_wchar()
68 pad, pad->_refy, pad->_refx, in pecho_wchar()
69 pad->_sminy, pad->_sminx, pad->_smaxy, pad->_smaxx in pecho_wchar()
H A Dprefresh.c79 WINDOW *pad; in pnoutrefresh()
108 if (pad->_maxy <= pminr || pad->_maxx <= pminc
125 pad->_refy = (short) pminr;
126 pad->_refx = (short) pminc;
127 pad->_sminy = (short) sminr;
128 pad->_sminx = (short) sminc;
129 pad->_smaxy = (short) smaxr;
130 pad->_smaxx = (short) smaxc;
136 ns->_flags |= pad->_flags
141 dy = pad->_cury - pminr + pad->_begy;
[all …]
/illumos-gate/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->_refy + dy < pad->_cury || pad->_refx + dx < pad->_curx) in pecho_wchar()
68 code1 = wadd_wch(pad, cc); in pecho_wchar()
71 code = prefresh(pad, pad->_refy, pad->_refx, in pecho_wchar()
72 pad->_sminy, pad->_sminx, pad->_smaxy, pad->_smaxx); in pecho_wchar()
H A Dprefresh.c97 if (pad->_maxy <= pminr || pad->_maxx <= pminc || in pnoutrefresh()
111 smaxc = sminc + pad->_maxx - 1 - pminc; in pnoutrefresh()
116 pad->_refy = (short) pminr; in pnoutrefresh()
117 pad->_refx = (short) pminc; in pnoutrefresh()
118 pad->_sminy = (short) sminr; in pnoutrefresh()
119 pad->_sminx = (short) sminc; in pnoutrefresh()
120 pad->_smaxy = (short) smaxr; in pnoutrefresh()
121 pad->_smaxx = (short) smaxc; in pnoutrefresh()
127 ns->_flags |= pad->_flags & in pnoutrefresh()
132 dy = pad->_cury - pminr + pad->_begy; in pnoutrefresh()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dprefresh.c77 if (!pad->_padwin) { in _prefresh()
78 if ((pad->_padwin = derwin(pad, pad->_maxy, pad->_maxx, in _prefresh()
89 pad->_ndescs--; in _prefresh()
96 (*func)(pad->_padwin); in _prefresh()
105 WINDOW *padwin = pad->_padwin; in _padjust()
110 if ((pminy >= pad->_maxy) || (pminx >= pad->_maxx)) in _padjust()
141 if (((padwin->_cury = pad->_cury - pminy) < 0) || in _padjust()
148 padwin->_leave = pad->_leave; in _padjust()
149 padwin->_use_idl = pad->_use_idl; in _padjust()
160 (!(pad->_flags & _WINSDEL))) { in _padjust()
[all …]
H A Dpechochar.c57 pechochar(WINDOW *pad, chtype ch) in pechochar() argument
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->_cury = padwin->_cury + padwin->_pary; in pechochar()
73 pad->_curx = padwin->_curx + padwin->_parx; in pechochar()
76 return (wechochar(pad, ch)); in pechochar()
H A Dpechowchar.c48 pechowchar(WINDOW *pad, chtype ch) in pechowchar() argument
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->_cury = padwin->_cury + padwin->_pary; in pechowchar()
64 pad->_curx = padwin->_curx + padwin->_parx; in pechowchar()
67 return (wechowchar(pad, ch)); in pechowchar()
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()
/illumos-gate/usr/src/uts/common/os/
H A Daudit_core.c140 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()
219 P2A(cp) = pad; in audit_newproc()
238 au_pathhold(pad->pad_root); in audit_newproc()
239 au_pathhold(pad->pad_cwd); in audit_newproc()
286 p_audit_data_t *pad; in audit_pfree() local
288 pad = P2A(p); in audit_pfree()
293 if (pad == pad0) { in audit_pfree()
298 au_pathrele(pad->pad_root); in audit_pfree()
[all …]
H A Daudit_memory.c101 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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxfmt.c51 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()
300 cp = number(cp, ep, (long)n, c, width, pad); in tmxfmt()
311 cp = number(cp, ep, (long)n, 2, width, pad); in tmxfmt()
522 if (pad == '0') in tmxfmt()
523 *f++ = pad; in tmxfmt()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_digraph_xml.c201 tdg_xml_nvlist(fp, pad, name); in serialize_nvpair_nvlist()
234 tdg_xml_nvint8(fp, pad, pname, val); in serialize_nvpair()
243 tdg_xml_nvuint8(fp, pad, pname, val); in serialize_nvpair()
252 tdg_xml_nvint16(fp, pad, pname, val); in serialize_nvpair()
270 tdg_xml_nvint32(fp, pad, pname, val); in serialize_nvpair()
288 tdg_xml_nvint64(fp, pad, pname, val); in serialize_nvpair()
306 tdg_xml_nvdbl(fp, pad, pname, val); in serialize_nvpair()
384 (pad + 2), "", TDG_XML_NVPAIR, in serialize_nvpair()
483 tdg_xml_nvint32(fp, pad, name, val); in serialize_property()
493 tdg_xml_nvuint32(fp, pad, name, val); in serialize_property()
[all …]
/illumos-gate/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()
/illumos-gate/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()
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()
269 pad[padsize] = 0; in SHA512()
272 pad[padsize] = 0; in SHA512()
277 Encode64(pad+padsize, c64, sizeof (c64)); in SHA512()
[all …]
/illumos-gate/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()
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()
270 pad[padsize] = 0; in SHA512()
273 pad[padsize] = 0; in SHA512()
278 Encode64(pad+padsize, c64, sizeof (c64)); in SHA512()
[all …]
/illumos-gate/usr/src/common/ficl/
H A Dtools.c192 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveHashSummary()
216 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
231 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
237 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
243 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
250 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
256 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSeeXT()
426 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveStepBreak()
854 if (pager_output(vm->pad)) in ficlPrimitiveListEnv()
859 (void) sprintf(vm->pad, in ficlPrimitiveListEnv()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c57 mdb_dump_header(int flags, int pad, int offset) in mdb_dump_header() argument
64 mdb_printf("%*s ", pad, ""); in mdb_dump_header()
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, l, r); in mdb_dump_internal()
385 mdb_dump_data(addr + i, buf, flags, pad, l, r); in mdb_dump_internal()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/syscall/
H A Dauditsys.c769 struct p_audit_data *pad; in getcwd() local
773 pad = P2A(curproc); in getcwd()
774 ASSERT(pad != NULL); in getcwd()
777 app = pad->pad_cwd; in getcwd()
803 pad = P2A(curproc); in getcar()
804 ASSERT(pad != NULL); in getcar()
807 app = pad->pad_root; in getcar()
939 ASSERT(pad != NULL); in setumask()
1022 ASSERT(pad != NULL); in setsmask()
1348 pad = P2A(proc); in setpmask()
[all …]
/illumos-gate/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()
/illumos-gate/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
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.c209 pad = P2A(curproc); in audit_pathbuild()
210 ASSERT(pad != NULL); in audit_pathbuild()
216 mutex_enter(&pad->pad_lock); in audit_pathbuild()
223 pfxapp = pad->pad_root; in audit_pathbuild()
225 pfxapp = pad->pad_cwd; in audit_pathbuild()
228 mutex_exit(&pad->pad_lock); in audit_pathbuild()
1099 pad = P2A(curproc); in audit_setfsat_path()
1224 p_audit_data_t *pad; in audit_exec() local
1228 pad = P2A(curproc); in audit_exec()
1234 if (pad->pad_cwd != NULL) in audit_exec()
[all …]
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrncpy.s68 nop ! pad to align loop on 16-byte boundary
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
266 nop ! pad to align loops below
267 nop ! pad to align loops below
339 nop ! pad
[all …]
/illumos-gate/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>>...12