| /netbsd-src/external/gpl2/lvm2/dist/libdm/ |
| H A D | libdm-report.c | 83 struct dm_report *rh; member 88 static const struct dm_report_object_type *_find_type(struct dm_report *rh, in _find_type() argument 93 for (t = rh->types; t->data_fn; t++) in _find_type() 104 int dm_report_field_string(struct dm_report *rh, in dm_report_field_string() argument 109 if (!(repstr = dm_pool_strdup(rh->mem, *data))) { in dm_report_field_string() 120 int dm_report_field_int(struct dm_report *rh, in dm_report_field_int() argument 127 if (!(repstr = dm_pool_zalloc(rh->mem, 13))) { in dm_report_field_int() 132 if (!(sortval = dm_pool_alloc(rh->mem, sizeof(int64_t)))) { in dm_report_field_int() 149 int dm_report_field_uint32(struct dm_report *rh, in dm_report_field_uint32() argument 156 if (!(repstr = dm_pool_zalloc(rh->mem, 12))) { in dm_report_field_uint32() [all …]
|
| H A D | libdevmapper.h | 971 int (*report_fn)(struct dm_report *rh, struct dm_pool *mem, 996 int dm_report_object(struct dm_report *rh, void *object); 997 int dm_report_output(struct dm_report *rh); 998 void dm_report_free(struct dm_report *rh); 1003 int dm_report_set_output_field_name_prefix(struct dm_report *rh, 1010 int dm_report_field_string(struct dm_report *rh, struct dm_report_field *field, 1012 int dm_report_field_int32(struct dm_report *rh, struct dm_report_field *field, 1014 int dm_report_field_uint32(struct dm_report *rh, struct dm_report_field *field, 1016 int dm_report_field_int(struct dm_report *rh, struct dm_report_field *field, 1018 int dm_report_field_uint64(struct dm_report *rh, struct dm_report_field *field,
|
| /netbsd-src/include/rpc/ |
| H A D | clnt.h | 208 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ argument 209 ((*(rh)->cl_ops->cl_call)(rh, proc, (xdrproc_t)xargs, \ 212 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ argument 213 ((*(rh)->cl_ops->cl_call)(rh, proc, (xdrproc_t)xargs, \ 222 #define CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh)) argument 223 #define clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh)) argument 230 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 231 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 241 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) argument 242 #define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) argument [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/mpn/sparc64/ |
| H A D | mod_1_4.c | 94 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; in mpn_mod_1s_4p() local 116 umul_ppmm_s (rh, rl, ap[n - 1], B3modb); in mpn_mod_1s_4p() 117 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 121 rh = 0; in mpn_mod_1s_4p() 126 rh = ap[n - 1]; in mpn_mod_1s_4p() 133 umul_ppmm_s (rh, rl, ap[n - 1], B2modb); in mpn_mod_1s_4p() 134 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 160 umul_ppmm_s (rh, rl, rh, B5modb); in mpn_mod_1s_4p() 161 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 164 umul_ppmm_s (rh, cl, rh, B1modb); in mpn_mod_1s_4p() [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/report/ |
| H A D | report.c | 60 static int _string_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)), in _string_disp() argument 64 return dm_report_field_string(rh, field, (const char **) data); in _string_disp() 67 static int _dev_name_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)), in _dev_name_disp() argument 73 return dm_report_field_string(rh, field, &name); in _dev_name_disp() 151 static int _devices_disp(struct dm_report *rh __attribute((unused)), struct dm_pool *mem, in _devices_disp() 158 static int _peranges_disp(struct dm_report *rh __attribute((unused)), struct dm_pool *mem, in _peranges_disp() 165 static int _tags_disp(struct dm_report *rh __attribute((unused)), struct dm_pool *mem, in _tags_disp() 195 static int _modules_disp(struct dm_report *rh, struct dm_pool *mem, in _modules_disp() argument 210 return _tags_disp(rh, mem, field, modules, private); in _modules_disp() 213 static int _vgfmt_disp(struct dm_report *rh, struct dm_pool *mem, in _vgfmt_disp() argument [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/mpn/generic/ |
| H A D | mod_1_4.c | 92 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; in mpn_mod_1s_4p() local 112 umul_ppmm (rh, rl, ap[n - 1], B3modb); in mpn_mod_1s_4p() 113 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 117 rh = 0; in mpn_mod_1s_4p() 122 rh = ap[n - 1]; in mpn_mod_1s_4p() 129 umul_ppmm (rh, rl, ap[n - 1], B2modb); in mpn_mod_1s_4p() 130 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 156 umul_ppmm (rh, rl, rh, B5modb); in mpn_mod_1s_4p() 157 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 160 umul_ppmm (rh, cl, rh, B1modb); in mpn_mod_1s_4p() [all …]
|
| H A D | mod_1_3.c | 89 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; in mpn_mod_1s_3p() local 109 umul_ppmm (rh, rl, ap[n - 1], B2modb); in mpn_mod_1s_3p() 110 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_3p() 114 rh = 0; in mpn_mod_1s_3p() 119 rh = ap[n - 1]; in mpn_mod_1s_3p() 142 umul_ppmm (rh, rl, rh, B4modb); in mpn_mod_1s_3p() 143 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_3p() 146 umul_ppmm (rh, cl, rh, B1modb); in mpn_mod_1s_3p() 147 add_ssaaaa (rh, rl, rh, rl, CNST_LIMB(0), cl); in mpn_mod_1s_3p() 152 r = (rh << cnt) | (rl >> (GMP_LIMB_BITS - cnt)); in mpn_mod_1s_3p()
|
| H A D | mod_1_2.c | 86 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; in mpn_mod_1s_2p() local 111 umul_ppmm (rh, rl, ap[n - 1], B2modb); in mpn_mod_1s_2p() 112 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_2p() 117 rh = ap[n - 1]; in mpn_mod_1s_2p() 134 umul_ppmm (rh, rl, rh, B3modb); in mpn_mod_1s_2p() 135 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_2p() 138 umul_ppmm (rh, cl, rh, B1modb); in mpn_mod_1s_2p() 139 add_ssaaaa (rh, rl, rh, rl, CNST_LIMB(0), cl); in mpn_mod_1s_2p() 144 r = (rh << cnt) | (rl >> (GMP_LIMB_BITS - cnt)); in mpn_mod_1s_2p()
|
| H A D | pow_1.c | 81 mp_limb_t rl, rh, bl = bp[0]; in mpn_pow_1() local 86 umul_ppmm (rh, rl, bl, bl << GMP_NAIL_BITS); in mpn_pow_1() 88 rp[1] = rh; in mpn_pow_1() 89 rn = 1 + (rh != 0); in mpn_pow_1() 96 rp[rn] = rh = mpn_mul_1 (rp, rp, rn, bl); in mpn_pow_1() 97 rn += rh != 0; in mpn_pow_1()
|
| H A D | mod_1_1.c | 192 mp_limb_t rh, rl, bi, ph, pl, r; in mpn_mod_1_1p() local 205 add_ssaaaa (rh, rl, ph, pl, CNST_LIMB(0), ap[n - 2]); in mpn_mod_1_1p() 216 umul_ppmm (rh, rl, rh, B2modb); in mpn_mod_1_1p() 217 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1_1p() 224 rh = (rh << cnt) | (rl >> (GMP_LIMB_BITS - cnt)); in mpn_mod_1_1p() 226 mask = -(mp_limb_t) (rh >= b); in mpn_mod_1_1p() 227 rh -= mask & b; in mpn_mod_1_1p() 229 udiv_rnnd_preinv (r, rh, rl << cnt, b, bi); in mpn_mod_1_1p()
|
| H A D | bdiv_qr.c | 51 mp_limb_t rh; in mpn_bdiv_qr() local 59 rh = mpn_sbpi1_bdiv_qr (qp, tp, nn, dp, dn, di); in mpn_bdiv_qr() 66 rh = mpn_dcpi1_bdiv_qr (qp, tp, nn, dp, dn, di); in mpn_bdiv_qr() 71 rh = mpn_mu_bdiv_qr (qp, rp, np, nn, dp, dn, tp); in mpn_bdiv_qr() 74 return rh; in mpn_bdiv_qr()
|
| H A D | dcpi1_bdiv_qr.c | 66 mp_limb_t rh; in mpn_dcpi1_bdiv_qr_n() local 79 rh = mpn_add (np + lo, np + lo, n + hi, tp, n); in mpn_dcpi1_bdiv_qr_n() 89 rh += mpn_add_n (np + n, np + n, tp, n); in mpn_dcpi1_bdiv_qr_n() 91 return rh; in mpn_dcpi1_bdiv_qr_n()
|
| /netbsd-src/sys/netinet6/ |
| H A D | route6.c | 54 struct ip6_rthdr *rh; in route6_input() local 57 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh)); in route6_input() 58 if (rh == NULL) { in route6_input() 63 switch (rh->ip6r_type) { in route6_input() 70 if (rh->ip6r_segleft == 0) { in route6_input() 71 rhlen = (rh->ip6r_len + 1) << 3; in route6_input() 81 return rh->ip6r_nxt; in route6_input()
|
| /netbsd-src/external/lgpl3/gmp/dist/tests/mpn/ |
| H A D | t-bdiv.c | 59 check_one (mp_ptr qp, mp_srcptr rp, mp_limb_t rh, in check_one() argument 84 || (rp != NULL && (cy != rh || mpn_cmp (tp + qn, rp, dn) != 0))) in check_one() 94 printf ("Rb= %d, Cy=%d\n", (int) cy, (int) rh); in check_one() 136 mp_limb_t rh; in main() local 245 rh = mpn_sbpi1_bdiv_qr (qp, rp, nn, dp, dn, -dinv); in main() 248 check_one (qp, rp + nn - dn, rh, np, nn, dp, dn, "mpn_sbpi1_bdiv_qr"); in main() 271 rh = mpn_dcpi1_bdiv_qr (qp, rp, nn, dp, dn, -dinv); in main() 274 check_one (qp, rp + nn - dn, rh, np, nn, dp, dn, "mpn_dcpi1_bdiv_qr"); in main() 301 rh = mpn_bdiv_qr (qp, rp, np, nn, dp, dn, scratch); in main() 306 check_one (qp, rp, rh, np, nn, dp, dn, "mpn_bdiv_qr"); in main() [all …]
|
| /netbsd-src/tests/lib/libc/db/ |
| H A D | h_db.c | 617 static RECNOINFO rh; in setinfo() local 677 rh.flags = atoi(eq); in setinfo() 678 return &rh; in setinfo() 681 rh.cachesize = atoi(eq); in setinfo() 682 return &rh; in setinfo() 685 rh.lorder = atoi(eq); in setinfo() 686 return &rh; in setinfo() 689 rh.reclen = atoi(eq); in setinfo() 690 return &rh; in setinfo() 693 rh.bval = atoi(eq); in setinfo() [all …]
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_write_set_format_warc.c | 229 warc_essential_hdr_t rh = { in _warc_header() local 239 rh.tgturi = archive_entry_pathname(entry); in _warc_header() 240 rh.rtime = w->now; in _warc_header() 241 rh.mtime = archive_entry_mtime(entry); in _warc_header() 242 rh.cntlen = (size_t)archive_entry_size(entry); in _warc_header() 245 r = _popul_ehdr(&hdr, MAX_HDR_SIZE, rh); in _warc_header() 257 w->populz = rh.cntlen; in _warc_header()
|
| /netbsd-src/external/gpl3/binutils.old/dist/cpu/ |
| H A D | mep-rhcop.cpu | 27 (define-pmacro rh-isa-1 () (ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64)) 30 (name h-cr64-rh-1) 31 (comment "64-bit coprocessor registers for rh coprocessor for core 1") 32 (attrs VIRTUAL rh-isa-1) 40 (name h-cr-rh-1) 41 (comment "32-bit coprocessor registers for rh coprocessor for core 1") 42 (attrs VIRTUAL rh-isa-1) 50 (name h-ccr-rh-1) 51 (comment "Coprocessor control registers for rh coprocessor for core 1") 52 (attrs VIRTUAL rh-isa-1) [all …]
|
| /netbsd-src/external/gpl3/gdb/dist/cpu/ |
| H A D | mep-rhcop.cpu | 27 (define-pmacro rh-isa-1 () (ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64)) 30 (name h-cr64-rh-1) 31 (comment "64-bit coprocessor registers for rh coprocessor for core 1") 32 (attrs VIRTUAL rh-isa-1) 40 (name h-cr-rh-1) 41 (comment "32-bit coprocessor registers for rh coprocessor for core 1") 42 (attrs VIRTUAL rh-isa-1) 50 (name h-ccr-rh-1) 51 (comment "Coprocessor control registers for rh coprocessor for core 1") 52 (attrs VIRTUAL rh-isa-1) [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/cpu/ |
| H A D | mep-rhcop.cpu | 27 (define-pmacro rh-isa-1 () (ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64)) 30 (name h-cr64-rh-1) 31 (comment "64-bit coprocessor registers for rh coprocessor for core 1") 32 (attrs VIRTUAL rh-isa-1) 40 (name h-cr-rh-1) 41 (comment "32-bit coprocessor registers for rh coprocessor for core 1") 42 (attrs VIRTUAL rh-isa-1) 50 (name h-ccr-rh-1) 51 (comment "Coprocessor control registers for rh coprocessor for core 1") 52 (attrs VIRTUAL rh-isa-1) [all …]
|
| /netbsd-src/external/gpl3/gdb.old/dist/cpu/ |
| H A D | mep-rhcop.cpu | 27 (define-pmacro rh-isa-1 () (ISA ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64)) 30 (name h-cr64-rh-1) 31 (comment "64-bit coprocessor registers for rh coprocessor for core 1") 32 (attrs VIRTUAL rh-isa-1) 40 (name h-cr-rh-1) 41 (comment "32-bit coprocessor registers for rh coprocessor for core 1") 42 (attrs VIRTUAL rh-isa-1) 50 (name h-ccr-rh-1) 51 (comment "Coprocessor control registers for rh coprocessor for core 1") 52 (attrs VIRTUAL rh-isa-1) [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/tools/ |
| H A D | dmsetup.c | 1947 static int _int32_disp(struct dm_report *rh, in _int32_disp() argument 1954 return dm_report_field_int32(rh, field, &value); in _int32_disp() 1957 static int _uint32_disp(struct dm_report *rh, in _uint32_disp() argument 1964 return dm_report_field_uint32(rh, field, &value); in _uint32_disp() 1967 static int _dm_name_disp(struct dm_report *rh, in _dm_name_disp() argument 1974 return dm_report_field_string(rh, field, &name); in _dm_name_disp() 1977 static int _dm_uuid_disp(struct dm_report *rh, in _dm_uuid_disp() argument 1987 return dm_report_field_string(rh, field, &uuid); in _dm_uuid_disp() 1990 static int _dm_read_ahead_disp(struct dm_report *rh, in _dm_read_ahead_disp() argument 2000 return dm_report_field_uint32(rh, field, &value); in _dm_read_ahead_disp() [all …]
|
| /netbsd-src/sys/dev/marvell/ |
| H A D | mvsdio.c | 331 uint16_t rh[MVSDIO_NRH + 1]; in mvsdio_intr() local 336 rh[i + 1] = bus_space_read_4(sc->sc_iot, in mvsdio_intr() 338 rh[0] = 0; in mvsdio_intr() 341 rh[i - 1] << 30 | in mvsdio_intr() 342 rh[i + 0] << 14 | in mvsdio_intr() 343 rh[i + 1] >> 2; in mvsdio_intr() 348 rh[i] = bus_space_read_4(sc->sc_iot, in mvsdio_intr() 351 ((rh[0] & 0x03ff) << 22) | in mvsdio_intr() 352 ((rh[1] ) << 6) | in mvsdio_intr() 353 ((rh[2] & 0x003f) << 0); in mvsdio_intr() [all …]
|
| /netbsd-src/lib/libc/net/ |
| H A D | rthdr.c | 403 const struct ip6_rthdr *rh; in inet6_rth_segments() local 409 rh = (const struct ip6_rthdr *)bp; in inet6_rth_segments() 411 switch (rh->ip6r_type) { in inet6_rth_segments() 432 const struct ip6_rthdr *rh; in inet6_rth_getaddr() local 438 rh = (const struct ip6_rthdr *)bp; in inet6_rth_getaddr() 440 switch (rh->ip6r_type) { in inet6_rth_getaddr()
|
| /netbsd-src/external/bsd/unbound/dist/contrib/ |
| H A D | update-anchor.sh | 60 rh="" 63 rh="-C $tmp3" 65 $ubhost -v $rh $filearg "$keyfile" -t DNSKEY "$zonename" >$tmpfile
|
| /netbsd-src/external/gpl2/lvm2/dist/include/ |
| H A D | libdevmapper.h | 971 int (*report_fn)(struct dm_report *rh, struct dm_pool *mem, 996 int dm_report_object(struct dm_report *rh, void *object); 997 int dm_report_output(struct dm_report *rh); 998 void dm_report_free(struct dm_report *rh); 1003 int dm_report_set_output_field_name_prefix(struct dm_report *rh, 1010 int dm_report_field_string(struct dm_report *rh, struct dm_report_field *field, 1012 int dm_report_field_int32(struct dm_report *rh, struct dm_report_field *field, 1014 int dm_report_field_uint32(struct dm_report *rh, struct dm_report_field *field, 1016 int dm_report_field_int(struct dm_report *rh, struct dm_report_field *field, 1018 int dm_report_field_uint64(struct dm_report *rh, struct dm_report_field *field,
|