| /NextBSD/sys/dev/sfxge/common/ |
| HD | efx_hash.c | 119 __in_ecount(count) uint32_t const *input, in efx_hash_dwords() 133 a += input[0]; in efx_hash_dwords() 134 b += input[1]; in efx_hash_dwords() 135 c += input[2]; in efx_hash_dwords() 139 input += 3; in efx_hash_dwords() 145 c += input[2]; in efx_hash_dwords() 148 b += input[1]; in efx_hash_dwords() 151 a += input[0]; in efx_hash_dwords() 168 __in_ecount(length) uint8_t const *input, in efx_hash_bytes() 181 a += ((uint32_t)input[0]) << 24; in efx_hash_bytes() [all …]
|
| /NextBSD/contrib/byacc/test/ |
| HD | run_make.sh | 43 for input in ${REF_DIR}/*.c 45 case $input in #(vi 51 test -f "$input" || continue 53 run_make "$input" 56 case $input in #(vi 64 run_make "$input" DEFINES="$DEFS" 71 for input in ${TEST_DIR}/*.y 73 test -f "$input" || continue 74 case $input in 88 echo "... testing $input" [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Basic/ |
| HD | VersionTuple.cpp | 40 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() argument 42 if (input.empty()) return true; in parseInt() 44 char next = input[0]; in parseInt() 45 input = input.substr(1); in parseInt() 49 while (!input.empty()) { in parseInt() 50 next = input[0]; in parseInt() 52 input = input.substr(1); in parseInt() 59 bool VersionTuple::tryParse(StringRef input) { in tryParse() argument 63 if (parseInt(input, major)) return true; in tryParse() 65 if (input.empty()) { in tryParse() [all …]
|
| /NextBSD/contrib/top/ |
| HD | getans | 38 read input 41 tmp=`echo $input | tr -d 0123456789.` 49 tmp=`echo $input | tr -d 0123456789` 57 if [ "x$input" != "x-1" ]; then 58 tmp=`echo $input | tr -d 0123456789` 67 if [ -z "$input" ]; then 68 input=${DFLT} 70 if [ ! -f "$input" -a ! -d "$input" ]; then 71 echo "The file $input does not exist. Please try again." 77 if [ -z "$input" ]; then [all …]
|
| /NextBSD/usr.bin/dtc/ |
| HD | fdt.cc | 243 property::parse_string(input_buffer &input) in parse_string() argument 246 assert(input[0] == '"'); in parse_string() 247 ++input; in parse_string() 248 const char *start = (const char*)input; in parse_string() 250 while (char c = input[0]) in parse_string() 252 if (c == '"' && input[-1] != '\\') in parse_string() 254 input.consume('"'); in parse_string() 257 ++input; in parse_string() 265 property::parse_cells(input_buffer &input, int cell_size) in parse_cells() argument 267 assert(input[0] == '<'); in parse_cells() [all …]
|
| /NextBSD/contrib/ldns/compat/ |
| HD | 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 …]
|
| /NextBSD/contrib/ntp/tests/libntp/ |
| HD | socktoa.c | 32 sockaddr_u input = CreateSockaddr4("192.0.2.10", 123); in test_IPv4AddressWithPort() local 34 TEST_ASSERT_EQUAL_STRING("192.0.2.10", socktoa(&input)); in test_IPv4AddressWithPort() 35 TEST_ASSERT_EQUAL_STRING("192.0.2.10:123", sockporttoa(&input)); in test_IPv4AddressWithPort() 56 sockaddr_u input; in test_IPv6AddressWithPort() local 57 memset(&input, 0, sizeof(input)); in test_IPv6AddressWithPort() 58 AF(&input) = AF_INET6; in test_IPv6AddressWithPort() 59 SET_ADDR6N(&input, address); in test_IPv6AddressWithPort() 60 SET_PORT(&input, 123); in test_IPv6AddressWithPort() 62 TEST_ASSERT_EQUAL_STRING(expected, socktoa(&input)); in test_IPv6AddressWithPort() 63 TEST_ASSERT_EQUAL_STRING(expected_port, sockporttoa(&input)); in test_IPv6AddressWithPort() [all …]
|
| /NextBSD/sys/dev/uart/ |
| HD | uart_cpu_sparc64.c | 108 phandle_t chosen, input, output; in uart_cpu_getdev_console() local 112 input = OF_finddevice(dev); in uart_cpu_getdev_console() 116 if (input == -1 || output == -1 || in uart_cpu_getdev_console() 117 OF_getproplen(input, "keyboard") >= 0) { in uart_cpu_getdev_console() 122 if ((input = OF_instance_to_package(inst)) == -1) in uart_cpu_getdev_console() 130 if (input != output) in uart_cpu_getdev_console() 132 if (OF_getprop(input, "device_type", buf, sizeof(buf)) == -1) in uart_cpu_getdev_console() 137 if (OF_getprop(input, "name", buf, sizeof(buf)) > 0 && in uart_cpu_getdev_console() 141 if (OF_getprop(chosen, "iosram", &input, sizeof(input)) == -1) in uart_cpu_getdev_console() 144 return (input); in uart_cpu_getdev_console() [all …]
|
| HD | 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 …]
|
| /NextBSD/sys/gnu/dts/arm/ |
| HD | tegra124-jetson-tk1.dts | 3 #include <dt-bindings/input/input.h> 64 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 71 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 78 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 85 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 92 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 99 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 106 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 113 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 120 nvidia,enable-input = <TEGRA_PIN_ENABLE>; [all …]
|
| HD | tegra114-roth.dts | 3 #include <dt-bindings/input/input.h> 61 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 68 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 77 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 84 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 93 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 103 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 111 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 126 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 134 nvidia,enable-input = <TEGRA_PIN_ENABLE>; [all …]
|
| /NextBSD/sys/crypto/rijndael/ |
| HD | rijndael-api-fst.c | 87 const BYTE *input, int inputLen, BYTE *outBuffer) { in rijndael_blockEncrypt() argument 96 if (input == NULL || inputLen <= 0) { in rijndael_blockEncrypt() 105 rijndaelEncrypt(key->rk, key->Nr, input, outBuffer); in rijndael_blockEncrypt() 106 input += 16; in rijndael_blockEncrypt() 114 memcpy(iv, input, 16); in rijndael_blockEncrypt() 120 ((u_int32_t*)block)[0] = ((u_int32_t*)cipher->IV)[0] ^ ((u_int32_t*)input)[0]; in rijndael_blockEncrypt() 121 ((u_int32_t*)block)[1] = ((u_int32_t*)cipher->IV)[1] ^ ((u_int32_t*)input)[1]; in rijndael_blockEncrypt() 122 ((u_int32_t*)block)[2] = ((u_int32_t*)cipher->IV)[2] ^ ((u_int32_t*)input)[2]; in rijndael_blockEncrypt() 123 ((u_int32_t*)block)[3] = ((u_int32_t*)cipher->IV)[3] ^ ((u_int32_t*)input)[3]; in rijndael_blockEncrypt() 126 input += 16; in rijndael_blockEncrypt() [all …]
|
| /NextBSD/crypto/openssh/openbsd-compat/ |
| HD | base64.c | 137 u_char input[3]; in b64_ntop() local 142 input[0] = *src++; in b64_ntop() 143 input[1] = *src++; in b64_ntop() 144 input[2] = *src++; in b64_ntop() 147 output[0] = input[0] >> 2; in b64_ntop() 148 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop() 149 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop() 150 output[3] = input[2] & 0x3f; in b64_ntop() 163 input[0] = input[1] = input[2] = '\0'; in b64_ntop() 165 input[i] = *src++; in b64_ntop() [all …]
|
| HD | chacha_private.h | 14 u32 input[16]; /* could be compressed */ member 59 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 60 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 61 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 62 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 69 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 70 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 71 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 72 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 73 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup() [all …]
|
| /NextBSD/contrib/netbsd-tests/lib/libc/gen/ |
| HD | 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() 123 if (test_basename_table[i].input != NULL && in ATF_TC_BODY() 124 strcmp(test_basename_table[i].input, testbuf) != 0) { in ATF_TC_BODY() 127 test_basename_table[i].input); in ATF_TC_BODY() 135 test_basename_table[i].input == in ATF_TC_BODY() 136 NULL ? "(null)" : test_basename_table[i].input, in ATF_TC_BODY() [all …]
|
| /NextBSD/contrib/unbound/compat/ |
| HD | chacha_private.h | 14 u32 input[16]; /* could be compressed */ member 59 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 60 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 61 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 62 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 69 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 70 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 71 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 72 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 73 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup() [all …]
|
| /NextBSD/crypto/openssh/ |
| HD | chacha.c | 60 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 61 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 62 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 63 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 70 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 71 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 72 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 73 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 74 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup() 75 x->input[1] = U8TO32_LITTLE(constants + 4); in chacha_keysetup() [all …]
|
| /NextBSD/usr.sbin/bsdinstall/partedit/ |
| HD | scripted.c | 146 int parse_disk_config(char *input) in parse_disk_config() argument 151 while (input != NULL && *input != 0) { in parse_disk_config() 152 if (isspace(*input)) { in parse_disk_config() 153 input++; in parse_disk_config() 157 switch(*input) { in parse_disk_config() 159 input++; in parse_disk_config() 160 partconfig = strchr(input, '}'); in parse_disk_config() 163 "string: %s\n", input); in parse_disk_config() 168 partconfig = input; in parse_disk_config() 169 input = ap; in parse_disk_config() [all …]
|
| /NextBSD/sys/arm/ti/ |
| HD | ti_adc.c | 150 struct ti_adc_input *input; in ti_adc_input_setup() local 155 input = &ti_adc_inputs[ain]; in ti_adc_input_setup() 156 reg = input->stepconfig; in ti_adc_input_setup() 172 val |= input->samples << ADC_STEP_AVG_SHIFT; in ti_adc_input_setup() 241 struct ti_adc_input *input; in ti_adc_enable_proc() local 243 input = (struct ti_adc_input *)arg1; in ti_adc_enable_proc() 244 sc = input->sc; in ti_adc_enable_proc() 246 enable = input->enable; in ti_adc_enable_proc() 257 if (input->enable != enable) { in ti_adc_enable_proc() 258 input->enable = enable; in ti_adc_enable_proc() [all …]
|
| /NextBSD/lib/libc/net/ |
| HD | base64.c | 132 u_char input[3]; in b64_ntop() local 137 input[0] = *src++; in b64_ntop() 138 input[1] = *src++; in b64_ntop() 139 input[2] = *src++; in b64_ntop() 142 output[0] = input[0] >> 2; in b64_ntop() 143 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop() 144 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop() 145 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 …]
|
| /NextBSD/contrib/gcclibs/libiberty/ |
| HD | argv.c | 162 char **buildargv (const char *input) in buildargv() argument 174 if (input != NULL) in buildargv() 176 copybuf = (char *) alloca (strlen (input) + 1); in buildargv() 182 while (ISBLANK (*input)) in buildargv() 184 input++; in buildargv() 213 while (*input != EOS) in buildargv() 215 if (ISSPACE (*input) && !squote && !dquote && !bsquote) in buildargv() 224 *arg++ = *input; in buildargv() 226 else if (*input == '\\') in buildargv() 232 if (*input == '\'') in buildargv() [all …]
|
| /NextBSD/contrib/gdb/ |
| HD | ylwrap | 39 input="$1" 41 case "$input" in 49 input="`pwd`/$input" 55 input_base=`echo $input | sed -e 's|.*/||'` 56 if test -f $input_base && cmp $input_base $input >/dev/null 2>&1; then 57 input=$input_base 77 case "$input" in 83 ln -s ../"$input" . > /dev/null 2>&1 || ln ../"$input" . > /dev/null 2>&1 || cp ../"$input" . 86 $prog ${1+"$@"} "$input"
|
| /NextBSD/contrib/nvi/ex/ |
| HD | ex_filter.c | 47 int input[2], output[2], rval; in ex_filter() local 81 input[0] = input[1] = output[0] = output[1] = -1; in ex_filter() 82 if (ftype != FILTER_READ && pipe(input) < 0) { in ex_filter() 101 err: if (input[0] != -1) in ex_filter() 102 (void)close(input[0]); in ex_filter() 103 if (input[1] != -1) in ex_filter() 104 (void)close(input[1]); in ex_filter() 123 if (input[0] != -1) in ex_filter() 124 (void)dup2(input[0], STDIN_FILENO); in ex_filter() 129 if (input[0] != -1) in ex_filter() [all …]
|
| /NextBSD/contrib/binutils/libiberty/ |
| HD | argv.c | 162 char **buildargv (const char *input) in buildargv() argument 174 if (input != NULL) in buildargv() 176 copybuf = (char *) alloca (strlen (input) + 1); in buildargv() 182 while (ISBLANK (*input)) in buildargv() 184 input++; in buildargv() 213 while (*input != EOS) in buildargv() 215 if (ISSPACE (*input) && !squote && !dquote && !bsquote) in buildargv() 224 *arg++ = *input; in buildargv() 226 else if (*input == '\\') in buildargv() 232 if (*input == '\'') in buildargv() [all …]
|
| /NextBSD/crypto/openssl/crypto/des/ |
| HD | DES.xs | 50 des_ecb_encrypt(input,ks,encrypt) 51 des_cblock * input 55 des_ecb_encrypt(input,&RETVAL,*ks,encrypt); 60 des_cbc_encrypt(input,ks,ivec,encrypt) in des_cbc_encrypt() argument 61 char * input in des_cbc_encrypt() 78 des_cbc_encrypt((des_cblock *)input,(des_cblock *)c, in des_cbc_encrypt() 85 des_cbc3_encrypt(input,ks1,ks2,ivec1,ivec2,encrypt) in des_cbc3_encrypt() argument 86 char * input in des_cbc3_encrypt() 103 des_3cbc_encrypt((des_cblock *)input,(des_cblock *)SvPV(s,na), in des_cbc3_encrypt() 111 des_cbc_cksum(input,ks,ivec) in des_cbc_cksum() argument [all …]
|