/freebsd/sys/dev/sfxge/common/ |
H A D | efx_hash.c | 114 __in_ecount(count) uint32_t const *input, in efx_hash_dwords() 128 a += input[0]; in efx_hash_dwords() 129 b += input[1]; in efx_hash_dwords() 130 c += input[2]; in efx_hash_dwords() 134 input += 3; in efx_hash_dwords() 140 c += input[2]; in efx_hash_dwords() 143 b += input[1]; in efx_hash_dwords() 146 a += input[0]; in efx_hash_dwords() 163 __in_ecount(length) uint8_t const *input, in efx_hash_bytes() 176 a += ((uint32_t)input[0]) << 24; in efx_hash_bytes() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | VersionTuple.cpp | 41 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() argument 43 if (input.empty()) in parseInt() 46 char next = input[0]; in parseInt() 47 input = input.substr(1); in parseInt() 52 while (!input.empty()) { in parseInt() 53 next = input[0]; in parseInt() 56 input = input.substr(1); in parseInt() 63 bool VersionTuple::tryParse(StringRef input) { in tryParse() argument [all...] |
/freebsd/contrib/byacc/test/ |
H A D | run_make.sh | 46 for input in ${REF_DIR}/*.c 48 case $input in #(vi 55 test -f "$input" || continue 57 run_make "$input" 60 case $input in #(vi 68 run_make "$input" DEFINES="$DEFS" 75 for input in ${TEST_DIR}/*.y 77 test -f "$input" || continue 78 case $input in 98 echo "... testing $input" [all …]
|
/freebsd/lib/libc/tests/stdio/ |
H A D | sscanf_test.c | 15 char input[8]; member 165 char input[16]; in ATF_TC_BODY() local 167 for (stc = sscanf_test_cases; *stc->input; stc++) { in ATF_TC_BODY() 168 strcpy(input + 1, stc->input); in ATF_TC_BODY() 169 SSCANF_TEST(input + 1, "%b", stc->b.ret, stc->b.val, stc->b.len); in ATF_TC_BODY() 170 input[0] = '+'; in ATF_TC_BODY() 171 SSCANF_TEST(input, "%b", stc->b.ret, stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 172 input[0] = '-'; in ATF_TC_BODY() 173 SSCANF_TEST(input, "%b", stc->b.ret, -stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 181 char input[16]; in ATF_TC_BODY() local [all …]
|
H A D | swscanf_test.c | 18 wchar_t input[8]; member 168 wchar_t input[16]; in ATF_TC_BODY() local 170 for (stc = swscanf_test_cases; *stc->input; stc++) { in ATF_TC_BODY() 171 wcscpy(input + 1, stc->input); in ATF_TC_BODY() 172 SWSCANF_TEST(input + 1, L"%b", stc->b.ret, stc->b.val, stc->b.len); in ATF_TC_BODY() 173 input[0] = L'+'; in ATF_TC_BODY() 174 SWSCANF_TEST(input, L"%b", stc->b.ret, stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 175 input[0] = L'-'; in ATF_TC_BODY() 176 SWSCANF_TEST(input, L"%b", stc->b.ret, -stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 184 wchar_t input[16]; in ATF_TC_BODY() local [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nvidia/ |
H A D | tegra124-nyan-blaze.dts | 39 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 46 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 53 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 60 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 67 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 74 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 81 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 88 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 95 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 102 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
H A D | tegra124-nyan-big.dts | 37 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 44 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 51 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 58 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 65 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 72 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 79 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 86 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 93 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 100 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
H A D | tegra30-beaver.dts | 77 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 84 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 91 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 98 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 105 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 112 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 119 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 126 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 133 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 140 nvidia,enable-input [all...] |
/freebsd/contrib/ldns/compat/ |
H A D | b64_ntop.c | 117 uint8_t input[3]; in ldns_b64_ntop() local 131 input[0] = *src++; in ldns_b64_ntop() 132 input[1] = *src++; in ldns_b64_ntop() 133 input[2] = *src++; in ldns_b64_ntop() 136 output[0] = input[0] >> 2; in ldns_b64_ntop() 137 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in ldns_b64_ntop() 138 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in ldns_b64_ntop() 139 output[3] = input[2] & 0x3f; in ldns_b64_ntop() 157 input[0] = input[1] = input[2] = (uint8_t) '\0'; in ldns_b64_ntop() 159 input[i] = *src++; in ldns_b64_ntop() [all …]
|
/freebsd/usr.bin/dtc/ |
H A D | fdt.cc | 258 property::parse_string(text_input_buffer &input) in parse_string() argument 261 assert(*input == '"'); in parse_string() 262 ++input; in parse_string() 265 while (char c = *input) in parse_string() 269 input.consume('"'); in parse_string() 274 ++input; in parse_string() 281 property::parse_cells(text_input_buffer &input, int cell_size) in parse_cells() argument 283 assert(*input == '<'); in parse_cells() 284 ++input; in parse_cells() 286 input.next_token(); in parse_cells() [all …]
|
/freebsd/sys/dev/uart/ |
H A D | uart_cpu_powerpc.c | 57 phandle_t input; in ofw_get_uart_console() local 61 input = OF_finddevice(buf); in ofw_get_uart_console() 62 if (input == -1) in ofw_get_uart_console() 68 if (OF_finddevice(buf) != input) in ofw_get_uart_console() 72 *result = input; in ofw_get_uart_console() 113 phandle_t input, opts, chosen; in uart_cpu_getdev() local 122 error = ofw_get_uart_console(chosen, &input, in uart_cpu_getdev() 125 error = ofw_get_uart_console(chosen, &input, in uart_cpu_getdev() 128 error = ofw_get_console_phandle_path(chosen, &input, in uart_cpu_getdev() 131 error = ofw_get_uart_console(chosen, &input, in uart_cpu_getdev() [all …]
|
/freebsd/crypto/openssl/crypto/chacha/ |
H A D | chacha_enc.c | 43 static void chacha20_core(chacha_buf *output, const u32 input[16]) in chacha20_core() 49 memcpy(x, input, sizeof(x)); in chacha20_core() 64 output->u[i] = x[i] + input[i]; in chacha20_core() 67 U32TO8_LITTLE(output->c + 4 * i, (x[i] + input[i])); in chacha20_core() 75 u32 input[16]; in ChaCha20_ctr32() local 80 input[0] = ((u32)ossl_toascii('e')) | ((u32)ossl_toascii('x') << 8) in ChaCha20_ctr32() 83 input[1] = ((u32)ossl_toascii('n')) | ((u32)ossl_toascii('d') << 8) in ChaCha20_ctr32() 86 input[2] = ((u32)ossl_toascii('2')) | ((u32)ossl_toascii('-') << 8) in ChaCha20_ctr32() 89 input[3] = ((u32)ossl_toascii('t')) | ((u32)ossl_toascii('e') << 8) in ChaCha20_ctr32() 93 input[4] = key[0]; in ChaCha20_ctr32() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/ |
H A D | tegra210-p2595.dtsi | 19 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 28 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 37 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 46 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 55 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 63 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 71 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 79 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 87 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 95 nvidia,enable-input = <TEGRA_PIN_ENABLE>; [all …]
|
H A D | tegra210-p2571.dts | 4 #include <dt-bindings/input/input.h> 20 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 29 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 38 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 47 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 56 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 64 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 72 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 80 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 88 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
/freebsd/sys/crypto/chacha20/ |
H A D | chacha.c | 61 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 62 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 63 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 64 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 71 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 72 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 73 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 74 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 75 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup() 76 x->input[1] = U8TO32_LITTLE(constants + 4); in chacha_keysetup() [all …]
|
/freebsd/contrib/wireguard-tools/ |
H A D | curve25519-hacl64.h | 49 static __always_inline void fproduct_copy_from_wide_(u64 *output, u128 *input) in fproduct_copy_from_wide_() argument 52 u128 xi = input[0]; in fproduct_copy_from_wide_() 56 u128 xi = input[1]; in fproduct_copy_from_wide_() 60 u128 xi = input[2]; in fproduct_copy_from_wide_() 64 u128 xi = input[3]; in fproduct_copy_from_wide_() 68 u128 xi = input[4]; in fproduct_copy_from_wide_() 74 fproduct_sum_scalar_multiplication_(u128 *output, u64 *input, u64 s) in fproduct_sum_scalar_multiplication_() argument 76 output[0] += (u128)input[0] * s; in fproduct_sum_scalar_multiplication_() 77 output[1] += (u128)input[1] * s; in fproduct_sum_scalar_multiplication_() 78 output[2] += (u128)input[2] * s; in fproduct_sum_scalar_multiplication_() [all …]
|
/freebsd/contrib/kyua/utils/logging/ |
H A D | operations_test.cpp | 106 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local 107 ATF_REQUIRE(input); in ATF_TEST_CASE_BODY() 112 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 115 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 118 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 121 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 137 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local 138 ATF_REQUIRE(input); in ATF_TEST_CASE_BODY() 143 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 157 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 20-test_mac.t | 22 input => unpack("H*", "Sample message for keylen=blocklen"), 27 input => unpack("H*", "Sample message for keylen=blocklen"), 32 …input => '68F2E77696CE7AE8E2CA4EC588E541002E58495C08000F101112131415161718191A1B1C1D1E1F2021222324… 37 …input => '68F2E77696CE7AE8E2CA4EC588E541002E58495C08000F101112131415161718191A1B1C1D1E1F2021222324… 42 input => '00010203', 47 input => '00010203', 52 …input => '000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B… 60 input => '00', 68 …input => '498B53FDEC87EDCBF07097DCCDE93A084BAD7501A224E388DF349CE18959FE8485F8AD1537F0D896EA73BEDC… 73 …input => '498B53FDEC87EDCBF07097DCCDE93A084BAD7501A224E388DF349CE18959FE8485F8AD1537F0D896EA73BEDC… [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | base64.c | 136 u_char input[3]; in b64_ntop() local 141 input[0] = *src++; in b64_ntop() 142 input[1] = *src++; in b64_ntop() 143 input[2] = *src++; in b64_ntop() 146 output[0] = input[0] >> 2; in b64_ntop() 147 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop() 148 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop() 149 output[3] = input[2] & 0x3f; in b64_ntop() 162 input[0] = input[1] = input[2] = '\0'; in b64_ntop() 164 input[i] = *src++; in b64_ntop() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nuvoton/ |
H A D | nuvoton-npcm750-runbmc-olympus-pincfg.dtsi | 29 input-enable; 34 input-enable; 39 input-enable; 54 input-enable; 59 input-enable; 84 input-enable; 89 input-enable; 99 input-enable; 104 input-enable; 109 input-enable; [all …]
|
H A D | nuvoton-npcm750-pincfg-evb.dtsi | 6 pin8_input: pin8-input { 9 input-enable; 16 pin10_input: pin10-input { 19 input-enable; 26 pin16_input: pin16-input { 29 input-enable; 61 pin160_input: pin160-input { 64 input-enable; 66 pin162_input: pin162-input { 69 input-enable; [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_basedirname.c | 19 const char *input; member 53 const char *input; member 105 if (test_basename_table[i].input != NULL) { in ATF_TC_BODY() 106 if (strlen(test_basename_table[i].input) >= in ATF_TC_BODY() 109 strcpy(testbuf, test_basename_table[i].input); in ATF_TC_BODY() 124 if (test_basename_table[i].input != NULL && in ATF_TC_BODY() 125 strcmp(test_basename_table[i].input, testbuf) != 0) { in ATF_TC_BODY() 128 test_basename_table[i].input); in ATF_TC_BODY() 137 test_basename_table[i].input == in ATF_TC_BODY() 138 NULL ? "(null)" : test_basename_table[i].input, in ATF_TC_BODY() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/ |
H A D | chacha20_dolbeau-avx2.c | 33 uint32_t input[16]; member 39 ctx->input[0] = 0x61707865; in chacha_keysetup() 40 ctx->input[1] = 0x3320646e; in chacha_keysetup() 41 ctx->input[2] = 0x79622d32; in chacha_keysetup() 42 ctx->input[3] = 0x6b206574; in chacha_keysetup() 43 ctx->input[4] = LOAD32_LE(k + 0); in chacha_keysetup() 44 ctx->input[5] = LOAD32_LE(k + 4); in chacha_keysetup() 45 ctx->input[6] = LOAD32_LE(k + 8); in chacha_keysetup() 46 ctx->input[7] = LOAD32_LE(k + 12); in chacha_keysetup() 47 ctx->input[8] = LOAD32_LE(k + 16); in chacha_keysetup() [all …]
|
H A D | chacha20_dolbeau-ssse3.c | 28 uint32_t input[16]; member 34 ctx->input[0] = 0x61707865; in chacha_keysetup() 35 ctx->input[1] = 0x3320646e; in chacha_keysetup() 36 ctx->input[2] = 0x79622d32; in chacha_keysetup() 37 ctx->input[3] = 0x6b206574; in chacha_keysetup() 38 ctx->input[4] = LOAD32_LE(k + 0); in chacha_keysetup() 39 ctx->input[5] = LOAD32_LE(k + 4); in chacha_keysetup() 40 ctx->input[6] = LOAD32_LE(k + 8); in chacha_keysetup() 41 ctx->input[7] = LOAD32_LE(k + 12); in chacha_keysetup() 42 ctx->input[8] = LOAD32_LE(k + 16); in chacha_keysetup() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/lpc/ |
H A D | lpc4357-ea4357-devkit.dts | 18 #include "dt-bindings/input/input.h" 176 input-enable; 177 input-schmitt-disable; 192 input-enable; 193 input-schmitt-disable; 201 input-enable; 202 input-schmitt-disable; 210 input-enable; 211 input-schmitt-disable; 219 input-enable; [all …]
|