Searched refs:rd (Results 1 - 25 of 179) sorted by relevance

12345678

/freebsd-current/contrib/ldns/ldns/
H A Dstr2host.h35 * \param[out] rd the rdf where to put the data
39 ldns_status ldns_str2rdf_int8(ldns_rdf **rd, const char *bytestr);
43 * \param[out] rd the rdf where to put the data
47 ldns_status ldns_str2rdf_int16(ldns_rdf **rd, const char *shortstr);
51 * \param[out] rd the rdf where to put the data
55 ldns_status ldns_str2rdf_int32(ldns_rdf **rd, const char *longstr);
59 * \param[out] rd the rdf where to put the data
63 ldns_status ldns_str2rdf_time(ldns_rdf **rd, const char *time);
66 * \param[out] rd the rdf where to put the data
70 ldns_status ldns_str2rdf_nsec3_salt(ldns_rdf **rd, cons
[all...]
H A Drdata.h213 * \param[in] *rd the rdf to operate on
217 void ldns_rdf_set_size(ldns_rdf *rd, size_t size);
221 * \param[in] *rd the rdf to operate on
225 void ldns_rdf_set_type(ldns_rdf *rd, ldns_rdf_type type);
229 * \param[in] *rd the rdf to operate on
233 void ldns_rdf_set_data(ldns_rdf *rd, void *data);
239 * \param[in] *rd the rdf to read from
242 size_t ldns_rdf_size(const ldns_rdf *rd);
247 * \param[in] *rd the rdf to read from
250 ldns_rdf_type ldns_rdf_get_type(const ldns_rdf *rd);
[all...]
/freebsd-current/crypto/openssl/crypto/
H A Dmips_arch.h27 # define mflo(rd,rs,rt) dmulu rd,rs,rt
28 # define mfhi(rd,rs,rt) dmuhu rd,rs,rt
31 # define mflo(rd,rs,rt) mulu rd,rs,rt
32 # define mfhi(rd,rs,rt) muhu rd,rs,rt
36 # define mflo(rd,rs,rt) mflo rd
[all...]
/freebsd-current/contrib/bc/tests/dc/errors/
H A D25.txt2 0si[lid:rli1;rd:rli1;rpRli1+sili10>x]dsxx0sx0si
4 si[lid:rli1;rd:rli1;rpRli1+sili10>x]dsxx0sx0si
/freebsd-current/contrib/unbound/sldns/
H A Dstr2wire.h293 * @param rd: rdata buffer for the wireformat.
294 * @param len: length of rd buffer on input, used length on output.
298 int sldns_str2wire_rdf_buf(const char* str, uint8_t* rd, size_t* len,
304 * @param rd: rdata buffer for the wireformat.
305 * @param len: length of rd buffer on input, used length on output.
308 int sldns_str2wire_int8_buf(const char* str, uint8_t* rd, size_t* len);
313 * @param rd: rdata buffer for the wireformat.
314 * @param len: length of rd buffer on input, used length on output.
317 int sldns_str2wire_int16_buf(const char* str, uint8_t* rd, size_t* len);
322 * @param rd
[all...]
H A Dstr2wire.c352 case LDNS_RDF_TYPE_WKS : /* it is the last rd field. */
1173 sldns_str2wire_svcparam_port(const char* val, uint8_t* rd, size_t* rd_len) argument
1187 sldns_write_uint16(rd, SVCB_KEY_PORT);
1188 sldns_write_uint16(rd + 2, sizeof(uint16_t));
1189 sldns_write_uint16(rd + 4, port);
1199 sldns_str2wire_svcbparam_ipv4hint(const char* val, uint8_t* rd, size_t* rd_len) argument
1220 sldns_write_uint16(rd, SVCB_KEY_IPV4HINT);
1221 sldns_write_uint16(rd + 2, LDNS_IP4ADDRLEN * count);
1226 if (inet_pton(AF_INET, val, rd + *rd_len) != 1)
1238 if (inet_pton(AF_INET, ip_str, rd
1254 sldns_str2wire_svcbparam_ipv6hint(const char* val, uint8_t* rd, size_t* rd_len) argument
1316 sldns_str2wire_svcbparam_mandatory(const char* val, uint8_t* rd, size_t* rd_len) argument
1401 sldns_str2wire_svcbparam_ech_value(const char* val, uint8_t* rd, size_t* rd_len) argument
1475 sldns_str2wire_svcbparam_alpn_value(const char* val, uint8_t* rd, size_t* rd_len) argument
1523 sldns_str2wire_svcbparam_dohpath_value(const char* val, uint8_t* rd, size_t* rd_len) argument
1550 sldns_str2wire_svcparam_value(const char *key, size_t key_len, const char *val, uint8_t* rd, size_t* rd_len) argument
1618 sldns_str2wire_svcparam_buf(const char* str, uint8_t* rd, size_t* rd_len) argument
1660 sldns_str2wire_rdf_buf(const char* str, uint8_t* rd, size_t* len, sldns_rdf_type rdftype) argument
1744 sldns_str2wire_int8_buf(const char* str, uint8_t* rd, size_t* len) argument
1757 sldns_str2wire_int16_buf(const char* str, uint8_t* rd, size_t* len) argument
1770 sldns_str2wire_int32_buf(const char* str, uint8_t* rd, size_t* len) argument
1790 sldns_str2wire_a_buf(const char* str, uint8_t* rd, size_t* len) argument
1802 sldns_str2wire_aaaa_buf(const char* str, uint8_t* rd, size_t* len) argument
1818 sldns_str2wire_str_buf(const char* str, uint8_t* rd, size_t* len) argument
1843 sldns_str2wire_apl_buf(const char* str, uint8_t* rd, size_t* len) argument
1930 sldns_str2wire_b64_buf(const char* str, uint8_t* rd, size_t* len) argument
1947 sldns_str2wire_b32_ext_buf(const char* str, uint8_t* rd, size_t* len) argument
1973 sldns_str2wire_hex_buf(const char* str, uint8_t* rd, size_t* len) argument
2002 sldns_str2wire_nsec_buf(const char* str, uint8_t* rd, size_t* len) argument
2065 sldns_str2wire_type_buf(const char* str, uint8_t* rd, size_t* len) argument
2077 sldns_str2wire_class_buf(const char* str, uint8_t* rd, size_t* len) argument
2091 sldns_str2wire_cert_alg_buf(const char* str, uint8_t* rd, size_t* len) argument
2111 sldns_str2wire_alg_buf(const char* str, uint8_t* rd, size_t* len) argument
2126 sldns_str2wire_tsigerror_buf(const char* str, uint8_t* rd, size_t* len) argument
2141 sldns_str2wire_time_buf(const char* str, uint8_t* rd, size_t* len) argument
2183 sldns_str2wire_tsigtime_buf(const char* str, uint8_t* rd, size_t* len) argument
2201 sldns_str2wire_period_buf(const char* str, uint8_t* rd, size_t* len) argument
2257 sldns_str2wire_loc_buf(const char* str, uint8_t* rd, size_t* len) argument
2437 sldns_str2wire_wks_buf(const char* str, uint8_t* rd, size_t* len) argument
2519 sldns_str2wire_nsap_buf(const char* str, uint8_t* rd, size_t* len) argument
2553 sldns_str2wire_atma_buf(const char* str, uint8_t* rd, size_t* len) argument
2584 sldns_str2wire_ipseckey_buf(const char* str, uint8_t* rd, size_t* len) argument
2657 sldns_str2wire_nsec3_salt_buf(const char* str, uint8_t* rd, size_t* len) argument
2683 sldns_str2wire_ilnp64_buf(const char* str, uint8_t* rd, size_t* len) argument
2705 sldns_str2wire_eui48_buf(const char* str, uint8_t* rd, size_t* len) argument
2726 sldns_str2wire_eui64_buf(const char* str, uint8_t* rd, size_t* len) argument
2749 sldns_str2wire_tag_buf(const char* str, uint8_t* rd, size_t* len) argument
2768 sldns_str2wire_long_str_buf(const char* str, uint8_t* rd, size_t* len) argument
2786 sldns_str2wire_hip_buf(const char* str, uint8_t* rd, size_t* len) argument
2836 sldns_str2wire_int16_data_buf(const char* str, uint8_t* rd, size_t* len) argument
[all...]
/freebsd-current/contrib/netbsd-tests/kernel/
H A Dt_rnd.c54 rnddata_t rd; local
62 rd.entropy = 1;
63 rd.len = 1;
64 if (rump_sys_ioctl(fd, RNDADDDATA, &rd) == -1)
76 rnddata_t rd; local
84 rd.entropy = 1;
85 rd.len = -1;
86 ATF_REQUIRE_ERRNO(EINVAL, rump_sys_ioctl(fd, RNDADDDATA, &rd) == -1);
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DRISCVCInstructions.h22 uint32_t rd; member in struct:lldb_private::RxC
24 operator int() { return rd; }
25 operator Rd() { return Rd{rd + (shift ? 8 : 0)}; }
26 operator Rs() { return Rs{rd + (shift ? 8 : 0)}; }
53 auto rd = DecodeCI_RD(inst); local
57 if (rd == 0)
59 return LW{rd, Rs{gpr_sp_riscv}, uint32_t(offset)};
63 auto rd = DecodeCI_RD(inst); local
67 if (rd == 0)
69 return LD{rd, R
163 auto rd = DecodeCI_RD(inst); local
171 auto rd = DecodeCI_RD(inst); local
195 auto rd = DecodeCI_RD(inst); local
205 auto rd = DecodeCI_RD(inst); local
215 auto rd = DecodeCIW_RD(inst); local
229 auto rd = DecodeCI_RD(inst); local
237 auto rd = DecodeCB_RD(inst); local
245 auto rd = DecodeCB_RD(inst); local
253 auto rd = DecodeCB_RD(inst); local
261 auto rd = DecodeCR_RD(inst); local
269 auto rd = DecodeCR_RD(inst); local
274 auto rd = DecodeCA_RD(inst); local
279 auto rd = DecodeCA_RD(inst); local
284 auto rd = DecodeCA_RD(inst); local
289 auto rd = DecodeCA_RD(inst); local
294 auto rd = DecodeCA_RD(inst); local
299 auto rd = DecodeCA_RD(inst); local
317 auto rd = DecodeCI_RD(inst); local
331 auto rd = DecodeCI_RD(inst); local
[all...]
/freebsd-current/lib/libc/gen/
H A Dgetentropy.c110 ssize_t rd; local
122 rd = getrandom(buf, buflen, 0);
123 if (rd == -1) {
148 if (rd == 0)
151 buf = (char *)buf + rd;
152 buflen -= rd;
/freebsd-current/contrib/ldns/
H A Drdata.c24 ldns_rdf_size(const ldns_rdf *rd) argument
26 assert(rd != NULL);
27 return rd->_size;
31 ldns_rdf_get_type(const ldns_rdf *rd) argument
33 assert(rd != NULL);
34 return rd->_type;
38 ldns_rdf_data(const ldns_rdf *rd) argument
40 assert(rd != NULL);
41 return rd->_data;
46 ldns_rdf_set_size(ldns_rdf *rd, size_ argument
53 ldns_rdf_set_type(ldns_rdf *rd, ldns_rdf_type type) argument
60 ldns_rdf_set_data(ldns_rdf *rd, void *data) argument
70 ldns_rdf2native_int8(const ldns_rdf *rd) argument
84 ldns_rdf2native_int16(const ldns_rdf *rd) argument
98 ldns_rdf2native_int32(const ldns_rdf *rd) argument
112 ldns_rdf2native_time_t(const ldns_rdf *rd) argument
181 ldns_rdf *rd; local
222 ldns_rdf_clone(const ldns_rdf *rd) argument
230 ldns_rdf_deep_free(ldns_rdf *rd) argument
241 ldns_rdf_free(ldns_rdf *rd) argument
419 ldns_rdf_address_reverse(const ldns_rdf *rd) argument
[all...]
H A Dstr2host.c37 ldns_str2rdf_int16(ldns_rdf **rd, const char *shortstr) argument
50 *rd = ldns_rdf_new_frm_data(
53 return *rd?LDNS_STATUS_OK:LDNS_STATUS_MEM_ERR;
58 ldns_str2rdf_time(ldns_rdf **rd, const char *time) argument
102 *rd = ldns_rdf_new_frm_data(
105 return *rd?LDNS_STATUS_OK:LDNS_STATUS_MEM_ERR;
114 *rd = ldns_rdf_new_frm_data(
117 return *rd?LDNS_STATUS_OK:LDNS_STATUS_MEM_ERR;
127 ldns_str2rdf_nsec3_salt(ldns_rdf **rd, const char *salt_str) argument
135 if(rd
179 ldns_str2rdf_period(ldns_rdf **rd,const char *period) argument
198 ldns_str2rdf_int32(ldns_rdf **rd, const char *longstr) argument
229 ldns_str2rdf_int8(ldns_rdf **rd, const char *bytestr) argument
402 ldns_str2rdf_a(ldns_rdf **rd, const char *str) argument
415 ldns_str2rdf_aaaa(ldns_rdf **rd, const char *str) argument
429 ldns_str2rdf_str(ldns_rdf **rd, const char *str) argument
473 ldns_str2rdf_apl(ldns_rdf **rd, const char *str) argument
584 ldns_str2rdf_b64(ldns_rdf **rd, const char *str) argument
614 ldns_str2rdf_b32_ext(ldns_rdf **rd, const char *str) argument
645 ldns_str2rdf_hex(ldns_rdf **rd, const char *str) argument
691 ldns_str2rdf_nsec(ldns_rdf **rd, const char *str) argument
739 ldns_str2rdf_type(ldns_rdf **rd, const char *str) argument
750 ldns_str2rdf_class(ldns_rdf **rd, const char *str) argument
764 ldns_str2rdf_cert_alg(ldns_rdf **rd, const char *str) argument
816 ldns_str2rdf_mnemonic4int8(ldns_lookup_table *lt, ldns_rdf **rd, const char *str) argument
834 ldns_str2rdf_alg(ldns_rdf **rd, const char *str) argument
840 ldns_str2rdf_certificate_usage(ldns_rdf **rd, const char *str) argument
847 ldns_str2rdf_selector(ldns_rdf **rd, const char *str) argument
853 ldns_str2rdf_matching_type(ldns_rdf **rd, const char *str) argument
917 ldns_str2rdf_loc(ldns_rdf **rd, const char *str) argument
1092 ldns_str2rdf_wks(ldns_rdf **rd, const char *str) argument
1237 ldns_str2rdf_nsap(ldns_rdf **rd, const char *str) argument
1256 ldns_str2rdf_atma(ldns_rdf **rd, const char *str) argument
1276 ldns_str2rdf_ipseckey(ldns_rdf **rd, const char *str) argument
1430 ldns_str2rdf_ilnp64(ldns_rdf **rd, const char *str) argument
1453 ldns_str2rdf_eui48(ldns_rdf **rd, const char *str) argument
1476 ldns_str2rdf_eui64(ldns_rdf **rd, const char *str) argument
1501 ldns_str2rdf_tag(ldns_rdf **rd, const char *str) argument
1530 ldns_str2rdf_long_str(ldns_rdf **rd, const char *str) argument
1577 ldns_str2rdf_hip(ldns_rdf **rd, const char *str) argument
1673 ldns_str2rdf_amtrelay(ldns_rdf **rd, const char *str) argument
2332 ldns_str2rdf_svcparams(ldns_rdf **rd, const char *str) argument
2433 ldns_str2rdf_svcparams(ldns_rdf **rd, const char *str) argument
[all...]
/freebsd-current/usr.bin/gzip/
H A Dunlz.c162 lz_rd_create(struct lz_range_decoder *rd, FILE *fp) argument
164 rd->fp = fp;
165 rd->code = 0;
166 rd->range = ~0;
168 rd->code = (rd->code << 8) | (uint8_t)getc(rd->fp);
169 return ferror(rd->fp) ? -1 : 0;
173 lz_rd_decode(struct lz_range_decoder *rd, int num_bits) argument
178 rd
194 lz_rd_decode_bit(struct lz_range_decoder *rd, int *bm) argument
219 lz_rd_decode_tree(struct lz_range_decoder *rd, int *bm, int num_bits) argument
230 lz_rd_decode_tree_reversed(struct lz_range_decoder *rd, int *bm, int num_bits) argument
244 lz_rd_decode_matched(struct lz_range_decoder *rd, int *bm, int match_byte) argument
265 lz_rd_decode_len(struct lz_range_decoder *rd, struct lz_len_model *lm, int pos_state) argument
431 struct lz_range_decoder *rd = &lz->rdec; local
[all...]
/freebsd-current/tools/tools/net80211/wesside/dics/
H A Ddics.c106 int rd; local
127 rd = recvmsg(s, &msg, 0);
128 if (rd == -1) {
133 if (rd != 5)
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; local
282 rd = sendto(s, buf, plen, 0, (struct sockaddr*)&dst, sizeof(dst));
283 if (rd
301 int rd = 1; local
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_spawnattr.c50 ssize_t rd; local
77 rd = read(parent_pipe, &tmp, 1);
78 if (rd == 1) {
81 } else if (rd == -1) {
/freebsd-current/tools/tools/net80211/wesside/udps/
H A Dudps.c127 int rd; local
161 rd = select(s + 1, &rfds, NULL ,NULL ,&tv);
162 if (rd == -1) {
166 if (rd == 1 && FD_ISSET(s, &rfds)) {
167 rd = recvfrom(s, buf, 64, 0, (struct sockaddr*)&s_in, &len);
169 if(rd < 0) {
174 if(rd == 5 && memcmp(buf, "sorbo", 5) == 0) {
/freebsd-current/sys/powerpc/powerpc/
H A Dsupport.S194 #define rd %r4 define
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)
[all...]
/freebsd-current/crypto/openssl/crypto/bn/asm/
H A Dsparcv8.S63 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
[all...]
/freebsd-current/sys/net80211/
H A Dieee80211_regdomain.c61 struct ieee80211_regdomain *rd,
115 const struct ieee80211_regdomain *rd, const uint8_t bands[])
129 if (!(rd != NULL && rd->ecm))
167 if (rd != NULL)
168 ic->ic_regdomain = *rd;
259 const struct ieee80211_regdomain *rd = &ic->ic_regdomain; local
275 if (rd->isocc[0] == '\0') {
277 rd->country);
280 ie->cc[0] = rd
60 null_setregdomain(struct ieee80211com *ic, struct ieee80211_regdomain *rd, int nchans, struct ieee80211_channel chans[]) argument
114 ieee80211_init_channels(struct ieee80211com *ic, const struct ieee80211_regdomain *rd, const uint8_t bands[]) argument
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/
H A Dzpool_reopen_007_pos.ksh57 read -r name state rd wr cksum
59 log_must [ $rd -eq 0 ]
/freebsd-current/sys/dev/ath/ath_hal/
H A Dah_regdomain.c161 uint16_t rd = getEepromRD(ah); local
164 if (rd & COUNTRY_ERD_FLAG) {
165 uint16_t cc = rd &~ COUNTRY_ERD_FLAG;
171 if (regDomainPairs[i].regDmnEnum == rd)
175 if (rd == FCC_UBNT) {
180 "%s: invalid regulatory domain/country code 0x%x\n", __func__, rd);
233 uint16_t rd; local
235 rd = getEepromRD(ah);
236 if (rd & COUNTRY_ERD_FLAG) {
238 uint16_t cc = rd
364 getchannelBM(u_int mode, REG_DOMAIN *rd) argument
399 setchannelflags(struct ieee80211_channel *c, REG_DMN_FREQ_BAND *fband, REG_DOMAIN *rd) argument
420 addchan(struct ath_hal *ah, struct ieee80211_channel chans[], u_int maxchans, int *nchans, uint16_t freq, uint32_t flags, REG_DMN_FREQ_BAND *fband, REG_DOMAIN *rd) argument
470 add_chanlist_band(struct ath_hal *ah, struct ieee80211_channel chans[], int maxchans, int *nchans, uint16_t freq_lo, uint16_t freq_hi, int step, uint32_t flags, REG_DMN_FREQ_BAND *fband, REG_DOMAIN *rd) argument
513 add_chanlist_mode(struct ath_hal *ah, struct ieee80211_channel chans[], u_int maxchans, int *nchans, const struct cmode *cm, REG_DOMAIN *rd, HAL_BOOL enableExtendedChannels) argument
682 REG_DOMAIN *rd; local
846 ath_hal_set_channels(struct ath_hal *ah, struct ieee80211_channel chans[], int nchans, HAL_CTRY_CODE cc, HAL_REG_DOMAIN rd) argument
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp294 ssize_t rd = 0; local
295 rd = fvc_read(m_fvc, addr, buf, size);
296 if (rd < 0 || static_cast<size_t>(rd) != size) {
298 return rd > 0 ? rd : 0;
300 return rd;
321 ssize_t rd = 0; local
322 rd = kvm_read2(m_kvm, addr, buf, size);
323 if (rd <
[all...]
/freebsd-current/crypto/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c512 static int check_random_device(struct random_device * rd) argument
516 return rd->fd != -1
517 && fstat(rd->fd, &st) != -1
518 && rd->dev == st.st_dev
519 && rd->ino == st.st_ino
520 && ((rd->mode ^ st.st_mode) & ~(S_IRWXU | S_IRWXG | S_IRWXO)) == 0
521 && rd->rdev == st.st_rdev;
530 struct random_device * rd = &random_devices[n]; local
533 if (check_random_device(rd))
534 return rd
559 struct random_device * rd = &random_devices[n]; local
[all...]
/freebsd-current/sys/powerpc/booke/
H A Dspe.c475 uint32_t cr_shift, ra, rb, rd, src; local
494 * 'cr' field is the upper 3 bits of rd. Magically, since a) rd is 5
496 * modified for most compare operations, the full value of rd can be
499 rd = (instr >> 21) & 0x1f;
503 cr_shift = 28 - (rd & 0x1f);
516 frame->fixreg[rd] = frame->fixreg[ra] & ~(1U << 31);
517 spe_load_reg_high(rd, high);
521 frame->fixreg[rd] = frame->fixreg[ra] | (1U << 31);
522 spe_load_reg_high(rd, hig
[all...]
/freebsd-current/crypto/openssl/crypto/ocsp/
H A Docsp_prn.c139 OCSP_RESPDATA *rd = NULL; local
164 rd = &br->tbsResponseData;
165 l = ASN1_INTEGER_get(rd->version);
171 rid = &rd->responderId;
183 if (!ASN1_GENERALIZEDTIME_print(bp, rd->producedAt))
187 for (i = 0; i < sk_OCSP_SINGLERESP_num(rd->responses); i++) {
188 if (!sk_OCSP_SINGLERESP_value(rd->responses, i))
190 single = sk_OCSP_SINGLERESP_value(rd->responses, i);
232 rd->responseExtensions, flags, 4))
/freebsd-current/tools/tools/net80211/w00t/redir/
H A Dbuddy.c102 int rd; local
105 rd = recv(raw, buf, sizeof(buf), 0);
106 if (rd == -1)
109 if (handle_data(dude, buf, rd) == -1)

Completed in 544 milliseconds

12345678