Searched defs:sw (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/amd64/fp/
H A Dfpgetsticky.c38 int sw, mxcsr; local
40 _getsw(&sw);
42 sw |= mxcsr;
43 return ((fp_except)(sw & 0x3f));
H A Dfpsetsticky.c38 int sw, mxcsr; local
40 _getsw(&sw);
43 sw |= mxcsr;
46 return ((fp_except)(sw & 0x3f));
/illumos-gate/usr/src/lib/libc/i386/fp/
H A Dfpgetsticky.c40 int sw, mxcsr; local
42 _getsw(&sw);
45 sw |= mxcsr;
47 return ((fp_except)(sw & 0x3f));
H A Dfpsetsticky.c40 int sw, mxcsr; local
42 _getsw(&sw);
46 sw |= mxcsr;
50 return ((fp_except)(sw & 0x3f));
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwaddchnstr.c58 int sw; local
64 sw = mbscrw((int)(_CHAR(*string)));
66 if (remcols < sw)
72 remcols -= sw;
77 sw = mbscrw((int)(_CHAR(*string)));
79 if ((remcols < sw) || (ncols < ew))
85 remcols -= sw;
H A Dwinstr.c56 int sw, s; local
63 sw = mbscrw((int) wc);
65 for (s = 0; s < sw; s++, ptr++) {
H A Dwinwstr.c47 int sw, s; local
55 sw = mbscrw((int)wc);
59 for (s = 0; s < sw; s++, ptr++) {
H A Dwinsdelln.c58 chtype *sw; local
135 sw = win->_y[to];
137 win->_y[fr] = sw;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_errno.c116 const struct status2winerr *sw; local
121 for (sw = smb_status2winerr_map; sw->status != 0; sw++)
122 if (sw->status == status && (sw->winerr < 0xFFFF))
123 return ((uint16_t)sw->winerr);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dhandles.c45 efi_register_handles(struct devsw *sw, EFI_HANDLE *handles, argument
61 entry[idx].dev = sw;
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c47 snode_walk_data_t *sw; local
69 sw = mdb_alloc(sizeof (snode_walk_data_t), UM_SLEEP);
70 sw->sw_stablesz = stablesz;
71 sw->sw_stable = stable;
74 wsp->walk_data = sw;
83 snode_walk_data_t *sw = wsp->walk_data; local
88 if (--sw->sw_stablesz == 0)
91 sw->sw_stable += sizeof (struct snode *);
93 if (mdb_vread(&sp, sizeof (sp), sw->sw_stable) == -1) {
95 sw
[all...]
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dfpu.c649 fpe_sicode(uint_t sw) argument
651 if (sw & FPS_IE)
653 if (sw & FPS_ZE)
655 if (sw & FPS_DE)
657 if (sw & FPS_OE)
659 if (sw & FPS_UE)
661 if (sw & FPS_PE)
670 fpe_simd_sicode(uint_t sw) argument
672 if (sw & SSE_IE)
674 if (sw
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Dbootinfo.c54 const char *sw; local
73 sw = strchr(howto_switches, *opts);
74 if (sw == NULL)
76 howto |= howto_masks[sw - howto_switches];
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstring.c83 register const char *s, *t, *sw, *tw; local
115 s=sw=sp;
143 sw = ++s;
151 else if(s==sw && t==tw)
163 while (s>sw && *s!=*t)
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_i386.c151 unsigned sw, cw; local
153 sw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status;
159 if ((sw & FE_INVALID) && !(cw & (1 << fp_trap_invalid)))
161 sip->si_code = ((sw & 0x40)? 0 : FPE_FLTINV);
162 else if ((sw & FE_DIVBYZERO) && !(cw & (1 << fp_trap_division)))
164 else if ((sw & FE_OVERFLOW) && !(cw & (1 << fp_trap_overflow)))
166 else if ((sw & FE_UNDERFLOW) && !(cw & (1 << fp_trap_underflow)))
168 else if ((sw & FE_INEXACT) && !(cw & (1 << fp_trap_inexact)))
573 unsigned int cwsw, ex, sw, op; local
579 sw
[all...]
H A Dfenv_inlines.h38 uint16_t sw; member in struct:fp_cwsw::__anon132
50 : "=m" (u->words.cw), "=m" (u->words.sw));
68 : "r" (cwsw.words.cw), "r" (cwsw.words.sw)
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub1.c222 int i, sw; local
229 sw = 0;
231 sw = 1;
239 return (sw ? -i : i);
332 cclinter(int sw) argument
334 /* sw = 1 ==> ccl */
337 if (!sw) { /* is NCCL */
524 static int sw, savline; local
527 sw = TRUE;
541 if (brac == 0 && sw
[all...]
/illumos-gate/usr/src/uts/intel/sys/
H A Dmcontext.h97 uint16_t sw; member in struct:_fpu::__anon505::_fpchip_state
111 uint32_t status; /* sw at exception */
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dbootinfo.c71 const char *sw; local
99 sw = strchr(howto_switches, *opts);
100 if (sw == NULL)
102 howto |= howto_masks[sw - howto_switches];
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c65 struct __nsw_switchconfig_v1 *sw; member in struct:cons_cell_v1
70 struct __nsw_switchconfig *sw; member in struct:cons_cell
715 if (strcmp(dbase, cellp->sw->dbase) == 0)
716 return (cellp->sw);
726 if (strcmp(dbase, cellp->sw->dbase) == 0)
727 return (cellp->sw);
860 cp->sw = cfp;
876 cp->sw = cfp;
897 if (cellp->sw == conf) {
927 if (cellp->sw
[all...]
/illumos-gate/usr/src/head/
H A Dieeefp.h240 sw, /* status word after fnclex-not useful */ member in struct:_fpstate
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_cfgdef.h70 nscd_cfg_switch_t sw; member in struct:__anon991
78 nscd_cfg_stat_switch_t sw; member in struct:__anon992
87 nscd_cfg_stat_global_switch_t sw; member in struct:__anon993
98 nscd_cfg_global_switch_t sw; member in struct:__anon994
400 sw,
412 sw,
424 sw,
436 sw,
495 sw,
508 sw,
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c103 static WINDOW *sw[SW_COUNT]; variable
117 if (sw[i] != NULL) {
118 (void) delwin(sw[i]);
119 sw[i] = NULL;
190 sw[SW_TITLE] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
193 sw[SW_IDLE] = subwin(stdscr, cstate_lines, win_cols/2 + 1, pos_y, 0);
194 sw[SW_FREQ] = subwin(stdscr, cstate_lines, win_cols/2 - 8, pos_y,
198 sw[SW_WAKEUPS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
201 sw[SW_POWER] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
208 sw[SW_EVENT
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_watch.c96 } sw; variable in typeref:struct:scsi_watch
167 mutex_init(&sw.sw_mutex, NULL, MUTEX_DRIVER, NULL);
168 cv_init(&sw.sw_cv, NULL, CV_DRIVER, NULL);
169 sw.sw_state = SW_RUNNING;
170 sw.sw_flags = 0;
171 sw.swr_current = NULL;
184 ASSERT(sw.sw_thread == 0);
185 mutex_destroy(&sw.sw_mutex);
186 cv_destroy(&sw.sw_cv);
238 mutex_enter(&sw
[all...]
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshnodes.h196 struct swnod sw; member in union:Shnode_u

Completed in 63 milliseconds

12