/freebsd/contrib/ldns/ldns/ |
H A D | str2host.h | 39 ldns_status ldns_str2rdf_int8(ldns_rdf **rd, const char *bytestr); 47 ldns_status ldns_str2rdf_int16(ldns_rdf **rd, const char *shortstr); 55 ldns_status ldns_str2rdf_int32(ldns_rdf **rd, const char *longstr); 63 ldns_status ldns_str2rdf_time(ldns_rdf **rd, const char *time); 70 ldns_status ldns_str2rdf_nsec3_salt(ldns_rdf **rd, const char *nsec3_salt); 77 ldns_status ldns_str2rdf_period(ldns_rdf **rd, const char *str); 85 ldns_status ldns_str2rdf_a(ldns_rdf **rd, const char *str); 93 ldns_status ldns_str2rdf_aaaa(ldns_rdf **rd, const char *str); 101 ldns_status ldns_str2rdf_str(ldns_rdf **rd, const char *str); 109 ldns_status ldns_str2rdf_apl(ldns_rdf **rd, const char *str); [all …]
|
H A D | rdata.h | 217 void ldns_rdf_set_size(ldns_rdf *rd, size_t size); 225 void ldns_rdf_set_type(ldns_rdf *rd, ldns_rdf_type type); 233 void ldns_rdf_set_data(ldns_rdf *rd, void *data); 242 size_t ldns_rdf_size(const ldns_rdf *rd); 250 ldns_rdf_type ldns_rdf_get_type(const ldns_rdf *rd); 258 uint8_t *ldns_rdf_data(const ldns_rdf *rd); 319 void ldns_rdf_free(ldns_rdf *rd); 327 void ldns_rdf_deep_free(ldns_rdf *rd); 376 ldns_rdf *ldns_rdf_address_reverse(const ldns_rdf *rd); 383 uint8_t ldns_rdf2native_int8(const ldns_rdf *rd); [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
H A D | RISCVCInstructions.h | 22 uint32_t rd; member 24 operator int() { return rd; } 25 operator Rd() { return Rd{rd + (shift ? 8 : 0)}; } in Rd() 26 operator Rs() { return Rs{rd + (shift ? 8 : 0)}; } in Rs() 53 auto rd = DecodeCI_RD(inst); in DecodeC_LWSP() local 57 if (rd == 0) in DecodeC_LWSP() 59 return LW{rd, Rs{gpr_sp_riscv}, uint32_t(offset)}; in DecodeC_LWSP() 63 auto rd = DecodeCI_RD(inst); in DecodeC_LDSP() local 67 if (rd == 0) in DecodeC_LDSP() 69 return LD{rd, Rs{gpr_sp_riscv}, uint32_t(offset)}; in DecodeC_LDSP() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcInstrAliases.td | 14 // mov<cond> <ccreg> rs2, rd 19 // mov<cond> (%icc|%xcc), rs2, rd 21 ", $rs2, $rd"), 22 (movrr IntRegs:$rd, IntRegs:$rs2, condVal)>; 24 // mov<cond> (%icc|%xcc), simm11, rd 26 ", $simm11, $rd"), 27 (movri IntRegs:$rd, i32imm:$simm11, condVal)>; 29 // fmovs<cond> (%icc|%xcc), $rs2, $rd 31 ", $rs2, $rd"), 32 (fmovs FPRegs:$rd, FPRegs:$rs2, condVal)>; [all …]
|
H A D | SparcInstrVIS.td | 20 (outs RC:$rd), (ins RC:$rs1, RC:$rs2), 21 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>; 26 (outs I64Regs:$rd), (ins DFPRegs:$rs1, DFPRegs:$rs2), 27 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>; 30 let rd = 0, rs1 = 0, rs2 = 0 in 34 // For VIS Instructions with only rs1, rd operands. 38 (outs RC:$rd), (ins RC:$rs1), 39 !strconcat(OpcStr, " $rs1, $rd"), []>; 41 // For VIS Instructions with only rs2, rd operands. 45 (outs RC:$rd), (ins RC:$rs2), [all …]
|
H A D | SparcInstrInfo.td | 408 (outs RC:$rd), (ins RC:$rs1, RC:$rs2), 409 !strconcat(OpcStr, " $rs1, $rs2, $rd"), 410 [(set Ty:$rd, (OpNode Ty:$rs1, Ty:$rs2))], 413 (outs RC:$rd), (ins RC:$rs1, immOp:$simm13), 414 !strconcat(OpcStr, " $rs1, $simm13, $rd"), 415 [(set Ty:$rd, (OpNode Ty:$rs1, (Ty simm13:$simm13)))], 423 (outs IntRegs:$rd), (ins IntRegs:$rs1, IntRegs:$rs2), 424 !strconcat(OpcStr, " $rs1, $rs2, $rd"), [], 427 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13), 428 !strconcat(OpcStr, " $rs1, $simm13, $rd"), [], [all …]
|
H A D | SparcInstr64Bit.td | 183 (outs I64Regs:$rd), (ins I64Regs:$rs1, I64Regs:$rs2), 184 "mulx $rs1, $rs2, $rd", 185 [(set i64:$rd, (mul i64:$rs1, i64:$rs2))]>; 187 (outs IntRegs:$rd), (ins IntRegs:$rs1, i64imm:$simm13), 188 "mulx $rs1, $simm13, $rd", 189 [(set i64:$rd, (mul i64:$rs1, (i64 simm13:$simm13)))]>; 194 (outs I64Regs:$rd), (ins I64Regs:$rs1, I64Regs:$rs2), 195 "sdivx $rs1, $rs2, $rd", 196 [(set i64:$rd, (sdiv i64:$rs1, i64:$rs2))]>; 198 (outs IntRegs:$rd), (ins IntRegs:$rs1, i64imm:$simm13), [all …]
|
/freebsd/contrib/unbound/sldns/ |
H A D | str2wire.h | 298 int sldns_str2wire_rdf_buf(const char* str, uint8_t* rd, size_t* len, 308 int sldns_str2wire_int8_buf(const char* str, uint8_t* rd, size_t* len); 317 int sldns_str2wire_int16_buf(const char* str, uint8_t* rd, size_t* len); 326 int sldns_str2wire_int32_buf(const char* str, uint8_t* rd, size_t* len); 335 int sldns_str2wire_a_buf(const char* str, uint8_t* rd, size_t* len); 344 int sldns_str2wire_aaaa_buf(const char* str, uint8_t* rd, size_t* len); 353 int sldns_str2wire_str_buf(const char* str, uint8_t* rd, size_t* len); 362 int sldns_str2wire_apl_buf(const char* str, uint8_t* rd, size_t* len); 371 int sldns_str2wire_b64_buf(const char* str, uint8_t* rd, size_t* len); 381 int sldns_str2wire_b32_ext_buf(const char* str, uint8_t* rd, size_t* len); [all …]
|
H A D | str2wire.c | 1173 sldns_str2wire_svcparam_port(const char* val, uint8_t* rd, size_t* rd_len) in sldns_str2wire_svcparam_port() argument 1187 sldns_write_uint16(rd, SVCB_KEY_PORT); in sldns_str2wire_svcparam_port() 1188 sldns_write_uint16(rd + 2, sizeof(uint16_t)); in sldns_str2wire_svcparam_port() 1189 sldns_write_uint16(rd + 4, port); in sldns_str2wire_svcparam_port() 1199 sldns_str2wire_svcbparam_ipv4hint(const char* val, uint8_t* rd, size_t* rd_len) in sldns_str2wire_svcbparam_ipv4hint() argument 1220 sldns_write_uint16(rd, SVCB_KEY_IPV4HINT); in sldns_str2wire_svcbparam_ipv4hint() 1221 sldns_write_uint16(rd + 2, LDNS_IP4ADDRLEN * count); in sldns_str2wire_svcbparam_ipv4hint() 1226 if (inet_pton(AF_INET, val, rd + *rd_len) != 1) in sldns_str2wire_svcbparam_ipv4hint() 1238 if (inet_pton(AF_INET, ip_str, rd + *rd_len) != 1) { in sldns_str2wire_svcbparam_ipv4hint() 1254 sldns_str2wire_svcbparam_ipv6hint(const char* val, uint8_t* rd, size_t* rd_len) in sldns_str2wire_svcbparam_ipv6hint() argument [all …]
|
/freebsd/usr.bin/gzip/ |
H A D | unlz.c | 162 lz_rd_create(struct lz_range_decoder *rd, FILE *fp) in lz_rd_create() argument 164 rd->fp = fp; in lz_rd_create() 165 rd->code = 0; in lz_rd_create() 166 rd->range = ~0; in lz_rd_create() 168 rd->code = (rd->code << 8) | (uint8_t)getc(rd->fp); in lz_rd_create() 169 return ferror(rd->fp) ? -1 : 0; in lz_rd_create() 173 lz_rd_decode(struct lz_range_decoder *rd, int num_bits) in lz_rd_decode() argument 178 rd->range >>= 1; in lz_rd_decode() 180 if (rd->code >= rd->range) { in lz_rd_decode() 181 rd->code -= rd->range; in lz_rd_decode() [all …]
|
/freebsd/contrib/ldns/ |
H A D | rdata.c | 24 ldns_rdf_size(const ldns_rdf *rd) in ldns_rdf_size() argument 26 assert(rd != NULL); in ldns_rdf_size() 27 return rd->_size; in ldns_rdf_size() 31 ldns_rdf_get_type(const ldns_rdf *rd) in ldns_rdf_get_type() argument 33 assert(rd != NULL); in ldns_rdf_get_type() 34 return rd->_type; in ldns_rdf_get_type() 38 ldns_rdf_data(const ldns_rdf *rd) in ldns_rdf_data() argument 40 assert(rd != NULL); in ldns_rdf_data() 41 return rd->_data; in ldns_rdf_data() 46 ldns_rdf_set_size(ldns_rdf *rd, size_t size) in ldns_rdf_set_size() argument [all …]
|
H A D | str2host.c | 37 ldns_str2rdf_int16(ldns_rdf **rd, const char *shortstr) in ldns_str2rdf_int16() argument 50 *rd = ldns_rdf_new_frm_data( in ldns_str2rdf_int16() 53 return *rd?LDNS_STATUS_OK:LDNS_STATUS_MEM_ERR; in ldns_str2rdf_int16() 58 ldns_str2rdf_time(ldns_rdf **rd, const char *time) in ldns_str2rdf_time() argument 102 *rd = ldns_rdf_new_frm_data( in ldns_str2rdf_time() 105 return *rd?LDNS_STATUS_OK:LDNS_STATUS_MEM_ERR; in ldns_str2rdf_time() 114 *rd = ldns_rdf_new_frm_data( in ldns_str2rdf_time() 117 return *rd?LDNS_STATUS_OK:LDNS_STATUS_MEM_ERR; in ldns_str2rdf_time() 127 ldns_str2rdf_nsec3_salt(ldns_rdf **rd, const char *salt_str) in ldns_str2rdf_nsec3_salt() argument 135 if(rd == NULL) { in ldns_str2rdf_nsec3_salt() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYInstrInfo16Instr.td | 122 def NEG16 : CSKYPseudo<(outs mGPR:$rd), (ins mGPR:$rx), "neg16 $rd, $rx", []>; 125 def RSUBI16 : CSKYPseudo<(outs mGPR:$rd), 126 (ins mGPR:$rx, uimm8:$imm8), "rsubi16 $rd, $rx, $imm8", []>; 579 def : CompressPat<(ADDU32 sGPR:$rd, sGPR:$rd, sGPR:$rs2), 580 (ADDU16XZ sGPR:$rd, sGPR:$rs2)>; 581 def : CompressPat<(ADDU32 sGPR:$rd, sGPR:$rs1, sGPR:$rd), 582 (ADDU16XZ sGPR:$rd, sGPR:$rs1)>; 583 def : CompressPat<(ADDU32 mGPR:$rd, mGPR:$rs1, mGPR:$rs2), 584 (ADDU16 mGPR:$rd, mGPR:$rs1, mGPR:$rs2)>; 585 def : CompressPat<(SUBU32 sGPR:$rd, sGPR:$rd, sGPR:$rs2), [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchLBTInstrFormats.td | 13 // rd/sd - destination register operand. 63 // <opcode | I4 | rd> 65 : LAInst<(outs GPR:$rd), (ins uimm4:$imm4), 66 deriveInsnMnemonic<NAME>.ret, "$rd, $imm4"> { 68 bits<5> rd; 72 let Inst{4-0} = rd; 89 // <opcode | rd | I5 | I4> 104 // <opcode | rd | I5 | I8> 106 : LAInst<(outs GPR:$rd), (ins uimm5:$imm5, uimm8:$imm8), 107 deriveInsnMnemonic<NAME>.ret, "$rd, $imm5, $imm8"> { [all …]
|
H A D | LoongArchInstrFormats.td | 13 // rd - destination register operand. 50 // <opcode | rj | rd> 55 bits<5> rd; 59 let Inst{4-0} = rd; 63 // <opcode | rk | rj | rd> 69 bits<5> rd; 74 let Inst{4-0} = rd; 78 // <opcode | I2 | rk | rj | rd> 85 bits<5> rd; 91 let Inst{4-0} = rd; [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | mips_arch.h | 27 # define mflo(rd,rs,rt) dmulu rd,rs,rt argument 28 # define mfhi(rd,rs,rt) dmuhu rd,rs,rt argument 31 # define mflo(rd,rs,rt) mulu rd,rs,rt argument 32 # define mfhi(rd,rs,rt) muhu rd,rs,rt argument 36 # define mflo(rd,rs,rt) mflo rd argument 37 # define mfhi(rd,rs,rt) mfhi rd argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRInstrInfo.td | 363 let isCommutable = 1, Constraints = "$src = $rd", Defs = [SREG] in { 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)]>; 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)), 384 def ADCRdRr : FRdRr<0b0001, 0b11, (outs GPR8:$rd), (ins GPR8:$src, GPR8:$rr), 385 "adc\t$rd, $rr", 386 [(set i8:$rd, (adde i8:$src, i8:$rr)), (implicit SREG)]>; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrInfo.td | 233 let rd = 0; 253 let isIndirectBranch = 1, rd = 0 in { 303 (outs GR16:$rd), (ins), "pop\t$rd", []> { 321 (outs GR8:$rd), (ins GR8:$rs), 322 "mov.b\t{$rs, $rd}", 325 (outs GR16:$rd), (ins GR16:$rs), 326 "mov\t{$rs, $rd}", 332 (outs GR8:$rd), (ins cg8imm:$imm), 333 "mov.b\t$imm, $rd", [all...] |
/freebsd/sys/powerpc/powerpc/ |
H A D | support.S | 194 #define rd %r4 macro 215 dcbtst 0, rd 231 STORE t1, 0(rd) 232 STORE t2, WORD*1(rd) 233 STORE t3, WORD*2(rd) 234 STORE t4, WORD*3(rd) 235 addi rd, rd, WORD*4 241 STORE t1, 0(rd) 242 STORE t2, WORD*1(rd) 243 addi rd, rd, WORD*2 [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | sparcv8.S | 63 rd %y,%g1 74 rd %y,%g1 85 rd %y,%g1 95 rd %y,%g1 117 rd %y,%g1 128 rd %y,%g1 140 rd %y,%g1 176 rd %y,%g1 183 rd %y,%g1 191 rd %y,%g1 [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_regdomain.c | 161 uint16_t rd = getEepromRD(ah); in isEepromValid() local 164 if (rd & COUNTRY_ERD_FLAG) { in isEepromValid() 165 uint16_t cc = rd &~ COUNTRY_ERD_FLAG; in isEepromValid() 171 if (regDomainPairs[i].regDmnEnum == rd) in isEepromValid() 175 if (rd == FCC_UBNT) { in isEepromValid() 180 "%s: invalid regulatory domain/country code 0x%x\n", __func__, rd); in isEepromValid() 233 uint16_t rd; in getDefaultCountry() local 235 rd = getEepromRD(ah); in getDefaultCountry() 236 if (rd & COUNTRY_ERD_FLAG) { in getDefaultCountry() 238 uint16_t cc = rd & ~COUNTRY_ERD_FLAG; in getDefaultCountry() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoC.td | 244 : RVInst16CI<funct3, 0b10, (outs cls:$rd), (ins SPMem:$rs1, opnd:$imm), 245 OpcodeStr, "$rd, ${imm}(${rs1})">; 256 : RVInst16CL<funct3, 0b00, (outs cls:$rd), (ins GPRCMem:$rs1, opnd:$imm), 257 OpcodeStr, "$rd, ${imm}(${rs1})">; 293 : RVInst16CA<funct6, funct2, 0b01, (outs cls:$rd_wb), (ins cls:$rd, cls:$rs2), 294 OpcodeStr, "$rd, $rs2"> { 295 bits<3> rd; 296 let Constraints = "$rd = $rd_wb"; 297 let Inst{9-7} = rd; 307 def C_ADDI4SPN : RVInst16CIW<0b000, 0b00, (outs GPRC:$rd), [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_regdomain.c | 61 struct ieee80211_regdomain *rd, in null_setregdomain() argument 115 const struct ieee80211_regdomain *rd, const uint8_t bands[]) in ieee80211_init_channels() argument 129 if (!(rd != NULL && rd->ecm)) in ieee80211_init_channels() 167 if (rd != NULL) in ieee80211_init_channels() 168 ic->ic_regdomain = *rd; in ieee80211_init_channels() 259 const struct ieee80211_regdomain *rd = &ic->ic_regdomain; in ieee80211_alloc_countryie() local 275 if (rd->isocc[0] == '\0') { in ieee80211_alloc_countryie() 277 rd->country); in ieee80211_alloc_countryie() 280 ie->cc[0] = rd->isocc[0]; in ieee80211_alloc_countryie() 281 ie->cc[1] = rd->isocc[1]; in ieee80211_alloc_countryie() [all …]
|
/freebsd/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 106 int rd; in check_signal() local 127 rd = recvmsg(s, &msg, 0); in check_signal() 128 if (rd == -1) { in check_signal() 133 if (rd != 5) in check_signal() 159 int check_signal(const unsigned char* buf, int rd, 165 if (rd != MAGIC_LEN) 174 got_it = memcmp(&buf[rd-5], "sorbo", 5) == 0; 212 int rd; in send_stuff() local 282 rd = sendto(s, buf, plen, 0, (struct sockaddr*)&dst, sizeof(dst)); in send_stuff() 283 if (rd == -1) { in send_stuff() [all …]
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_rnd.c | 54 rnddata_t rd; in ATF_TC_BODY() local 62 rd.entropy = 1; in ATF_TC_BODY() 63 rd.len = 1; in ATF_TC_BODY() 64 if (rump_sys_ioctl(fd, RNDADDDATA, &rd) == -1) in ATF_TC_BODY() 76 rnddata_t rd; in ATF_TC_BODY() local 84 rd.entropy = 1; in ATF_TC_BODY() 85 rd.len = -1; in ATF_TC_BODY() 86 ATF_REQUIRE_ERRNO(EINVAL, rump_sys_ioctl(fd, RNDADDDATA, &rd) == -1); in ATF_TC_BODY()
|