/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk1.c | 277 RESFUNC near*rp; local 279 for (rp = &resfuncs[0]; rp->rf_name != (LOCCHARP)NULL; ++rp) { 280 np = finstall(rp->rf_name, rp->rf_func, rp->rf_type); 284 RESERVED near*rp; local 286 for (rp = &reserved[0]; rp 1617 int_regwdosuba(REGEXP rp, const wchar_t *rpl, const wchar_t *src, wchar_t **dstp, int len, int *globp) argument [all...] |
H A D | awk3.c | 56 #define regmatch(rp, s) REGWEXEC(rp, s, 0, (REGWMATCH_T*)NULL, 0)
|
H A D | awk4.c | 224 register REGEXP rp; local 230 rp = getregexp(getlist(&np)); 239 switch (REGWDOSUBA(rp, sub, text, &buf, 256, &glob)) { 265 register REGEXP rp; local 272 rp = getregexp(getlist(&np)); 273 if (REGWEXEC(rp, text, 10, match, 0) == REG_OK) {
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | rules.c | 416 struct rule *block_begin = NULL, *new_rule, *rp; local 515 for (rp = block_begin; rp != NULL; 516 rp = rp->next) { 518 rp->attr_list |= 521 rp->attr_list &=
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | conn.c | 677 char *rp = rdvec; local 681 *rp = 0; 715 if ((*rp = nextch & 0177) != NULLCHAR) 716 rp++; 717 if (rp >= rdvec + MR) { 722 *rp = NULLCHAR;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 571 longlong_t rp; local 575 rp = strtoll(argv[1], &endp, 10); 576 if (errno || rp < 0 || *endp != '\0') 580 restart_point = rp;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 4033 mib2_ipRouteEntry_t *rp; local 4142 for (rp = (mib2_ipRouteEntry_t *)item->valp; 4143 (char *)rp < (char *)item->valp + item->length; 4145 rp = (mib2_ipRouteEntry_t *)((char *)rp + 4148 print_hdr_once_v4 = ire_report_item_v4(rp, 4246 ire_filter_match_v4(const mib2_ipRouteEntry_t *rp, uint_t flag_b) argument 4262 if (!dev_name_match(&rp->ipRouteIfIndex, 4267 if (!v4_addr_match(rp->ipRouteDest, 4268 rp 4292 form_v4_route_flags(const mib2_ipRouteEntry_t *rp, char *flags) argument 4365 ire_report_item_v4(const mib2_ipRouteEntry_t *rp, boolean_t first, const sec_attr_list_t *attrs) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 2960 mib2_ipRouteEntry_t *rp; local 3029 for (rp = routes, i = 0; i < nroutes; ++i, ++rp) { 3030 if (rp->ipRouteNextHop != remote_addr && 3031 ((addr ^ rp->ipRouteDest) & 3032 rp->ipRouteMask) == 0) { 3034 rp->ipRouteDest, 3035 rp->ipRouteMask, 3036 rp->ipRouteNextHop);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/ |
H A D | in.chargend.c | 70 char *rp; local 79 rp = rs++; 81 i = MIN(LINESIZE, endring - rp); 82 (void) memmove(dp, rp, i); 84 if ((rp += i) >= endring) 85 rp = ring; 88 (void) memmove(dp, rp, i); 90 if ((rp += i) >= endring) 91 rp = ring; 109 char *rp; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 1607 mib2_ipRouteEntry_t *rp, *rp1, *endp; local 1625 for (rp = buf; rp < endp; rp++) { 1626 if (!(rp->ipRouteInfo.re_ire_type & IRE_OFFSUBNET)) 1630 nexthop_v4.s_addr = rp->ipRouteNextHop; 1704 mib2_ipv6RouteEntry_t *rp, *rp1, *endp; local 1721 for (rp = buf; rp < endp; rp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | DNSCommon.c | 1525 case kDNSType_RP: return DomainNameHashValue(&rdb->rp.mbox) + DomainNameHashValue(&rdb->rp.txt); 1593 case kDNSType_RP: return (mDNSBool)( samename(&b1->rp.mbox, &b2->rp.mbox) && 1594 samename(&b1->rp.txt, &b2->rp.txt)); 2009 case kDNSType_RP: return (mDNSu16)(CompressedDomainNameLength(&rd->rp.mbox, name) + 2010 CompressedDomainNameLength(&rd->rp.txt, name)); 2277 case kDNSType_RP: ptr = putDomainNameAsLabels(msg, ptr, limit, &rdb->rp.mbox); 2279 ptr = putDomainNameAsLabels(msg, ptr, limit, &rdb->rp [all...] |
H A D | mDNS.c | 314 AuthRecord **rp; local 319 rp = &(*ag)->members; 320 while (*rp) 322 if (*rp != rr) 323 rp=&(*rp)->next; 329 *rp = (*rp)->next; // Cut record from list 333 (*ag)->rrauth_tail = rp; 1073 AuthRecord **rp; local 1100 AuthRecord **rp; local 1123 AuthRecord **rp; local 1581 AuthRecord **rp; local 4342 ReleaseAdditionalCacheRecords(mDNS *const m, CacheRecord **rp) argument 4423 CacheRecord **rp = &cg->members; local 4847 CacheRecord **rp = &(*cp)->members; local 8169 CacheRecord *rp, *next; local 14499 CacheRecord *rp; local 14535 CacheRecord *rp; local 14559 CacheRecord *rp; local [all...] |
H A D | mDNSEmbeddedAPI.h | 1035 // The RDataBody2 union is the same as above, except it includes fields for the larger types like soa, rp, px 1044 rdataRP rp; // This is large; not included in the normal RDataBody definition member in union:__anon53
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/ |
H A D | ncaconfd.c | 708 mib2_ipRouteEntry_t *rp; local 731 for (rp = buf; rp < endp; rp++) { 736 if (!(rp->ipRouteInfo.re_ire_type & IRE_DEFAULT)) { 740 nexthop_v4.s_addr = rp->ipRouteNextHop; 746 if (rp->ipRouteIfIndex.o_length == 0) { 783 rp2 = rp; 853 mib2_ipNetToMediaEntry_t *rp; local 872 for (rp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/ |
H A D | p12split.c | 170 const char *rp; local 196 for (rp = keystr, wp = nkeystr; *rp != '\0'; rp++) { 197 if (*rp == ' ') 200 if (rp[1] == ' ' || rp[1] == '\0') { 202 *wp++ = *rp; 204 *wp++ = *rp++; 205 *wp++ = *rp; [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_stats.c | 228 i_sum_per_rule_processed(ilbst_rule_desc_t *rp, uint64_t *resp, int index, argument 244 if (check_valid && rp->ird_num_servers != rp->ird_num_servers_o) 247 num_servers = old ? rp->ird_num_servers_o : rp->ird_num_servers; 250 n_srv = &rp->ird_srvlist[i]; 251 o_srv = &rp->ird_srvlist_o[i]; 282 i_sum_per_rule_pkt_p(ilbst_rule_desc_t *rp, uint64_t *resp, int flags) argument 284 return (i_sum_per_rule_processed(rp, resp, SRVST_PKT_P, flags)); 288 i_sum_per_rule_bytes_p(ilbst_rule_desc_t *rp, uint64_ argument 555 ilbst_rule_desc_t *rp; local 607 i_copy_rstats(ilbst_rule_desc_t *rp, kstat_t *kp) argument 625 i_set_rlstats_ptr(ilbst_rule_desc_t *rp, boolean_t old_is_old) argument 823 ilbst_rule_desc_t *rlist, *rp; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rarpd.c | 570 rarp_request(struct rarpdev *rdev, struct arphdr *rp, uchar_t *shost) argument 578 shap = (uchar_t *)rp + sizeof (struct arphdr); 579 spap = shap + rp->ar_hln; 580 thap = spap + rp->ar_pln; 581 tpap = thap + rp->ar_hln; 615 rp->ar_op = htons(REVARP_REPLY); 638 (void) memcpy(rrp->arprep, rp, rdev->ifrarplen); 704 arp_request(struct rarpdev *rdev, struct arphdr *rp, uchar_t *shost) argument 711 shap = (uchar_t *)rp + sizeof (struct arphdr); 712 spap = shap + rp [all...] |
H A D | route.c | 244 static void delRouteEntry(mib2_ipRouteEntry_t *rp, 563 mib2_ipRouteEntry_t *rp; local 653 for (rp = (mib2_ipRouteEntry_t *)item->valp; 654 (char *)rp < (char *)item->valp + item->length; 656 rp = (mib2_ipRouteEntry_t *) 657 ((char *)rp + ipRouteEntrySize)) { 658 delRouteEntry(rp, NULL, seqno); 714 delRouteEntry(mib2_ipRouteEntry_t *rp, mib2_ipv6RouteEntry_t *rp6, int seqno) argument 724 if (rp != NULL) 725 ire_type = rp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 1345 mib2_ipRouteEntry_t *rp; local 1441 for (rp = routes; nroutes > 0; ++rp, nroutes--) { 1448 if (rp->ipRouteInfo.re_ire_type & 1453 if (IN_MULTICAST(ntohl(rp->ipRouteDest)) || 1454 IN_LINKLOCAL(ntohl(rp->ipRouteDest))) { 1461 "flags %08X: %s", rp->ipRouteType, 1462 rp->ipRouteInfo.re_ire_type, 1463 rp->ipRouteInfo.re_flags, 1464 naddr_ntoa(rp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 2104 print_rule(ike_rule_t *rp) argument 2116 rp->rule_label, rp->rule_kmcookie); 2118 (void) dump_sadb_idtype(rp->rule_local_idtype, stdout, NULL); 2119 (void) printf(gettext(", ike_mode=%s\n"), xchgstr(rp->rule_ike_mode)); 2122 rp->rule_p1_nonce_len, rp->rule_p2_nonce_len, 2123 (rp->rule_p2_pfs) ? gettext("true") : gettext("false"), 2124 rp->rule_p2_pfs); 2127 rp [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 326 static void rinfo_free(struct runinfo *rp); 2190 struct runinfo *rp; local 2214 rp = rinfo_get(0); /* allocating a new runinfo struct */ 2219 * is assigned to rp->outfile. Here rp->outfile is not overwritten. 2222 rp->outfile = tempnam(TMPDIR, PFX); 2223 rp->jobtype = e->etype; 2225 rp->jobname = xmalloc(strlen(e->cmd) + 1); 2226 (void) strcpy(rp->jobname, e->cmd); 2228 rp 2626 struct runinfo *rp; local 2894 struct runinfo *rp; local 2917 struct runinfo *rp; local 3029 logit(int cc, struct runinfo *rp, int rc) argument [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.glob.c | 696 tchar *lp, *rp; local 725 for (rp = lp; *rp && *rp != '`'; rp++) 726 if (*rp == '\\') { 727 rp++; 728 if (!*rp) 731 if (!*rp) 735 ep[rp [all...] |
H A D | sh.parse.c | 476 struct wordent *lp, *rp; local 554 rp = 0; 572 rp = p; 636 t->t_dspr = syn0(lp, rp, PHERE);
|
H A D | wait.h | 100 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
|
H A D | wait3.c | 61 csh_wait3(int *status, int options, struct rusage *rp) argument 68 if (rp) 69 memset((void *)rp, 0, sizeof (struct rusage)); 86 if (rp) { 94 rp->ru_utime.tv_sec = diffu/HZ; 95 rp->ru_utime.tv_usec = ((diffu % HZ) * 1000000) / HZ; 96 rp->ru_stime.tv_sec = diffs/HZ; 97 rp->ru_stime.tv_usec = ((diffs % HZ) * 1000000) / HZ;
|