/illumos-gate/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...] |
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_generic.c | 66 struct nd_hostserv ns; local 109 ns.h_host = HOST_SELF; 110 ns.h_serv = servname; 111 if (!netdir_getbyname(nconf, &ns, &nas)) {
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | errormsgs.c | 62 char *ns; local 65 ns = (char *)calloc(1, 1); 67 ns = (char *)calloc(1, strlen(s) + 1); 68 if (ns != NULL) { 69 (void) strncpy(ns, s, (strlen(s) + 1)); 72 return (ns);
|
/illumos-gate/usr/src/boot/lib/libc/net/ |
H A D | ntoh.c | 56 ntohs(uint16_t ns) argument 59 return (__ntohs(ns));
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns.c | 38 #include <ns.h> 47 normalize_ns_name(char *ns) argument 49 if (ns == NULL) 51 else if ((strcasecmp(ns, "files") == 0) || 52 (strcasecmp(ns, "system") == 0) || 53 (strcasecmp(ns, "etc") == 0)) 55 else if (strcasecmp(ns, "nis") == 0) 57 else if (strcasecmp(ns, "ldap") == 0) 60 return (ns); 108 ns_printer_get_list(const char *ns) argument 137 ns_printer_get_name(const char *name, const char *ns) argument [all...] |
/illumos-gate/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)
|
/illumos-gate/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...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/ |
H A D | pmCalls.java | 144 public static void debugshowPrinterList(NameService ns) { argument 149 list = PrinterUtil.getPrinterList(ns);
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterAdd.java | 42 NameService ns = new NameService(); 51 Printer p = new Printer(ns); 69 add(p, ns); 87 NameService ns) throws Exception 93 addRemote(p, ns); 95 addLocal(p, ns); 105 NameService ns) throws Exception 137 String nameservice = ns.getNameService(); 309 DoPrinterNS.set("add", p, ns); 335 NameService ns) throw 85 add( Printer p, NameService ns) argument 103 addLocal( Printer p, NameService ns) argument 333 addRemote( Printer p, NameService ns) argument [all...] |
H A D | DoPrinterDelete.java | 45 NameService ns = new NameService(); 47 p = new Printer(ns); 50 delete(p, ns); 68 NameService ns) throws Exception 78 String nameservice = ns.getNameService(); 89 DoPrinterView.view(curr, ns); 138 String nshost = ns.getNameServiceHost(); 151 DoPrinterNS.set("delete", p, ns); 66 delete( Printer p, NameService ns) argument
|
H A D | DoPrinterView.java | 46 NameService ns = new NameService(); 49 view(p, ns); 69 NameService ns) throws Exception 74 viewLocal(p, ns); 76 viewRemote(p, ns); 87 NameService ns) throws Exception 100 String nsarg = ns.getNameService(); 168 Printer p, NameService ns) throws Exception 445 if (ns.getNameService().equals("system")) 450 viewRemote(p, ns); 67 view( Printer p, NameService ns) argument 85 viewRemote( Printer p, NameService ns) argument 167 viewLocal( Printer p, NameService ns) argument [all...] |
H A D | PrinterDebug.java | 92 public static void printObj(NameService ns) argument 97 String passwd = ns.getPasswd(); 101 Debug.message("SVR: \tnameservice:\t" + ns.getNameService()); 102 Debug.message("SVR: \tnshost:\t\t" + ns.getNameServiceHost()); 103 Debug.message("SVR: \tuser:\t\t" + ns.getUser()); 105 Debug.message("SVR: \tboundtonisslave:" + ns.getBoundToNisSlave()); 106 Debug.message("SVR: \tisAuth:\t\t" + ns.isAuth());
|
H A D | DoPrinterMod.java | 41 NameService ns = new NameService(); 71 modify(p, ns); 90 NameService ns) throws Exception 94 Printer curr = new Printer(ns); 97 DoPrinterView.view(curr, ns); 107 modifyLocal(p, curr, ns); 109 modifyRemote(p, curr, ns); 120 NameService ns) throws Exception 132 String nameservice = ns.getNameService(); 334 DoPrinterNS.set("modify", p, ns); 88 modify( Printer p, NameService ns) argument 117 modifyLocal( Printer p, Printer curr, NameService ns) argument 616 modifyRemote( Printer p, Printer curr, NameService ns) argument [all...] |
H A D | Host.java | 288 public synchronized static void isNSConfigured(String ns) argument 291 Debug.message("SVR: Host.isNSConfigured() " + ns); 298 if (ns.equals("system")) { 300 } else if (ns.equals("nis")) { 322 } else if (ns.equals("ldap")) { 348 "Unkown name service " + ns);
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | key_generic.c | 86 struct nd_hostserv ns; local 141 ns.h_host = HOST_SELF; 142 ns.h_serv = servname; 143 if (!netdir_getbyname(nconf, &ns, &nas)) {
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_generic.c | 44 struct nd_hostserv ns; local 87 ns.h_host = HOST_SELF; 88 ns.h_serv = servname; 89 if (!netdir_getbyname(nconf, &ns, &nas)) {
|
/illumos-gate/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;
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_mkquery.c | 74 int ns; local 98 ns = socket(AF_INET, SOCK_STREAM, 0); 101 if (connect(ns, (struct sockaddr *) &ns_sin, 103 (void) close(ns); 107 (void) close(ns);
|
/illumos-gate/usr/src/cmd/print/lpget/ |
H A D | lpget.c | 40 #include <ns.h> 121 char *ns = NULL; local 145 ns = optarg; 154 ns = normalize_ns_name(ns); 160 ns_printer_t **printers = ns_printer_get_list(ns); 168 exit_code = display_value(ns_printer_get_name(name, ns),
|
/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | String.c | 62 String *ns; local 66 if ((ns = (String *)malloc(sz + sizeof (StringGuts) + 1)) == NULL) 68 (void) memcpy(ns, s, s->sg.max + sizeof (StringGuts) + 1); 71 if ((ns = (String *)realloc(s, sz + sizeof (StringGuts) + 1)) == NULL) 74 ns->sg.max = sz; 75 return (ns);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_srcid.c | 200 netstack_t *ns) 205 ip_stack_t *ipst = ns->netstack_ip; 238 boolean_t v4mapped, netstack_t *ns) 242 ip_stack_t *ipst = ns->netstack_ip; 199 ip_srcid_find_addr(const in6_addr_t *addr, zoneid_t zoneid, netstack_t *ns) argument 237 ip_srcid_find_id(uint_t id, in6_addr_t *addr, zoneid_t zoneid, boolean_t v4mapped, netstack_t *ns) argument
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun_ctl.c | 71 netstack_t *ns = netstack_find_by_cred(cred); local 74 err = iptun_set_6to4relay(ns, *relay); 75 netstack_rele(ns); 85 netstack_t *ns = netstack_find_by_cred(cred); local 87 iptun_get_6to4relay(ns, relay); 88 netstack_rele(ns);
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_cluster.c | 75 netstack_t *ns; local 79 if ((ns = netstack_find_by_stackid(stack_id)) == NULL) 83 ns->netstack_tcp); 84 netstack_rele(ns); 89 while ((ns = netstack_next(&nh)) != NULL) { 91 ns->netstack_tcp); 92 netstack_rele(ns);
|