/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/ |
H A D | tiefeatures.t | 28 sub ns {} subroutine 30 memoize 'ns', SCALAR_CACHE => FAULT; 32 eval { my $s = ns() }; # Should fault
|
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | prefresh.c | 82 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...] |
H A D | wrefresh.c | 83 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...] |
/osnet-11/usr/src/lib/libresolv/ |
H A D | res_mkquery.c | 71 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);
|
H A D | res_send.c | 82 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...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | dupwin.c | 108 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/libast/common/tm/ |
H A D | tmxduration.c | 36 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;
|
H A D | tmlocale.c | 352 int ns; local 360 ns = 3 * GetLocaleInfo(lcid, LOCALE_SSHORTDATE, 0, 0); 362 n = nt + ns + nl;
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | prefresh.c | 78 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...] |
H A D | wrefresh.c | 83 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...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | ftwalk.c | 60 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/lib/libresolv2/common/resolv/ |
H A D | res_mkquery.c | 341 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);
|
H A D | res_init.c | 913 int ns; local 920 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { 921 if (statp->_u._ext.nssocks[ns] != -1) { 922 (void) close(statp->_u._ext.nssocks[ns]); 923 statp->_u._ext.nssocks[ns] = -1;
|
H A D | res_send.c | 182 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...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 73 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/libscf/common/ |
H A D | scf_type.c | 358 ulong_t ns; local 384 ns = strtoul(v, &p, 10); 389 if (ns >= NANOSEC)
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_kmod.c | 189 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/libpkg/common/ |
H A D | pkgstr.c | 1081 * nanoseconds into a "hour:minute:second.ns" ascii string 1105 unsigned long long ns; local 1121 ns = a_time % 1000000000ll; /* nanoseconds left over from seconds */ 1131 hours, minutes, seconds, ns);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | cp.c | 206 preserve(State_t* state, const char* path, struct stat* ns, struct stat* os) argument 214 n = ((ns->st_uid != os->st_uid) << 1) | (ns->st_gid != os->st_gid);
|
/osnet-11/usr/src/lib/libbe/common/ |
H A D | be_list.c | 628 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/libnsl/nis/gen/ |
H A D | nis_subr.c | 522 struct nis_sdata *ns = p; local 524 if (ns->buf != 0) 525 free(ns->buf); 526 free(ns);
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | svcctl_scm.c | 152 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...] |
/osnet-11/usr/src/grub/grub2/grub-core/net/ |
H A D | dns.c | 48 struct grub_net_network_level_address *ns; local 51 ns = grub_malloc (na * sizeof (ns[0])); 52 if (!ns) 55 dns_servers = ns;
|
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | malloc.c | 438 char *ns; local 445 if((ns = malloc(n+1)) ) 446 memcpy(ns,s,n+1); 447 return ns;
|
/osnet-11/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 155 char *ns; local 158 ns = (char *)g_zalloc(1); 160 ns = (char *)g_zalloc(strlen(s) + 1); 161 if (ns != NULL) { 162 (void) strncpy(ns, s, (strlen(s) + 1)); 165 return (ns);
|