/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.nested_neg.zcp | 1 -- 2 -- This file and its contents are supplied under the terms of the 3 -- Common Development and Distribution License ("CDDL"), version 1.0. 4 -- You may only use this file in accordance with the terms of version 5 -- 1.0 of the CDDL. 6 -- 7 -- A full copy of the text of the CDDL should have accompanied this 8 -- source. A copy of the CDDL is also available via the Internet at 9 -- http://www.illumos.org/license/CDDL. 10 -- [all …]
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | hash.cpp | 1 //===---------- 206 size_t i = 211; __next_prime() local [all...] |
/freebsd/contrib/bc/tests/bc/ |
H A D | assignments.txt | 2 return (i++ + x) 5 return (++i + x) 8 return (i *= 2) + x 11 i++ 12 i-- 13 ++i 14 --i 16 (i++) 17 (i--) 18 (++i) [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | MultiplexExternalSemaSource.cpp | 1 //===--- MultiplexExternalSemaSource.cpp ---------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 24 S1->Retain(); in MultiplexExternalSemaSource() 25 S2->Retain(); in MultiplexExternalSemaSource() 33 S->Release(); in ~MultiplexExternalSemaSource() 38 ///\param[in] source - An ExternalSemaSource. 41 Source->Retain(); in AddSource() 45 //===----------------------------------------------------------------------===// [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.substr.d | 27 #pragma ident "%Z%%M% %I% %E% SMI" 39 int i; variable 45 altstr = "CRAIG: Positioned them, I don't "; 46 altstr2 = "know... I'm fairly wide guy."; 48 command[i].index = 3; 49 command[i].nolen = 1; 50 i++; 52 command[i].index = 300; 53 command[i].nolen = 1; 54 i++; [all …]
|
H A D | tst.index.d | 27 #pragma ident "%Z%%M% %I% %E% SMI" 38 int i; variable 42 command[i].str = "foobarbaz"; 43 command[i].substr = "barbaz"; 44 i++; 46 command[i].str = "foofoofoo"; 47 command[i].substr = "foo"; 48 i++; 50 command[i].str = "boofoofoo"; 51 command[i].substr = "foo"; [all …]
|
/freebsd/lib/libvgl/ |
H A D | mouse.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1991-1997 Søren Schmidt 42 #define BORDER 0xff /* default border -- light white in rgb 3:3:2 */ 43 #define INTERIOR 0xa0 /* default interior -- red in rgb 3:3:2 */ 50 #define I INTERIOR macro 87 B,I,B,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 88 B,I,I,B,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 89 B,I,I,I,B,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 90 B,I,I,I,I,B,0,0,0,0,0,0,0,0,0,0,0,0,0, [all …]
|
/freebsd/tools/tools/ath/ath_ee_9300_print/ |
H A D | main.c | 3 * Copyright (c) 2010-2011 Adrian Chadd, Xenion Pty Ltd. 72 ee->eeprom_version, in eeprom_9300_hdr_print() 73 ee->template_version, in eeprom_9300_hdr_print() 74 ee->mac_addr[0], in eeprom_9300_hdr_print() 75 ee->mac_addr[1], in eeprom_9300_hdr_print() 76 ee->mac_addr[2], in eeprom_9300_hdr_print() 77 ee->mac_addr[3], in eeprom_9300_hdr_print() 78 ee->mac_addr[4], in eeprom_9300_hdr_print() 79 ee->mac_addr[5]); in eeprom_9300_hdr_print() 86 const OSPREY_BASE_EEP_HEADER *ee_base = &ee->base_eep_header; in eeprom_9300_base_print() [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_cfg_instance.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 9 int i = 0; in crypto_instance_init() local 11 instance->stype = CRYPTO; in crypto_instance_init() 12 for (i = 0; i < bundle->num_of_rings / 2; i++) { in crypto_instance_init() 13 if ((bundle->in_use >> bundle->rings[i]->number) & 0x1) in crypto_instance_init() 16 if (bundle->rings[i]->serv_type == ADF_ACCEL_SERV_ASYM && in crypto_instance_init() 17 bundle->rings[i]->mode == TX) { in crypto_instance_init() 18 instance->asym_tx = bundle->rings[i]->number; in crypto_instance_init() 19 bundle->in_use |= 1 << bundle->rings[i]->number; in crypto_instance_init() [all …]
|
/freebsd/sys/powerpc/powerpc/ |
H A D | intr_machdep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 34 /*- 93 void *priv; /* PIC-private data */ 122 static u_int nirqs = 16; /* Allocated IRQS (ISA pre-allocated). */ 158 snprintf(intrnames + INTRNAME_LEN * index, INTRNAME_LEN, "%-*s", in intrcnt_setname() 159 INTRNAME_LEN - 1, name); in intrcnt_setname() 200 struct powerpc_intr *i; in smp_intr_init() local 204 i = powerpc_intrs[vector]; in smp_intr_init() 205 if (i != NULL && i->event != NULL && i->pic == root_pic) in smp_intr_init() [all …]
|
/freebsd/lib/libc/tests/string/ |
H A D | memcmp_test.c | 1 /*- 37 #include <atf-c.h> 48 * behaviour is desired, define RES(x) to be (((x) > 0) - ((x) < 0)). 79 int i; in ATF_TC_BODY() local 81 for (i = 0; i < 256; i++) in ATF_TC_BODY() 82 data1[i] = data2[i] = i ^ 0x55; in ATF_TC_BODY() 83 for (i = 1; i < 256; i++) in ATF_TC_BODY() 84 check_memcmp(data1, data2, i, 0); in ATF_TC_BODY() 85 for (i = 1; i < 256; i++) in ATF_TC_BODY() 86 check_memcmp(data1 + i, data2 + i, 256 - i, 0); in ATF_TC_BODY() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_filter.c | 1 /*- 2 * Copyright (c) 2016-2019 Netflix, Inc. 39 tf->cur_time_limit = time_len; in reset_time() 45 tf->cur_time_limit = time_len; in reset_time_small() 70 * line size I split it to two functions. 77 int i; in setup_time_filter() local 96 for(i=0; i<NUM_FILTER_ENTRIES; i++) { in setup_time_filter() 97 tf->entries[i].value = set_val; in setup_time_filter() 98 tf->entries[i].time_up = 0; in setup_time_filter() 100 tf->cur_time_limit = time_len; in setup_time_filter() [all …]
|
/freebsd/contrib/nvi/common/ |
H A D | encoding.c | 1 /*- 17 #define I 2 /* character appears in ISO-8859 text */ macro 18 #define X 3 /* character appears in non-ISO extended ASCII (Mac, IBM PC) */ 34 I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, /* 0xaX */ 35 I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, /* 0xbX */ 36 I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, /* 0xcX */ 37 I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, /* 0xdX */ 38 I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, /* 0xeX */ 39 I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, I /* 0xfX */ 43 * looks_utf8 -- [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ShuffleDecode.cpp | 1 //===-- X86ShuffleDecode.cpp - X86 shuffle decode logic -------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 20 //===----------------------------------------------------------------------===// 22 //===----------------------------------------------------------------------===// 53 for (unsigned i = 0; i != NumElts; ++i) in DecodeInsertElementMask() local 54 ShuffleMask.push_back(i); in DecodeInsertElementMask() 55 for (unsigned i = 0; i != Len; ++i) in DecodeInsertElementMask() local 56 ShuffleMask[Idx + i] = NumElts + i; in DecodeInsertElementMask() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstructionSelector.cpp | 1 //===- SPIRVInstructionSelector.cpp ------------------------------*- C++ -*-==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 46 LLVMContext &CTX = MMI.getModule()->getContext(); in SPIRVMachineModuleInfo() 57 #define DEBUG_TYPE "spirv-isel" 92 // Common selection code. Instruction-specific selection occurs in spvSelect. 93 bool select(MachineInstr &I) override; 105 // tblgen-erated 'select' implementation, used as the initial selector for 107 bool selectImpl(MachineInstr &I, CodeGenCoverage &CoverageInfo) const; [all …]
|
/freebsd/tools/test/netfibs/ |
H A D | forwarding.sh | 2 #- 34 # left ------------------------- middle ------------------------- right 57 RT_NUMFIBS=`sysctl -n net.fibs` 68 set -e 72 42) set -x ;; 106 if test ${_rc} -eq ${_exp}; then 143 left) ifconfig ${IFACE} inet6 ${LEFTADDR}/64 -alias \ 148 route delete -net -inet6 default > /dev/null 2>&1 || true 149 route delete -host -inet6 ${RIGHTADDR} ${MIDDLELEFTADDR} \ 151 route add -host -inet6 ${RIGHTADDR} ${MIDDLELEFTADDR} \ [all …]
|
/freebsd/lib/libc/db/test/ |
H A D | run.test | 1 #!/bin/sh - 12 if [ -f /usr/share/dict/words ]; then 14 elif [ -f /usr/dict/words ]; then 21 if [ $# -eq 0 ]; then 26 while [ $# -gt 0 ] 30 [0-9]*) 52 rm -f $TMP1 $TMP2 $TMP3 63 rm -f $TMP2 $TMP3 64 for i in `sed 200q $DICT`; do 66 echo k$i [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_vector_clock.cpp | 1 //===-- tsan_vector_clock.cpp ---------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 27 for (uptr i = 0; i < kThreadSlotCount; i++) in Reset() local 28 clk_[i] = kEpochZero; in Reset() 32 for (uptr i = 0; i < kVectorClockSize; i++) _mm_store_si128(&vclk[i], z); in Reset() 40 for (uptr i = 0; i < kThreadSlotCount; i++) in Acquire() local 41 clk_[i] = max(clk_[i], src->clk_[i]); in Acquire() 44 m128 const* __restrict vsrc = reinterpret_cast<m128 const*>(src->clk_); in Acquire() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-fill-block-avx2.c | 18 #include "argon2-core.h" 41 # include "blamka-round-avx2.h" 47 uint32_t i; in fill_block() local 49 for (i = 0; i < ARGON2_HWORDS_IN_BLOCK; i++) { in fill_block() 50 block_XY[i] = state[i] = _mm256_xor_si256( in fill_block() 51 state[i], _mm256_loadu_si256((__m256i const *) (&ref_block[32 * i]))); in fill_block() 54 for (i = 0; i < 4; ++i) { in fill_block() 55 BLAKE2_ROUND_1(state[8 * i + 0], state[8 * i + 4], state[8 * i + 1], state[8 * i + 5], in fill_block() 56 state[8 * i + 2], state[8 * i + 6], state[8 * i + 3], state[8 * i + 7]); in fill_block() 59 for (i = 0; i < 4; ++i) { in fill_block() [all …]
|
H A D | argon2-fill-block-avx512f.c | 18 #include "argon2-core.h" 42 # include "blamka-round-avx512f.h" 48 uint32_t i; in fill_block() local 50 for (i = 0; i < ARGON2_512BIT_WORDS_IN_BLOCK; i++) { in fill_block() 51 block_XY[i] = state[i] = _mm512_xor_si512( in fill_block() 52 state[i], _mm512_loadu_si512((__m512i const *) (&ref_block[64 * i]))); in fill_block() 55 for (i = 0; i < 2; ++i) { in fill_block() 57 state[8 * i + 0], state[8 * i + 1], state[8 * i + 2], state[8 * i + 3], in fill_block() 58 state[8 * i + 4], state[8 * i + 5], state[8 * i + 6], state[8 * i + 7]); in fill_block() 61 for (i = 0; i < 2; ++i) { in fill_block() [all …]
|
H A D | argon2-fill-block-ssse3.c | 18 #include "argon2-core.h" 36 # include "blamka-round-ssse3.h" 42 uint32_t i; in fill_block() local 44 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) { in fill_block() 45 block_XY[i] = state[i] = _mm_xor_si128( in fill_block() 46 state[i], _mm_loadu_si128((__m128i const *) (&ref_block[16 * i]))); in fill_block() 49 for (i = 0; i < 8; ++i) { in fill_block() 50 BLAKE2_ROUND(state[8 * i + 0], state[8 * i + 1], state[8 * i + 2], in fill_block() 51 state[8 * i + 3], state[8 * i + 4], state[8 * i + 5], in fill_block() 52 state[8 * i + 6], state[8 * i + 7]); in fill_block() [all …]
|
/freebsd/tools/tools/ath/ath_ee_9287_print/ |
H A D | 9287.c | 2 * Copyright (c) 2010-2011 Adrian Chadd, Xenion Pty Ltd. 51 BASE_EEP_9287_HEADER *eh = &eep->ee_base.baseEepHeader; in eeprom_9287_base_print() 52 int i; in eeprom_9287_base_print() local 55 eh->version, eh->length, eh->checksum); in eeprom_9287_base_print() 57 eh->opCapFlags, eh->eepMisc, eh->regDmn[0], eh->regDmn[1]); in eeprom_9287_base_print() 59 eh->macAddr[0], eh->macAddr[1], eh->macAddr[2], in eeprom_9287_base_print() 60 eh->macAddr[3], eh->macAddr[4], eh->macAddr[5]); in eeprom_9287_base_print() 62 eh->rxMask, eh->txMask, eh->rfSilent, eh->blueToothOptions); in eeprom_9287_base_print() 64 eh->deviceCap, eh->binBuildNumber, eh->deviceType, eh->openLoopPwrCntl); in eeprom_9287_base_print() 66 eh->pwrTableOffset, eh->tempSensSlope, eh->tempSensSlopePalOn); in eeprom_9287_base_print() [all …]
|
/freebsd/contrib/wireguard-tools/ |
H A D | encoding.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 5 * This is a specialized constant-time base64/hex implementation that resists side-channel attacks. 15 for (unsigned int i = 0; i < 4; ++i) in encode_base64() local 16 dest[i] = input[i] + 'A' in encode_base64() 17 + (((25 - input[i]) >> 8) & 6) in encode_base64() 18 - (((51 - input[i]) >> 8) & 75) in encode_base64() 19 - (((61 - input[i]) >> 8) & 15) in encode_base64() 20 + (((62 - input[i]) >> 8) & 3); in encode_base64() 26 unsigned int i; in key_to_base64() local [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | snprintf-test.c | 2 * Copyright (c) 2000 - 2001 Kungliga Tekniska Högskolan 63 int int_values[] = {INT_MIN, -17, -1, 0, 1, 17, 4711, 65535, INT_MAX}; in cmp_with_sprintf_int() 64 int i; in cmp_with_sprintf_int() local 66 for (i = 0; i < sizeof(int_values) / sizeof(int_values[0]); ++i) { in cmp_with_sprintf_int() 67 tot += try ("%d", int_values[i]); in cmp_with_sprintf_int() 68 tot += try ("%x", int_values[i]); in cmp_with_sprintf_int() 69 tot += try ("%X", int_values[i]); in cmp_with_sprintf_int() 70 tot += try ("%o", int_values[i]); in cmp_with_sprintf_int() 71 tot += try ("%#x", int_values[i]); in cmp_with_sprintf_int() 72 tot += try ("%#X", int_values[i]); in cmp_with_sprintf_int() [all …]
|
/freebsd/contrib/ntp/html/ |
H A D | sntp.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 5 <title>sntp - Simple Network Time Protocol (SNTP) Client</title> 6 <!-- Changed by: Harlan &, 07-Dec-2014 --> 10 <h3><tt>sntp</tt> - Simple Network Time Protocol (SNTP) Client</h3> 11 …ef="http://www.eecis.udel.edu/~mills/pictures.html">from <i>Alice's Adventures in Wonderland</i>, … 14 <!-- #BeginDate format:En2m -->1-Apr-2015 11:05<!-- #EndDate --> 19 …--help -?}][{-4 -6}][-a <i>keynum</i>][-b <i>bcaddress</i>][-B <i>bctimeout</i>][-c][-d][-D <i>deb… 21 …plements the SNTP client protocol defined in RFC 5905, including the full on-wire protocol but doe… 22 <p>By default, <tt>sntp</tt> writes the local date and time (i.e., not UTC) to the standard output … [all …]
|