/freebsd/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 113 static int xo_logstat = 0; /* xo_status bits, set by openlog() */ 116 static int xo_logmask = 0xff; /* mask of priorities to be logged */ 121 do { int really_ignored = _x; if (really_ignored) { }} while (0) 130 } while(0) 134 } while(0) 141 NOCONN = 0, 199 xo_open_log_unlocked(xo_logtag, xo_logstat | LOG_NDELAY, 0); in xo_send_syslog() 219 if (send(xo_logfile, full_msg, full_len, 0) < 0) { in xo_send_syslog() 227 if (send(xo_logfile, full_msg, full_len, 0) >= 0) { in xo_send_syslog() 244 if (send(xo_logfile, full_msg, full_len, 0) >= 0) { in xo_send_syslog() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrMMA.td | 19 XX3Form_AT3_XAB6<opcode, !or(xo, 0x01), (outs acc:$AT), IOL, 29 XX3Form_AT3_XAB6<opcode, !or(xo, 0x01), (outs wacc:$AT), IOL, 47 opcode, !or(xo, 0x01), (outs acc:$AT), 64 opcode, !or(xo, 0x01), (outs wacc:$AT), 88 opcode, !or(xo, 0x01), (outs acc:$AT), 105 opcode, !or(xo, 0x01), (outs wacc:$AT), 129 opcode, !or(xo, 0x01), (outs acc:$AT), 145 opcode, !or(xo, 0x01), (outs wacc:$AT), 161 // Upper nibble of XO field for acc/non-acc version is 0x4/0x6. 171 opcode, !or(xo, 0x20), (outs acc:$AT), !con((ins acc:$ATi), IOL), [all …]
|
H A D | PPCInstrVSX.td | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 51 // ** printing (for example: xxswapd for xxpermdi with 0x2 as the imm). ** 55 SDTCisVT<0, v4f32>, SDTCisPtrTy<1> 59 SDTCisVT<0, v2f64>, SDTCisVT<1, v4f32>, SDTCisPtrTy<2> 63 SDTCisVec<0>, SDTCisPtrTy<1> 68 SDTCisVT<0, v2f64>, SDTCisPtrTy<1> 70 def SDT_PPCstxvd2x : SDTypeProfile<0, 2, [ 71 SDTCisVT<0, v2f64>, SDTCisPtrTy<1> 74 SDTCisSameAs<0, 1> 77 SDTCisVec<0>, SDTCisVec<1>, SDTCisPtrTy<2> [all …]
|
H A D | README_P9.txt | 55 // PowerISA_V3.0: 56 do i = 0 to 3 63 // PowerISA_V3.0: 64 do i = 0 to 3 71 // PowerISA_V3.0: 72 do i = 0 to 1 79 // PowerISA_V3.0: 80 do i = 0 to 1 87 // PowerISA_V3.0: 88 do i = 0 to 1 [all …]
|
H A D | PPCInstrFormats.td | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 16 field bits<32> SoftFail = 0; 19 bit PPC64 = 0; // Default value, override with isPPC64 22 let Inst{0-5} = opcode; 28 bits<1> PPC970_First = 0; 29 bits<1> PPC970_Single = 0; 30 bits<1> PPC970_Cracked = 0; 31 bits<3> PPC970_Unit = 0; 35 let TSFlags{0} = PPC970_First; 41 bits<1> XFormMemOp = 0; [all...] |
H A D | PPCInstrP10.td | 5 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 28 // * [FR|R|V|X|B][A-Z] - register source (i.e. FRA, RA, XB, etc.) 49 // and sources (XA, XB) that are all 6-bits. The destination and 62 def SDT_PPCSplat32 : SDTypeProfile<1, 3, [ SDTCisVT<0, v2i64>, 66 SDTCisVT<0, v512i1>, SDTCisVT<1, v4i32>, SDTCisVT<2, v4i32>, 70 SDTCisVT<0, v256i1>, SDTCisVT<1, v4i32>, SDTCisVT<2, v4i32> 73 SDTCisVT<0, v4i32>, SDTCisVT<1, v512i1>, SDTCisPtrTy<2> 76 SDTCisVT<0, v4i32>, SDTCisVT<1, v256i1>, SDTCisPtrTy<2> 79 SDTCisVT<0, v512i1>, SDTCisVT<1, v512i1> 103 SDTCisVT<0, v1i128>, SDTCisPtrTy<1>, SDTCisPtrTy<2> [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8ulp-pinfunc.h | 13 #define MX8ULP_PAD_PTD0__PTD0 0x0000 0x0000 0x1 0x0 14 #define MX8ULP_PAD_PTD0__I2S6_RX_BCLK 0x0000 0x0B44 0x7 0x1 15 #define MX8ULP_PAD_PTD0__SDHC0_RESET_B 0x0000 0x0000 0x8 0x0 16 #define MX8ULP_PAD_PTD0__FLEXSPI2_B_DQS 0x0000 0x0974 0x9 0x1 17 #define MX8ULP_PAD_PTD0__CLKOUT2 0x0000 0x0000 0xa 0x0 18 #define MX8ULP_PAD_PTD0__EPDC0_SDCLK_B 0x0000 0x0000 0xb 0x0 19 #define MX8ULP_PAD_PTD0__LP_APD_DBG_MUX_0 0x0000 0x0000 0xc 0x0 20 #define MX8ULP_PAD_PTD0__CLKOUT1 0x0000 0x0000 0xd 0x0 21 #define MX8ULP_PAD_PTD0__DEBUG_MUX0_0 0x0000 0x0000 0xe 0x0 22 #define MX8ULP_PAD_PTD0__DEBUG_MUX1_0 0x0000 0x0000 0xf 0x0 [all …]
|
/freebsd/crypto/openssh/ |
H A D | hmac.c | 76 ctx->buf_len) < 0) in ssh_hmac_init() 78 for (i = 0; i < ctx->buf_len; i++) in ssh_hmac_init() 79 ctx->buf[i] ^= 0x36; in ssh_hmac_init() 80 if (ssh_digest_update(ctx->ictx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init() 82 for (i = 0; i < ctx->buf_len; i++) in ssh_hmac_init() 83 ctx->buf[i] ^= 0x36 ^ 0x5c; in ssh_hmac_init() 84 if (ssh_digest_update(ctx->octx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init() 89 if (ssh_digest_copy_state(ctx->ictx, ctx->digest) < 0) in ssh_hmac_init() 91 return 0; in ssh_hmac_init() 116 if (ssh_digest_copy_state(ctx->octx, ctx->digest) < 0 || in ssh_hmac_final() [all …]
|
H A D | srclimit.c | 55 if (max <= 0) in srclimit_init() 58 for (i = 0; i < max_children; i++) in srclimit_init() 62 /* returns 1 if connection allowed, 0 if not allowed. */ 66 struct xaddr xa, xb, xmask; in srclimit_check_allow() local 70 int i, bits, first_unused, count = 0; in srclimit_check_allow() 77 if (getpeername(sock, sa, &addrlen) != 0) in srclimit_check_allow() 79 if (addr_sa_to_xaddr(sa, addrlen, &xa) != 0) in srclimit_check_allow() 84 if (addr_netmask(xa.af, bits, &xmask) != 0 || in srclimit_check_allow() 85 addr_and(&xb, &xa, &xmask) != 0) { in srclimit_check_allow() 92 for (i = 0; i < max_children; i++) { in srclimit_check_allow() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | usb_emul.c | 60 struct usb_data_xfer_block *xb; in usb_data_xfer_append() local 65 xb = &xfer->data[xfer->tail]; in usb_data_xfer_append() 66 xb->buf = buf; in usb_data_xfer_append() 67 xb->blen = blen; in usb_data_xfer_append() 68 xb->hci_data = hci_data; in usb_data_xfer_append() 69 xb->ccs = ccs; in usb_data_xfer_append() 70 xb->processed = 0; in usb_data_xfer_append() 71 xb->bdone = 0; in usb_data_xfer_append() 74 return (xb); in usb_data_xfer_append()
|
/freebsd/contrib/bearssl/src/int/ |
H A D | i32_decmod.c | 39 * will contain the comparison result, as 0x00000000 (value is in br_i32_decode_mod() 40 * equal to the modulus), 0x00000001 (value is greater than the in br_i32_decode_mod() 41 * modulus), or 0xFFFFFFFF (value is lower than the modulus). in br_i32_decode_mod() 43 mlen = (m[0] + 7) >> 3; in br_i32_decode_mod() 44 r = 0; in br_i32_decode_mod() 45 for (u = (mlen > len) ? mlen : len; u > 0; u --) { in br_i32_decode_mod() 46 uint32_t mb, xb; in br_i32_decode_mod() local 50 mb = 0; in br_i32_decode_mod() 52 mb = (m[1 + (v >> 2)] >> ((v & 3) << 3)) & 0xFF; in br_i32_decode_mod() 55 xb = 0; in br_i32_decode_mod() [all …]
|
/freebsd/contrib/gdtoa/ |
H A D | misc.c | 57 ACQUIRE_DTOA_LOCK(0); 58 /* The k > Kmax case does not need ACQUIRE_DTOA_LOCK(0), */ 60 if (k <= Kmax && (rv = freelist[k]) !=0) { 80 FREE_DTOA_LOCK(0); 81 rv->sign = rv->wds = 0; 101 ACQUIRE_DTOA_LOCK(0); 104 FREE_DTOA_LOCK(0); 122 return 0; 130 k = 0; 131 if (!(x & 0xffff)) { [all …]
|
H A D | sum.c | 42 ULong carry, *xc, *xa, *xb, *xe, y; local 52 carry = 0; 54 xb = b->x; 59 y = (*xa & 0xffff) + (*xb & 0xffff) + carry; 60 carry = (y & 0x10000) >> 16; 61 z = (*xa++ >> 16) + (*xb++ >> 16) + carry; 62 carry = (z & 0x10000) >> 16; 68 y = (*xa & 0xffff) + carry; 69 carry = (y & 0x10000) >> 16; 71 carry = (z & 0x10000) >> 16; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx7ulp-pinfunc.h | 15 #define IMX7ULP_PAD_PTC0__PTC0 0x0000 0x0000 0x1 0x0 16 #define IMX7ULP_PAD_PTC0__TRACE_D15 0x0000 0x0000 0xa 0x0 17 #define IMX7ULP_PAD_PTC0__LPUART4_CTS_B 0x0000 0x0244 0x4 0x1 18 #define IMX7ULP_PAD_PTC0__LPI2C4_SCL 0x0000 0x0278 0x5 0x1 19 #define IMX7ULP_PAD_PTC0__TPM4_CLKIN 0x0000 0x0298 0x6 0x1 20 #define IMX7ULP_PAD_PTC0__FB_AD0 0x0000 0x0000 0x9 0x0 21 #define IMX7ULP_PAD_PTC1__PTC1 0x0004 0x0000 0x1 0x0 22 #define IMX7ULP_PAD_PTC1__TRACE_D14 0x0004 0x0000 0xa 0x0 23 #define IMX7ULP_PAD_PTC1__LPUART4_RTS_B 0x0004 0x0000 0x4 0x0 24 #define IMX7ULP_PAD_PTC1__LPI2C4_SDA 0x0004 0x027c 0x5 0x1 [all …]
|
H A D | imxrt1170-pinfunc.h | 10 #define IMX_PAD_SION 0x40000000 17 #define IOMUXC_GPIO_LPSR_00_FLEXCAN3_TX 0x000 0x040 0x0 0x0 0x0 18 #define IOMUXC_GPIO_LPSR_00_MIC_CLK 0x000 0x040 0x0 0x1 0x0 19 #define IOMUXC_GPIO_LPSR_00_MQS_RIGHT 0x000 0x040 0x0 0x2 0x0 20 #define IOMUXC_GPIO_LPSR_00_ARM_CM4_EVENTO 0x000 0x040 0x0 0x3 0x0 21 #define IOMUXC_GPIO_LPSR_00_GPIO_MUX6_IO00 0x000 0x040 0x0 0x5 0x0 22 #define IOMUXC_GPIO_LPSR_00_LPUART12_TXD 0x000 0x040 0x0B0 0x6 0x0 23 #define IOMUXC_GPIO_LPSR_00_SAI4_MCLK 0x000 0x040 0x0C8 0x7 0x0 24 #define IOMUXC_GPIO_LPSR_00_GPIO12_IO00 0x000 0x040 0x0 0xA 0x0 26 #define IOMUXC_GPIO_LPSR_01_FLEXCAN3_RX 0x004 0x044 0x080 0x0 0x0 [all …]
|
/freebsd/crypto/openssl/crypto/sha/ |
H A D | sha_local.h | 29 } while (0) 48 #define INIT_DATA_h0 0x67452301UL 49 #define INIT_DATA_h1 0xefcdab89UL 50 #define INIT_DATA_h2 0x98badcfeUL 51 #define INIT_DATA_h3 0x10325476UL 52 #define INIT_DATA_h4 0xc3d2e1f0UL 56 memset(c, 0, sizeof(*c)); in HASH_INIT() 65 #define K_00_19 0x5a827999UL 66 #define K_20_39 0x6ed9eba1UL 67 #define K_40_59 0x8f1bbcdcUL [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | nvm_cfg.h | 43 #define NVM_CFG_version 0x83306 54 #define NVM_CFG_MAC_ADDRESS_HI_MASK 0x0000FFFF 55 #define NVM_CFG_MAC_ADDRESS_HI_OFFSET 0 64 u32 generic_cont0; /* 0x0 */ 65 #define NVM_CFG1_GLOB_BOARD_SWAP_MASK 0x0000000F 66 #define NVM_CFG1_GLOB_BOARD_SWAP_OFFSET 0 67 #define NVM_CFG1_GLOB_BOARD_SWAP_NONE 0x0 68 #define NVM_CFG1_GLOB_BOARD_SWAP_PATH 0x1 69 #define NVM_CFG1_GLOB_BOARD_SWAP_PORT 0x2 70 #define NVM_CFG1_GLOB_BOARD_SWAP_BOTH 0x3 [all …]
|
/freebsd/usr.sbin/bluetooth/rtlbtfw/ |
H A D | rtlbt_fw.c | 48 .hci_revision = 0xb, 49 .hci_version = 0x6, 54 .hci_revision = 0xb, 55 .hci_version = 0x6, 59 .hci_revision = 0xd, 60 .hci_version = 0x8, 65 .hci_revision = 0xa, 66 .hci_version = 0x6, 70 .hci_revision = 0xc, 71 .hci_version = 0x8, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64CollectLOH.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 20 // L2: add xB, xA, sym@PAGEOFF 21 // L3: ldr xC, [xB, #imm] 29 // L3: ldr xC, [xB, sym@PAGEOFF + #imm] 32 // L3: ldr xC, [xB, #imm] 44 // - The base address (xB) in L3 is defined only L2. 52 // L2: add xB, xA, sym@PAGEOFF 53 // L3: ldr xC, [xB, #imm] 56 // L2: ldr xB, [xA, sym@GOTPAGEOFF] 57 // L3: ldr xC, [xB, #im [all...] |
/freebsd/usr.bin/jot/tests/ |
H A D | regress.sh | 34 REGRESSION_TEST(`rand1', `jot -r 10000 0 9 | sort -u') 35 REGRESSION_TEST(`rand2', `jot -r 10000 9 0 | sort -u') 37 REGRESSION_TEST(`ascii', `jot -c 128 0') 41 REGRESSION_TEST(`stutter', `jot - 9 0 -.5') 42 REGRESSION_TEST(`stutter2', `jot -w %d - 9.5 0 -.5') 54 REGRESSION_TEST(`wx', `jot -w "a%xb" 10') 55 REGRESSION_TEST(`wX1', `jot -w "a%Xb" 10') 56 REGRESSION_TEST(`wXl', `jot -w "a%Xb" 10 2147483648') 58 REGRESSION_TEST(`wxn', `jot -w "a%xb" 10 -5 2>/dev/null')
|
/freebsd/crypto/openssl/crypto/chacha/asm/ |
H A D | chacha-x86.pl | 39 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; 45 &asm_init($ARGV[0],$ARGV[$#ARGV] eq "386"); 47 $xmm=$ymm=0; 52 =~ /GNU assembler version ([2-9]\.[0-9]+)/ && 55 $ymm=1 if ($xmm && !$ymm && $ARGV[0] eq "win32n" && 56 `nasm -v 2>&1` =~ /NASM version ([2-9]\.[0-9]+)/ && 59 $ymm=1 if ($xmm && !$ymm && $ARGV[0] eq "win32" && 60 `ml 2>&1` =~ /Version ([0-9]+)\./ && 64 `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|based on LLVM) ([0-9]+\.[0-9]+)/ && 79 # 0 4 8 12 < even round [all …]
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/net/ |
H A D | ti-dp83867.h | 14 #define DP83867_PHYCR_FIFO_DEPTH_3_B_NIB 0x00 15 #define DP83867_PHYCR_FIFO_DEPTH_4_B_NIB 0x01 16 #define DP83867_PHYCR_FIFO_DEPTH_6_B_NIB 0x02 17 #define DP83867_PHYCR_FIFO_DEPTH_8_B_NIB 0x03 20 #define DP83867_RGMIIDCTL_250_PS 0x0 21 #define DP83867_RGMIIDCTL_500_PS 0x1 22 #define DP83867_RGMIIDCTL_750_PS 0x2 23 #define DP83867_RGMIIDCTL_1_NS 0x3 24 #define DP83867_RGMIIDCTL_1_25_NS 0x4 25 #define DP83867_RGMIIDCTL_1_50_NS 0x5 [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | pmr735d_b.dtsi | 19 hysteresis = <0>; 25 hysteresis = <0>; 37 reg = <0xb SPMI_USID>; 39 #size-cells = <0>; 43 reg = <0xa00>; 44 interrupts = <0xb 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 45 #thermal-sensor-cells = <0>; 50 reg = <0x8800>; 52 gpio-ranges = <&pmr735d_l_gpios 0 0 2>;
|
/freebsd/sys/contrib/device-tree/src/powerpc/ |
H A D | mvme5100.dts | 26 #size-cells = <0>; 30 reg = <0x0>; 44 reg = <0x0 0x20000000>; 51 ranges = <0x0 0xfef80000 0x10000>; 52 reg = <0xfef80000 0x10000>; 57 reg = <0x8000 0x80>; 68 reg = <0x8200 0x80>; 78 #address-cells = <0>; 82 reg = <0xf3f80000 0x40000>; 92 reg = <0xfec00000 0x400000>; [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/ivytown/ |
H A D | uncore-power.json | 4 "Counter": "0,1,2,3", 11 "Counter": "0,1,2,3", 12 "EventCode": "0xb", 21 "Counter": "0,1,2,3", 22 "EventCode": "0xc", 31 "Counter": "0,1,2,3", 32 "EventCode": "0xd", 41 "Counter": "0,1,2,3", 42 "EventCode": "0xe", 51 "Counter": "0,1,2,3", [all …]
|