| /openbsd-src/include/rpc/ |
| H A D | clnt.h | 162 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ argument 163 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, (caddr_t)argsp, \ 165 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ argument 166 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, (caddr_t)argsp, \ 174 #define CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh)) argument 175 #define clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh)) argument 182 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 183 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 193 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) argument 194 #define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) argument [all …]
|
| /openbsd-src/sys/netinet6/ |
| H A D | route6.c | 58 struct ip6_rthdr *rh; in route6_input() local 62 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh)); in route6_input() 63 if (rh == NULL) { in route6_input() 68 switch (rh->ip6r_type) { in route6_input() 77 if (rh->ip6r_segleft == 0) { in route6_input() 78 rhlen = (rh->ip6r_len + 1) << 3; in route6_input() 83 (caddr_t)&rh->ip6r_type - (caddr_t)ip6); in route6_input() 88 return (rh->ip6r_nxt); in route6_input()
|
| /openbsd-src/sys/dev/microcode/bnx/ |
| H A D | build.c | 166 struct bnx_rv2p_header *rh; in main() local 302 rh = (struct bnx_rv2p_header *)malloc(sizeof *rh); in main() 304 bzero(rh, sizeof *rh); in main() 307 rh->bnx_rv2p_proc1len = htonl(bnx_rv2p_proc1len); in main() 308 rh->bnx_rv2p_proc2len = htonl(bnx_rv2p_proc2len); in main() 310 write_firmware(FILENAME_RV2P, rh, sizeof(*rh), chunks_rv2p, in main() 313 bzero(rh, sizeof *rh); in main() 316 rh->bnx_rv2p_proc1len = htonl(bnx_rv2p_proc1len); in main() 317 rh->bnx_rv2p_proc2len = htonl(bnx_rv2p_proc2len); in main() 319 write_firmware(FILENAME_XI_RV2P, rh, sizeof(*rh), chunks_xi_rv2p, in main() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | sprintf2.t | 643 my ($rh, $eh) = ($result, $expected); 647 my $rp = extract_prefix($rh); 649 print "# rp = $rp, ep = $ep (rh $rh, eh $eh)\n"; 654 my $re = extract_exponent($rh); 656 print "# re = $re, ee = $ee (rh $rh, eh $eh)\n"; 659 my $la = length($rh); 663 last if substr($rh, $i, 1) ne substr($eh, $i, 1); 665 $rh = substr($rh, $i); 667 print "# (rh $rh, eh $eh)\n"; 668 if ($rh ne $eh) { [all …]
|
| H A D | aassign.t | 36 my $rh = $_[0]; 37 join ',', map "$_:$rh->{$_}", sort keys %$rh; 77 my $rh = f2(); 78 my ($k, $v, %h) = (d => 4, %$rh, e => 6); 101 my $rh = f5(); 102 my %h = %$rh; # elements of %h on both sides
|
| H A D | multideref.t | 53 my $rh = {}; 56 push @a, 66, 77, 'abc', $rh; 57 %$rh = (foo => $ra, bar => 'BAR');
|
| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | print-udp.c | 208 struct rtcphdr *rh = (struct rtcphdr *)hdr; in rtcp_print() local 213 if ((u_char *)(rh + 1) > ep) { in rtcp_print() 217 len = (ntohs(rh->rh_len) + 1) * 4; in rtcp_print() 218 flags = ntohs(rh->rh_flags); in rtcp_print() 222 sr = (struct rtcp_sr *)(rh + 1); in rtcp_print() 224 if (len != cnt * sizeof(*rr) + sizeof(*sr) + sizeof(*rh)) in rtcp_print() 227 printf(" %u", (u_int32_t)ntohl(rh->rh_ssrc)); in rtcp_print() 241 if (len != cnt * sizeof(*rr) + sizeof(*rh)) in rtcp_print() 243 rr = (struct rtcp_rr *)(rh + 1); in rtcp_print() 245 printf(" %u", (u_int32_t)ntohl(rh->rh_ssrc)); in rtcp_print() [all …]
|
| H A D | print-802_11.c | 1427 struct ieee80211_radiotap_header *rh = in ieee802_11_radio_if_print() local 1441 TCHECK(*rh); in ieee802_11_radio_if_print() 1444 rh_len = letoh16(rh->it_len); in ieee802_11_radio_if_print() 1445 if (rh->it_version != 0) { in ieee802_11_radio_if_print() 1446 printf("[?radiotap + 802.11 v:%u]", rh->it_version); in ieee802_11_radio_if_print() 1456 if ((present = letoh32(rh->it_present)) == 0) in ieee802_11_radio_if_print() 1459 printf(", <radiotap v%u", rh->it_version); in ieee802_11_radio_if_print()
|
| /openbsd-src/usr.sbin/bgpd/ |
| H A D | rtr_proto.c | 414 struct rtr_header *rh, struct ibuf *pdu) in rtr_check_session_id() 416 if (session_id != ntohs(rh->session_id)) { 419 log_rtr_type(rh->type), ntohs(rh->session_id), session_id); 432 struct rtr_header rh; in rtr_parse_header() 436 if (ibuf_get(hdr, &rh, sizeof(rh)) == -1) in rtr_parse_header() 439 len = ntohl(rh.length); in rtr_parse_header() 443 log_rtr_type(rh.type), len); in rtr_parse_header() 463 struct rtr_header rh; in rtr_parse_header() 405 rtr_check_session_id(struct rtr_session * rs,uint16_t session_id,struct rtr_header * rh,struct ibuf * pdu) rtr_check_session_id() argument 426 struct rtr_header rh; rtr_parse_header() local 948 struct rtr_header rh; rtr_parse_error() local [all...] |
| /openbsd-src/regress/lib/libc/db/ |
| H A D | dbtest.c | 581 static RECNOINFO rh; local 641 rh.flags = atoi(eq); 642 return (&rh); 645 rh.cachesize = atoi(eq); 646 return (&rh); 649 rh.lorder = atoi(eq); 650 return (&rh); 653 rh.reclen = atoi(eq); 654 return (&rh); 657 rh.bval = atoi(eq); [all …]
|
| /openbsd-src/lib/libc/net/ |
| H A D | rthdr.c | 149 struct ip6_rthdr *rh = (struct ip6_rthdr *)bp; in inet6_rth_segments() local 153 switch (rh->ip6r_type) { in inet6_rth_segments() 174 struct ip6_rthdr *rh = (struct ip6_rthdr *)bp; in inet6_rth_getaddr() local 178 switch (rh->ip6r_type) { in inet6_rth_getaddr()
|
| /openbsd-src/sys/dev/usb/ |
| H A D | utrh.c | 203 int temp, rh, flen, olen; in utrh_refresh() local 236 rh = utrh_sht1x_rh(humidity_tick, temp); in utrh_refresh() 240 sc->sc_sensor[UTRH_HUMIDITY].value = rh; in utrh_refresh() 255 int rh_l, rh; in utrh_sht1x_rh() local 258 rh = ((temp - 2500) * (1 + (nticks >> 7)) + rh_l) / 10; in utrh_sht1x_rh() 259 return rh; in utrh_sht1x_rh()
|
| H A D | uthum.c | 641 int temp, rh; in uthum_refresh_temperhum() local 653 rh = uthum_sht1x_rh(buf[2], buf[3], temp); in uthum_refresh_temperhum() 657 rh += sc->sc_sensor[UTHUM_TEMPERHUM_HUM].cal_offset; in uthum_refresh_temperhum() 662 sc->sc_sensor[UTHUM_TEMPERHUM_HUM].sensor.value = rh; in uthum_refresh_temperhum()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Unicode-Collate/t/ |
| H A D | loc_cy.t | 56 ok($objCy->lt("r", "rh")); 57 ok($objCy->lt("rz","rh")); 58 ok($objCy->gt("s", "rh")); 79 ok($objCy->eq("rh", "Rh")); 100 ok($objCy->lt("rh", "Rh")); 121 ok($objCy->gt("rh", "Rh"));
|
| /openbsd-src/lib/libcrypto/ec/ |
| H A D | ecp_smpl.c | |
| /openbsd-src/usr.sbin/hostapd/ |
| H A D | print-802_11.c | 447 struct ieee80211_radiotap_header *rh = in ieee802_11_radio_if_print() local 456 TCHECK(*rh); in ieee802_11_radio_if_print() 458 rh_len = letoh16(rh->it_len); in ieee802_11_radio_if_print() 459 if (rh->it_version != 0) { in ieee802_11_radio_if_print() 460 PRINTF("[?radiotap + 802.11 v:%u]", rh->it_version); in ieee802_11_radio_if_print() 470 if ((present = letoh32(rh->it_present)) == 0) in ieee802_11_radio_if_print() 473 PRINTF(", <radiotap v%u", rh->it_version); in ieee802_11_radio_if_print()
|
| H A D | handle.c | 392 struct ieee80211_radiotap_header *rh = in hostapd_handle_radiotap() local 398 TCHECK(*rh); in hostapd_handle_radiotap() 400 rh_len = letoh16(rh->it_len); in hostapd_handle_radiotap() 401 if (rh->it_version != 0) in hostapd_handle_radiotap() 409 if ((rtap->r_present = letoh32(rh->it_present)) == 0) in hostapd_handle_radiotap()
|
| H A D | apme.c | 317 struct ieee80211_radiotap_header *rh; in hostapd_apme_offset() local 328 rh = (struct ieee80211_radiotap_header*)buf; in hostapd_apme_offset() 329 rh_len = letoh16(rh->it_len); in hostapd_apme_offset() 331 if (rh->it_version != 0) in hostapd_apme_offset()
|
| /openbsd-src/gnu/usr.bin/perl/lib/File/ |
| H A D | stat.t | 185 pipe my ($rh, $wh) 187 skip "Built-in -p doesn't detect a pipe", 2 unless -p $rh; 189 my $pstat = File::stat::stat($rh);
|
| /openbsd-src/regress/lib/libcrypto/x509/bettertls/certificates/ |
| H A D | 1714.key | 8 w6QUPM1BmRiY/rh+f0OmciEemq9gIkJOkJ56Hryjtkid7aQPKszKrkH6SI8i8ikZ
|
| H A D | 3238.key | 2 MIIEowIBAAKCAQEAuTX+24JfQJOLpgytkaG66IB/83PBjvzsEf1EsDDHTvRdF/rh
|
| H A D | 3008.key | 13 rh+7WUECgYEA0cI6Om4KcCFvHItDWW6krwvcnstN71rdzrsZz8GS7emoSjxL46GL
|
| H A D | 549.key | 2 MIIEowIBAAKCAQEA5kxzmi4cTYv2uxldzIPebtvRqlxAdSpSucsUl1J+GT/lQ/rh
|
| H A D | 1865.chain | 15 e3dQ+nW81fLfM/rh/TQkqrOxH8JPrEpttZMs+46NFp79CliiZmgmbiX/gQbxKTSR
|
| H A D | 2246.chain | 35 R1dj/W4mw4wIFAfJWJDyEcU2voMLUJIQGZJwN1CsrpvrzFr394gc0fe3LJM/R+rh
|