Searched refs:ns (Results 1 - 25 of 53) sorted by relevance

123

/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwrefresh.c83 WINDOW *ns = __m_screen->_newscr; local
111 (void) memcpy(&ns->_line[ny][nx], &w->_line[wy][wx],
115 if (ns->_first[ny] > nx)
116 ns->_first[ny] = (short) nx;
118 if (ns->_last[ny] < (nx + dx))
119 ns->_last[ny] = (short) (nx + dx);
121 if (!ns->_line[ny][nx]._f) {
127 (void) __m_cc_erase(ns, ny, 0, ny, 0);
134 (void) __m_cc_expand(ns, ny, nx, -1);
138 if (!__m_cc_islast(ns, n
[all...]
H A Dprefresh.c78 WINDOW *ns; local
81 ns = __m_screen->_newscr;
92 if (ns->_maxy <= smaxr)
93 smaxr = ns->_maxy-1;
94 if (ns->_maxx <= smaxc)
95 smaxc = ns->_maxx-1;
103 (void) __m_cc_erase(ns, row, sminc, row, smaxc);
123 (void) copywin(pad, ns, pminr, pminc, sminr, sminc, smaxr, smaxc, 0);
126 ns->_flags &= ~W_LEAVE_CURSOR;
127 ns
[all...]
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwrefresh.c83 WINDOW *ns = __m_screen->_newscr; local
109 (void) __m_cc_erase(ns, ny, nx, ny, nx);
110 (void) __m_cc_erase(ns, ny, nx+dx-1, ny, nx+dx-1);
113 &ns->_line[ny][nx], &w->_line[wy][wx],
117 if (!ns->_line[ny][nx]._f) {
122 (void) __m_cc_erase(ns, ny, 0, ny, 0);
128 (void) __m_cc_expand(ns, ny, nx, -1);
132 if (!__m_cc_islast(ns, ny, nx+dx-1)) {
136 if (ns->_maxx <= nx + dx)
138 ns, n
[all...]
H A Dprefresh.c82 WINDOW *ns; local
92 ns = __m_screen->_newscr;
103 if (ns->_maxy <= smaxr)
104 smaxr = ns->_maxy-1;
105 if (ns->_maxx <= smaxc)
106 smaxr = ns->_maxx-1;
114 (void) __m_cc_erase(ns, row, sminc, row, smaxc);
132 (void) copywin(pad, ns, pminr, pminc, sminr, sminc, smaxr, smaxc, 0);
135 ns->_flags &= ~W_LEAVE_CURSOR;
136 ns
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dns83820.c327 #define __kick_rx() writel(CR_RXE, ns->base + CR)
331 writel(virt_to_le32desc(&rx_ring[ns->cur_rx]), ns->base + RXDP); \
332 if (ns->next_rx == ns->next_empty) \
413 static struct ns83820_private *ns; variable in typeref:struct:ns83820_private
423 cfg = readl(ns->base + CFG) ^ SPDSTS_POLARITY;
424 if (ns->CFG_cache & CFG_TBI_EN) {
426 tbisr = readl(ns->base + TBISR);
427 tanar = readl(ns
[all...]
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/autogen/
H A D__init__.py43 ns = sys.modules[modname]
44 instance_list += ns.autogenerate_boot_instances(bootconfig)
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/fw/
H A D__init__.py65 ns = sys.modules[fwmod]
66 return ns.firmware_backend()(uefi_string)
73 ns = sys.modules[fwmod]
74 return ns.firmware_backend()(fw_name)
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/bootvars/
H A D__init__.py46 ns = sys.modules[bvmod]
48 bootvar_backend_class = ns.bootvars_backend()
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmxduration.c36 Time_t ns; local
49 ns = tmxdate(s, &last, now) - now;
52 ns = strtod(s, &last) * TMX_RESOLUTION;
61 ns = ts - now;
71 ns = ts - now;
79 return ns;
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c182 int ns; local
187 for (ns = 0; ns < statp->nscount; ns++) {
188 srv = (struct sockaddr_in *)get_nsaddr(statp, ns);
200 for (ns = 0; ns < statp->nscount; ns++) {
201 srv6 = (struct sockaddr_in6 *)get_nsaddr(statp, ns);
313 int gotsomewhere, terrno, tries, v_circuit, resplen, ns, local
688 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument
886 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int tries, int *v_circuit, int *gotsomewhere) argument
1238 res_set_defer_state(res_state statp, int ns, res_defer_state_t defer_state) argument
1284 res_get_defer_state(res_state statp, int ns, res_defer_state_t *defer_state) argument
[all...]
H A Dres_private.h30 /* minimum transmit time, in nanoseconds (10 million ns == 0.01 second) */
42 RES_DEFER_OFFLINE, /* ns is not responsive to queries */
43 RES_DEFER_ONLINE /* ns is responsive to queries */
46 extern void res_set_defer_state(res_state statp, int ns,
48 extern void res_get_defer_state(res_state statp, int ns,
H A Dres_mkquery.c341 int ns; local
362 ns = socket(AF_INET, SOCK_STREAM, 0);
365 if (connect(ns, (struct sockaddr *) &ns_sin,
367 close(ns);
371 close(ns);
/osnet-11/usr/src/lib/libdladm/common/
H A Dusage.c247 add_stat_item(ea_object_t *o, net_stat_t *ns) argument
252 (void) strncpy(ns->net_stat_name, o->eo_item.ei_string,
261 ns->net_stat_ctime = o->eo_item.ei_uint64;
262 _time = ns->net_stat_ctime;
265 dissect_time(timebuf, &ns->net_stat_time);
268 ns->net_stat_ibytes = o->eo_item.ei_uint64;
271 ns->net_stat_obytes = o->eo_item.ei_uint64;
274 ns->net_stat_ipackets = o->eo_item.ei_uint64;
277 ns->net_stat_opackets = o->eo_item.ei_uint64;
280 ns
604 add_pe_to_file(int (*fn)(dladm_usage_t *, void *), net_plot_entry_t *pe, net_stat_t *ns, int entries, void *arg) argument
726 add_stat_to_tbl(net_table_t *net_table, net_stat_t *ns) argument
803 net_stat_t *ns = nt->my_time_stat; local
862 net_stat_t *ns; local
909 net_stat_t *ns; local
1045 net_stat_t *ns = NULL; local
1190 net_stat_t *ns = NULL, *nns; local
1318 net_stat_t *ns; local
[all...]
/osnet-11/usr/src/lib/libcurses/screen/
H A Ddupwin.c108 chtype *ws, *we, *ns, *ne, wc; local
125 ns = *newcp + (ws - *wincp);
127 (void) memcpy((char *)ns, (char *)ws,
128 (ne-ns)*sizeof (chtype));
130 ns = ne = *newcp + ncolsav;
133 for (ws = *newcp; ws < ns; ++ws)
/osnet-11/usr/src/lib/libresolv/
H A Dres_send.c82 int ns; local
103 ns = socket(AF_INET, SOCK_STREAM, 0);
106 if (connect(ns, (struct sockaddr *) &ns_sin,
108 close(ns);
112 close(ns);
131 int try, v_circuit, resplen, ns; local
165 for (ns = 0; ns < _res.nscount; ns++) {
169 ns
[all...]
H A Dres_mkquery.c71 int ns; local
95 ns = socket(AF_INET, SOCK_STREAM, 0);
98 if (connect(ns, (struct sockaddr *) &ns_sin,
100 close(ns);
104 close(ns);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/
H A Dtiefeatures.t28 sub ns {} subroutine
30 memoize 'ns', SCALAR_CACHE => FAULT;
32 eval { my $s = ns() }; # Should fault
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_kmod.c189 smb_netsvc_t *ns; local
194 if ((ns = calloc(1, sizeof (smb_netsvc_t))) == NULL)
199 free(ns);
216 list_create(&ns->ns_list, sizeof (smb_netsvcitem_t),
219 ns->ns_ioc = ioc;
220 ns->ns_ioclen = ioclen;
221 return (ns);
228 smb_kmod_enum_fini(smb_netsvc_t *ns) argument
238 if (ns == NULL)
241 lst = &ns
284 smb_kmod_enum(smb_netsvc_t *ns) argument
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Dftwalk.c60 int ns; local
80 ns = strlen(path) + 1;
81 if (!(e = newof(0, FTSENT, 1, ns)))
84 e->fts_namelen = e->fts_pathlen = ns;
118 ns = e->status = e->path == e->fts_accpath ? FTW_PATH : FTW_NAME;
147 if (e->status == ns)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/attrs/t/
H A Dattrs.t64 my @attrs = attrs::get($anon3 ? $anon3 : \&ns);
69 @attrs = sort +attrs::get($anon2 ? $anon2 : \&ns);
74 @attrs = sort +attrs::get($anon1 ? $anon1 : \&ns);
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsvcctl_scm.c152 int32_t ns; local
153 r = scf_value_get_time(mgr_ctx->mc_scf_gval, &sec, &ns);
155 ((struct timeval *)vp)->tv_usec = ns / 1000;
562 uint32_t ns, s_status, s_type; local
582 for (ns = 0; ((ns < *resume_handle) && (node != NULL)); ++ns)
590 for (ns = 0; ((ns < numsvcs) && (node != NULL)); ++ns) {
[all...]
H A Dsrvsvc_svc.c235 smb_netsvc_t *ns; local
294 if ((ns = smb_kmod_enum_init(&se)) == NULL) {
299 status = srvsvc_netconnectenum_common(mxa, &param->info, ns, &se);
300 smb_kmod_enum_fini(ns);
399 smb_netsvc_t *ns, smb_svcenum_t *se)
408 if (smb_kmod_enum(ns) != 0)
417 item = list_head(&ns->ns_list);
445 item = list_next(&ns->ns_list, item);
658 smb_netsvc_t *ns; local
682 if ((ns
398 srvsvc_netconnectenum_common(ndr_xa_t *mxa, srvsvc_NetConnectInfo_t *info, smb_netsvc_t *ns, smb_svcenum_t *se) argument
720 smb_netsvc_t *ns; local
1398 smb_netsvc_t *ns; local
1497 srvsvc_NetSessionEnumCommon(ndr_xa_t *mxa, srvsvc_infonres_t *info, smb_netsvc_t *ns, smb_svcenum_t *se) argument
2159 smb_netsvc_t *ns; local
2428 smb_netsvc_t *ns; local
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dsleep.c73 Time_t now,ns; local
77 ns = tmxdate(cp, &last, now);
90 ns = tmxdate(pp, &last, now);
92 ns = tmxdate(pp, &last, now);
96 d = ns - now;
/osnet-11/usr/src/lib/libbe/common/
H A Dbe_list.c628 size_t k, ns; /* subordinate index, count */ local
642 for (ns = 0, p = ptrlist[ibe]->be_node_snapshots;
643 ns < nmax && p != NULL;
644 ns++, p = p->be_next_snapshot) {
645 slist[ns] = p;
647 if (ns < 2)
649 slist[ns] = NULL; /* add terminator */
651 qsort(slist, ns, sizeof (be_snapshot_list_t *),
655 for (k = 0; k < ns; k++)
670 for (ns
[all...]
/osnet-11/usr/src/lib/nsswitch/
H A DMakefile35 SVCMETHOD= ns-switch

Completed in 152 milliseconds

123