/freebsd/sys/arm/include/ |
H A D | sysreg.h | 43 #define CP14_DBGDIDR(rr) p14, 0, rr, c0, c0, 0 /* Debug ID Register */ argument 44 #define CP14_DBGDSCRext_V6(rr) p14, 0, rr, c0, c1, 0 /* Debug Status and Ctrl Register v6 */ argument 45 #define CP14_DBGDSCRext_V7(rr) p14, 0, rr, c0, c2, 2 /* Debug Status and Ctrl Register v7 */ argument 46 #define CP14_DBGVCR(rr) p14, 0, rr, c0, c7, 0 /* Vector Catch Register */ argument 47 #define CP14_DBGOSLAR(rr) p14, 0, rr, c1, c0, 4 /* OS Lock Access Register */ argument 48 #define CP14_DBGOSLSR(rr) p14, 0, rr, c1, c1, 4 /* OS Lock Status Register */ argument 49 #define CP14_DBGOSDLR(rr) p14, 0, rr, c1, c3, 4 /* OS Double Lock Register */ argument 50 #define CP14_DBGPRSR(rr) p14, 0, rr, c1, c5, 4 /* Device Powerdown and Reset Status */ argument 52 #define CP14_DBGDSCRint(rr) CP14_DBGDSCRext_V6(rr) /* Debug Status and Ctrl internal view */ argument 57 #define CP15_MIDR(rr) p15, 0, rr, c0, c0, 0 /* Main ID Register */ argument [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | resolve.c | 104 dns_free_rr(struct rk_resource_record *rr) in dns_free_rr() argument 106 if(rr->domain) in dns_free_rr() 107 free(rr->domain); in dns_free_rr() 108 if(rr->u.data) in dns_free_rr() 109 free(rr->u.data); in dns_free_rr() 110 free(rr); in dns_free_rr() 116 struct rk_resource_record *rr; in rk_dns_free_data() local 119 for(rr = r->head; rr;){ in rk_dns_free_data() 120 struct rk_resource_record *tmp = rr; in rk_dns_free_data() 121 rr = rr->next; in rk_dns_free_data() [all …]
|
H A D | resolve-test.c | 74 struct rk_resource_record *rr; in main() local 107 for(rr = r->head; rr;rr=rr->next){ in main() 108 printf("%-30s %-5s %-6d ", rr->domain, rk_dns_type_to_string(rr->type), rr->ttl); in main() 109 switch(rr->type){ in main() 113 printf("%s\n", (char*)rr->u.data); in main() 116 printf("%s\n", inet_ntoa(*rr->u.a)); in main() 120 printf("%d %s\n", rr->u.mx->preference, rr->u.mx->domain); in main() 124 struct rk_srv_record *srv = rr->u.srv; in main() 130 printf("%s\n", rr->u.txt); in main() 134 struct rk_sig_record *sig = rr->u.sig; in main() [all …]
|
/freebsd/contrib/ldns/ldns/ |
H A D | rr.h | 2 * rr.h - resource record definitions 36 /** The bytes TTL, CLASS and length use up in an rr */ 42 * The different RR classes. 75 * The different RR types. 97 /** a null RR (EXPERIMENTAL) */ 225 LDNS_RR_TYPE_AVC = 258, /* Cisco's DNS-AS RR, see www.dns-as.org */ 285 TYPE two octets containing one of the RR TYPE codes. 287 CLASS two octets containing one of the RR CLASS codes. 292 values are interpreted to mean that the RR can only be 306 * The actual amount and type of rdata fields depend on the RR type of the [all …]
|
H A D | rr_functions.h | 4 * the .h file with defs for the per rr 28 * returns the address of a LDNS_RR_TYPE_A rr 35 * sets the address of a LDNS_RR_TYPE_A rr 36 * \param[in] r the rr to use 44 * returns the name of a LDNS_RR_TYPE_NS rr 52 * returns the mx pref. of a LDNS_RR_TYPE_MX rr 58 * returns the mx host of a LDNS_RR_TYPE_MX rr 66 * returns the type covered of a LDNS_RR_TYPE_RRSIG rr 72 * sets the typecovered of a LDNS_RR_TYPE_RRSIG rr 73 * \param[in] r the rr to use [all …]
|
H A D | host2wire.h | 22 #include <ldns/rr.h> 80 * Copies the rr data to the buffer in wire format 82 * \param[in] *rr resource record to convert 83 * \param[in] section the section in the packet this rr is supposed to be in 88 const ldns_rr *rr, 92 * Copies the rr data to the buffer in wire format while doing DNAME compression 94 * \param[in] *rr resource record to convert 95 * \param[in] section the section in the packet this rr is supposed to be in 101 const ldns_rr *rr, 106 * Copies the rr data to the buffer in wire format, in canonical format [all …]
|
H A D | dnssec.h | 53 * Returns the first RRSIG rr that corresponds to the rrset 67 * Returns the DNSKEY that corresponds to the given RRSIG rr from the list, if 71 * \param[in] rrs The rr list to find the key in 117 * \param[in] key the key as an RR to use for the calc. 215 * returns a new DS rr that represents the given key rr. 220 * \return ldns_rr* a new rr pointer to a DS 267 * \param[in] next_owner the rrlist which the nsec rr should point to 268 * \param[in] rrs all rrs from the zone, to find all RR types of cur_owner in 285 * Sets all the NSEC3 options. The rr to set them in must be initialized with _new() and 287 * \param[in] *rr The RR to set the values in [all …]
|
H A D | dnssec_zone.h | 24 ldns_rr *rr; member 49 * Usually points to the owner name of the first RR of the first RRset 53 * Usually, the name is a pointer to the owner name of the first rr for 92 /** points to the name containing the SOA RR */ 98 /** points to the first added NSEC3 rr whose parameters will be 99 * assumed for all subsequent NSEC3 rr's and which will be used 107 * Creates a new entry for 1 pointer to an rr and 1 pointer to the next rrs 129 * Adds an RR to the list of RRs. The list will remain ordered. 130 * If an equal RR already exists, this RR will not be added. 133 * \param[in] rr the RR to add [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz_math_impl.h | 40 * @rr RAIDZ row 46 raidz_rec_q_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_q_coeff() argument 48 const unsigned ncols = rr->rr_cols; in raidz_rec_q_coeff() 55 raidz_rec_r_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_r_coeff() argument 57 const unsigned ncols = rr->rr_cols; in raidz_rec_r_coeff() 64 raidz_rec_pq_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_pq_coeff() argument 66 const unsigned ncols = rr->rr_cols; in raidz_rec_pq_coeff() 80 raidz_rec_pr_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_pr_coeff() argument 82 const unsigned ncols = rr->rr_cols; in raidz_rec_pr_coeff() 97 raidz_rec_qr_coeff(const raidz_row_t *rr, const int *tgtidx, unsigned *coeff) in raidz_rec_qr_coeff() argument [all …]
|
H A D | vdev_raidz.c | 377 vdev_raidz_row_free(raidz_row_t *rr) in vdev_raidz_row_free() argument 379 for (int c = 0; c < rr->rr_cols; c++) { in vdev_raidz_row_free() 380 raidz_col_t *rc = &rr->rr_col[c]; in vdev_raidz_row_free() 388 if (rr->rr_abd_empty != NULL) in vdev_raidz_row_free() 389 abd_free(rr->rr_abd_empty); in vdev_raidz_row_free() 391 kmem_free(rr, offsetof(raidz_row_t, rr_col[rr->rr_scols])); in vdev_raidz_row_free() 438 raidz_row_t *rr = in vdev_raidz_row_alloc() local 441 rr->rr_cols = cols; in vdev_raidz_row_alloc() 442 rr->rr_scols = cols; in vdev_raidz_row_alloc() 445 raidz_col_t *rc = &rr->rr_col[c]; in vdev_raidz_row_alloc() [all …]
|
/freebsd/contrib/ldns/ |
H A D | dnssec_zone.c | 16 new_rrs->rr = NULL; in ldns_dnssec_rrs_new() 28 ldns_rr_free(rrs->rr); in ldns_dnssec_rrs_free_internal() 48 ldns_dnssec_rrs_add_rr(ldns_dnssec_rrs *rrs, ldns_rr *rr) in ldns_dnssec_rrs_add_rr() argument 52 if (!rrs || !rr) { in ldns_dnssec_rrs_add_rr() 58 cmp = ldns_rr_compare(rrs->rr, rr); in ldns_dnssec_rrs_add_rr() 61 return ldns_dnssec_rrs_add_rr(rrs->next, rr); in ldns_dnssec_rrs_add_rr() 64 new_rrs->rr = rr; in ldns_dnssec_rrs_add_rr() 68 /* put the current old rr in the new next, put the new in ldns_dnssec_rrs_add_rr() 69 rr in the current container */ in ldns_dnssec_rrs_add_rr() 71 new_rrs->rr = rrs->rr; in ldns_dnssec_rrs_add_rr() [all …]
|
H A D | host2wire.c | 154 /* convert a rr list to wireformat */ 172 const ldns_rr *rr, in ldns_rr2buffer_wire_canonical() argument 178 switch (ldns_rr_get_type(rr)) { in ldns_rr2buffer_wire_canonical() 209 if (ldns_rr_owner(rr)) { in ldns_rr2buffer_wire_canonical() 210 (void) ldns_rdf2buffer_wire_canonical(buffer, ldns_rr_owner(rr)); in ldns_rr2buffer_wire_canonical() 214 (void) ldns_buffer_write_u16(buffer, ldns_rr_get_type(rr)); in ldns_rr2buffer_wire_canonical() 215 (void) ldns_buffer_write_u16(buffer, ldns_rr_get_class(rr)); in ldns_rr2buffer_wire_canonical() 220 ldns_buffer_write_u32(buffer, ldns_rr_ttl(rr)); in ldns_rr2buffer_wire_canonical() 225 for (i = 0; i < ldns_rr_rd_count(rr); i++) { in ldns_rr2buffer_wire_canonical() 228 buffer, ldns_rr_rdf(rr, i)); in ldns_rr2buffer_wire_canonical() [all …]
|
H A D | wire2host.c | 156 ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos) in ldns_wire2rdf() argument 168 assert(rr != NULL); in ldns_wire2rdf() 170 descriptor = ldns_rr_descript(ldns_rr_get_type(rr)); in ldns_wire2rdf() 277 * Read to end of rr rdata in ldns_wire2rdf() 300 ldns_rr_push_rdf(rr, cur_rdf); in ldns_wire2rdf() 322 ldns_rr *rr = ldns_rr_new(); in ldns_wire2rr() local 328 ldns_rr_set_owner(rr, owner); in ldns_wire2rr() 335 ldns_rr_set_type(rr, ldns_read_uint16(&wire[*pos])); in ldns_wire2rr() 338 ldns_rr_set_class(rr, ldns_read_uint16(&wire[*pos])); in ldns_wire2rr() 346 ldns_rr_set_ttl(rr, ldns_read_uint32(&wire[*pos])); in ldns_wire2rr() [all …]
|
H A D | rr.c | 1 /* rr.c 33 ldns_rr *rr; in ldns_rr_new() local 34 rr = LDNS_MALLOC(ldns_rr); in ldns_rr_new() 35 if (!rr) { in ldns_rr_new() 39 ldns_rr_set_owner(rr, NULL); in ldns_rr_new() 40 ldns_rr_set_question(rr, false); in ldns_rr_new() 41 ldns_rr_set_rd_count(rr, 0); in ldns_rr_new() 42 rr->_rdata_fields = NULL; in ldns_rr_new() 43 ldns_rr_set_class(rr, LDNS_RR_CLASS_IN); in ldns_rr_new() 44 ldns_rr_set_ttl(rr, LDNS_DEFAULT_TTL); in ldns_rr_new() [all …]
|
H A D | zone.c | 54 ldns_zone_push_rr(ldns_zone *z, ldns_rr *rr) in ldns_zone_push_rr() argument 56 return ldns_rr_list_push_rr(ldns_zone_rrs(z), rr); in ldns_zone_push_rr() 199 ldns_rr *rr, *prev_rr = NULL; in ldns_zone_new_frm_fp_l() local 240 s = _ldns_rr_new_frm_fp_l_internal(&rr, fp, &my_ttl, &my_origin, in ldns_zone_new_frm_fp_l() 250 my_ttl = ldns_rr_ttl(rr); in ldns_zone_new_frm_fp_l() 257 } else if (ldns_rr_get_type(rr) == LDNS_RR_TYPE_SIG in ldns_zone_new_frm_fp_l() 258 || ldns_rr_get_type(rr) == LDNS_RR_TYPE_RRSIG) { in ldns_zone_new_frm_fp_l() 259 if (ldns_rr_rd_count(rr) >= 4 in ldns_zone_new_frm_fp_l() 260 && ldns_rdf_get_type(ldns_rr_rdf(rr, 3)) == LDNS_RDF_TYPE_INT32) in ldns_zone_new_frm_fp_l() 270 ldns_rr_set_ttl(rr, in ldns_zone_new_frm_fp_l() [all …]
|
/freebsd/crypto/openssl/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 …]
|
/freebsd/contrib/unbound/sldns/ |
H A D | str2wire.h | 29 /** buffer to read an RR, cannot be larger than 64K because of packet size */ 86 * Convert text RR to wireformat, with user buffer. 87 * @param str: the RR data in text presentation format. 88 * @param rr: the buffer where the result is stored into. This buffer has 94 * the buffer used for the rr. 104 int sldns_str2wire_rr_buf(const char* str, uint8_t* rr, size_t* len, 109 * Same as sldns_str2wire_rr_buf, but there is no rdata, it returns an RR 112 * @param str: the RR data in text presentation format. 113 * @param rr: the buffer where the result is stored into. 115 * the buffer used for the rr. [all …]
|
/freebsd/lib/libc/nameser/ |
H A D | ns_parse.c | 138 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument 168 handle->_msg_ptr, rr->name, NS_MAXDNAME); in ns_parserr() 174 NS_GET16(rr->type, handle->_msg_ptr); in ns_parserr() 175 NS_GET16(rr->rr_class, handle->_msg_ptr); in ns_parserr() 177 rr->ttl = 0; in ns_parserr() 178 rr->rdlength = 0; in ns_parserr() 179 rr->rdata = NULL; in ns_parserr() 183 NS_GET32(rr->ttl, handle->_msg_ptr); in ns_parserr() 184 NS_GET16(rr->rdlength, handle->_msg_ptr); in ns_parserr() 185 if (handle->_msg_ptr + rr->rdlength > handle->_eom) in ns_parserr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RDFRegisters.cpp | 126 std::set<RegisterId> PhysicalRegisterInfo::getUnits(RegisterRef RR) const { in getAliasSet() 129 if (RR.Reg == 0) in getAliasSet() 132 if (RR.isReg()) { 133 if (RR.Mask.none()) in getUnits() 135 for (MCRegUnitMaskIterator UM(RR.idx(), &TRI); UM.isValid(); ++UM) { in getUnits() 137 if ((M & RR.Mask).any()) in getUnits() 143 assert(RR.isMask()); in getUnits() 145 const uint32_t *MB = getRegMaskBits(RR.idx()); in getUnits() 165 RegisterRef PhysicalRegisterInfo::mapTo(RegisterRef RR, unsigned R) const { in getUnits() 166 if (RR in getUnits() 172 mapTo(RegisterRef RR,unsigned R) const mapTo() argument 328 insert(RegisterRef RR) insert() argument 347 intersect(RegisterRef RR) intersect() argument 356 clear(RegisterRef RR) clear() argument [all...] |
/freebsd/lib/libc/locale/ |
H A D | rune.c | 61 _RuneEntry *rr; in _Read_RuneMagi() local 148 runetype_ext_len * sizeof(*rr->__types) + frl->variable_len); in _Read_RuneMagi() 187 rr = rl->__runetype_ext.__ranges; in _Read_RuneMagi() 191 rr[x].__min = frr[x].min; in _Read_RuneMagi() 192 rr[x].__max = frr[x].max; in _Read_RuneMagi() 193 rr[x].__map = frr[x].map; in _Read_RuneMagi() 194 if (rr[x].__map == 0) { in _Read_RuneMagi() 195 int len = rr[x].__max - rr[x].__min + 1; in _Read_RuneMagi() 198 rr[x].__types = rl->__variable; in _Read_RuneMagi() 199 rl->__variable = rr[x].__types + len; in _Read_RuneMagi() [all …]
|
/freebsd/crypto/openssl/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 | 165 * rr[i].type - is the type of record 166 * rr[i].data, - data 167 * rr[i].length, - number of bytes 178 SSL3_RECORD *rr, *thisrr; in ssl3_get_record() local 192 rr = RECORD_LAYER_get_rrec(&s->rlayer); in ssl3_get_record() 206 thisrr = &rr[num_recs]; in ssl3_get_record() 558 thisrr = &rr[j]; in ssl3_get_record() 589 enc_err = s->method->ssl3_enc->enc(s, rr, num_recs, 0, macbufs, mac_size); in ssl3_get_record() 615 thisrr = &rr[0]; in ssl3_get_record() 638 BIO_printf(trc_out, "dec %lu\n", (unsigned long)rr[0].length); in ssl3_get_record() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRInstrInfo.td | 364 // ADD Rd, Rr 366 def ADDRdRr : FRdRr<0b0000, 0b11, (outs GPR8:$rd),(ins GPR8:$src, GPR8:$rr), 367 "add\t$rd, $rr", 368 [(set i8:$rd, (add i8:$src, i8:$rr)), (implicit SREG)]>; 370 // ADDW Rd+1:Rd, Rr+1:Rr 374 // add Rd, Rr 375 // adc Rd+1, Rr+1 376 def ADDWRdRr : Pseudo<(outs DREGS:$rd), (ins DREGS:$src, DREGS:$rr), 377 "addw\t$rd, $rr", 378 [(set i16:$rd, (add i16:$src, i16:$rr)), [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | rpz.h | 130 * Create policy from RR and add to this RPZ. 134 * @param dname: dname of the RR 136 * @param rr_type: RR type of the RR 137 * @param rr_class: RR class of the RR 138 * @param rr_ttl: TTL of the RR 139 * @param rdatawl: rdata of the RR, prepended with the rdata size 140 * @param rdatalen: length if the RR, including the prepended rdata size 141 * @param rr: the complete RR, for logging purposes 142 * @param rr_len: the length of the complete RR 147 uint8_t* rdatawl, size_t rdatalen, uint8_t* rr, size_t rr_len); [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | sm_resolve.c | 160 RESOURCE_RECORD_T *rr; local 166 for (rr = dr->dns_r_head; rr != NULL; ) 168 RESOURCE_RECORD_T *tmp = rr; 170 if (rr->rr_domain != NULL) 171 sm_free(rr->rr_domain); 172 if (rr->rr_u.rr_data != NULL) 173 sm_free(rr->rr_u.rr_data); 174 rr = rr->rr_next; 181 ** BIN2HEX -- convert binary TLSA RR to hex string 185 ** p -- binary data (TLSA RR) [all …]
|