| /dflybsd-src/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 …]
|
| /dflybsd-src/contrib/binutils-2.27/libiberty/ |
| H A D | argv.c | 112 consume_whitespace (const char **input) in consume_whitespace() argument 114 while (ISSPACE (**input)) in consume_whitespace() 116 (*input)++; in consume_whitespace() 121 only_whitespace (const char* input) in only_whitespace() argument 123 while (*input != EOS && ISSPACE (*input)) in only_whitespace() 124 input++; in only_whitespace() 126 return (*input == EOS); in only_whitespace() 169 char **buildargv (const char *input) in buildargv() argument 181 if (input != NULL) in buildargv() 183 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv() [all …]
|
| /dflybsd-src/sys/crypto/rijndael/ |
| H A D | rijndael-api-fst.c | 84 BYTE *input, int inputLen, BYTE *outBuffer) { in rijndael_blockEncrypt() argument 93 if (input == NULL || inputLen <= 0) { in rijndael_blockEncrypt() 102 rijndaelEncrypt(key->rk, key->Nr, input, outBuffer); in rijndael_blockEncrypt() 103 input += 16; in rijndael_blockEncrypt() 111 memcpy(iv, input, 16); in rijndael_blockEncrypt() 117 ((u_int32_t*)block)[0] = ((u_int32_t*)cipher->IV)[0] ^ ((u_int32_t*)input)[0]; in rijndael_blockEncrypt() 118 ((u_int32_t*)block)[1] = ((u_int32_t*)cipher->IV)[1] ^ ((u_int32_t*)input)[1]; in rijndael_blockEncrypt() 119 ((u_int32_t*)block)[2] = ((u_int32_t*)cipher->IV)[2] ^ ((u_int32_t*)input)[2]; in rijndael_blockEncrypt() 120 ((u_int32_t*)block)[3] = ((u_int32_t*)cipher->IV)[3] ^ ((u_int32_t*)input)[3]; in rijndael_blockEncrypt() 123 input += 16; in rijndael_blockEncrypt() [all …]
|
| /dflybsd-src/sys/crypto/chacha20/ |
| H A D | 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 …]
|
| /dflybsd-src/contrib/gcc-4.7/libiberty/ |
| H A D | argv.c | 123 consume_whitespace (const char **input) in consume_whitespace() argument 125 while (ISSPACE (**input)) in consume_whitespace() 127 (*input)++; in consume_whitespace() 132 only_whitespace (const char* input) in only_whitespace() argument 134 while (*input != EOS && ISSPACE (*input)) in only_whitespace() 135 input++; in only_whitespace() 137 return (*input == EOS); in only_whitespace() 180 char **buildargv (const char *input) in buildargv() argument 192 if (input != NULL) in buildargv() 194 copybuf = (char *) alloca (strlen (input) + 1); in buildargv() [all …]
|
| /dflybsd-src/contrib/gdb-7/libiberty/ |
| H A D | argv.c | 116 consume_whitespace (const char **input) in consume_whitespace() argument 118 while (ISSPACE (**input)) in consume_whitespace() 120 (*input)++; in consume_whitespace() 125 only_whitespace (const char* input) in only_whitespace() argument 127 while (*input != EOS && ISSPACE (*input)) in only_whitespace() 128 input++; in only_whitespace() 130 return (*input == EOS); in only_whitespace() 173 char **buildargv (const char *input) in buildargv() argument 185 if (input != NULL) in buildargv() 187 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/libiberty/ |
| H A D | argv.c | 119 consume_whitespace (const char **input) in consume_whitespace() argument 121 while (ISSPACE (**input)) in consume_whitespace() 123 (*input)++; in consume_whitespace() 128 only_whitespace (const char* input) in only_whitespace() argument 130 while (*input != EOS && ISSPACE (*input)) in only_whitespace() 131 input++; in only_whitespace() 133 return (*input == EOS); in only_whitespace() 176 char **buildargv (const char *input) in buildargv() argument 188 if (input != NULL) in buildargv() 190 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv() [all …]
|
| /dflybsd-src/contrib/binutils-2.34/libiberty/ |
| H A D | argv.c | 119 consume_whitespace (const char **input) in consume_whitespace() argument 121 while (ISSPACE (**input)) in consume_whitespace() 123 (*input)++; in consume_whitespace() 128 only_whitespace (const char* input) in only_whitespace() argument 130 while (*input != EOS && ISSPACE (*input)) in only_whitespace() 131 input++; in only_whitespace() 133 return (*input == EOS); in only_whitespace() 176 char **buildargv (const char *input) in buildargv() argument 188 if (input != NULL) in buildargv() 190 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv() [all …]
|
| /dflybsd-src/lib/libc/net/ |
| H A D | base64.c | 130 unsigned char input[3]; in b64_ntop() local 135 input[0] = *src++; in b64_ntop() 136 input[1] = *src++; in b64_ntop() 137 input[2] = *src++; in b64_ntop() 140 output[0] = input[0] >> 2; in b64_ntop() 141 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop() 142 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop() 143 output[3] = input[2] & 0x3f; in b64_ntop() 156 input[0] = input[1] = input[2] = '\0'; in b64_ntop() 158 input[i] = *src++; in b64_ntop() [all …]
|
| /dflybsd-src/crypto/openssh/ |
| H A D | chacha.c | 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() 74 x->input[1] = U8TO32_LITTLE(constants + 4); in chacha_keysetup() [all …]
|
| /dflybsd-src/games/atc/ |
| H A D | graphics.c | 59 WINDOW *radar, *cleanradar, *credit, *input, *planes; variable 105 wrefresh(input); /* return cursor */ in draw_all() 116 input = newwin(INPUT_LINES, COLS - PLANE_COLS, LINES - INPUT_LINES, 0); in init_gr() 234 wmove(input, 0, pos); in ioclrtoeol() 235 wclrtoeol(input); in ioclrtoeol() 236 wrefresh(input); in ioclrtoeol() 243 wmove(input, 0, pos); in iomove() 244 wrefresh(input); in iomove() 251 wmove(input, 0, pos); in ioaddstr() 252 waddstr(input, str); in ioaddstr() [all …]
|
| /dflybsd-src/games/gomoku/ |
| H A D | main.c | 86 int input[2]; in main() local 186 input[BLACK] = INPUTF; in main() 187 input[WHITE] = INPUTF; in main() 191 input[color] = USER; in main() 192 input[!color] = PROGRAM; in main() 196 input[BLACK] = USER; in main() 197 input[WHITE] = USER; in main() 201 input[BLACK] = PROGRAM; in main() 202 input[WHITE] = PROGRAM; in main() 207 plyr[BLACK] = input[BLACK] == USER ? user : prog; in main() [all …]
|
| /dflybsd-src/contrib/nvi2/ex/ |
| H A D | ex_filter.c | 44 int input[2], output[2], rval; in ex_filter() local 78 input[0] = input[1] = output[0] = output[1] = -1; in ex_filter() 79 if (ftype != FILTER_READ && pipe(input) < 0) { in ex_filter() 98 err: if (input[0] != -1) in ex_filter() 99 (void)close(input[0]); in ex_filter() 100 if (input[1] != -1) in ex_filter() 101 (void)close(input[1]); in ex_filter() 120 if (input[0] != -1) in ex_filter() 121 (void)dup2(input[0], STDIN_FILENO); in ex_filter() 126 if (input[0] != -1) in ex_filter() [all …]
|
| H A D | ex_map.c | 45 CHAR_T *input, *p; in ex_map() local 57 input = cmdp->argv[0]->bp; in ex_map() 69 if (input[0] == '#' && isdigit(input[1])) { in ex_map() 70 for (p = input + 2; isdigit(*p); ++p); in ex_map() 74 if (seq_set(sp, NULL, 0, input, cmdp->argv[0]->len, in ex_map() 79 sp->gp->scr_fmap(sp, stype, input, cmdp->argv[0]->len, in ex_map() 84 nofunc: if (stype == SEQ_COMMAND && input[1] == '\0') in ex_map() 85 switch (KEY_VAL(sp, input[0])) { in ex_map() 91 KEY_NAME(sp, input[0])); in ex_map() 94 return (seq_set(sp, NULL, 0, input, cmdp->argv[0]->len, in ex_map()
|
| /dflybsd-src/crypto/libressl/crypto/chacha/ |
| H A D | chacha-merged.c | 24 u32 input[16]; member 93 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 94 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 95 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 96 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 103 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup() 104 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup() 105 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup() 106 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup() 107 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup() [all …]
|
| /dflybsd-src/contrib/awk/ |
| H A D | lex.c | 96 int c = input(); in peek() 108 c = input(); in gettok() 118 for ( ; (c = input()) != 0; ) { in gettok() 135 for ( ; (c = input()) != 0; ) { in gettok() 215 while ((c = input()) != '\n' && c != 0) in yylex() 228 input(); in yylex() 231 input(); input(); /* \n */ in yylex() 239 input(); RET(AND); in yylex() 244 input(); RET(BOR); in yylex() 249 input(); yylval.i = NE; RET(NE); in yylex() [all …]
|
| /dflybsd-src/stand/boot/common/ |
| H A D | do_dloader.c | 90 char input[256]; /* big enough? */ in interact() local 124 input[0] = '\0'; in interact() 126 ngets(input, sizeof(input)); in interact() 127 if (!parse(&argc, &argv, input)) { in interact() 214 char input[1024]; /* big enough? */ in include() local 232 while (fgets(input, sizeof(input), fd) != NULL) { in include() 235 if(strlen(input) == sizeof(input) - 1 && in include() 236 !iseol(input[sizeof(input) - 2])) { in include() 239 printf("%s\n", input); in include() 243 if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0) in include() [all …]
|
| /dflybsd-src/contrib/binutils-2.27/ld/ |
| H A D | plugin.c | 474 plugin_input_file_t *input = handle; in add_symbols() local 475 bfd *abfd = input->abfd; in add_symbols() 500 const plugin_input_file_t *input = handle; in get_input_file() local 504 file->name = input->name; in get_input_file() 505 file->offset = input->offset; in get_input_file() 506 file->filesize = input->filesize; in get_input_file() 516 plugin_input_file_t *input = (plugin_input_file_t *) handle; in get_view() local 518 size_t size = input->filesize; in get_view() 519 off_t offset = input->offset; in get_view() 527 if ((off_t) size != input->filesize) in get_view() [all …]
|
| /dflybsd-src/contrib/binutils-2.34/ld/ |
| H A D | plugin.c | 487 plugin_input_file_t *input = handle; in add_symbols() local 488 bfd *abfd = input->abfd; in add_symbols() 513 const plugin_input_file_t *input = handle; in get_input_file() local 517 file->name = input->name; in get_input_file() 518 file->offset = input->offset; in get_input_file() 519 file->filesize = input->filesize; in get_input_file() 529 plugin_input_file_t *input = (plugin_input_file_t *) handle; in get_view() local 531 size_t size = input->filesize; in get_view() 532 off_t offset = input->offset; in get_view() 540 if ((off_t) size != input->filesize) in get_view() [all …]
|
| /dflybsd-src/sys/dev/drm/amd/display/dc/calcs/ |
| H A D | dcn_calcs.c | 246 struct _vcs_dpi_display_pipe_params_st *input) in pipe_ctx_to_e2e_pipe_params() argument 248 input->src.is_hsplit = false; in pipe_ctx_to_e2e_pipe_params() 250 input->src.is_hsplit = true; in pipe_ctx_to_e2e_pipe_params() 252 input->src.is_hsplit = true; in pipe_ctx_to_e2e_pipe_params() 259 input->src.dcc = pipe->plane_state->dcc.enable ? 1 : 0; in pipe_ctx_to_e2e_pipe_params() 269 input->src.dcc = pipe->plane_res.dpp->ctx->dc->res_pool->hubbub->funcs-> in pipe_ctx_to_e2e_pipe_params() 272 input->src.dcc_rate = 1; in pipe_ctx_to_e2e_pipe_params() 273 input->src.meta_pitch = pipe->plane_state->dcc.grph.meta_pitch; in pipe_ctx_to_e2e_pipe_params() 274 input->src.source_scan = dm_horz; in pipe_ctx_to_e2e_pipe_params() 275 input->src.sw_mode = pipe->plane_state->tiling_info.gfx9.swizzle; in pipe_ctx_to_e2e_pipe_params() [all …]
|
| /dflybsd-src/contrib/nvi2/common/ |
| H A D | seq.c | 34 seq_set(SCR *sp, CHAR_T *name, size_t nlen, CHAR_T *input, size_t ilen, in seq_set() argument 49 seq_find(sp, &lastqp, NULL, input, ilen, stype, NULL)) != NULL) { in seq_set() 82 if ((qp->input = v_wstrdup(sp, input, ilen)) == NULL) { in seq_set() 94 free(qp->input); in seq_set() 115 if ((qp->input[0] & ~MAX_BIT_SEQ) == 0) in seq_set() 116 bit_set(sp->gp->seqb, qp->input[0]); in seq_set() 128 seq_delete(SCR *sp, CHAR_T *input, size_t ilen, seq_t stype) in seq_delete() argument 135 diff = MEMCMP(qp->input, input, ilen); in seq_delete() 163 free(qp->input); in seq_free() 203 if (qp->input[0] > c_input[0]) in seq_find() [all …]
|
| /dflybsd-src/contrib/zstd/lib/common/ |
| H A D | xxhash.c | 285 static U32 XXH32_round(U32 seed, U32 input) in XXH32_round() argument 287 seed += input * PRIME32_2; in XXH32_round() 293 FORCE_INLINE_TEMPLATE U32 XXH32_endian_align(const void* input, size_t len, U32 seed, XXH_endianess… in XXH32_endian_align() argument 295 const BYTE* p = (const BYTE*)input; in XXH32_endian_align() 350 XXH_PUBLIC_API unsigned int XXH32 (const void* input, size_t len, unsigned int seed) in XXH32() argument 356 XXH32_update(state, input, len); in XXH32() 362 … if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */ in XXH32() 364 return XXH32_endian_align(input, len, seed, XXH_littleEndian, XXH_aligned); in XXH32() 366 return XXH32_endian_align(input, len, seed, XXH_bigEndian, XXH_aligned); in XXH32() 370 return XXH32_endian_align(input, len, seed, XXH_littleEndian, XXH_unaligned); in XXH32() [all …]
|
| /dflybsd-src/sys/vfs/hammer2/xxhash/ |
| H A D | xxhash.c | 320 static U32 XXH32_round(U32 seed, U32 input) in XXH32_round() argument 322 seed += input * PRIME32_2; in XXH32_round() 328 FORCE_INLINE U32 XXH32_endian_align(const void* input, size_t len, U32 seed, XXH_endianess endian, … in XXH32_endian_align() argument 330 const BYTE* p = (const BYTE*)input; in XXH32_endian_align() 385 XXH_PUBLIC_API unsigned int XXH32 (const void* input, size_t len, unsigned int seed) in XXH32() argument 391 XXH32_update(state, input, len); in XXH32() 397 … if ((((size_t)input) & 3) == 0) { /* Input is 4-bytes aligned, leverage the speed benefit */ in XXH32() 399 return XXH32_endian_align(input, len, seed, XXH_littleEndian, XXH_aligned); in XXH32() 401 return XXH32_endian_align(input, len, seed, XXH_bigEndian, XXH_aligned); in XXH32() 405 return XXH32_endian_align(input, len, seed, XXH_littleEndian, XXH_unaligned); in XXH32() [all …]
|
| /dflybsd-src/sys/libprop/ |
| H A D | prop_data.c | 110 uint8_t input[3]; in _prop_data_externalize() local 120 input[0] = *src++; in _prop_data_externalize() 121 input[1] = *src++; in _prop_data_externalize() 122 input[2] = *src++; in _prop_data_externalize() 124 output[0] = (uint32_t)input[0] >> 2; in _prop_data_externalize() 125 output[1] = ((uint32_t)(input[0] & 0x03) << 4) + in _prop_data_externalize() 126 ((uint32_t)input[1] >> 4); in _prop_data_externalize() 127 output[2] = ((uint32_t)(input[1] & 0x0f) << 2) + in _prop_data_externalize() 128 ((uint32_t)input[2] >> 6); in _prop_data_externalize() 129 output[3] = input[2] & 0x3f; in _prop_data_externalize() [all …]
|
| /dflybsd-src/contrib/file/magic/Magdir/ |
| H A D | troff | 8 # troff input 9 0 search/1 .\\" troff or preprocessor input text 11 0 search/1 '\\" troff or preprocessor input text 13 0 search/1 '.\\" troff or preprocessor input text 15 0 search/1 \\" troff or preprocessor input text 17 #0 search/1 ''' troff or preprocessor input text 19 0 regex/20l \^\\.[A-Za-z][A-Za-z0-9][\ \t] troff or preprocessor input text 21 0 regex/20l \^\\.[A-Za-z][A-Za-z0-9]$ troff or preprocessor input text
|