/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/ |
H A D | atomic.h | 32 atomic_store_explicit((o), (v), memory_order_relaxed) argument 34 #define atomic_fetch_add_relaxed(o, v) \ argument 35 atomic_fetch_add_explicit((o), (v), memory_order_relaxed) argument 37 atomic_fetch_sub_explicit((o), (v), memory_order_relaxed) argument 39 atomic_fetch_or_explicit((o), ( argument 41 atomic_fetch_and_relaxed(o,v) global() argument 43 atomic_exchange_relaxed(o,v) global() argument 45 atomic_compare_exchange_weak_relaxed(o,e,d) global() argument 48 atomic_compare_exchange_strong_relaxed(o,e,d) global() argument 51 atomic_compare_exchange_strong_acq_rel(o,e,d) global() argument 57 atomic_store_release(o,v) global() argument 59 atomic_load_acquire(o) global() argument 60 atomic_fetch_add_release(o,v) global() argument 62 atomic_fetch_sub_release(o,v) global() argument 64 atomic_fetch_and_release(o,v) global() argument 66 atomic_fetch_or_release(o,v) global() argument 68 atomic_exchange_acq_rel(o,v) global() argument 70 atomic_fetch_sub_acq_rel(o,v) global() argument 72 atomic_compare_exchange_weak_acq_rel(o,e,d) global() argument 75 atomic_compare_exchange_strong_acq_rel(o,e,d) global() argument 80 atomic_compare_exchange_enforced(o,e,d) global() argument [all...] |
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
H A D | atomic.h | 30 #define atomic_store_relaxed(o, v) \ argument 32 #define atomic_load_relaxed(o) atomic_load_explicit((o), memory_order_relaxed) argument 33 #define atomic_fetch_add_relaxed(o, v) \ argument 35 #define atomic_fetch_sub_relaxed(o, v) \ argument 37 #define atomic_fetch_or_relaxed(o, v) \ argument 39 #define atomic_fetch_and_relaxed(o, v) \ argument 41 #define atomic_exchange_relaxed(o, v) \ argument 43 #define atomic_compare_exchange_weak_relaxed(o, e, d) \ argument 46 #define atomic_compare_exchange_strong_relaxed(o, e, d) \ argument 49 #define atomic_compare_exchange_strong_acq_rel(o, e, d) \ argument [all …]
|
/netbsd-src/external/mpl/dhcp/bind/include/isc/ |
H A D | atomic.h | 32 #define atomic_store_relaxed(o, v) \ argument 34 #define atomic_load_relaxed(o) atomic_load_explicit((o), memory_order_relaxed) argument 35 #define atomic_fetch_add_relaxed(o, v) \ argument 37 #define atomic_fetch_sub_relaxed(o, v) \ argument 39 #define atomic_fetch_or_relaxed(o, v) \ argument 41 #define atomic_fetch_and_relaxed(o, v) \ argument 43 #define atomic_exchange_relaxed(o, v) \ argument 45 #define atomic_compare_exchange_weak_relaxed(o, e, d) \ argument 48 #define atomic_compare_exchange_strong_relaxed(o, e, d) \ argument 51 #define atomic_compare_exchange_strong_acq_rel(o, e, d) \ argument [all …]
|
/netbsd-src/sys/arch/atari/atari/ |
H A D | le_bus.c | 248 #define __read_1(h, o) *((volatile uint8_t *)((h) + (o))) argument 249 #define __read_2(h, o) swap16(*((volatile uint16_t *)((h) + (o)))) argument 250 #define __read_4(h, o) swap32(*((volatile uint32_t *)((h) + (o)))) argument 251 #define __read_8(h, o) bswap64(*((volatile uint64_t *)((h) + (o)))) argument 253 #define __write_1(h, o, v) *((volatile uint8_t *)((h) + (o))) = (v) argument 254 #define __write_2(h, o, v) *((volatile uint16_t *)((h) + (o))) = swap16(v) argument 255 #define __write_4(h, o, v) *((volatile uint32_t *)((h) + (o))) = swap32(v) argument 256 #define __write_8(h, o, v) *((volatile uint64_t *)((h) + (o))) = bswap64(v) argument 350 leb_bus_space_peek_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in leb_bus_space_peek_1() 357 leb_bus_space_peek_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in leb_bus_space_peek_2() [all …]
|
H A D | be_bus.c | 164 #define __read_1(h, o) *((volatile uint8_t *)((h) + (o))) argument 165 #define __read_2(h, o) *((volatile uint16_t *)((h) + (o))) argument 166 #define __read_4(h, o) *((volatile uint32_t *)((h) + (o))) argument 167 #define __read_8(h, o) *((volatile uint64_t *)((h) + (o))) argument 169 #define __write_1(h, o, v) *((volatile uint8_t *)((h) + (o))) = (v) argument 170 #define __write_2(h, o, v) *((volatile uint16_t *)((h) + (o))) = (v) argument 171 #define __write_4(h, o, v) *((volatile uint32_t *)((h) + (o))) = (v) argument 172 #define __write_8(h, o, v) *((volatile uint64_t *)((h) + (o))) = (v) argument 266 beb_bus_space_peek_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in beb_bus_space_peek_1() 273 beb_bus_space_peek_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in beb_bus_space_peek_2() [all …]
|
H A D | mainbus.c | 144 #define __read_1(t, h, o) \ argument 146 #define __read_2(t, h, o) \ argument 148 #define __read_4(t, h, o) \ argument 150 #define __read_8(t, h, o) \ argument 153 #define __write_1(t, h, o, v) \ argument 156 #define __write_2(t, h, o, v) \ argument 159 #define __write_4(t, h, o, v) \ argument 162 #define __write_8(t, h, o, v) \ argument 243 mb_bus_space_peek_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in mb_bus_space_peek_1() 250 mb_bus_space_peek_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in mb_bus_space_peek_2() [all …]
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/cmdline/ |
H A D | options_test.cpp | 108 const mock_option o('f', "force", "Force execution"); in ATF_TEST_CASE_BODY() local 122 const mock_option o('c', "conf_file", "Configuration file", "path"); in ATF_TEST_CASE_BODY() local 138 const mock_option o('c', "conf_file", "Configuration file", "path", in ATF_TEST_CASE_BODY() local 156 const mock_option o("dryrun", "Dry run mode"); in ATF_TEST_CASE_BODY() local 168 const mock_option o("helper", "Path to helper", "path"); in ATF_TEST_CASE_BODY() local 182 const mock_option o("executable", "Executable name", "file", "foo"); in ATF_TEST_CASE_BODY() local 197 const cmdline::bool_option o('f', "force", "Force execution"); in ATF_TEST_CASE_BODY() local 209 const cmdline::bool_option o("force", "Force execution"); in ATF_TEST_CASE_BODY() local 220 const cmdline::int_option o('p', "int", "The int", "arg", "value"); in ATF_TEST_CASE_BODY() local 235 const cmdline::int_option o("int", "The int", "arg", "value"); in ATF_TEST_CASE_BODY() local [all …]
|
/netbsd-src/sys/arch/amigappc/include/ |
H A D | bus_funcs.h | 34 #define bus_space_map(t, o, s, f, hp) \ argument 37 #define bus_space_subregion(t, h, o, s, hp) \ argument 49 #define dbsdr(n, t, h, o) ((t)->absm->n)((h), (o)) argument 50 #define dbsdw(n, t, h, o, v) ((t)->absm->n)((h), (o), (v)) argument 51 #define dbsm(n, t, h, o, p, c) ((t)->absm->n)((h), (o), (p), (c)) argument 52 #define dbss(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c)) argument 53 #define dbsc(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c)) argument 57 #define bus_space_read_1(t, h, o) dbsdr(bsr1, t, h, o) argument 58 #define bus_space_write_1(t, h, o, v) dbsdw(bsw1, t, h, o, v) argument 60 #define bus_space_read_multi_1(t, h, o, p, c) dbsm(bsrm1, t, h, o, p, c) argument [all …]
|
/netbsd-src/sys/arch/amiga/include/ |
H A D | bus.h | 157 #define bus_space_map(t, o, s, f, hp) \ argument 160 #define bus_space_subregion(t, h, o, s, hp) \ argument 172 #define dbsdr(n, t, h, o) ((t)->absm->n)((h), (o)) argument 173 #define dbsdw(n, t, h, o, v) ((t)->absm->n)((h), (o), (v)) argument 174 #define dbsm(n, t, h, o, p, c) ((t)->absm->n)((h), (o), (p), (c)) argument 175 #define dbss(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c)) argument 176 #define dbsc(n, t, h, o, v, c) ((t)->absm->n)((h), (o), (v), (c)) argument 180 #define bus_space_read_1(t, h, o) dbsdr(bsr1, t, h, o) argument 181 #define bus_space_write_1(t, h, o, v) dbsdw(bsw1, t, h, o, v) argument 183 #define bus_space_read_multi_1(t, h, o, p, c) dbsm(bsrm1, t, h, o, p, c) argument [all …]
|
/netbsd-src/sys/arch/atari/include/ |
H A D | bus_funcs.h | 95 #define __abs_p(sz, t, h, o) \ argument 97 #define __abs_rs(sz, t, h, o) \ argument 99 #define __abs_rss(sz, t, h, o) \ argument 101 #define __abs_ws(sz, t, h, o, v) \ argument 103 #define __abs_wss(sz, t, h, o, v) \ argument 105 #define __abs_nonsingle(type, sz, t, h, o, a, c) \ argument 107 #define __abs_set(type, sz, t, h, o, v, c) \ argument 128 #define bus_space_peek_1(t, h, o) __abs_p(1,(t),(h),(o)) argument 129 #define bus_space_peek_2(t, h, o) __abs_p(2,(t),(h),(o)) argument 130 #define bus_space_peek_4(t, h, o) __abs_p(4,(t),(h),(o)) argument [all …]
|
/netbsd-src/common/lib/libppath/ |
H A D | ppath.c | 360 prop_object_t o, po; in ppath_lookup_helper() local 395 ppath_lookup(prop_object_t o, const ppath_t *p) in ppath_lookup() 401 ppath_create_object_and_release(prop_object_t o, const ppath_t *p, in ppath_create_object_and_release() 412 ppath_create_string(prop_object_t o, const ppath_t *p, const char *s) in ppath_create_string() 419 ppath_create_data(prop_object_t o, const ppath_t *p, in ppath_create_data() 427 ppath_create_uint64(prop_object_t o, const ppath_t *p, uint64_t u) in ppath_create_uint64() 434 ppath_create_int64(prop_object_t o, const ppath_t *p, int64_t i) in ppath_create_int64() 441 ppath_create_bool(prop_object_t o, const ppath_t *p, bool b) in ppath_create_bool() 447 ppath_create_object(prop_object_t o, const ppath_t *p, prop_object_t v) in ppath_create_object() 470 ppath_set_object(prop_object_t o, const ppath_t *p, prop_object_t v) in ppath_set_object() [all …]
|
/netbsd-src/sys/arch/mac68k/include/ |
H A D | bus.h | 262 #define bus_space_read_1(t,h,o) (h).bsr1((t), &(h), (o)) argument 263 #define bus_space_read_2(t,h,o) (h).bsr2((t), &(h), (o)) argument 264 #define bus_space_read_4(t,h,o) (h).bsr4((t), &(h), (o)) argument 265 #define bus_space_read_stream_1(t,h,o) (h).bsrs1((t), &(h), (o)) argument 266 #define bus_space_read_stream_2(t,h,o) (h).bsrs2((t), &(h), (o)) argument 267 #define bus_space_read_stream_4(t,h,o) (h).bsrs4((t), &(h), (o)) argument 302 #define bus_space_read_multi_1(t, h, o, a, c) do { \ argument 306 #define bus_space_read_multi_2(t, h, o, a, c) do { \ argument 310 #define bus_space_read_multi_4(t, h, o, a, c) do { \ argument 314 #define bus_space_read_multi_stream_1(t, h, o, a, c) do { \ argument [all …]
|
/netbsd-src/sys/arch/news68k/include/ |
H A D | bus.h | 167 #define bus_space_read_1(t, h, o) \ argument 170 #define bus_space_read_2(t, h, o) \ argument 173 #define bus_space_read_4(t, h, o) \ argument 185 #define bus_space_read_multi_1(t, h, o, a, c) do { \ argument 199 #define bus_space_read_multi_2(t, h, o, a, c) do { \ argument 213 #define bus_space_read_multi_4(t, h, o, a, c) do { \ argument 237 #define bus_space_read_region_1(t, h, o, a, c) do { \ argument 251 #define bus_space_read_region_2(t, h, o, a, c) do { \ argument 265 #define bus_space_read_region_4(t, h, o, a, c) do { \ argument 288 #define bus_space_write_1(t, h, o, v) \ argument [all …]
|
/netbsd-src/sys/arch/luna68k/include/ |
H A D | bus.h | 151 #define bus_space_read_1(t, h, o) \ argument 154 #define bus_space_read_2(t, h, o) \ argument 157 #define bus_space_read_4(t, h, o) \ argument 169 #define bus_space_read_multi_1(t, h, o, a, c) do { \ argument 183 #define bus_space_read_multi_2(t, h, o, a, c) do { \ argument 197 #define bus_space_read_multi_4(t, h, o, a, c) do { \ argument 221 #define bus_space_read_region_1(t, h, o, a, c) do { \ argument 236 #define bus_space_read_region_2(t, h, o, a, c) do { \ argument 251 #define bus_space_read_region_4(t, h, o, a, c) do { \ argument 274 #define bus_space_write_1(t, h, o, v) \ argument [all …]
|
/netbsd-src/sys/arch/mips/include/ |
H A D | bus_space_funcs.h | 70 #define __bs_r(type, sz, tn, t, h, o) \ argument 74 #define __bs_w(type, sz, tn, t, h, o, v) \ argument 80 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ argument 87 #define __bs_set(type, sz, tn, t, h, o, v, c) \ argument 112 #define bus_space_subregion(t, h, o, s, hp) \ argument 138 #define bus_space_mmap(t, a, o, p, f) \ argument 144 #define bus_space_barrier(t, h, o, l, f) \ argument 150 #define bus_space_read_1(t, h, o) \ argument 152 #define bus_space_read_2(t, h, o) \ argument 154 #define bus_space_read_4(t, h, o) \ argument [all …]
|
/netbsd-src/external/bsd/nvi/dist/common/ |
H A D | options.h | 28 #define O_V(sp, o, fld) \ argument 34 #define OG_CLR(gp, o) ((gp)->opts[(o)].o_cur.val) = 0 argument 35 #define OG_SET(gp, o) ((gp)->opts[(o)].o_cur.val) = 1 argument 36 #define OG_STR(gp, o) ((gp)->opts[(o)].o_cur.str) argument 37 #define OG_VAL(gp, o) ((gp)->opts[(o)].o_cur.val) argument 38 #define OG_ISSET(gp, o) OG_VAL(gp, o) argument 40 #define OG_D_STR(gp, o) ((gp)->opts[(o)].o_def.str) argument 41 #define OG_D_VAL(gp, o) ((gp)->opts[(o)].o_def.val) argument 57 #define O_CLR(sp, o) o_set(sp, o, 0, NULL, 0) argument 58 #define O_SET(sp, o) o_set(sp, o, 0, NULL, 1) argument [all …]
|
/netbsd-src/sys/arch/sparc64/include/ |
H A D | bus_funcs.h | 139 #define bus_space_barrier(t, h, o, s, f) \ argument 144 bus_size_t o, bus_size_t s, int f) in sparc_bus_space_barrier() 171 #define bus_space_read_1(t, h, o) \ argument 174 #define bus_space_read_2(t, h, o) \ argument 177 #define bus_space_read_4(t, h, o) \ argument 180 #define bus_space_read_8(t, h, o) \ argument 183 #define bus_space_read_1(t, h, o) ({ \ argument 192 #define bus_space_read_2(t, h, o) ({ \ argument 201 #define bus_space_read_4(t, h, o) ({ \ argument 210 #define bus_space_read_8(t, h, o) ({ \ argument [all …]
|
/netbsd-src/sys/arch/evbsh3/include/ |
H A D | bus_funcs.h | 75 #define __bs_rs(sz, tn, t, h, o) \ argument 78 #define __bs_rss(sz, tn, t, h, o) \ argument 82 #define __bs_ws(sz, tn, t, h, o, v) \ argument 87 #define __bs_wss(sz, tn, t, h, o, v) \ argument 93 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ argument 100 #define __bs_set(type, sz, tn, t, h, o, v, c) \ argument 121 #define bus_space_subregion(t, h, o, s, hp) \ argument 146 #define bus_space_barrier(t, h, o, l, f) \ argument 152 #define bus_space_read_1(t, h, o) __bs_rs(1,uint8_t,(t),(h),(o)) argument 153 #define bus_space_read_2(t, h, o) __bs_rs(2,uint16_t,(t),(h),(o)) argument [all …]
|
/netbsd-src/sys/arch/virt68k/include/ |
H A D | bus_space.h | 140 #define bus_space_subregion(t, h, o, s, hp) \ argument 160 #define bus_space_peek_1(t, h, o, vp) \ argument 163 #define bus_space_peek_2(t, h, o, vp) \ argument 166 #define bus_space_peek_4(t, h, o, vp) \ argument 178 #define bus_space_poke_1(t, h, o, v) \ argument 181 #define bus_space_poke_2(t, h, o, v) \ argument 184 #define bus_space_poke_4(t, h, o, v) \ argument 195 bus_space_read_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in bus_space_read_1() 202 bus_space_read_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in bus_space_read_2() 209 bus_space_read_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in bus_space_read_4() [all …]
|
/netbsd-src/sys/arch/mvme68k/include/ |
H A D | bus_space.h | 148 #define bus_space_subregion(t, h, o, s, hp) \ argument 168 #define bus_space_peek_1(t, h, o, vp) \ argument 171 #define bus_space_peek_2(t, h, o, vp) \ argument 174 #define bus_space_peek_4(t, h, o, vp) \ argument 186 #define bus_space_poke_1(t, h, o, v) \ argument 189 #define bus_space_poke_2(t, h, o, v) \ argument 192 #define bus_space_poke_4(t, h, o, v) \ argument 202 #define bus_space_read_1(t,h,o) \ argument 204 #define bus_space_read_2(t,h,o) \ argument 206 #define bus_space_read_4(t,h,o) \ argument [all …]
|
/netbsd-src/sys/arch/evbcf/include/ |
H A D | bus_space.h | 145 #define bus_space_subregion(t, h, o, s, hp) \ argument 165 #define bus_space_peek_1(t, h, o, vp) \ argument 168 #define bus_space_peek_2(t, h, o, vp) \ argument 171 #define bus_space_peek_4(t, h, o, vp) \ argument 183 #define bus_space_poke_1(t, h, o, v) \ argument 186 #define bus_space_poke_2(t, h, o, v) \ argument 189 #define bus_space_poke_4(t, h, o, v) \ argument 199 #define bus_space_read_1(t,h,o) \ argument 201 #define bus_space_read_2(t,h,o) \ argument 203 #define bus_space_read_4(t,h,o) \ argument [all …]
|
/netbsd-src/sys/arch/hppa/include/ |
H A D | bus_funcs.h | 41 #define bus_space_subregion(t,h,o,c,hp) \ argument 47 #define bus_space_barrier(t,h,o,l,op) \ argument 51 #define bus_space_mmap(t, a, o, p, f) \ argument 54 #define bus_space_read_1(t,h,o) (((t)->hbt_r1)((t)->hbt_cookie,(h),(o))) argument 55 #define bus_space_read_2(t,h,o) (((t)->hbt_r2)((t)->hbt_cookie,(h),(o))) argument 56 #define bus_space_read_4(t,h,o) (((t)->hbt_r4)((t)->hbt_cookie,(h),(o))) argument 57 #define bus_space_read_8(t,h,o) (((t)->hbt_r8)((t)->hbt_cookie,(h),(o))) argument 59 #define bus_space_read_stream_1(t,h,o) (bus_space_read_1(t,h,o)) argument 60 #define bus_space_read_stream_2(t,h,o) (((t)->hbt_rs2)((t)->hbt_cookie,(h),(o))) argument 61 #define bus_space_read_stream_4(t,h,o) (((t)->hbt_rs4)((t)->hbt_cookie,(h),(o))) argument [all …]
|
/netbsd-src/sys/arch/next68k/include/ |
H A D | bus_space.h | 93 #define bus_space_subregion(t, h, o, s, hp) \ argument 124 #define bus_space_read_1(t, h, o) \ argument 127 #define bus_space_read_2(t, h, o) \ argument 130 #define bus_space_read_4(t, h, o) \ argument 142 #define bus_space_read_multi_1(t, h, o, a, c) do { \ argument 156 #define bus_space_read_multi_2(t, h, o, a, c) do { \ argument 170 #define bus_space_read_multi_4(t, h, o, a, c) do { \ argument 194 #define bus_space_read_region_1(t, h, o, a, c) do { \ argument 208 #define bus_space_read_region_2(t, h, o, a, c) do { \ argument 222 #define bus_space_read_region_4(t, h, o, a, c) do { \ argument [all …]
|
/netbsd-src/sys/arch/or1k/include/ |
H A D | bus_funcs.h | 126 #define bus_space_mmap(t, b, o, p, f) \ argument 157 #define bus_space_subregion(t, h, o, s, hp) \ argument 190 #define bus_space_read_1(t, h, o) \ argument 192 #define bus_space_read_2(t, h, o) \ argument 194 #define bus_space_read_4(t, h, o) \ argument 196 #define bus_space_read_8(t, h, o) \ argument 207 #define bus_space_read_stream_2(t, h, o) \ argument 209 #define bus_space_read_stream_4(t, h, o) \ argument 211 #define bus_space_read_stream_8(t, h, o) \ argument 223 #define bus_space_read_multi_1(t, h, o, a, c) \ argument [all …]
|
/netbsd-src/sys/arch/powerpc/include/ |
H A D | bus_funcs.h | 133 #define bus_space_mmap(t, b, o, p, f) \ argument 164 #define bus_space_subregion(t, h, o, s, hp) \ argument 197 #define bus_space_read_1(t, h, o) \ argument 199 #define bus_space_read_2(t, h, o) \ argument 201 #define bus_space_read_4(t, h, o) \ argument 203 #define bus_space_read_8(t, h, o) \ argument 214 #define bus_space_read_stream_2(t, h, o) \ argument 216 #define bus_space_read_stream_4(t, h, o) \ argument 218 #define bus_space_read_stream_8(t, h, o) \ argument 230 #define bus_space_read_multi_1(t, h, o, a, c) \ argument [all …]
|