/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.nested_neg.zcp | 1 -- SPDX-License-Identifier: CDDL-1.0 2 -- 3 -- This file and its contents are supplied under the terms of the 4 -- Common Development and Distribution License ("CDDL"), version 1.0. 5 -- You may only use this file in accordance with the terms of version 6 -- 1.0 of the CDDL. 7 -- 8 -- A full copy of the text of the CDDL should have accompanied this 9 -- source. A copy of the CDDL is also available via the Internet at 10 -- http://www.illumos.org/license/CDDL. [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/crypto/openssl/crypto/ml_dsa/ |
H A D | ml_dsa_vector.h | 2 * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 29 v->poly = polys; in vector_init() 30 v->num_poly = num_polys; in vector_init() 36 v->poly = OPENSSL_malloc(num_polys * sizeof(POLY)); in vector_alloc() 37 if (v->poly == NULL) in vector_alloc() 39 v->num_poly = num_polys; in vector_alloc() 46 OPENSSL_free(v->poly); in vector_free() 47 v->poly = NULL; in vector_free() 48 v->num_poly = 0; in vector_free() 55 if (va->poly != NULL) in vector_zero() [all …]
|
H A D | ml_dsa_poly.h | 2 * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 21 memset(p->coeff, 0, sizeof(*p)); in poly_zero() 27 * @param lhs A polynomial with coefficients in the range (0..q-1) 28 * @param rhs A polynomial with coefficients in the range (0..q-1) to add 31 * range 0..q-1 36 int i; in poly_add() local 38 for (i = 0; i < ML_DSA_NUM_POLY_COEFFICIENTS; i++) in poly_add() 39 out->coeff[i] = reduce_once(lhs->coeff[i] + rhs->coeff[i]); in poly_add() 45 * @param lhs A polynomial with coefficients in the range (0..q-1) 46 * @param rhs A polynomial with coefficients in the range (0..q-1) to subtract [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/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/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/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/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 …]
|