| /netbsd/src/external/bsd/kyua-cli/dist/utils/cmdline/ |
| 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/atari/atari/ |
| 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 …]
|
| 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 …]
|
| 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/sys/arch/amigappc/include/ |
| 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/external/gpl3/gdb/dist/gdb/ |
| D | gdb-stabs.h | 65 #define DBX_SYMFILE_INFO(o) (dbx_objfile_data_key.get (o)) argument 66 #define DBX_TEXT_ADDR(o) (DBX_SYMFILE_INFO(o)->text_addr) argument 67 #define DBX_TEXT_SIZE(o) (DBX_SYMFILE_INFO(o)->text_size) argument 68 #define DBX_SYMCOUNT(o) (DBX_SYMFILE_INFO(o)->symcount) argument 69 #define DBX_STRINGTAB(o) (DBX_SYMFILE_INFO(o)->stringtab) argument 70 #define DBX_STRINGTAB_SIZE(o) (DBX_SYMFILE_INFO(o)->stringtab_size) argument 71 #define DBX_SYMTAB_OFFSET(o) (DBX_SYMFILE_INFO(o)->symtab_offset) argument 72 #define DBX_SYMBOL_SIZE(o) (DBX_SYMFILE_INFO(o)->symbol_size) argument 73 #define DBX_TEXT_SECTION(o) (DBX_SYMFILE_INFO(o)->text_section) argument 74 #define DBX_DATA_SECTION(o) (DBX_SYMFILE_INFO(o)->data_section) argument [all …]
|
| /netbsd/src/sys/arch/amiga/include/ |
| 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/luna68k/include/ |
| 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/news68k/include/ |
| 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/common/lib/libppath/ |
| 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/atari/include/ |
| 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/sys/arch/mac68k/include/ |
| 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/external/bsd/nvi/dist/common/ |
| 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/mips/include/ |
| 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/sys/arch/sparc64/include/ |
| 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/ |
| 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/evbcf/include/ |
| 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/mvme68k/include/ |
| 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/next68k/include/ |
| 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/hppa/include/ |
| 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/external/bsd/tmux/dist/ |
| D | options.c | 71 #define OPTIONS_IS_STRING(o) \ argument 74 #define OPTIONS_IS_NUMBER(o) \ argument 81 #define OPTIONS_IS_COMMAND(o) \ argument 85 #define OPTIONS_IS_ARRAY(o) \ argument 113 struct options_entry *o; in options_parent_table_entry() local 124 options_value_free(struct options_entry *o, union options_value *ov) in options_value_free() 133 options_value_to_string(struct options_entry *o, union options_value *ov, in options_value_to_string() 184 struct options_entry *o, *tmp; in options_free() local 210 options_next(struct options_entry *o) in options_next() 218 struct options_entry o = { .name = name }, *found; in options_get_only() local [all …]
|
| /netbsd/src/sys/arch/powerpc/include/ |
| 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 …]
|
| /netbsd/src/external/lgpl3/gmp/dist/tests/cxx/ |
| D | t-iostream.cc | 59 ostringstream o; in checko() local 65 ostringstream o; in checko() local 71 ostringstream o; in checko() local 77 ostringstream o; in checko() local 83 ostringstream o; in checko() local 89 ostringstream o; in checko() local
|
| /netbsd/src/sys/arch/arm/include/ |
| D | bus_funcs.h | 77 #define __bs_rs(sz, t, h, o) \ argument 79 #define __bs_ws(sz, t, h, o, v) \ argument 81 #define __bs_nonsingle(type, sz, t, h, o, a, c) \ argument 83 #define __bs_set(type, sz, t, h, o, v, c) \ argument 90 #define __bs_rs_s(sz, t, h, o) \ argument 92 #define __bs_ws_s(sz, t, h, o, v) \ argument 94 #define __bs_nonsingle_s(type, sz, t, h, o, a, c) \ argument 96 #define __bs_set_s(type, sz, t, h, o, v, c) \ argument 103 #define __bs_pe(sz, t, h, o, v) \ argument 105 #define __bs_po(sz, t, h, o, v) \ argument [all …]
|
| /netbsd/src/sys/arch/amiga/amiga/ |
| D | busfuncs.c | 118 amiga_contiguous_read_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in amiga_contiguous_read_2() 129 amiga_contiguous_write_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, u_int16_t v) in amiga_contiguous_write_2() 137 amiga_contiguous_read_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, u_int16_t *p, … in amiga_contiguous_read_multi_2() 149 amiga_contiguous_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, const u_int16… in amiga_contiguous_write_multi_2() 161 amiga_contiguous_read_region_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, u_int16_t *p,… in amiga_contiguous_read_region_2() 173 amiga_contiguous_write_region_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, const u_int1… in amiga_contiguous_write_region_2() 185 amiga_contiguous_set_region_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, u_int16_t v, b… in amiga_contiguous_set_region_2() 216 amiga_interleaved_read_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o) in amiga_interleaved_read_2() 230 amiga_interleaved_write_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, u_int16_t v) in amiga_interleaved_write_2() 244 amiga_interleaved_read_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, u_int16_t *p,… in amiga_interleaved_read_multi_2() [all …]
|