/freebsd-current/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmpimport.c | 134 struct input { struct 139 LIST_ENTRY(input) link; 142 static LIST_HEAD(, input) inputs = LIST_HEAD_INITIALIZER(inputs); 143 static struct input *input = NULL; variable in typeref:struct:input 157 struct input *ip; 166 input = ip; 172 if (input == NULL) 175 fclose(input->fp); 176 free(input [all...] |
/freebsd-current/usr.bin/split/tests/ |
H A D | split_test.sh | 206 seq $((26*25+1)) >input 207 atf_check split -l1 input 215 seq $((26*26)) >input 216 atf_check split -a2 -l1 input 223 seq $((26*25+1)) >input 224 atf_check split -a2 -a0 -l1 input 232 echo hello >input 233 atf_check split input 234 atf_check -o file:input cat xaa 236 atf_check split -c input [all...] |
/freebsd-current/sys/kern/ |
H A D | md4c.c | 110 MD4Update(MD4_CTX *context, const unsigned char *input, argument 127 bcopy(input, &context->buffer[index], partLen); 131 MD4Transform (context->state, &input[i]); 138 /* Buffer remaining input */ 139 bcopy(&input[i], &context->buffer[index], inputLen-i); 252 /* Encodes input (UINT4) into output (unsigned char). Assumes len is 256 Encode(unsigned char *output, UINT4 *input, unsigned int len) argument 261 output[j] = (unsigned char)(input[i] & 0xff); 262 output[j+1] = (unsigned char)((input[i] >> 8) & 0xff); 263 output[j+2] = (unsigned char)((input[ 272 Decode(UINT4 *output, const unsigned char *input, unsigned int len) argument [all...] |
H A D | subr_pidctrl.c | 61 SYSCTL_ADD_INT(NULL, parent, OID_AUTO, "input", CTLFLAG_RD, 62 &pc->pc_input, 0, "Last controller process variable input"); 82 pidctrl_classic(struct pidctrl *pc, int input) argument 87 error = pc->pc_setpoint - input; 107 pc->pc_input = input; 113 pidctrl_daemon(struct pidctrl *pc, int input) argument 118 error = pc->pc_setpoint - input; 151 pc->pc_input = input;
|
/freebsd-current/sys/arm/ti/ |
H A D | ti_adc.c | 55 #include <dev/evdev/input.h> 73 /* Define our 8 steps, one for each input channel. */ 209 struct ti_adc_input *input; local 214 input = &ti_adc_inputs[ain]; 215 reg = input->stepconfig; 229 val |= input->samples << ADC_STEP_AVG_SHIFT; 231 /* Select the desired input. */ 300 struct ti_adc_input *input; local 302 input = (struct ti_adc_input *)arg1; 303 sc = input 332 struct ti_adc_input *input; local 360 struct ti_adc_input *input; local 390 struct ti_adc_input *input; local 598 struct ti_adc_input *input; local [all...] |
/freebsd-current/contrib/kyua/utils/ |
H A D | units_test.cpp | 183 std::istringstream input("12M"); 186 input >> bytes; 187 ATF_REQUIRE(input.eof()); 195 std::istringstream input("12M more"); 198 input >> bytes; 199 ATF_REQUIRE(input.good()); 203 input >> word; 211 std::istringstream input("12.M more"); 214 input >> bytes; 215 ATF_REQUIRE(input [all...] |
/freebsd-current/contrib/libarchive/libarchive_fe/ |
H A D | passphrase.c | 72 #define RPP_FORCELOWER 0x04 /* Force input to lower case. */ 73 #define RPP_FORCEUPPER 0x08 /* Force input to upper case. */ 74 #define RPP_SEVENBIT 0x10 /* Strip the high bit from input. */ 169 int input, output, save_errno, i, need_restart; local 194 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { 199 input = STDIN_FILENO; 208 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { 216 (void)tcsetattr(input, _T_FLUSH, &term); 251 while ((nr = read(input, [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/regex/ |
H A D | t_regex_att.c | 58 fail(const char *pattern, const char *input, size_t lineno) { argument 60 "skipping failed test at line %zu (pattern=%s, input=%s)\n", 61 lineno, pattern, input); 65 bug(const char *pattern, const char *input, size_t lineno) { argument 173 strcmp(input, b[i].i) == 0) { 174 fail(pattern, input, lineno); 396 atf_tc_fail("Failed to open input file %s", data_path); 400 char *name, *pattern, *input, *matches, *comment; local 432 ATF_REQUIRE_MSG((input = strtok(NULL, sep)) != NULL, 433 "Missing input a [all...] |
/freebsd-current/tools/test/stress2/misc/ |
H A D | sendfile10.sh | 87 static char *input, *output; 102 if ((fd = open(input, O_RDWR)) == -1) 103 err(1, "open(%s)", input); 221 if ((fd = open(input, O_RDONLY)) == -1) 222 err(1, "open(%s)", input); 225 err(1, "stat(%s)", input); 262 fprintf(stderr, "Usage: %s <template> <input file> " 267 input = argv[2]; 270 snprintf(help, sizeof(help), "cp %s %s", template, input); 280 if (stat(input, [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Utility/ |
H A D | XcodeSDK.cpp | 118 llvm::StringRef input(m_name); 119 info.type = ParseSDKName(input); 120 info.version = ParseSDKVersion(input); 121 info.internal = ParseAppleInternalSDK(input); 126 llvm::StringRef input(m_name); 127 ParseSDKName(input); 128 ParseSDKVersion(input); 129 return ParseAppleInternalSDK(input); 133 llvm::StringRef input(m_name); 134 ParseSDKName(input); [all...] |
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | xxhash.c | 43 * If the input pointer is a null pointer, xxHash default behavior is to trigger a memory access error, since it is a bad pointer. 44 * When this option is enabled, xxHash output for null input pointers will be the same as a null-length input. 63 * It means : check for aligned/unaligned input. 64 * The check costs one initial branch per hash; set to 0 when the input data 323 static U32 XXH32_round(U32 seed, U32 input) argument 325 seed += input * PRIME32_2; 331 FORCE_INLINE_TEMPLATE U32 XXH32_endian_align(const void* input, size_t len, U32 seed, XXH_endianess endian, XXH_alignment align) argument 333 const BYTE* p = (const BYTE*)input; 388 XXH_PUBLIC_API unsigned int XXH32 (const void* input, size_ argument 415 XXH64_round(U64 acc, U64 input) argument 431 XXH64_endian_align(const void* input, size_t len, U64 seed, XXH_endianess endian, XXH_alignment align) argument 500 XXH64(const void* input, size_t len, unsigned long long seed) argument 580 XXH32_update_endian(XXH32_state_t* state, const void* input, size_t len, XXH_endianess endian) argument 638 XXH32_update(XXH32_state_t* state_in, const void* input, size_t len) argument 700 XXH64_update_endian(XXH64_state_t* state, const void* input, size_t len, XXH_endianess endian) argument 757 XXH64_update(XXH64_state_t* state_in, const void* input, size_t len) argument [all...] |
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | xxhash.c | 47 ** You can also enable this parameter if you know your input data will always be aligned (boundaries of 4, for U32). 54 ** If the input pointer is a null pointer, xxHash default behavior is to trigger a memory access error, since it is a bad pointer. 55 ** When this option is enabled, xxHash output for null input pointers will be the same as a null-length input. 234 FORCE_INLINE U32 XXH32_endian_align(const void* input, unsigned int len, U32 seed, XXH_endianess endian, XXH_alignment align) argument 236 const BYTE* p = (const BYTE*)input; 294 U32 XXH32(const void* input, unsigned int len, U32 seed) argument 299 XXH32_update(state, input, len); 305 if ((((size_t)input) & 3) == 0) /* Input is aligned, let's leverage the speed advantage */ 308 return XXH32_endian_align(input, le 369 XXH32_update_endian(void* state_in, const void* input, int len, XXH_endianess endian) argument 434 XXH32_update(void* state_in, const void* input, unsigned int len) argument [all...] |
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | cmdline-redirect-stdin.mk | 22 # probably buffers its input. Most shells use unbuffered stdin, and this 24 # read a single line from standard input". This is the reason why the shell 25 # reads its input byte by byte, which makes it terribly slow for practical
|
/freebsd-current/contrib/wireguard-tools/ |
H A D | encoding.c | 13 const uint8_t input[] = { (src[0] >> 2) & 63, ((src[0] << 4) | (src[1] >> 4)) & 63, ((src[1] << 2) | (src[2] >> 6)) & 63, src[2] & 63 }; local 16 dest[i] = input[i] + 'A' 17 + (((25 - input[i]) >> 8) & 6) 18 - (((51 - input[i]) >> 8) & 75) 19 - (((61 - input[i]) >> 8) & 15) 20 + (((62 - input[i]) >> 8) & 3);
|
/freebsd-current/sys/contrib/zstd/examples/ |
H A D | streaming_compression_thread_pool.c | 35 /* Open the input and output files. */ 38 /* Create the input and output buffers. 63 /* This loop reads from the input file, compresses that entire chunk, 77 /* Set the input buffer to what we just read. 78 * We compress until the input buffer is empty, each time flushing the 81 ZSTD_inBuffer input = { buffIn, read, 0 }; local 88 size_t const remaining = ZSTD_compressStream2(cctx, &output , &input, mode); 92 * which means its consumed all the input AND finished the frame. 93 * Otherwise, we're finished when we've consumed all the input. 95 finished = lastChunk ? (remaining == 0) : (input [all...] |
/freebsd-current/sys/contrib/dev/acpica/compiler/ |
H A D | prparser.l | 4 * Module Name: prparser.l - Flex input file for preprocessor lexer 294 while (((c = input ()) != '*') && (c != EOF)) 302 if (((c = input ()) != '/') && (c != EOF)) 335 while (((c = input ()) != '\n') && (c != EOF))
|
/freebsd-current/crypto/openssl/test/ |
H A D | sm4_internal_test.c | 29 static const uint8_t input[SM4_BLOCK_SIZE] = { local 58 memcpy(block, input, SM4_BLOCK_SIZE); 73 if (!TEST_mem_eq(block, SM4_BLOCK_SIZE, input, SM4_BLOCK_SIZE))
|
/freebsd-current/contrib/libevent/include/event2/ |
H A D | bufferevent_struct.h | 86 /** An input buffer. Only the bufferevent is allowed to add data to 88 struct evbuffer *input; member in struct:bufferevent 90 /** An input buffer. Only the bufferevent is allowed to drain data
|
/freebsd-current/contrib/dialog/samples/ |
H A D | treeview2 | 17 $CUT >$input <<-EOF 47 --treeview "TreeView demo" 0 0 10 `sed -e 's/:/ /g' "$input"` 2> $output
|
/freebsd-current/contrib/telnet/libtelnet/ |
H A D | encrypt.h | 84 int (*input)(int); member in struct:__anon6247
|
/freebsd-current/contrib/wpa/src/common/ |
H A D | ctrl_iface_common.h | 36 socklen_t fromlen, const char *input);
|
/freebsd-current/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | encrypt.h | 81 int (*input) (int); member in struct:__anon6649
|
/freebsd-current/contrib/ntp/sntp/libevent/include/event2/ |
H A D | bufferevent_struct.h | 86 /** An input buffer. Only the bufferevent is allowed to add data to 88 struct evbuffer *input; member in struct:bufferevent 90 /** An input buffer. Only the bufferevent is allowed to drain data
|
/freebsd-current/crypto/openssl/apps/ |
H A D | tsget.in | 157 my $input = $_; 158 my ($base, $path) = fileparse($input, '\.[^.]*'); 162 STDERR->printflush("$input: ") if $options{v}; 165 if ($input eq "-") { 170 open INPUT, "<" . $input 171 or warn("$input: could not open input file: $!\n"), next REQUEST; 174 or warn("$input: could not close input file: $!\n"), next REQUEST; 182 die "$input [all...] |
/freebsd-current/usr.sbin/bsdinstall/scripts/ |
H A D | wlanconfig | 81 local input regdomains countries regdomain country prompt 89 input=$( ifconfig "$WLAN_IFACE" list countries | sed -e 's/DEBUG//gi' ) 90 regdomains=$( echo "$input" | awk ' 97 countries=$( echo "$input" | awk '
|