| /netbsd-src/external/gpl3/binutils/dist/include/opcode/ |
| H A D | convex.h | 23 #define rr 2 macro 227 {28,5,rr,A,A,0}, /* cvtw.b */ 228 {28,6,rr,A,A,0}, /* cvtw.h */ 229 {29,7,rr,A,A,0}, /* cvtb.w */ 230 {30,7,rr,A,A,0}, /* cvth.w */ 231 {28,5,rr,S,S,0}, /* cvtw.b */ 232 {28,6,rr,S,S,0}, /* cvtw.h */ 233 {29,7,rr,S,S,0}, /* cvtb.w */ 234 {30,7,rr,S,S,0}, /* cvth.w */ 235 {28,3,rr,S,S,0}, /* cvtw.s */ [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/include/opcode/ |
| H A D | convex.h | 23 #define rr 2 macro 227 {28,5,rr,A,A,0}, /* cvtw.b */ 228 {28,6,rr,A,A,0}, /* cvtw.h */ 229 {29,7,rr,A,A,0}, /* cvtb.w */ 230 {30,7,rr,A,A,0}, /* cvth.w */ 231 {28,5,rr,S,S,0}, /* cvtw.b */ 232 {28,6,rr,S,S,0}, /* cvtw.h */ 233 {29,7,rr,S,S,0}, /* cvtb.w */ 234 {30,7,rr,S,S,0}, /* cvth.w */ 235 {28,3,rr,S,S,0}, /* cvtw.s */ [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | resolve.c | 106 dns_free_rr(struct rk_resource_record *rr) in dns_free_rr() argument 108 if(rr->domain) in dns_free_rr() 109 free(rr->domain); in dns_free_rr() 110 if(rr->u.data) in dns_free_rr() 111 free(rr->u.data); in dns_free_rr() 112 free(rr); in dns_free_rr() 118 struct rk_resource_record *rr; in rk_dns_free_data() local 121 for(rr = r->head; rr;){ in rk_dns_free_data() 122 struct rk_resource_record *tmp = rr; in rk_dns_free_data() 123 rr = rr->next; in rk_dns_free_data() [all …]
|
| H A D | resolve-test.c | 85 struct rk_resource_record *rr; in test_rk_dns_srv_order() local 141 for (i = 0, rr = reply.head; i < NUMRRS; i++) { in test_rk_dns_srv_order() 142 if (rr == NULL) in test_rk_dns_srv_order() 145 (unsigned long)run, (unsigned long)rr->u.srv->priority, in test_rk_dns_srv_order() 146 (unsigned long)rr->u.srv->weight); in test_rk_dns_srv_order() 147 rr = rr->next; in test_rk_dns_srv_order() 158 for (i = 0, rr = reply.head; i < NUMRRS; i++) { in test_rk_dns_srv_order() 159 if (rr == NULL) in test_rk_dns_srv_order() 161 if (rr->u.srv->priority < prio0 || in test_rk_dns_srv_order() 162 (rr->u.srv->priority != prio0 && in test_rk_dns_srv_order() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/dns/ |
| H A D | dns_rr.c | 163 DNS_RR *rr; in dns_rr_create() local 168 rr = (DNS_RR *) mymalloc(sizeof(*rr)); in dns_rr_create() 169 rr->qname = mystrdup(qname); in dns_rr_create() 170 rr->rname = mystrdup(rname); in dns_rr_create() 171 rr->type = type; in dns_rr_create() 172 rr->class = class; in dns_rr_create() 173 rr->ttl = ttl; in dns_rr_create() 174 rr->dnssec_valid = 0; in dns_rr_create() 175 rr->pref = pref; in dns_rr_create() 176 rr->weight = weight; in dns_rr_create() [all …]
|
| H A D | dns_strrecord.c | 52 char *dns_strrecord(VSTRING *buf, DNS_RR *rr) in dns_strrecord() argument 59 rr->rname, rr->ttl, dns_strtype(rr->type)); in dns_strrecord() 60 switch (rr->type) { in dns_strrecord() 65 if (dns_rr_to_pa(rr, &host) == 0) in dns_strrecord() 67 myname, dns_strtype(rr->type)); in dns_strrecord() 77 vstring_sprintf_append(buf, "%s.", rr->data); in dns_strrecord() 80 vstring_sprintf_append(buf, "%s", rr->data); in dns_strrecord() 83 vstring_sprintf_append(buf, "%u %s.", rr->pref, rr->data); in dns_strrecord() 86 vstring_sprintf_append(buf, "%u %u %u %s.", rr->pref, rr->weight, in dns_strrecord() 87 rr->port, rr->data); in dns_strrecord() [all …]
|
| /netbsd-src/external/bsd/unbound/dist/testdata/ |
| H A D | test_ldnsrr.4 | 1 ; opendnssec all.rr.org file 2 @ IN SOA ns1 postmaster.all.rr.org. ( 1 3600 600 86400 3600 )… 3 ns1.all.rr.org. IN A 10.1.0.52 4 all.rr.org. IN NS ns1.example.com. 7 foo.all.rr.org. IN CNAME ns1.all.rr.org. 8 all.rr.org. IN MB mb-madname.example.com. 9 all.rr.org. IN MG mg-mgmname.example.com. 10 all.rr.org. IN MR mr-newname.example.com. 13 bar.all.rr.org. IN PTR ns1.all.rr.org. 14 all.rr.org. IN HINFO SUN4/110 UNIX [all …]
|
| H A D | test_ldnsrr.c4 | 2 . 3600 IN SOA ns1. postmaster.all.rr.org. 1 3600 600 86400 3600 4 ns1.all.rr.org. 3600 IN A 10.1.0.52 6 all.rr.org. 3600 IN NS ns1.example.com. 8 foo.all.rr.org. 3600 IN CNAME ns1.all.rr.org. 10 all.rr.org. 3600 IN MB mb-madname.example.com. 12 all.rr.org. 3600 IN MG mg-mgmname.example.com. 14 all.rr.org. 3600 IN MR mr-newname.example.com. 16 bar.all.rr.org. 3600 IN PTR ns1.all.rr.org. 18 all.rr.org. 3600 IN HINFO "SUN4/110" "UNIX" 22 all.rr.org. 3600 IN MINFO minfo-rmailbx.example.com. minfo-emailbx.example.com. [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/cms/ |
| H A D | cms_ess.c | 26 CMS_ReceiptRequest *rr = NULL; in IMPLEMENT_ASN1_FUNCTIONS() local 36 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); in IMPLEMENT_ASN1_FUNCTIONS() 37 if (!rr) in IMPLEMENT_ASN1_FUNCTIONS() 40 *prr = rr; in IMPLEMENT_ASN1_FUNCTIONS() 42 CMS_ReceiptRequest_free(rr); in IMPLEMENT_ASN1_FUNCTIONS() 52 CMS_ReceiptRequest *rr = NULL; in CMS_ReceiptRequest_create0() local 54 rr = CMS_ReceiptRequest_new(); in CMS_ReceiptRequest_create0() 55 if (rr == NULL) in CMS_ReceiptRequest_create0() 58 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen); in CMS_ReceiptRequest_create0() 60 if (!ASN1_STRING_set(rr->signedContentIdentifier, NULL, 32)) in CMS_ReceiptRequest_create0() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/cms/ |
| H A D | cms_ess.c | 29 CMS_ReceiptRequest *rr; in IMPLEMENT_ASN1_FUNCTIONS() local 38 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); in IMPLEMENT_ASN1_FUNCTIONS() 39 if (rr == NULL) in IMPLEMENT_ASN1_FUNCTIONS() 42 *prr = rr; in IMPLEMENT_ASN1_FUNCTIONS() 44 CMS_ReceiptRequest_free(rr); in IMPLEMENT_ASN1_FUNCTIONS() 121 CMS_ReceiptRequest *rr; in CMS_ReceiptRequest_create0_ex() local 123 rr = CMS_ReceiptRequest_new(); in CMS_ReceiptRequest_create0_ex() 124 if (rr == NULL) in CMS_ReceiptRequest_create0_ex() 127 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen); in CMS_ReceiptRequest_create0_ex() 129 if (!ASN1_STRING_set(rr->signedContentIdentifier, NULL, 32)) in CMS_ReceiptRequest_create0_ex() [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| H A D | t-div.c | 39 mpz_t a, b, q, r, rq, rr; in testmain() local 46 mpz_init (rr); in testmain() 85 mini_random_op4 (ops[j], MAXBITS, a, b, rq, rr); in testmain() 87 if (mpz_cmp (r, rr) || mpz_cmp (q, rq)) in testmain() 93 dump ("rref", rr); in testmain() 111 if (mpz_cmp (r, rr)) in testmain() 117 dump ("rref", rr); in testmain() 138 if (mpz_cmp (r, rr)) in testmain() 144 dump ("rref", rr); in testmain() 152 if (mpz_cmp (r, rr)) in testmain() [all …]
|
| H A D | t-mpq_addsub.c | 93 mpq_t rr, ii, ff; in testmain() local 102 mpq_init (rr); in testmain() 110 _mpq_set_zz (rr, a, b); in testmain() 115 mpz_set_q (c, rr); in testmain() 126 if ((mpz_sgn (r) != 0) ^ (mpz_cmp_ui (mpq_denref (rr), 1) != 0)) in testmain() 132 dump ("D", mpq_denref (rr)); in testmain() 139 tst = mpq_cmp_si (rr, mpz_get_si (q), 1); in testmain() 141 tst = mpq_cmp_ui (rr, mpz_get_ui (q), 1); in testmain() 143 tst = mpq_cmp_z (rr, q); in testmain() 159 tst = mpq_cmp_si (rr, mpz_get_si (r), mpz_get_ui (b)); in testmain() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/record/ |
| H A D | rec_layer_d1.c | 233 SSL3_RECORD *rr; in dtls1_process_buffered_records() local 244 rr = RECORD_LAYER_get_rrec(&s->rlayer); in dtls1_process_buffered_records() 261 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); in dtls1_process_buffered_records() 291 rr->length = 0; in dtls1_process_buffered_records() 348 SSL3_RECORD *rr; in dtls1_read_bytes() local 385 rr = s->rlayer.rrec; in dtls1_read_bytes() 391 if (SSL_is_init_finished(s) && SSL3_RECORD_get_length(rr) == 0) { in dtls1_read_bytes() 420 if ((SSL3_RECORD_get_length(rr) == 0) in dtls1_read_bytes() 442 if (SSL3_RECORD_get_type(rr) != SSL3_RT_ALERT in dtls1_read_bytes() 443 && SSL3_RECORD_get_length(rr) != 0) in dtls1_read_bytes() [all …]
|
| H A D | ssl3_record.c | 178 SSL3_RECORD *rr, *thisrr; in ssl3_get_record() local 192 rr = RECORD_LAYER_get_rrec(&s->rlayer); in ssl3_get_record() 201 thisrr = &rr[num_recs]; in ssl3_get_record() 549 thisrr = &rr[j]; in ssl3_get_record() 580 enc_err = s->method->ssl3_enc->enc(s, rr, num_recs, 0, macbufs, mac_size); in ssl3_get_record() 606 thisrr = &rr[0]; in ssl3_get_record() 629 BIO_printf(trc_out, "dec %lu\n", (unsigned long)rr[0].length); in ssl3_get_record() 630 BIO_dump_indent(trc_out, rr[0].data, rr[0].length, 4); in ssl3_get_record() 641 thisrr = &rr[j]; in ssl3_get_record() 672 thisrr = &rr[j]; in ssl3_get_record() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/record/ |
| H A D | rec_layer_d1.c | 230 SSL3_RECORD *rr; in dtls1_process_buffered_records() local 241 rr = RECORD_LAYER_get_rrec(&s->rlayer); in dtls1_process_buffered_records() 258 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); in dtls1_process_buffered_records() 290 rr->length = 0; in dtls1_process_buffered_records() 347 SSL3_RECORD *rr; in dtls1_read_bytes() local 385 rr = s->rlayer.rrec; in dtls1_read_bytes() 391 if (SSL_is_init_finished(s) && SSL3_RECORD_get_length(rr) == 0) { in dtls1_read_bytes() 420 if ((SSL3_RECORD_get_length(rr) == 0) in dtls1_read_bytes() 442 if (SSL3_RECORD_get_type(rr) != SSL3_RT_ALERT in dtls1_read_bytes() 443 && SSL3_RECORD_get_length(rr) != 0) in dtls1_read_bytes() [all …]
|
| H A D | ssl3_record.c | 178 SSL3_RECORD *rr, *thisrr; in ssl3_get_record() local 190 rr = RECORD_LAYER_get_rrec(&s->rlayer); in ssl3_get_record() 198 thisrr = &rr[num_recs]; in ssl3_get_record() 509 thisrr = &rr[j]; in ssl3_get_record() 527 first_rec_len = rr[0].length; in ssl3_get_record() 529 enc_err = s->method->ssl3_enc->enc(s, rr, num_recs, 0); in ssl3_get_record() 548 thisrr = &rr[0]; in ssl3_get_record() 567 printf("dec %lu\n", (unsigned long)rr[0].length); in ssl3_get_record() 570 for (z = 0; z < rr[0].length; z++) in ssl3_get_record() 571 printf("%02X%c", rr[0].data[z], ((z + 1) % 16) ? ' ' : '\n'); in ssl3_get_record() [all …]
|
| /netbsd-src/lib/libc/nameser/ |
| H A D | ns_parse.c | 149 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument 179 handle->_msg_ptr, rr->name, NS_MAXDNAME); in ns_parserr() 185 NS_GET16(rr->type, handle->_msg_ptr); in ns_parserr() 186 NS_GET16(rr->rr_class, handle->_msg_ptr); in ns_parserr() 188 rr->ttl = 0; in ns_parserr() 189 rr->rdlength = 0; in ns_parserr() 190 rr->rdata = NULL; in ns_parserr() 194 NS_GET32(rr->ttl, handle->_msg_ptr); in ns_parserr() 195 NS_GET16(rr->rdlength, handle->_msg_ptr); in ns_parserr() 196 if (handle->_msg_ptr + rr->rdlength > handle->_eom) in ns_parserr() [all …]
|
| /netbsd-src/external/bsd/libbind/dist/nameser/ |
| H A D | ns_parse.c | 142 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument 172 handle->_msg_ptr, rr->name, NS_MAXDNAME); in ns_parserr() 178 NS_GET16(rr->type, handle->_msg_ptr); in ns_parserr() 179 NS_GET16(rr->rr_class, handle->_msg_ptr); in ns_parserr() 181 rr->ttl = 0; in ns_parserr() 182 rr->rdlength = 0; in ns_parserr() 183 rr->rdata = NULL; in ns_parserr() 187 NS_GET32(rr->ttl, handle->_msg_ptr); in ns_parserr() 188 NS_GET16(rr->rdlength, handle->_msg_ptr); in ns_parserr() 189 if (handle->_msg_ptr + rr->rdlength > handle->_eom) in ns_parserr() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/smtp/ |
| H A D | smtp_addr.c | 165 DNS_RR *rr; in smtp_addr_one() local 207 for (rr = addr; rr; rr = rr->next) { in smtp_addr_one() 208 rr->pref = pref; in smtp_addr_one() 209 rr->port = port; in smtp_addr_one() 296 DNS_RR *rr; in smtp_addr_list() local 327 for (rr = mx_names; rr; rr = rr->next) { in smtp_addr_list() 328 if (rr->type != T_MX && rr->type != T_SRV) in smtp_addr_list() 329 msg_panic("smtp_addr_list: bad resource type: %d", rr->type); in smtp_addr_list() 330 addr_list = smtp_addr_one(addr_list, (char *) rr->data, res_opt, in smtp_addr_list() 331 rr->pref, rr->port, why); in smtp_addr_list() [all …]
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/reclimit/ans2/ |
| H A D | ans.pl | 74 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata"); 75 push @ans, $rr; 88 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata"); 89 push @ans, $rr; 101 my $rr = new Net::DNS::RR("$qname 86400 $qclass NS ns1.1.example.org"); 102 push @auth, $rr; 105 my $rr = new Net::DNS::RR("$qname $ttl $qclass $qtype $rdata"); 106 push @ans, $rr; 113 my $rr = new Net::DNS::RR("$1.example.org 86400 $qclass NS ns1.$next.example.org"); 114 push @auth, $rr; [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/dnsblog/ |
| H A D | dnsblog.c | 158 DNS_RR *rr; in dnsblog_query() local 214 for (rr = addr_list; rr != 0; rr = rr->next) { in dnsblog_query() 215 if (dns_rr_to_pa(rr, &hostaddr) == 0) { in dnsblog_query() 217 myname, dns_strtype(rr->type), STR(query)); in dnsblog_query() 225 if (*result_ttl < 0 || *result_ttl > rr->ttl) in dnsblog_query() 226 *result_ttl = rr->ttl; in dnsblog_query() 235 for (rr = addr_list; rr != 0; rr = rr->next) { in dnsblog_query() 236 if (rr->type == T_SOA && (*result_ttl < 0 || *result_ttl > rr->ttl)) in dnsblog_query() 237 *result_ttl = rr->ttl; in dnsblog_query()
|
| /netbsd-src/external/bsd/unbound/dist/iterator/ |
| H A D | iter_priv.c | 223 struct rr_parse* rr, *prev = NULL; in priv_rrset_bad() local 232 for(rr = rrset->rr_first; rr; rr = rr->next) { in priv_rrset_bad() 233 if(sldns_read_uint16(rr->ttl_data+4) in priv_rrset_bad() 235 prev = rr; in priv_rrset_bad() 238 memmove(&sa.sin_addr, rr->ttl_data+4+2, in priv_rrset_bad() 242 …remove_rr("sanitize: removing public name with private address", pkt, rrset, prev, rr, &addr, len)) in priv_rrset_bad() 246 prev = rr; in priv_rrset_bad() 255 for(rr = rrset->rr_first; rr; rr = rr->next) { in priv_rrset_bad() 256 if(sldns_read_uint16(rr->ttl_data+4) in priv_rrset_bad() 258 prev = rr; in priv_rrset_bad() [all …]
|
| /netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/perl/testing/ |
| H A D | dlz_perl_example.pm | |
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/ |
| H A D | bn_sqr.c | 31 BIGNUM *tmp, *rr; in bn_sqr_fixed_top() local 43 rr = (a != r) ? r : BN_CTX_get(ctx); in bn_sqr_fixed_top() 45 if (rr == NULL || tmp == NULL) in bn_sqr_fixed_top() 49 if (bn_wexpand(rr, max) == NULL) in bn_sqr_fixed_top() 55 bn_sqr_normal(rr->d, a->d, 4, t); in bn_sqr_fixed_top() 57 bn_sqr_comba4(rr->d, a->d); in bn_sqr_fixed_top() 62 bn_sqr_normal(rr->d, a->d, 8, t); in bn_sqr_fixed_top() 64 bn_sqr_comba8(rr->d, a->d); in bn_sqr_fixed_top() 70 bn_sqr_normal(rr->d, a->d, al, t); in bn_sqr_fixed_top() 80 bn_sqr_recursive(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/ |
| H A D | bn_sqr.c | 31 BIGNUM *tmp, *rr; in bn_sqr_fixed_top() local 43 rr = (a != r) ? r : BN_CTX_get(ctx); in bn_sqr_fixed_top() 45 if (rr == NULL || tmp == NULL) in bn_sqr_fixed_top() 49 if (bn_wexpand(rr, max) == NULL) in bn_sqr_fixed_top() 55 bn_sqr_normal(rr->d, a->d, 4, t); in bn_sqr_fixed_top() 57 bn_sqr_comba4(rr->d, a->d); in bn_sqr_fixed_top() 62 bn_sqr_normal(rr->d, a->d, 8, t); in bn_sqr_fixed_top() 64 bn_sqr_comba8(rr->d, a->d); in bn_sqr_fixed_top() 70 bn_sqr_normal(rr->d, a->d, al, t); in bn_sqr_fixed_top() 80 bn_sqr_recursive(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top() [all …]
|