/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | gen_pr.c | 70 struct irs_pr *pr; in irs_gen_pr() local 73 if (!(pr = memget(sizeof *pr))) { in irs_gen_pr() 77 memset(pr, 0x5e, sizeof *pr); in irs_gen_pr() 79 memput(pr, sizeof *pr); in irs_gen_pr() 86 pr->private = pvt; in irs_gen_pr() 87 pr->close = pr_close; in irs_gen_pr() 88 pr->next = pr_next; in irs_gen_pr() 89 pr->byname = pr_byname; in irs_gen_pr() 90 pr->bynumber = pr_bynumber; in irs_gen_pr() 91 pr->rewind = pr_rewind; in irs_gen_pr() [all …]
|
H A D | irp_pr.c | 68 static void free_proto(struct protoent *pr); 79 struct irs_pr *pr; in irs_irp_pr() local 82 if (!(pr = memget(sizeof *pr))) { in irs_irp_pr() 86 memset(pr, 0x0, sizeof *pr); in irs_irp_pr() 89 memput(pr, sizeof *pr); in irs_irp_pr() 96 pr->private = pvt; in irs_irp_pr() 97 pr->close = pr_close; in irs_irp_pr() 98 pr->byname = pr_byname; in irs_irp_pr() 99 pr->bynumber = pr_bynumber; in irs_irp_pr() 100 pr->next = pr_next; in irs_irp_pr() [all …]
|
H A D | getprotoent.c | 89 struct irs_pr *pr; in getprotoent_p() local 91 if (!net_data || !(pr = net_data->pr)) in getprotoent_p() 93 net_data->pr_last = (*pr->next)(pr); in getprotoent_p() 99 struct irs_pr *pr; in getprotobyname_p() local 102 if (!net_data || !(pr = net_data->pr)) in getprotobyname_p() 111 net_data->pr_last = (*pr->byname)(pr, name); in getprotobyname_p() 119 struct irs_pr *pr; in getprotobynumber_p() local 121 if (!net_data || !(pr = net_data->pr)) in getprotobynumber_p() 126 net_data->pr_last = (*pr->bynumber)(pr, proto); in getprotobynumber_p() 134 struct irs_pr *pr; in setprotoent_p() local [all …]
|
H A D | dns_pr.c | 76 struct irs_pr *pr; in irs_dns_pr() local 87 if (!(pr = memget(sizeof *pr))) { in irs_dns_pr() 92 memset(pr, 0x5e, sizeof *pr); in irs_dns_pr() 94 pr->private = pvt; in irs_dns_pr() 95 pr->byname = pr_byname; in irs_dns_pr() 96 pr->bynumber = pr_bynumber; in irs_dns_pr() 97 pr->next = pr_next; in irs_dns_pr() 98 pr->rewind = pr_rewind; in irs_dns_pr() 99 pr->close = pr_close; in irs_dns_pr() 100 pr->minimize = pr_minimize; in irs_dns_pr() [all …]
|
H A D | lcl_pr.c | 112 struct irs_pr *pr; in irs_lcl_pr() local 115 if (!(pr = memget(sizeof *pr))) { in irs_lcl_pr() 120 memput(pr, sizeof *this); in irs_lcl_pr() 125 pr->private = pvt; in irs_lcl_pr() 126 pr->close = pr_close; in irs_lcl_pr() 127 pr->byname = pr_byname; in irs_lcl_pr() 128 pr->bynumber = pr_bynumber; in irs_lcl_pr() 129 pr->next = pr_next; in irs_lcl_pr() 130 pr->rewind = pr_rewind; in irs_lcl_pr() 131 pr->minimize = pr_minimize; in irs_lcl_pr() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.c | 40 static void prefix_print(struct prefix *pr); 41 static void prefix_insert(struct phyint *pi, struct prefix *pr); 574 struct prefix *pr; in phyint_print() local 621 for (pr = pi->pi_prefix_list; pr != NULL; pr = pr->pr_next) in phyint_print() 622 prefix_print(pr); in phyint_print() 828 struct prefix *pr; in tmptoken_delete() local 830 for (pr = pi->pi_prefix_list; pr != NULL; pr = pr->pr_next) { in tmptoken_delete() 831 if (!(pr->pr_flags & IFF_TEMPORARY) || in tmptoken_delete() 832 (pr->pr_flags & IFF_DEPRECATED) || in tmptoken_delete() 833 (!token_equal(pr->pr_address, pi->pi_tmp_token, in tmptoken_delete() [all …]
|
H A D | ndp.c | 50 void incoming_prefix_onlink_process(struct prefix *pr, 57 struct prefix *pr, uchar_t *opt, 646 struct prefix *pr; in incoming_prefix_onlink() local 651 for (pr = pi->pi_prefix_list; pr != NULL; pr = pr->pr_next) { in incoming_prefix_onlink() 652 if (pr->pr_prefix_len == plen && in incoming_prefix_onlink() 653 prefix_equal(po->nd_opt_pi_prefix, pr->pr_prefix, plen)) { in incoming_prefix_onlink() 655 if (pr->pr_state & PR_STATIC) in incoming_prefix_onlink() 658 incoming_prefix_onlink_process(pr, opt); in incoming_prefix_onlink() 669 pr = prefix_create(pi, po->nd_opt_pi_prefix, plen, 0); in incoming_prefix_onlink() 670 if (pr == NULL) in incoming_prefix_onlink() [all …]
|
H A D | main.c | 425 struct prefix *pr; in if_process() local 541 pr = prefix_lookup_name(pi, ifname); in if_process() 542 if (pr == NULL) { in if_process() 543 pr = prefix_create_name(pi, ifname); in if_process() 544 if (pr == NULL) { in if_process() 548 if (prefix_init_from_k(pr) == -1) { in if_process() 549 prefix_delete(pr); in if_process() 554 if (pr->pr_kernel_state != 0) in if_process() 555 pr->pr_in_use = _B_TRUE; in if_process() 559 (pr->pr_flags & IFF_TEMPORARY)) { in if_process() [all …]
|
H A D | tables.h | 275 extern struct prefix *prefix_lookup_addr_match(struct prefix *pr); 277 extern int prefix_init_from_k(struct prefix *pr); 278 extern void prefix_delete(struct prefix *pr); 281 extern void prefix_update_dhcp(struct prefix *pr); 282 extern void prefix_update_k(struct prefix *pr); 283 extern uint_t prefix_timer(struct prefix *pr, uint_t elapsed); 326 struct prefix *pr, uchar_t *opt, 330 extern void incoming_prefix_onlink_process(struct prefix *pr, 335 extern void prefix_update_ipadm_addrobj(struct prefix *pr, boolean_t add);
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pr_to_salt.c | 40 krb5_principal2salt_internal(krb5_context context, register krb5_const_principal pr, krb5_data *ret… in krb5_principal2salt_internal() argument 46 if (pr == 0) { in krb5_principal2salt_internal() 52 nelem = krb5_princ_size(context, pr); in krb5_principal2salt_internal() 55 size += krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal() 58 size += krb5_princ_component(context, pr, i)->length; in krb5_principal2salt_internal() 65 offset = krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal() 66 memcpy(ret->data, krb5_princ_realm(context, pr)->data, offset); in krb5_principal2salt_internal() 70 memcpy(&ret->data[offset], krb5_princ_component(context, pr, i)->data, in krb5_principal2salt_internal() 71 krb5_princ_component(context, pr, i)->length); in krb5_principal2salt_internal() 72 offset += krb5_princ_component(context, pr, i)->length; in krb5_principal2salt_internal() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 759 calc_packetlen(int plen_input, struct pr_set *pr) in calc_packetlen() argument 785 optlen = 8 + gw_count * pr->addr_len; in calc_packetlen() 791 minpacket = pr->ip_hdr_len + sizeof (struct outdata) + optlen; in calc_packetlen() 793 minpacket += pr->icmp_minlen; /* minimum ICMP header size */ in calc_packetlen() 801 prog, pr->name, minpacket, IP_MAXPACKET); in calc_packetlen() 816 set_src_addr(struct pr_set *pr, struct ifaddrlist **alp) in set_src_addr() argument 823 struct sockaddr_in *sin_from = (struct sockaddr_in *)pr->from; in set_src_addr() 825 struct sockaddr_in6 *sin6_from = (struct sockaddr_in6 *)pr->from; in set_src_addr() 840 num_ifs = ifaddrlist(&al, pr->family, ifaddrflags, errbuf); in set_src_addr() 854 prog, pr->name); in set_src_addr() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_typedef.c | 299 parse_root_t *pr; in typedef_parse() local 303 pr = mdb_zalloc(sizeof (parse_root_t), UM_SLEEP | UM_GC); in typedef_parse() 315 pr->pr_kind = CTF_K_STRUCT; in typedef_parse() 317 pr->pr_kind = CTF_K_UNION; in typedef_parse() 362 pr->pr_name = defn; in typedef_parse() 365 pr->pr_name = NULL; in typedef_parse() 389 mdb_list_append(&pr->pr_nodes, pn); in typedef_parse() 400 pr->pr_tname = name; in typedef_parse() 401 *prp = pr; in typedef_parse() 412 typedef_validate(parse_root_t *pr) in typedef_validate() argument [all …]
|
/titanic_44/usr/src/cmd/krb5/kadmin/gui/native/ |
H A D | Test.java | 136 Principal pr = new Principal(k, d); in main() local 139 b = k.loadPrincipal("jnitest/admin", pr); in main() 148 System.out.println(pr.toString()); in main() 250 b = k.loadPrincipal("jnitest/admin", pr); in main() 256 System.out.println("Loaded "+pr.toString()); in main() 257 pr.setPolicy("default"); in main() 258 System.out.println("Expiry "+pr.PrExpireTime.toString()); in main() 259 System.out.println("PwExpiry "+pr.PwExpireTime.toString()); in main() 261 b = k.savePrincipal(pr); in main() 283 pr = new Principal("harriet"); in main() [all …]
|
/titanic_44/usr/src/lib/libmvec/common/ |
H A D | __vrem_pio2m.c | 172 double z, t, p, q[20], r[21], *pr; in __vlibm_rem_pio2m() local 280 pr = &r[j]; in __vlibm_rem_pio2m() 284 q[0] = pio2[0] * pr[0]; in __vlibm_rem_pio2m() 285 q[1] = pio2[0] * pr[1] + pio2[1] * pr[0]; in __vlibm_rem_pio2m() 286 q[2] = pio2[0] * pr[2] + pio2[1] * pr[1] + pio2[2] * pr[0]; in __vlibm_rem_pio2m() 287 q[3] = pio2[0] * pr[3] + pio2[1] * pr[2] + pio2[2] * pr[1] in __vlibm_rem_pio2m() 288 + pio2[3] * pr[0]; in __vlibm_rem_pio2m() 290 q[i] = pio2[0] * pr[i] + pio2[1] * pr[i-1] + pio2[2] * pr[i-2] in __vlibm_rem_pio2m() 291 + pio2[3] * pr[i-3] + pio2[4] * pr[i-4]; in __vlibm_rem_pio2m()
|
/titanic_44/usr/src/cmd/ipf/lib/common/ |
H A D | printproto.c | 15 void printproto(pr, p, np) in printproto() argument 16 struct protoent *pr; in printproto() 36 else if (pr != NULL) 37 printf("%s", pr->p_name); 46 if (pr != NULL) 47 printf("%s", pr->p_name);
|
H A D | portname.c | 11 char *portname(pr, port) in portname() argument 12 int pr, port; in portname() 19 if (pr == -1) { 29 } else if ((pr != -2) && (p = getprotobynumber(pr))) {
|
H A D | printportcmp.c | 12 void printportcmp(pr, frp) in printportcmp() argument 13 int pr; in printportcmp() 26 portname(pr, frp->frp_port));
|
/titanic_44/usr/src/cmd/lp/cmd/lpsched/ |
H A D | alerts.c | 83 PSTATUS *pr = va_arg(args, PSTATUS *); in alert() local 86 pformat(pr->alert->msgfile, text, pr, rp); in alert() 87 if (!pr->alert->active) in alert() 89 if (exec(EX_ALERT, pr) == 0) in alert() 90 pr->alert->active = 1; in alert() 94 pr->alert->exec->flags |= EXF_RESTART; in alert() 96 Unlink(pr->alert->msgfile); in alert() 150 pformat(char *file, char *text, PSTATUS *pr, RSTATUS *rp) in pformat() argument 154 if (Access(pr->alert->msgfile, 0) == 0) { in pformat() 163 fdprintf(fd, Pf_msg[0], NB(pr->printer->name), NB(pr->printer->name)); in pformat() [all …]
|
/titanic_44/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 1359 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_uint8() local 1362 if (pr->pr_default == NULL) in mac_prop_info_set_default_uint8() 1365 ASSERT(pr->pr_default_size >= sizeof (uint8_t)); in mac_prop_info_set_default_uint8() 1367 *(uint8_t *)(pr->pr_default) = val; in mac_prop_info_set_default_uint8() 1368 pr->pr_flags |= MAC_PROP_INFO_DEFAULT; in mac_prop_info_set_default_uint8() 1374 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_uint64() local 1377 if (pr->pr_default == NULL) in mac_prop_info_set_default_uint64() 1380 ASSERT(pr->pr_default_size >= sizeof (uint64_t)); in mac_prop_info_set_default_uint64() 1382 bcopy(&val, pr->pr_default, sizeof (val)); in mac_prop_info_set_default_uint64() 1384 pr->pr_flags |= MAC_PROP_INFO_DEFAULT; in mac_prop_info_set_default_uint64() [all …]
|
/titanic_44/usr/src/cmd/dircmp/ |
H A D | dircmp.sh | 55 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 59 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 63 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 72 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 76 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 80 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 93 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 146 pr -w${width} -h "$D1 only and $D2 only" -m $TEMPDIR/dc$$e $TEMPDIR/dc$$d 235 done 3<$TEMPDIR/dc$$h 4<$TEMPDIR/dc$$i | pr -r -h "Comparison of $D1 $D2"
|
/titanic_44/usr/src/cmd/more/ |
H A D | more.c | 142 #define pr(s1) fputs(s1, stdout) macro 388 pr("::::::::::::::"); in main() 395 pr("::::::::::::::\n"); in main() 679 pr(gettext("--More--")); in prompt() 687 promptlen += pr(gettext("[Hit space to continue, Del to abort]")); in prompt() 710 promptlen = pr(gettext("--No more--")); /*M003*/ in wait_eof() 712 promptlen += pr(gettext("[Hit any key to continue]")); in wait_eof() 1029 pr ("s\n"); in command() 1031 pr ("\n"); in command() 1035 pr ("\n"); in command() [all …]
|
/titanic_44/usr/src/cmd/acct/ |
H A D | prdaily.sh | 81 (cat reboots; echo ""; cat lineuse) | pr -h "DAILY REPORT FOR ${_sysname}" 84 pr -h "DAILY COMMAND SUMMARY" daycms 85 pr -h "MONTHLY TOTAL COMMAND SUMMARY" cms 86 pr -h "LAST LOGIN" -3 ../sum/loginlog
|
/titanic_44/usr/src/cmd/prctl/ |
H A D | prctl.c | 60 struct ps_prochandle *pr; member 734 errflg = get_rctls(p.pr); in main() 739 if (match_rctl(p.pr, &rctlblkA, arg_name, in main() 765 if (prctl_setrctl(p.pr, arg_name, NULL, in main() 774 if (match_rctl(p.pr, &rctlblkA, arg_name, in main() 799 if (prctl_setrctl(p.pr, arg_name, NULL, in main() 809 if (match_rctl(p.pr, &rctlblkA, arg_name, in main() 839 if (match_rctl(p.pr, &rctlblkB, arg_name, in main() 886 if (prctl_setrctl(p.pr, arg_name, rctlblkA, in main() 902 if (match_rctl(p.pr, &rctlblkA, arg_name, in main() [all …]
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | ucred.c | 217 const prpriv_t *pr = UCPRIV(uc); in ucred_getprivset() local 221 if (pr == NULL || pset == -1) { in ucred_getprivset() 229 &pr->pr_sets[d->pd_pinfo->priv_setsize * pset]); in ucred_getprivset() 285 prpriv_t *pr = UCPRIV(uc); in ucred_getpflags() local 288 if (pr == NULL) { in ucred_getpflags() 293 end = (char *)pr + PRIV_PRPRIV_SIZE(pr); in ucred_getpflags() 294 x = end - pr->pr_infosize; in ucred_getpflags()
|
/titanic_44/usr/src/cmd/cron/ |
H A D | atq.c | 74 struct passwd pr; in main() local 94 pr.pw_uid = pp->pw_uid; in main() 95 pr.pw_name = pp->pw_name; in main() 133 if (cron_admin(pr.pw_name) || in main() 134 strcmp(pr.pw_name, argv[i]) == 0) { in main() 149 "for %s:\n", pr.pw_name); in main() 156 } else if (!cron_admin(pr.pw_name)) { in main() 162 *uidlist = pr.pw_uid; in main() 204 if (argnum != argc) c = pr.pw_name; in main()
|