| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
| H A D | 931102-1.c | 3 #define SET \ macro 19 SET in xxx() 21 SET in xxx() 28 SET in xxx() 33 SET in xxx() 41 SET in xxx() 46 SET in xxx() 54 SET in xxx() 59 SET in xxx() 71 SET in xxx() [all …]
|
| /openbsd-src/sbin/ipsecctl/ |
| H A D | ike.c | 51 #define SET "C set " macro 67 fprintf(fd, SET "[General]:Check-interval=%d force\n", in ike_section_general() 69 fprintf(fd, SET "[General]:DPD-check-interval=%d force\n", in ike_section_general() 78 fprintf(fd, SET "[Phase 1]:%s=%s force\n", r->peer->name, in ike_section_peer() 81 fprintf(fd, SET "[Phase 1]:Default=%s force\n", r->p1name); in ike_section_peer() 82 fprintf(fd, SET "[%s]:Phase=1 force\n", r->p1name); in ike_section_peer() 84 fprintf(fd, SET "[%s]:Address=%s force\n", r->p1name, in ike_section_peer() 87 fprintf(fd, SET "[%s]:Local-address=%s force\n", r->p1name, in ike_section_peer() 90 fprintf(fd, SET "[%s]:Authentication=%s force\n", r->p1name, in ike_section_peer() 110 fprintf(fd, SET "[%s]:ID=id-%s force\n", r->p1name, in ike_section_ids() [all …]
|
| /openbsd-src/sys/arch/octeon/dev/ |
| H A D | cn30xxpko.c | 83 SET(reg_flags, PKO_REG_FLAGS_ENA_DWB); in cn30xxpko_enable() 84 SET(reg_flags, PKO_REG_FLAGS_ENA_PKO); in cn30xxpko_enable() 99 SET(reg_flags, PKO_REG_FLAGS_RESET); 109 SET(reg_cmd_buf, (sc->sc_cmd_buf_pool << 20) & PKO_REG_CMD_BUF_POOL); in cn30xxpko_config() 110 SET(reg_cmd_buf, sc->sc_cmd_buf_size & PKO_REG_CMD_BUF_SIZE); in cn30xxpko_config() 121 SET(reg_read_idx, sc->sc_port & PKO_REG_READ_IDX_IDX); in cn30xxpko_port_enable() 126 SET(mem_queue_qos, ((uint64_t)sc->sc_port << 7) & PKO_MEM_QUEUE_QOS_PID); in cn30xxpko_port_enable() 127 SET(mem_queue_qos, sc->sc_port & PKO_MEM_QUEUE_QOS_QID); in cn30xxpko_port_enable() 128 SET(mem_queue_qos, ((enable ? 0xffULL : 0x00ULL) << 53) & in cn30xxpko_port_enable() 161 SET(val, 10ULL << PKO_MEM_PORT_PTRS_EID_S); in cn30xxpko_port_config() [all …]
|
| H A D | cn30xxipd.c | 73 SET(ctl_status, IPD_CTL_STATUS_IPD_EN); in cn30xxipd_enable() 92 SET(first_mbuff_skip, (sc->sc_first_mbuff_skip / 8) & IPD_1ST_MBUFF_SKIP_SZ); in cn30xxipd_config() 98 SET(not_first_mbuff_skip, (sc->sc_not_first_mbuff_skip / 8) & in cn30xxipd_config() 104 SET(packet_mbuff_size, (OCTEON_POOL_SIZE_PKT / 8) & in cn30xxipd_config() 109 SET(first_next_ptr_back, (sc->sc_first_mbuff_skip / CACHELINESIZE) in cn30xxipd_config() 114 SET(second_next_ptr_back, (sc->sc_not_first_mbuff_skip / CACHELINESIZE) in cn30xxipd_config() 119 SET(sqe_fpa_queue, OCTEON_POOL_NO_WQE & IPD_WQE_FPA_QUEUE_WQE_QUE); in cn30xxipd_config() 124 SET(ctl_status, IPD_CTL_STATUS_OPC_MODE_ALL); in cn30xxipd_config() 125 SET(ctl_status, IPD_CTL_STATUS_PBP_EN); in cn30xxipd_config()
|
| H A D | cn30xxgmx.c | 463 SET(prt_cfg, PRTN_CFG_EN); in cn30xxgmx_link_enable() 511 SET(ovr_bp, (1 << index) << TX_OVR_BP_BP_SHIFT); in cn30xxgmx_tx_ovr_bp_enable() 513 SET(ovr_bp, (1 << index) << TX_OVR_BP_IGN_FULL_SHIFT); in cn30xxgmx_tx_ovr_bp_enable() 515 SET(ovr_bp, (1 << index) << TX_OVR_BP_EN_SHIFT); in cn30xxgmx_tx_ovr_bp_enable() 518 SET(ovr_bp, (1 << index) << TX_OVR_BP_IGN_FULL_SHIFT); in cn30xxgmx_tx_ovr_bp_enable() 541 SET(tx_int_xxx, in cn30xxgmx_tx_int_enable() 556 SET(rx_int_xxx, 0 | in cn30xxgmx_rx_int_enable() 609 SET(tmp, rx_frm_ctl); in cn30xxgmx_rx_frm_ctl_xable() 640 SET(ctl, RXN_ADR_CTL_BCST); in cn30xxgmx_set_filter() 643 SET(ifp->if_flags, IFF_ALLMULTI); in cn30xxgmx_set_filter() [all …]
|
| H A D | cn30xxpip.c | 101 SET(prt_cfg, (sc->sc_port << 24) & PIP_PRT_CFGN_QOS); in cn30xxpip_port_config() 106 SET(prt_cfg, PIP_PRT_CFGN_CRC_EN); in cn30xxpip_port_config() 107 SET(prt_cfg, (PIP_PORT_CFG_MODE_L2) & PIP_PRT_CFGN_MODE); in cn30xxpip_port_config() 111 SET(prt_tag, PIP_PRT_TAGN_INC_PRT); in cn30xxpip_port_config() 122 SET(prt_tag, PIP_PRT_TAGN_TCP6_TAG_ORDERED); in cn30xxpip_port_config() 123 SET(prt_tag, PIP_PRT_TAGN_TCP4_TAG_ORDERED); in cn30xxpip_port_config() 124 SET(prt_tag, PIP_PRT_TAGN_IP6_TAG_ORDERED); in cn30xxpip_port_config() 125 SET(prt_tag, PIP_PRT_TAGN_IP4_TAG_ORDERED); in cn30xxpip_port_config() 126 SET(prt_tag, PIP_PRT_TAGN_NON_TAG_ORDERED); in cn30xxpip_port_config() 127 SET(prt_tag, sc->sc_receive_group & PIP_PRT_TAGN_GRP); in cn30xxpip_port_config() [all …]
|
| /openbsd-src/libexec/getty/ |
| H A D | subr.c | 165 #define SET(t, f) (t) |= (f) macro 211 SET(cflag, CS8); in setflags() 215 SET(cflag, CS7|PARENB); in setflags() 216 SET(iflag, ISTRIP); in setflags() 218 SET(iflag, INPCK|IGNPAR); in setflags() 219 SET(cflag, PARODD); in setflags() 223 SET(iflag, INPCK|IGNPAR); in setflags() 234 SET(iflag, IUCLC); in setflags() 235 SET(oflag, OLCUC); in setflags() 236 SET(lfla in setflags() [all...] |
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/ |
| H A D | obj-ecoff.c | 155 #define SET(ptr, count, type, size) \ in ecoff_frob_file() macro 164 SET (line, cbLine, unsigned char *, sizeof (unsigned char)); in ecoff_frob_file() 165 SET (external_dnr, idnMax, void *, debug_swap->external_dnr_size); in ecoff_frob_file() 166 SET (external_pdr, ipdMax, void *, debug_swap->external_pdr_size); in ecoff_frob_file() 167 SET (external_sym, isymMax, void *, debug_swap->external_sym_size); in ecoff_frob_file() 168 SET (external_opt, ioptMax, void *, debug_swap->external_opt_size); in ecoff_frob_file() 169 SET (external_aux, iauxMax, union aux_ext *, sizeof (union aux_ext)); in ecoff_frob_file() 170 SET (ss, issMax, char *, sizeof (char)); in ecoff_frob_file() 171 SET (ssext, issExtMax, char *, sizeof (char)); in ecoff_frob_file() 172 SET (external_rfd, crfd, void *, debug_swap->external_rfd_size); in ecoff_frob_file() [all …]
|
| /openbsd-src/gnu/llvm/llvm/cmake/platforms/ |
| H A D | iOS.cmake | 3 SET(CMAKE_SYSTEM_NAME Darwin) 4 SET(CMAKE_SYSTEM_VERSION 13) 5 SET(CMAKE_CXX_COMPILER_WORKS True) 6 SET(CMAKE_C_COMPILER_WORKS True) 7 SET(IOS True) 44 SET(CMAKE_AR ${CMAKE_AR_val} CACHE FILEPATH "Archiver") 53 SET(CMAKE_RANLIB ${CMAKE_RANLIB_val} CACHE FILEPATH "Ranlib") 62 SET(CMAKE_STRIP ${CMAKE_STRIP_val} CACHE FILEPATH "Strip") 71 SET(CMAKE_DSYMUTIL ${CMAKE_DSYMUTIL_val} CACHE FILEPATH "Dsymutil") 80 SET(CMAKE_LIBTOOL ${CMAKE_LIBTOOL_val} CACHE FILEPATH "Libtool") [all …]
|
| H A D | Android.cmake | 13 SET(CMAKE_SYSTEM_NAME Linux) 16 SET(CMAKE_C_COMPILER ${CMAKE_BINARY_DIR}/../bin/clang) 20 SET(CMAKE_CXX_COMPILER ${CMAKE_BINARY_DIR}/../bin/clang++) 23 SET(ANDROID "1" CACHE STRING "ANDROID" FORCE) 25 SET(ANDROID_COMMON_FLAGS "-target arm-linux-androideabi --sysroot=${LLVM_ANDROID_TOOLCHAIN_DIR}/sys… 26 SET(CMAKE_C_FLAGS "${ANDROID_COMMON_FLAGS}" CACHE STRING "toolchain_cflags" FORCE) 27 SET(CMAKE_CXX_FLAGS "${ANDROID_COMMON_FLAGS}" CACHE STRING "toolchain_cxxflags" FORCE) 28 SET(CMAKE_EXE_LINKER_FLAGS "-pie" CACHE STRING "toolchain_exelinkflags" FORCE)
|
| /openbsd-src/gnu/usr.bin/binutils/gas/config/ |
| H A D | obj-ecoff.c | 222 #define SET(ptr, count, type, size) \ in ecoff_frob_file() macro 231 SET (line, cbLine, unsigned char *, sizeof (unsigned char)); in ecoff_frob_file() 232 SET (external_dnr, idnMax, PTR, debug_swap->external_dnr_size); in ecoff_frob_file() 233 SET (external_pdr, ipdMax, PTR, debug_swap->external_pdr_size); in ecoff_frob_file() 234 SET (external_sym, isymMax, PTR, debug_swap->external_sym_size); in ecoff_frob_file() 235 SET (external_opt, ioptMax, PTR, debug_swap->external_opt_size); in ecoff_frob_file() 236 SET (external_aux, iauxMax, union aux_ext *, sizeof (union aux_ext)); in ecoff_frob_file() 237 SET (ss, issMax, char *, sizeof (char)); in ecoff_frob_file() 238 SET (ssext, issExtMax, char *, sizeof (char)); in ecoff_frob_file() 239 SET (external_rfd, crfd, PTR, debug_swap->external_rfd_size); in ecoff_frob_file() [all …]
|
| /openbsd-src/sys/dev/ic/ |
| H A D | z8530tty.c | 290 SET(zst->zst_swflags, TIOCFLAG_SOFTCAR); in zstty_attach() 371 SET(cs->cs_preg[1], ZSWR1_RIE | ZSWR1_TIE | ZSWR1_SIE); in zstty_attach() 416 SET(zst->zst_rx_flags, RX_IBUF_BLOCKED); in zs_shutdown() 513 SET(t.c_cflag, CLOCAL); in zsopen() 515 SET(t.c_cflag, CRTSCTS); in zsopen() 517 SET(t.c_cflag, MDMBUF); in zsopen() 529 SET(cs->cs_preg[1], ZSWR1_RIE | ZSWR1_TIE | ZSWR1_SIE); in zsopen() 560 SET(tp->t_state, TS_CARR_ON); in zsopen() 602 SET(tp->t_state, TS_WOPEN); in zsopen() 625 SET(tp->t_state, TS_CARR_ON); in zsopen() [all …]
|
| H A D | com.c | 209 SET(sc->sc_mcr, MCR_DTR | MCR_RTS); in com_activate() 259 SET(tp->t_state, TS_WOPEN); in comopen() 274 SET(tp->t_cflag, CLOCAL); in comopen() 276 SET(tp->t_cflag, CRTSCTS); in comopen() 278 SET(tp->t_cflag, MDMBUF); in comopen() 363 SET(sc->sc_mcr, MCR_IENABLE); in comopen() 371 SET(tp->t_state, TS_CARR_ON); in comopen() 398 SET(tp->t_state, TS_WOPEN); in comopen() 610 SET(sc->sc_mcr, MCR_DTR | MCR_RTS); in com_raisedtr() 647 SET(m, MCR_DTR); in tiocm_xxx2mcr() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_md5.cpp | 26 #define SET(n) \ macro 29 SET(n) 57 STEP(F, a, b, c, d, SET(0), 0xd76aa478, 7) in body() 58 STEP(F, d, a, b, c, SET(1), 0xe8c7b756, 12) in body() 59 STEP(F, c, d, a, b, SET(2), 0x242070db, 17) in body() 60 STEP(F, b, c, d, a, SET(3), 0xc1bdceee, 22) in body() 61 STEP(F, a, b, c, d, SET(4), 0xf57c0faf, 7) in body() 62 STEP(F, d, a, b, c, SET(5), 0x4787c62a, 12) in body() 63 STEP(F, c, d, a, b, SET(6), 0xa8304613, 17) in body() 64 STEP(F, b, c, d, a, SET(7), 0xfd469501, 22) in body() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | MD5.cpp | 68 #define SET(n) \ macro 99 STEP(F, a, b, c, d, SET(0), 0xd76aa478, 7) in body() 100 STEP(F, d, a, b, c, SET(1), 0xe8c7b756, 12) in body() 101 STEP(F, c, d, a, b, SET(2), 0x242070db, 17) in body() 102 STEP(F, b, c, d, a, SET(3), 0xc1bdceee, 22) in body() 103 STEP(F, a, b, c, d, SET(4), 0xf57c0faf, 7) in body() 104 STEP(F, d, a, b, c, SET(5), 0x4787c62a, 12) in body() 105 STEP(F, c, d, a, b, SET(6), 0xa8304613, 17) in body() 106 STEP(F, b, c, d, a, SET(7), 0xfd469501, 22) in body() 107 STEP(F, a, b, c, d, SET(8), 0x698098d8, 7) in body() [all …]
|
| /openbsd-src/sys/scsi/ |
| H A D | scsi_ioctl.c | 126 SET(xs->flags, SCSI_DATA_IN); in scsi_ioc_cmd() 134 SET(xs->flags, SCSI_DATA_OUT); in scsi_ioc_cmd() 137 SET(xs->flags, SCSI_SILENT); /* User is responsible for errors. */ in scsi_ioc_cmd() 219 SET(cdb->flags, ATA_PASSTHRU_T_LEN_SECTOR_COUNT); in scsi_ioc_ata_cmd() 244 SET(xs->flags, SCSI_DATA_IN); in scsi_ioc_ata_cmd() 253 SET(xs->flags, SCSI_DATA_OUT); in scsi_ioc_ata_cmd() 256 SET(xs->flags, SCSI_SILENT); /* User is responsible for errors. */ in scsi_ioc_ata_cmd() 341 SET(link->flags, SDEV_DB1); in scsi_do_ioctl() 343 SET(link->flags, SDEV_DB2); in scsi_do_ioctl() 345 SET(link->flags, SDEV_DB3); in scsi_do_ioctl() [all …]
|
| H A D | st.c | 292 SET(st->flags, ST_MODE_BLKSIZE); in stattach() 294 SET(st->flags, ST_MODE_DENSITY); in stattach() 328 SET(st->flags, ST_DYING); in stactivate() 400 SET(link->flags, SDEV_OPEN); in stopen() 433 SET(st->flags, ST_WRITTEN); in stopen() 565 SET(st->flags, ST_FIXEDBLOCKS); in st_mount_tape() 576 SET(st->flags, ST_MOUNTED); in st_mount_tape() 577 SET(link->flags, SDEV_MEDIA_LOADED); /* move earlier? */ in st_mount_tape() 634 SET(st->flags, ST_FIXEDBLOCKS); in st_decide_mode() 647 SET(s in st_decide_mode() [all...] |
| /openbsd-src/sys/dev/fdt/ |
| H A D | exuart.c | 239 SET(sc->sc_ucon, EXUART_UCON_RX_TIMEOUT); in exuart_attach() 262 SET(sc->sc_ucon, EXUART_UCON_RX_INT_TYPE_LEVEL); in exuart_attach() 263 SET(sc->sc_ucon, EXUART_UCON_RX_TIMEOUT); in exuart_attach() 424 SET(sc->sc_ulcon, EXUART_ULCON_WORD_FIVE); in exuart_param() 428 SET(sc->sc_ulcon, EXUART_ULCON_WORD_SIX); in exuart_param() 432 SET(sc->sc_ulcon, EXUART_ULCON_WORD_SEVEN); in exuart_param() 436 SET(sc->sc_ulcon, EXUART_ULCON_WORD_EIGHT); in exuart_param() 443 SET(sc->sc_ulcon, EXUART_ULCON_PARITY_ODD); in exuart_param() 445 SET(sc->sc_ulcon, EXUART_ULCON_PARITY_EVEN); in exuart_param() 449 SET(sc->sc_ulcon, EXUART_ULCON_STOP_TWO); in exuart_param() [all …]
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | hard-reg-set.h | 92 #define SET_HARD_REG_BIT(SET, BIT) \ argument 93 ((SET) |= HARD_CONST (1) << (BIT)) 94 #define CLEAR_HARD_REG_BIT(SET, BIT) \ argument 95 ((SET) &= ~(HARD_CONST (1) << (BIT))) 96 #define TEST_HARD_REG_BIT(SET, BIT) \ argument 97 (!!((SET) & (HARD_CONST (1) << (BIT)))) 118 #define SET_HARD_REG_BIT(SET, BIT) \ argument 119 ((SET)[(BIT) / UHOST_BITS_PER_WIDE_INT] \ 122 #define CLEAR_HARD_REG_BIT(SET, BIT) \ argument 123 ((SET)[(BIT) / UHOST_BITS_PER_WIDE_INT] \ [all …]
|
| /openbsd-src/sys/dev/usb/ |
| H A D | uvscom.c | 502 SET(sc->sc_lcr, UVSCOM_DTR); in uvscom_dtr() 521 SET(sc->sc_lcr, UVSCOM_RTS); in uvscom_rts() 535 uvscom_set_line(sc, SET(sc->sc_lcr, UVSCOM_BREAK)); in uvscom_break() 610 SET(ls, UVSCOM_STOP_BIT_2); in uvscom_param() 612 SET(ls, UVSCOM_STOP_BIT_1); in uvscom_param() 616 SET(ls, UVSCOM_PARITY_ODD); in uvscom_param() 618 SET(ls, UVSCOM_PARITY_EVEN); in uvscom_param() 620 SET(ls, UVSCOM_PARITY_NONE); in uvscom_param() 624 SET(ls, UVSCOM_DATA_BIT_5); in uvscom_param() 627 SET(ls, UVSCOM_DATA_BIT_6); in uvscom_param() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | hard-reg-set.h | 90 #define SET_HARD_REG_BIT(SET, BIT) \ argument 91 ((SET) |= HARD_CONST (1) << (BIT)) 92 #define CLEAR_HARD_REG_BIT(SET, BIT) \ argument 93 ((SET) &= ~(HARD_CONST (1) << (BIT))) 94 #define TEST_HARD_REG_BIT(SET, BIT) \ argument 95 (!!((SET) & (HARD_CONST (1) << (BIT)))) 116 #define SET_HARD_REG_BIT(SET, BIT) \ argument 117 ((SET)[(BIT) / UHOST_BITS_PER_WIDE_INT] \ 120 #define CLEAR_HARD_REG_BIT(SET, BIT) \ argument 121 ((SET)[(BIT) / UHOST_BITS_PER_WIDE_INT] \ [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MLRegallocEvictAdvisor.cpp | 895 #define SET(ID, TYPE, VAL) \ in extractFeatures() macro 902 SET(mask, int64_t, 1); in extractFeatures() 903 SET(is_free, int64_t, Intervals.empty()); in extractFeatures() 904 SET(nr_urgent, float, NrUrgent); in extractFeatures() 905 SET(nr_broken_hints, float, NrBrokenHints); in extractFeatures() 906 SET(is_hint, int64_t, IsHint); in extractFeatures() 907 SET(is_local, int64_t, LocalIntfsCount); in extractFeatures() 908 SET(nr_rematerializable, float, NrRematerializable); in extractFeatures() 909 SET(nr_defs_and_uses, float, NrDefsAndUses); in extractFeatures() 910 SET(weighed_reads_by_max, float, R); in extractFeatures() [all …]
|
| /openbsd-src/regress/lib/libc/setjmp/ |
| H A D | jmptest.c | 50 #define SET(b, m) setjmp(b) macro 56 #define SET(b, m) _setjmp(b) macro 62 #define SET(b, m) sigsetjmp(b, m) macro 118 x = SET(jb, !expectsignal); in main()
|
| /openbsd-src/gnu/gcc/libcpp/include/ |
| H A D | line-map.h | 156 #define INCLUDED_FROM(SET, MAP) (&(SET)->maps[(MAP)->included_from]) argument 164 #define LINEMAP_POSITION_FOR_COLUMN(LOC, SET, TO_COLUMN) { \ argument 166 struct line_maps *set = (SET); \
|
| /openbsd-src/sys/arch/sparc64/dev/ |
| H A D | z8530kbd.c | 354 SET(cs->cs_preg[1], ZSWR1_RIE | ZSWR1_SIE); in zskbd_attach() 427 SET(v3, ZSWR3_RX_8); in zskbd_init() 428 SET(v5, ZSWR5_TX_8); in zskbd_init() 434 SET(v4, ZSWR4_ONESB | ZSWR4_EVENP); in zskbd_init() 607 SET(cs->cs_preg[1], ZSWR1_TIE); in zsstart_tx() 640 SET(tmp15, ZSWR15_DCD_IE); in zs_maskintr() 644 SET(tmp15, ZSWR15_CTS_IE); in zs_maskintr() 664 SET(cs->cs_preg[5], cs->cs_wr5_dtr); in zs_modem() 694 SET(cs->cs_preg[5], cs->cs_wr5_rts); in zs_hwiflow() 695 SET(cs->cs_creg[5], cs->cs_wr5_rts); in zs_hwiflow() [all …]
|