| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | vec.cc | 269 safe_push_range (vec <int>&v, int start, int limit) in safe_push_range() argument 272 v.safe_push (i); in safe_push_range() 316 auto_vec <int> v; in test_quick_push() local 317 ASSERT_EQ (0, v.length ()); in test_quick_push() 318 v.reserve (3); in test_quick_push() 319 ASSERT_EQ (0, v.length ()); in test_quick_push() 320 ASSERT_TRUE (v.space (3)); in test_quick_push() 321 v.quick_push (5); in test_quick_push() 322 v.quick_push (6); in test_quick_push() 323 v.quick_push (7); in test_quick_push() [all …]
|
| /netbsd/src/usr.bin/sdpquery/ |
| D | print.c | 501 uintmax_t v; in sdp_get_uint8() local 504 || !sdp_get_uint(d, &v)) in sdp_get_uint8() 507 *vp = (uint8_t)v; in sdp_get_uint8() 514 uintmax_t v; in sdp_get_uint16() local 517 || !sdp_get_uint(d, &v)) in sdp_get_uint16() 520 *vp = (uint16_t)v; in sdp_get_uint16() 527 uintmax_t v; in sdp_get_uint32() local 530 || !sdp_get_uint(d, &v)) in sdp_get_uint32() 533 *vp = (uint32_t)v; in sdp_get_uint32() 540 uintmax_t v; in sdp_get_uint64() local [all …]
|
| /netbsd/src/external/gpl2/lvm2/dist/lib/datastruct/ |
| D | list.h | 103 #define dm_list_struct_base(v, t, head) \ argument 104 ((t *)((uintptr_t)(v) - (uintptr_t)&((t *) 0)->head)) 110 #define dm_list_item(v, t) dm_list_struct_base((v), t, list) argument 116 #define dm_struct_field(v, t, e, f) \ argument 117 (((t *)((uintptr_t)(v) - (uintptr_t)&((t *) 0)->e))->f) 123 #define dm_list_head(v, t, e) dm_struct_field(v, t, e, list) argument 128 #define dm_list_iterate(v, head) \ argument 129 for (v = (head)->n; v != head; v = v->n) 138 #define dm_list_uniterate(v, head, start) \ argument 139 for (v = (start)->p; v != head; v = v->p) [all …]
|
| /netbsd/src/external/gpl2/lvm2/dist/libdm/datastruct/ |
| D | list.h | 103 #define dm_list_struct_base(v, t, head) \ argument 104 ((t *)((uintptr_t)(v) - (uintptr_t)&((t *) 0)->head)) 110 #define dm_list_item(v, t) dm_list_struct_base((v), t, list) argument 116 #define dm_struct_field(v, t, e, f) \ argument 117 (((t *)((uintptr_t)(v) - (uintptr_t)&((t *) 0)->e))->f) 123 #define dm_list_head(v, t, e) dm_struct_field(v, t, e, list) argument 128 #define dm_list_iterate(v, head) \ argument 129 for (v = (head)->n; v != head; v = v->n) 138 #define dm_list_uniterate(v, head, start) \ argument 139 for (v = (start)->p; v != head; v = v->p) [all …]
|
| /netbsd/src/usr.sbin/mrouted/ |
| D | vif.c | 42 static void send_probe_on_vif(struct uvif *v); 61 struct uvif *v; in init_vifs() local 87 for (vifi = 0, v = uvifs; vifi < numvifs; ++vifi, ++v) { in init_vifs() 88 if (!(v->uv_flags & VIFF_DISABLED)) { in init_vifs() 90 if (!(v->uv_flags & VIFF_TUNNEL)) { in init_vifs() 106 for (vifi = 0, v = uvifs; vifi < numvifs; ++vifi, ++v) { in init_vifs() 107 if (!(v->uv_flags & VIFF_DISABLED)) { in init_vifs() 108 if (!(v->uv_flags & VIFF_DOWN)) { in init_vifs() 109 if (v->uv_flags & VIFF_TUNNEL) in init_vifs() 111 inet_fmt(v->uv_lcl_addr), in init_vifs() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/elfcpp/ |
| D | elfcpp_swap.h | 54 bswap_16(uint16_t v) in bswap_16() argument 56 return ((v >> 8) & 0xff) | ((v & 0xff) << 8); in bswap_16() 62 bswap_32(uint32_t v) in bswap_32() argument 64 return ( ((v & 0xff000000) >> 24) in bswap_32() 65 | ((v & 0x00ff0000) >> 8) in bswap_32() 66 | ((v & 0x0000ff00) << 8) in bswap_32() 67 | ((v & 0x000000ff) << 24)); in bswap_32() 73 bswap_64(uint64_t v) in bswap_64() argument 75 return ( ((v & 0xff00000000000000ULL) >> 56) in bswap_64() 76 | ((v & 0x00ff000000000000ULL) >> 40) in bswap_64() [all …]
|
| /netbsd/src/bin/ps/ |
| D | print.c | 126 iwidth(u_int64_t v) in iwidth() argument 131 for (lim = 10; v >= lim; lim = nlim) { in iwidth() 152 VAR *v; in printheader() local 176 v = vent->var; in printheader() 178 len = strlen(v->header); in printheader() 179 if (len > v->width) in printheader() 180 v->width = len; in printheader() 181 totwidth += v->width + 1; /* +1 for space */ in printheader() 183 if (v->flag & LJUST) { in printheader() 185 (void)printf("%s", v->header); in printheader() [all …]
|
| /netbsd/src/sys/arch/alpha/pci/ |
| D | ttwoga_bus_mem.c | 48 #define CHIP_V(v) ((struct ttwoga_config *)(v)) argument 50 #define CHIP_D_MEM_ARENA(v) (CHIP_V(v)->tc_d_mem_arena) argument 51 #define CHIP_D_MEM_ARENA_STORE(v) (&(CHIP_V(v)->tc_d_mem_arena_store)) argument 52 #define CHIP_D_MEM_BTAG_STORE(v) (CHIP_V(v)->tc_d_mem_btag_store) argument 53 #define CHIP_D_MEM_BTAG_COUNT(v) TTWOGA_NBTS argument 55 #define CHIP_S_MEM_ARENA(v) (CHIP_V(v)->tc_s_mem_arena) argument 56 #define CHIP_S_MEM_ARENA_STORE(v) (&(CHIP_V(v)->tc_s_mem_arena_store)) argument 57 #define CHIP_S_MEM_BTAG_STORE(v) (CHIP_V(v)->tc_s_mem_btag_store) argument 58 #define CHIP_S_MEM_BTAG_COUNT(v) TTWOGA_NBTS argument 61 #define CHIP_D_MEM_W1_BUS_START(v) \ argument [all …]
|
| D | dwlpx_bus_mem.c | 49 #define CHIP_D_MEM_ARENA(v) \ argument 50 (((struct dwlpx_config *)(v))->cc_d_mem_arena) 51 #define CHIP_D_MEM_ARENA_STORE(v) \ argument 52 (&(((struct dwlpx_config *)(v))->cc_d_mem_arena_store)) 53 #define CHIP_D_MEM_BTAG_STORE(v) \ argument 54 (((struct dwlpx_config *)(v))->cc_d_mem_btag_store) 55 #define CHIP_D_MEM_BTAG_COUNT(v) DWLPX_D_MEM_NBTS argument 57 #define CHIP_S_MEM_ARENA(v) \ argument 58 (((struct dwlpx_config *)(v))->cc_s_mem_arena) 59 #define CHIP_S_MEM_ARENA_STORE(v) \ argument [all …]
|
| D | mcpcia_bus_mem.c | 49 #define CHIP_D_MEM_ARENA(v) \ argument 50 (((struct mcpcia_config *)(v))->cc_d_mem_arena) 51 #define CHIP_D_MEM_ARENA_STORE(v) \ argument 52 (&(((struct mcpcia_config *)(v))->cc_d_mem_arena_store)) 53 #define CHIP_D_MEM_BTAG_STORE(v) \ argument 54 (((struct mcpcia_config *)(v))->cc_d_mem_btag_store) 55 #define CHIP_D_MEM_BTAG_COUNT(v) MCPCIA_D_MEM_NBTS argument 57 #define CHIP_S_MEM_ARENA(v) \ argument 58 (((struct mcpcia_config *)(v))->cc_s_mem_arena) 59 #define CHIP_S_MEM_ARENA_STORE(v) \ argument [all …]
|
| D | pci_swiz_bus_mem_chipdep.c | 227 #define CHIP_D_MEM_BTAG_COUNT(v) VMEM_EST_BTCOUNT(1, 8) argument 228 #define CHIP_D_MEM_BTAG_STORE(v) __C(CHIP,_dmem_btag_store) argument 229 #define CHIP_D_MEM_ARENA_STORE(v) (&(__C(CHIP,_dmem_arena_store))) argument 260 #define CHIP_S_MEM_BTAG_COUNT(v) VMEM_EST_BTCOUNT(CHIP_S_MEM_SPAN_COUNT, 8) argument 261 #define CHIP_S_MEM_BTAG_STORE(v) __C(CHIP,_smem_btag_store) argument 262 #define CHIP_S_MEM_ARENA_STORE(v) (&(__C(CHIP,_smem_arena_store))) argument 278 __C(CHIP,_bus_mem_init)(bus_space_tag_t t, void *v) in __C() 291 t->abs_cookie = v; in __C() 369 dvm = vmem_init(CHIP_D_MEM_ARENA_STORE(v), in __C() 382 vmem_add_bts(dvm, CHIP_D_MEM_BTAG_STORE(v), CHIP_D_MEM_BTAG_COUNT(v)); in __C() [all …]
|
| D | cia_swiz_bus_mem.c | 46 #define CHIP_D_MEM_ARENA(v) (((struct cia_config *)(v))->cc_d_mem_arena) argument 47 #define CHIP_S_MEM_ARENA(v) (((struct cia_config *)(v))->cc_s_mem_arena) argument 50 #define CHIP_D_MEM_W1_BUS_START(v) 0x00000000UL argument 51 #define CHIP_D_MEM_W1_BUS_END(v) 0xffffffffUL argument 52 #define CHIP_D_MEM_W1_SYS_START(v) CIA_PCI_DENSE argument 53 #define CHIP_D_MEM_W1_SYS_END(v) (CIA_PCI_DENSE + 0xffffffffUL) argument 56 #define CHIP_S_MEM_W1_BUS_START(v) \ argument 57 HAE_MEM_REG1_START(((struct cia_config *)(v))->cc_hae_mem) 58 #define CHIP_S_MEM_W1_BUS_END(v) \ argument 59 (CHIP_S_MEM_W1_BUS_START(v) + HAE_MEM_REG1_MASK) [all …]
|
| /netbsd/src/sys/arch/aarch64/include/ |
| D | byte_swap.h | 54 __byte_swap_u64_variable(uint64_t v) in __byte_swap_u64_variable() argument 56 if (!__builtin_constant_p(v)) { in __byte_swap_u64_variable() 57 __asm("rev\t%x0, %x1" : "=r" (v) : "0" (v)); in __byte_swap_u64_variable() 58 return v; in __byte_swap_u64_variable() 61 v = ((v & 0x000000ff) << (56 - 0)) | ((v >> (56 - 0)) & 0x000000ff) in __byte_swap_u64_variable() 62 | ((v & 0x0000ff00) << (48 - 8)) | ((v >> (48 - 8)) & 0x0000ff00) in __byte_swap_u64_variable() 63 | ((v & 0x00ff0000) << (40 - 16)) | ((v >> (40 - 16)) & 0x00ff0000) in __byte_swap_u64_variable() 64 | ((v & 0xff000000) << (32 - 24)) | ((v >> (32 - 24)) & 0xff000000); in __byte_swap_u64_variable() 66 return v; in __byte_swap_u64_variable() 71 __byte_swap_u32_variable(uint32_t v) in __byte_swap_u32_variable() argument [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| D | fusion.md | 1874 [(set (match_operand:VM 3 "altivec_register_operand" "=&0,&1,&v,v") 1875 (and:VM (and:VM (match_operand:VM 0 "altivec_register_operand" "v,v,v,v") 1876 (match_operand:VM 1 "altivec_register_operand" "%v,v,v,v")) 1877 (match_operand:VM 2 "altivec_register_operand" "v,v,v,v"))) 1878 (clobber (match_scratch:VM 4 "=X,X,X,&v"))] 1892 [(set (match_operand:VM 3 "altivec_register_operand" "=&0,&1,&v,v") 1893 (and:VM (and:VM (not:VM (match_operand:VM 0 "altivec_register_operand" "v,v,v,v")) 1894 (match_operand:VM 1 "altivec_register_operand" "v,v,v,v")) 1895 (match_operand:VM 2 "altivec_register_operand" "v,v,v,v"))) 1896 (clobber (match_scratch:VM 4 "=X,X,X,&v"))] [all …]
|
| /netbsd/src/external/bsd/tcpdump/dist/tests/ |
| D | TESTLIST | 23 bgp_vpn_attrset bgp_vpn_attrset.pcap bgp_vpn_attrset.out -v 24 mpbgp-linklocal-nexthop mpbgp-linklocal-nexthop.pcap mpbgp-linklocal-nexthop.out -v 25 bgp_infloop-v bgp-infinite-loop.pcap bgp_infloop-v.out -v 26 bgp-aigp bgp-aigp.pcap bgp-aigp.out -v 27 bgp-aigp-2 bgp-aigp-2.pcap bgp-aigp-2.out -v 28 bgp-large-community bgp-large-community.pcap bgp-large-community.out -v 29 bgp-shutdown-communication bgp-shutdown-communication.pcapng bgp-shutdown-communication.out -v 30 bgp-addpath bgp-addpath.pcap bgp-addpath.out -v 31 bgp-4byte-asn bgp-4byte-asn.pcap bgp-4byte-asn.out -v 33 bgp-lu-multiple-labels bgp-lu-multiple-labels.pcap bgp-lu-multiple-labels.out -v [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/sim/rl78/ |
| D | rl78.c | 70 int v = o->addend; in op_addr() local 72 v += get_reg (o->reg); in op_addr() 74 v += get_reg (o->reg2); in op_addr() 76 v |= (get_reg (RL78_Reg_ES) & 0xf) << 16; in op_addr() 78 v |= 0xf0000; in op_addr() 79 v &= 0xfffff; in op_addr() 80 return v; in op_addr() 86 int v, r; in get_op() local 93 v = 0; in get_op() 98 v = o->addend; in get_op() [all …]
|
| /netbsd/src/tests/lib/libm/ |
| D | t_infinity.c | 48 float v; in ATF_TC_BODY() local 50 v = FLT_MAX; in ATF_TC_BODY() 51 v *= v; in ATF_TC_BODY() 52 ATF_REQUIRE(isinf(v)); in ATF_TC_BODY() 53 ATF_REQUIRE(fpclassify(v) == FP_INFINITE); in ATF_TC_BODY() 55 v = -FLT_MAX; in ATF_TC_BODY() 56 v *= v; in ATF_TC_BODY() 57 ATF_REQUIRE(isinf(v)); in ATF_TC_BODY() 58 ATF_REQUIRE(fpclassify(v) == FP_INFINITE); in ATF_TC_BODY() 70 double v; in ATF_TC_BODY() local [all …]
|
| /netbsd/src/usr.sbin/memswitch/ |
| D | methods.c | 44 int v = 0; in atoi_() local 58 v *= 16; in atoi_() 59 v += *p1 - '0'; in atoi_() 62 v *= 16; in atoi_() 63 v += *p1 - 'A' + 10; in atoi_() 66 v *= 16; in atoi_() 67 v += *p1 - 'a' + 10; in atoi_() 77 v *= 10; in atoi_() 78 v += *p1 - '0'; in atoi_() 94 return v; in atoi_() [all …]
|
| /netbsd/src/lib/libc/quad/TESTS/ |
| D | divrem.c | 54 union { long long q; unsigned int v[2]; } a, b, q, r; in main() member 64 &a.v[0], &a.v[1], &b.v[0], &b.v[1]) != 4 && in main() 66 &a.v[0], &a.v[1], &b.v[0], &b.v[1]) != 4) { in main() 72 a.v[0], a.v[1], b.v[0], b.v[1], in main() 73 q.v[0], q.v[1], r.v[0], r.v[1]); in main() 76 a.v[0], a.v[1], b.v[0], b.v[1], q.v[0], q.v[1], in main() 77 a.v[0], a.v[1], b.v[0], b.v[1], r.v[0], r.v[1]); in main()
|
| /netbsd/src/sys/arch/sh3/dev/ |
| D | shpcicvar.h | 37 int shpcic_bus_maxdevs(void *v, int busno); 38 pcitag_t shpcic_make_tag(void *v, int bus, int device, int function); 39 void shpcic_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp, int *fp); 40 pcireg_t shpcic_conf_read(void *v, pcitag_t tag, int reg); 41 void shpcic_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data); 50 int shpcic_iomem_map(void *v, bus_addr_t bpa, bus_size_t size, int flags, 52 void shpcic_iomem_unmap(void *v, bus_space_handle_t bsh, bus_size_t size); 53 int shpcic_iomem_subregion(void *v, bus_space_handle_t bsh, bus_size_t offset, 55 int shpcic_iomem_alloc(void *v, bus_addr_t rstart, bus_addr_t rend, 58 void shpcic_iomem_free(void *v, bus_space_handle_t bsh, bus_size_t size); [all …]
|
| /netbsd/src/external/bsd/atf/dist/atf-c++/ |
| D | config_test.cpp | 99 for (const struct varnames* v = all_vars; v->lc != NULL; v++) in all_vars_count() local 108 for (const struct varnames* v = all_vars; v->lc != NULL; v++) in unset_all() local 109 unset_env_var(v->uc); in unset_all() 118 for (const struct varnames* v = all_vars; v->lc != NULL; v++) { in compare_one() local 119 if (std::strcmp(v->lc, var) == 0) in compare_one() 120 ATF_REQUIRE_EQ(atf::config::get(v->lc), test_value); in compare_one() 122 ATF_REQUIRE(atf::config::get(v->lc) != test_value); in compare_one() 141 for (const struct varnames* v = all_vars; v->lc != NULL; v++) in ATF_TEST_CASE_BODY() local 142 ATF_REQUIRE(atf::config::get(v->lc) != test_value); in ATF_TEST_CASE_BODY() 145 for (const struct varnames* v = all_vars; v->lc != NULL; v++) { in ATF_TEST_CASE_BODY() local [all …]
|
| /netbsd/src/external/bsd/atf/dist/tools/ |
| D | config_test.cpp | 102 for (const struct varnames* v = all_vars; v->lc != NULL; v++) in all_vars_count() local 111 for (const struct varnames* v = all_vars; v->lc != NULL; v++) in unset_all() local 112 unset_env_var(v->uc); in unset_all() 121 for (const struct varnames* v = all_vars; v->lc != NULL; v++) { in compare_one() local 122 if (std::strcmp(v->lc, var) == 0) in compare_one() 123 ATF_REQUIRE_EQ(tools::config::get(v->lc), test_value); in compare_one() 125 ATF_REQUIRE(tools::config::get(v->lc) != test_value); in compare_one() 144 for (const struct varnames* v = all_vars; v->lc != NULL; v++) in ATF_TEST_CASE_BODY() local 145 ATF_REQUIRE(tools::config::get(v->lc) != test_value); in ATF_TEST_CASE_BODY() 148 for (const struct varnames* v = all_vars; v->lc != NULL; v++) { in ATF_TEST_CASE_BODY() local [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | libbfd.c | 806 uint32_t v; in bfd_getb24() local 808 v = (uint32_t) addr[0] << 16; in bfd_getb24() 809 v |= (uint32_t) addr[1] << 8; in bfd_getb24() 810 v |= (uint32_t) addr[2]; in bfd_getb24() 811 return v; in bfd_getb24() 818 uint32_t v; in bfd_getl24() local 820 v = (uint32_t) addr[0]; in bfd_getl24() 821 v |= (uint32_t) addr[1] << 8; in bfd_getl24() 822 v |= (uint32_t) addr[2] << 16; in bfd_getl24() 823 return v; in bfd_getl24() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/global/ |
| D | pipe_command.h | 53 #define CA_PIPE_CMD_COMMAND(v) PIPE_CMD_COMMAND, CHECK_CPTR(PIPE_CMD, char, (v)) argument 54 #define CA_PIPE_CMD_ARGV(v) PIPE_CMD_ARGV, CHECK_PPTR(PIPE_CMD, char, (v)) argument 55 #define CA_PIPE_CMD_COPY_FLAGS(v) PIPE_CMD_COPY_FLAGS, CHECK_VAL(PIPE_CMD, int, (v)) argument 56 #define CA_PIPE_CMD_SENDER(v) PIPE_CMD_SENDER, CHECK_CPTR(PIPE_CMD, char, (v)) argument 57 #define CA_PIPE_CMD_DELIVERED(v) PIPE_CMD_DELIVERED, CHECK_CPTR(PIPE_CMD, char, (v)) argument 58 #define CA_PIPE_CMD_UID(v) PIPE_CMD_UID, CHECK_VAL(PIPE_CMD, uid_t, (v)) argument 59 #define CA_PIPE_CMD_GID(v) PIPE_CMD_GID, CHECK_VAL(PIPE_CMD, gid_t, (v)) argument 60 #define CA_PIPE_CMD_TIME_LIMIT(v) PIPE_CMD_TIME_LIMIT, CHECK_VAL(PIPE_CMD, int, (v)) argument 61 #define CA_PIPE_CMD_ENV(v) PIPE_CMD_ENV, CHECK_PPTR(PIPE_CMD, char, (v)) argument 62 #define CA_PIPE_CMD_SHELL(v) PIPE_CMD_SHELL, CHECK_CPTR(PIPE_CMD, char, (v)) argument [all …]
|
| /netbsd/src/external/bsd/atf/dist/atf-c/ |
| D | config_test.c | 71 const struct varnames *v; in unset_all() local 72 for (v = all_vars; v->lc != NULL; v++) in unset_all() 73 RE(atf_env_unset(v->uc)); in unset_all() 80 const struct varnames *v; in compare_one() local 84 for (v = all_vars; v->lc != NULL; v++) { in compare_one() 85 if (strcmp(v->lc, var) == 0) in compare_one() 86 ATF_CHECK_STREQ(atf_config_get(v->lc), test_value); in compare_one() 88 ATF_CHECK(strcmp(atf_config_get(v->lc), test_value) != 0); in compare_one() 103 const struct varnames *v; in ATF_TC_BODY() local 109 for (v = all_vars; v->lc != NULL; v++) in ATF_TC_BODY() [all …]
|