/osnet-11/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...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_index_entry_c.c | 44 register db_index_entry *ep = objp; local 49 if (!xdr_u_long(xdrs, &ep->hashval)) 51 if (!xdr_pointer(xdrs, (char **)&ep->key, sizeof (item), 54 if (!xdr_entryp(xdrs, &ep->location)) 56 if (!xdr_nullptr(xdrs, &ep->next_result)) 63 * (char **)&ep->next, 77 more_data = (ep->next != NULL); 81 ep->next = NULL; 85 loc = ep->next; 91 ep 143 register db_free_entry *ep = objp; local [all...] |
/osnet-11/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;
|
H A D | mbaddch.c | 45 chtype *wcp, *ep, *wp, wc; local 61 ep = wp + _curs_scrwidth[TYPE(wc)]; 62 if (ep > wcp + win->_maxx) 71 if ((x = (int)(ep - wcp) - 1) > win->_lastch[y]) 76 for (; wp < ep; ++wp)
|
H A D | slk_start.c | 130 char *cp, *ep; local 183 ep = cp + len; 184 for (; cp < ep; ++cp) 186 *ep = '\0';
|
H A D | idlok.c | 118 IDST *ip, *ep, *eip; local 145 for (ep = ip+dir; ep != eip; ep += dir) 146 if (ep->_wy != (ep - dir)->_wy + dir || 147 ep->_sy != (ep - dir)->_sy + dir) { 150 ep -= dir; 155 bsy = _MAX(ep [all...] |
/osnet-11/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...] |
/osnet-11/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
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | rev.c | 63 register char *ep, *bp, *cp; local 73 ep = bp + (n=sfvalue(in)) - 1; 84 while (cp < ep) 99 ep = bp + (n=sfvalue(in)) -1; 100 while(ep > bp) 102 c = *--ep; 103 *ep = *bp;
|
H A D | tee.c | 74 register const char* ep; local 82 ep = bp + n; 83 while (bp < ep) 85 if ((r = write(fd, bp, ep - bp)) <= 0)
|
H A D | paste.c | 180 char *ep; local 222 ep = delim + dlen; 224 while (cp < ep) 238 while (cp < ep)
|
H A D | uniq.c | 88 register char *cp, *ep, *mp, *bufp, *outp; local 108 ep = cp + n; 110 while (f-->0 && cp<ep) /* skip over fields */ 112 while (cp<ep && *cp==' ' || *cp=='\t') 114 while (cp<ep && *cp!=' ' && *cp!='\t') 136 while (reclen < width && mp < ep)
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_get.c | 241 u_char *sp, *ep, *p; local 256 ep = (u_char *)t->bt_emap; 258 if (sp >= ep) { 264 sp < ep && len > 0; *p++ = *sp++, --len); 290 u_char *sp, *ep; local 295 ep = (u_char *)t->bt_emap; 299 if (sp >= ep) { 303 for (data.data = sp; sp < ep && *sp != bval; ++sp);
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | sort.c | 117 LDAPMessage **ep; local 151 ep = chain; 153 *ep = et[i].et_msg; 154 ep = &(*ep)->lm_chain; 158 *ep = last;
|
/osnet-11/usr/src/cmd/hal/probing/printer/ |
H A D | probe-printer.c | 84 struct dirent *ep; local 86 while ((ep = readdir(dp)) != NULL) { 90 ep->d_name);
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkquery.c | 125 register u_char *cp, *ep; local 161 ep = buf + buflen; 172 if (ep - cp < QFIXEDSZ) 174 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 188 if ((ep - cp) < RRFIXEDSZ) 190 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, 210 if (ep - cp < 1 + RRFIXEDSZ + datalen) 245 register u_char *cp, *ep; local 255 ep = buf + buflen; 257 if ((ep 301 register u_char *cp, *ep; local [all...] |
/osnet-11/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 54 smbios_entry_t *ep = alloca(SMB_ENTRY_MAXLEN); local 59 if ((n = pread64(fd, ep, sizeof (*ep), 0)) != sizeof (*ep)) 62 if (strncmp(ep->smbe_eanchor, SMB_ENTRY_EANCHOR, SMB_ENTRY_EANCHORLEN)) 65 elen = MIN(ep->smbe_elen, SMB_ENTRY_MAXLEN); 67 if ((n = pread64(fd, ep, elen, 0)) != elen) 70 if ((stbuf = smb_alloc(ep->smbe_stlen)) == NULL) 73 if ((n = pread64(fd, stbuf, ep->smbe_stlen, 74 (off64_t)ep 92 smbios_entry_t *ep = alloca(SMB_ENTRY_MAXLEN); local 196 smbios_entry_t ep; local [all...] |
/osnet-11/usr/src/lib/libndmp/common/ |
H A D | libndmp.c | 196 ndmp_dt_pval_t *ep; local 341 ep = sp->nsi_data.nd_env; 342 for (j = 0; j < sp->nsi_data.nd_env_len; j++, ep++) { 343 ep->np_name = ndmp_door_get_string(dec_ctx); 344 ep->np_value = ndmp_door_get_string(dec_ctx); 417 ndmp_dt_pval_t *ep; local 440 ep = sp->nsi_data.nd_env; 441 for (j = 0; j < sp->nsi_data.nd_env_len; j++, ep++) { 442 free(ep->np_name); 443 free(ep [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_lu.c | 205 char *ep; local 217 if ((ep = strchr(devp, '"')) == NULL) { 221 *ep = 0; 224 if ((nmp = strstr(ep + 1, "mountPoint=\"")) != NULL) { 227 if ((ep = strchr(nmp, '"')) != NULL) { 228 *ep = 0; 262 char *ep; local 276 if ((ep = strchr(sp, '"')) == NULL) { 280 *ep = 0;
|
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | ifspec.c | 42 char *ep; local 46 ul = strtoul(valstr, &ep, 10); 47 if (errno != 0 || *ep != '\0' || ul > UINT_MAX) 63 const char *ep = &bp[bpsize - 1]; local 67 for (tp = ep; tp > bp && isdigit(*tp); tp--) 70 if (tp == ep || tp != bp || extract_uint(bp + 1, lun) != 0) { 87 const char *ep = &bp[bpsize - 1]; local 90 for (tp = ep; tp >= bp && isdigit(*tp); tp--) 98 if (tp == ep || tp < bp || ((ep [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | errors.c | 45 krb5int_set_error (struct errinfo *ep, long code, const char *fmt, ...) argument 49 krb5int_vset_error_fl (ep, code, NULL, 0, fmt, args); 54 krb5int_set_error_fl (struct errinfo *ep, long code, argument 59 krb5int_vset_error_fl (ep, code, file, line, fmt, args); 64 krb5int_vset_error (struct errinfo *ep, long code, argument 67 krb5int_vset_error_fl(ep, code, NULL, 0, fmt, args); 71 krb5int_vset_error_fl (struct errinfo *ep, long code, argument 105 vsnprintf(ep->scratch_buf, sizeof(ep->scratch_buf), fmt, args); 106 str = strdup(ep 123 krb5int_get_error(struct errinfo *ep, long code) argument 197 krb5int_free_error(struct errinfo *ep, const char *msg) argument 204 krb5int_clear_error(struct errinfo *ep) argument [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_seq.c | 167 * ep: storage for returned key 178 __bt_seqset(t, ep, key, flags) 180 EPG *ep; 203 return (__bt_first(t, key, ep, &exact)); 222 ep->page = h; 223 ep->index = 0; 244 ep->page = h; 245 ep->index = NEXTINDEX(h) - 1; 266 __bt_seqadv(t, ep, flags) 268 EPG *ep; 405 EPG *ep, save; local [all...] |