/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_misc.c | 63 __nis_netconfig2ep(struct netconfig *nc, endpoint *ep) { argument 65 if (nc == 0 || ep == 0) 68 ep->family = strdup(nc->nc_protofmly); 70 if (strcmp(ep->family, "inet6") == 0) { 71 ep->proto = strdup(nc->nc_netid); 73 ep->proto = strdup(nc->nc_proto); 78 __nis_netconfig_matches_ep(struct netconfig *nc, endpoint *ep) { argument 80 if (nc == 0 || ep == 0) 83 if (strcmp(nc->nc_protofmly, ep->family) != 0) 86 if (strcmp(ep [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | terminate.c | 45 terminate(register EXEC *ep) argument 49 if (ep->pid <= 0) 52 if (ep->flags & EXF_KILLED) 54 ep->flags |= EXF_KILLED; 63 if (kill(-ep->pid, SIGTERM) == -1 && errno == ESRCH) { 64 ep->pid = -99; 65 ep->status = SIGTERM; 66 ep->Errno = 0; 79 * note that the original "ep->pid == -99" is a crude hack; 84 if ((kill(-ep [all...] |
H A D | disp5.c | 58 EXEC *ep = Exec_Table[i]; local 62 key, md, ep); 69 DROP_MD (ep->md); 71 ep->pid = -99; 72 ep->status = status; 73 ep->Errno = err;
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | istext.c | 41 unsigned char *ep; local 44 for (ep = s+size; --ep >= s; ) { 45 c = *ep;
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mbmove.c | 47 chtype *wcp, *wp, *ep; local 55 ep = wcp + win->_maxx; 64 for (; wp < ep; ++wp) 71 if (wp + _curs_scrwidth[TYPE(*wp)] > ep)
|
H A D | mbinch.c | 47 chtype *wp, *ep, wc; local 58 ep = wp + _curs_scrwidth[TYPE(wc & 0377)]; 60 for (; wp < ep; ++wp) {
|
H A D | mbinsshift.c | 46 chtype *wcp, *wp, *ep; local 82 ep = wcp + x + len; 83 for (wp = wcp + maxx - 1; wp >= ep; --wp) 88 for (ep = wp; ep >= wcp; --ep) { 89 mv = (int)(ISCBIT(*ep)); 90 *ep = win->_bkgd;
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | help.c | 47 char **ep, *s, **tp, *text[MAXHELP]; local 129 ep = tp; 131 for (tp = text; tp < ep; ) {
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry_c.c | 48 register db_index_entry *ep = objp; local 53 if (!xdr_u_long(xdrs, &ep->hashval)) 55 if (!xdr_pointer(xdrs, (char **)&ep->key, sizeof (item), 58 if (!xdr_entryp(xdrs, &ep->location)) 60 if (!xdr_nullptr(xdrs, &ep->next_result)) 67 * (char **)&ep->next, 81 more_data = (ep->next != NULL); 85 ep->next = NULL; 89 loc = ep->next; 95 ep 147 register db_free_entry *ep = objp; local [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_term.c | 43 term_eqn(struct termp *p, const struct eqn *ep) argument 46 eqn_box(p, ep->root);
|
H A D | compat_strtonum.c | 43 char *ep; local 59 ll = strtoll(numstr, &ep, 10); 60 if (numstr == ep || *ep != '\0')
|
H A D | eqn_html.c | 179 print_eqn(struct html *p, const struct eqn *ep) argument 188 eqn_box(p, ep->root);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_resync.c | 44 md_error_t *ep, 55 if (metachkmeta(np, ep) != 0) 57 if ((miscname = metagetmiscname(np, ep)) == NULL) 62 return (meta_raid_resync(sp, np, size, ep)); 64 return (meta_mirror_resync(sp, np, size, ep, cmd)); 66 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev), 78 md_error_t *ep 85 if (meta_setup_db_locations(ep) != 0) { 86 if (mdismddberror(ep, MDE_DB_NODB)) { 87 mdclrerror(ep); 40 meta_resync_byname( mdsetname_t *sp, mdname_t *np, daddr_t size, md_error_t *ep, md_resync_cmd_t cmd ) argument [all...] |
H A D | meta_admin.c | 45 md_error_t *ep 57 return (mderror(ep, MDE_ZONE_ADMIN, NULL)); 59 return (mdsyserror(ep, errno, ADMSPECIAL)); 61 return (mdsyserror(ep, errno, ADMSPECIAL)); 66 return (mdsyserror(ep, errno, ADMSPECIAL)); 70 if (metaioctl(MD_IOCGVERSION, &dversion, ep, NULL) != 0) 73 return (mderror(ep, MDE_DVERSION, NULL)); 82 md_error_t *ep 87 return (mdsyserror(ep, errno, ADMSPECIAL)); 113 meta_get_nunits(md_error_t *ep) argument [all...] |
/illumos-gate/usr/src/cmd/echo/ |
H A D | echo.c | 44 char *ep; local 56 for (cp = argv[i], ep = cp + (int)strlen(cp); 57 cp < ep; cp += b_len) {
|
/illumos-gate/usr/src/ucbcmd/printenv/ |
H A D | printenv.c | 56 char **ep; local 62 for (ep = environ; *ep; ep++) 63 if (argc == 0 || prefix(argv[0], *ep)) { 64 char *cp = *ep;
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | kstat.c | 64 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep) 74 ep = ep; 396 struct envctrl_kstat_data *ep; local 421 ep = &sys_kstat->env_data; 422 ep->ps_kstats[i].instance = I2C_NODEV; 423 ep->fan_kstats[i].instance = I2C_NODEV; 424 ep->encl_kstats[i].instance = I2C_NODEV; 427 read_platform_kstats(tree, sys_kstat, bdp, ep); 63 read_platform_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat, struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep) argument
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | ether_addr.c | 103 static struct ether_addr *ep; local 107 if (ep == 0) { 108 ep = (struct ether_addr *)calloc(1, sizeof (struct ether_addr)); 109 if (ep == 0) 117 ep->ether_addr_octet[i] = t[i]; 118 return (ep);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | nfssys.c | 48 exportfs(char *dir, struct exportdata *ep) argument 53 ea.uex = ep;
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ifspec.c | 48 char *ep = (char *)&bp[bpsize - 1]; local 52 if (isdigit(*bp) || !isdigit(*ep) || sp == NULL || 61 for (tp = sp; tp < ep && isdigit(*tp); tp++) 63 if (tp != ep) { 82 char *ep = (char *)&bp[bpsize - 1]; local 85 if (!isdigit(*ep)) { 90 for (tp = ep; tp >= bp && isdigit(*tp); tp--)
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metarecover.c | 64 md_error_t *ep = &status; local 88 if (md_init(argc, argv, 0, 1, ep) != 0 || 89 meta_check_root(ep) != 0) { 90 mde_perror(ep, ""); 128 if ((sp = metasetname(sname, ep)) == NULL) { 129 mde_perror(ep, ""); 142 if ((namep = metaname(&sp, devname, UNKNOWN, ep)) == NULL) { 143 mde_perror(ep, ""); 148 if ((metagetsize(namep, ep) == MD_DISKADDR_ERROR)) { 149 mde_perror(ep, ""); [all...] |
/illumos-gate/usr/src/cmd/saf/ |
H A D | util.c | 70 register char *ep; /* pointer to end of token */ local 77 ep = strpbrk(p, delim); 78 if (ep == NULL) { 82 savep = ep + 1; 83 *ep = '\0';
|
/illumos-gate/usr/src/cmd/adbgen/common/ |
H A D | adbgen4.c | 52 char *cur, *last, *cp1, *cp2, *ep, *t; local 99 ep = last + strlen(last); 101 strncpy(ep, cp1, len); 102 ep[len] = '\0';
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | strtonum.c | 35 char *ep; local 52 ll = strtoll(numstr, &ep, 10); 53 if (numstr == ep || *ep != '\0')
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_pageerr.c | 45 fmd_event_t *ep, uint64_t afar) 91 fmd_case_add_ereport(hdl, page->page_case.cc_cp, ep); 44 cmd_page_fault(fmd_hdl_t *hdl, nvlist_t *modasru, nvlist_t *modfru, fmd_event_t *ep, uint64_t afar) argument
|