/freebsd/contrib/bc/tests/dc/ |
H A D | modexp.txt | 1 0 0 1|pR 2 1 0 1|pR 3 1 0 2|pR 4 0 10 1|pR 5 1 293 1|pR 6 1 2789365 2|pR 7 100 8 7|pR 8 10922384 15031007 201|pR 9 3346529 189 254|pR 10 4113416930 197 14|pR [all …]
|
H A D | modulus.txt | 2 1 1%pR 3 2 1%pR 4 16 4%pR 5 15 4%pR 6 17 4%pR 7 2389473 5%pR 8 39240687239 1%pR 9 346728934 23958%pR 10 3496723859067234 298375462837546928347623059375486%pR 11 _1 1%pR [all …]
|
H A D | power.txt | 2 0 0^pR 3 0 1^pR 4 0 1894^pR 5 1 0^pR 6 39746823 0^pR 7 0.238672983047682 0^pR 8 18394762374689237468.97354862973846 0^pR 9 1 1^pR 10 2 1^pR 11 18927361346 1^pR [all …]
|
H A D | multiply.txt | 2 0 0*pR 3 0.000 0*pR 4 1 0*pR 5 0 1*pR 6 0 2498752389672835476*pR 7 873246913745129084576134 0*pR 8 1 472638590273489273456*pR 9 12374861230476103672835496 1*pR 10 1 1*pR 11 2 1*pR [all …]
|
H A D | strings.txt | 2 [Hello, World!]pR 4 [Hello, \[ World!]pR 6 [Hello, \] World!]pR 7 [30pR] 8 [29pR] 9 [28pR] 10 [27pR] 11 [26pR] 12 [25pR] 13 [24pR] [all …]
|
H A D | add.txt | 1 0 0+pR 2 0 0 0++pR 3 0 1+pR 4 0 1 1++pR 5 1 1+pR 6 1 0+pR 7 2 5+pR 8 237 483+pR 9 999 999+pR 10 2374623 324869356734856+pR [all …]
|
H A D | subtract.txt | 1 0 0-pR 2 0 1-pR 3 1 0-pR 4 1 1-pR 5 5 2-pR 6 2 9-pR 7 321974 12845976238457-pR 8 2874519803456710938465 384723854-pR 9 10000000000000000000000000000000000000000 999999999999999999999999999999999999999-pR 10 10000000000000000000000000000000000000000 9999999999999999999999999999999999999999-pR [all …]
|
H A D | decimal.txt | 1 0pR 2 0.0pR 3 .0000pR 4 000000000000000000000000.00000000000000000000000pR 5 000000000000000000000000000135482346782356pR 6 000000000000000000000000002pR 7 1pR 8 11pR 9 123pR 10 7505pR [all …]
|
H A D | divide.txt | 2 0 1/pR 3 0 321566/pR 4 0 0.3984567238456/pR 5 1 1/pR 6 1 1287469297356/pR 7 1 0.2395672438567234/pR 8 1 237586239856.0293596728392360/pR 9 1249687284356 3027949207835207/pR 10 378617298617396719 35748521/pR 11 9348576237845624358 0.9857829375461/pR [all …]
|
H A D | boolean.txt | 1 0 1(pR 2 1 1(pR 3 2 1(pR 4 _1 1(pR 5 _1 0(pR 6 _1 _1(pR 7 _1 _2(pR 8 0 1{pR 9 1 1{pR 10 2 1{pR [all …]
|
H A D | places.txt | 1 0 0@pR 2 1 0@pR 3 2 0@pR 4 0.0023896 0@pR 5 1.298346 0@pR 6 2.00000000 0@pR 7 0.0023896 3@pR 8 1.298346 4@pR 9 2.00000000 5@pR 10 289 3@pR [all …]
|
H A D | engineering.txt | 2 0pR 3 1pR 5 298pR 7 29488pR 9 8927559pR 10 .2pR 11 _.02pR 12 .002pR 13 _.0003pR 14 .0000209310pR [all …]
|
H A D | misc1.txt | 13 pR 14 pR 15 pR 16 pR 17 pR 18 pR 19 pR 20 pR 21 pR 22 pR [all …]
|
/freebsd/contrib/bc/tests/dc/errors/ |
H A D | 22.txt | 3 [Hello, \[ World!]pR 5 [Hello, \] World!]pR 6 [30pR] 8 [28pR] 9 [27pR] 10 [26pR] 11 [25pR] 12 [24pR] 13 [23pR] 14 [22pR] [all …]
|
H A D | 13.txt | 2 _1 _1(pR 3 _1 _2(pR 4 2 1{pR 5 _1 1{pR 999+pR 6 2374623 324869356734856+pR 8 …618723249671349062187346898241093486139046139084613490817356023871869102746999999061872609129847+pR 9 1.1 0+pR 10 0 1.1+pR 11 457283.731284923576 37842934672834.3874629385672354+pR 12 1.0 0.1+pR [all …]
|
/freebsd/usr.sbin/cxgbetool/ |
H A D | tcbshowt5.c | 44 PR("STATE:\n"); in t5_display_tcb_aux_0() 45 PR(" %-12s (%-2u), %s, lock_tid %u, rss_fw %u\n", in t5_display_tcb_aux_0() 52 PR(" l2t_ix 0x%x, smac sel 0x%x, tos 0x%x\n", in t5_display_tcb_aux_0() 57 PR(" maxseg %u, recv_scaleflag %u, recv_tstmp %u, recv_sack %u\n", in t5_display_tcb_aux_0() 62 PR("TIMERS:\n"); /* **************************************** */ in t5_display_tcb_aux_0() 63 PR(" timer %u, dack_timer %u\n", in t5_display_tcb_aux_0() 65 PR(" mod_schd: tx: %u, rx: %u, reason 0x%1x\n", in t5_display_tcb_aux_0() 73 PR(" max_rt %-2u, rxtshift %u, keepalive %u\n", in t5_display_tcb_aux_0() 76 PR(" timestamp_offset 0x%x, timestamp 0x%x\n", in t5_display_tcb_aux_0() 80 PR(" t_rtt_ts_recent_age %u t_rttseq_recent %u\n", in t5_display_tcb_aux_0() [all …]
|
H A D | tcbshowt6.c | 44 PR("STATE:\n"); in t6_display_tcb_aux_0() 45 PR(" %-12s (%-2u), %s, lock_tid %u, rss_fw %u\n", in t6_display_tcb_aux_0() 52 PR(" l2t_ix 0x%x, smac sel 0x%x, tos 0x%x\n", in t6_display_tcb_aux_0() 57 PR(" maxseg %u, recv_scaleflag %u, recv_tstmp %u, recv_sack %u\n", in t6_display_tcb_aux_0() 62 PR("TIMERS:\n"); /* **************************************** */ in t6_display_tcb_aux_0() 63 PR(" timer %u, dack_timer %u\n", in t6_display_tcb_aux_0() 65 PR(" mod_schd: tx: %u, rx: %u, reason 0x%1x\n", in t6_display_tcb_aux_0() 73 PR(" max_rt %-2u, rxtshift %u, keepalive %u\n", in t6_display_tcb_aux_0() 76 PR(" timestamp_offset 0x%x, timestamp 0x%x\n", in t6_display_tcb_aux_0() 80 PR(" t_rtt_ts_recent_age %u t_rttseq_recent %u\n", in t6_display_tcb_aux_0() [all …]
|
H A D | tcbshowt4.c | 44 PR("STATE:\n"); in t4_display_tcb_aux_0() 45 PR(" %-12s (%-2u), %s, lock_tid %u, init %u\n", in t4_display_tcb_aux_0() 52 PR(" l2t_ix 0x%x, smac sel 0x%x, tos 0x%x\n", in t4_display_tcb_aux_0() 57 PR(" maxseg %u, recv_scaleflag %u, recv_tstmp %u, recv_sack %u\n", in t4_display_tcb_aux_0() 62 PR("TIMERS:\n"); /* **************************************** */ in t4_display_tcb_aux_0() 63 PR(" timer %u, dack_timer %u\n", in t4_display_tcb_aux_0() 65 PR(" mod_schd: tx: %u, rx: %u, reason 0x%1x\n", in t4_display_tcb_aux_0() 73 PR(" max_rt %-2u, rxtshift %u, keepalive %u\n", in t4_display_tcb_aux_0() 76 PR(" timestamp_offset 0x%x, timestamp 0x%x\n", in t4_display_tcb_aux_0() 80 PR(" t_rtt_ts_recent_age %u t_rttseq_recent %u\n", in t4_display_tcb_aux_0() [all …]
|
/freebsd/sys/netinet6/ |
H A D | in6_jail.c | 66 prison_bcopy_primary_ip6(const struct prison *pr, struct in6_addr *ia6) in prison_bcopy_primary_ip6() argument 69 bcopy(prison_ip_get0(pr, PR_INET6), ia6, sizeof(struct in6_addr)); in prison_bcopy_primary_ip6() 110 struct prison *pr; in prison_get_ip6() local 115 pr = cred->cr_prison; in prison_get_ip6() 116 if (!(pr->pr_flags & PR_IP6)) in prison_get_ip6() 118 mtx_lock(&pr->pr_mtx); in prison_get_ip6() 119 if (!(pr->pr_flags & PR_IP6)) { in prison_get_ip6() 120 mtx_unlock(&pr->pr_mtx); in prison_get_ip6() 123 if (pr->pr_addrs[PR_INET6] == NULL) { in prison_get_ip6() 124 mtx_unlock(&pr->pr_mtx); in prison_get_ip6() [all …]
|
/freebsd/sys/netinet/ |
H A D | in_jail.c | 66 prison_primary_ip4(const struct prison *pr) in prison_primary_ip4() argument 69 return (((const struct in_addr *)prison_ip_get0(pr, PR_INET))->s_addr); in prison_primary_ip4() 121 struct prison *pr; in prison_get_ip4() local 126 pr = cred->cr_prison; in prison_get_ip4() 127 if (!(pr->pr_flags & PR_IP4)) in prison_get_ip4() 129 mtx_lock(&pr->pr_mtx); in prison_get_ip4() 130 if (!(pr->pr_flags & PR_IP4)) { in prison_get_ip4() 131 mtx_unlock(&pr->pr_mtx); in prison_get_ip4() 134 if (pr->pr_addrs[PR_INET] == NULL) { in prison_get_ip4() 135 mtx_unlock(&pr->pr_mtx); in prison_get_ip4() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_jail.c | 143 static int do_jail_attach(struct thread *td, struct prison *pr, int drflags); 145 static void prison_deref(struct prison *pr, int flags); 146 static void prison_deref_kill(struct prison *pr, struct prisonlist *freeprison); 147 static int prison_lock_xlock(struct prison *pr, int flags); 148 static void prison_cleanup(struct prison *pr); 149 static void prison_free_not_last(struct prison *pr); 150 static void prison_proc_free_not_last(struct prison *pr); 153 static void prison_set_allow_locked(struct prison *pr, unsigned flag, 157 static void prison_racct_attach(struct prison *pr); 158 static void prison_racct_modify(struct prison *pr); [all …]
|
/freebsd/usr.bin/hexdump/ |
H A D | display.c | 53 static void print(PR *, u_char *); 61 PR *pr; in display() local 75 for (pr = fu->nextpr; pr; address += pr->bcnt, in display() 76 bp += pr->bcnt, pr = pr->nextpr) { in display() 78 !(pr->flags & (F_TEXT|F_BPAD))) in display() 79 bpad(pr); in display() 80 if (cnt == 1 && pr->nospace) { in display() 81 savech = *pr->nospace; in display() 82 *pr->nospace = '\0'; in display() 84 print(pr, bp); in display() [all …]
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | l1 | 3 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN 4 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN 5 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN 6 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -AF IN 7 01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN 8 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN 9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN 10 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN 11 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN 12 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN [all …]
|
H A D | l1.b | 2 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN 3 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN 4 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN 5 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -AF IN 6 01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN 7 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN 8 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN 9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN 10 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN 11 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN [all …]
|
/freebsd/usr.bin/diff/ |
H A D | pr.c | 37 #include "pr.h" 41 #define _PATH_PR "/usr/bin/pr" 43 struct pr * 50 struct pr *pr; in start_pr() local 52 pr = xcalloc(1, sizeof(*pr)); in start_pr() 78 pr->ostdout = dup(STDOUT_FILENO); in start_pr() 85 pr->kq = kqueue(); in start_pr() 86 if (pr->kq == -1) in start_pr() 88 pr->e = xmalloc(sizeof(struct kevent)); in start_pr() 89 EV_SET(pr->e, pr_pd, EVFILT_PROCDESC, EV_ADD, NOTE_EXIT, 0, in start_pr() [all …]
|