Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 2016) sorted by relevance

12345678910>>...81

/openbsd-src/regress/lib/libcrypto/bn/
H A Dbn_to_string.c26 const char *input; member
30 .input = "0x0",
34 .input = "-0x0",
38 .input = "0x7",
42 .input = "-0x7",
46 .input = "0x8",
50 .input = "-0x8",
54 .input = "0xF",
58 .input = "-0xF",
62 .input = "0x10",
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/t/
H A D120_incr_parse_truncated.t9 my ($input, $sub) = @_;
10 $sub->($input);
14 my $input = shift;
16 my $res = eval { $coder->incr_parse($input) };
18 ok ($res, "curly braces okay -- '$input'");
19 ok (!$e, "no error -- '$input'");
24 my $input = shift;
26 my $res = eval { $coder->incr_parse($input) };
28 ok (!$res, "unbalanced curly braces -- '$input'");
29 ok ($e, "got error -- '$input'");
[all …]
/openbsd-src/regress/usr.bin/mandoc/char/unicode/
H A Dinput.out_lint1 mandoc: input.in:11:21: ERROR: skipping bad character: 0x0
2 mandoc: input.in:12:21: ERROR: skipping bad character: 0x1f
3 mandoc: input.in:13:21: ERROR: skipping bad character: 0x7f
4 mandoc: input.in:14:7: ERROR: skipping bad character: 0x80
5 mandoc: input.in:15:7: ERROR: skipping bad character: 0xbf
6 mandoc: input.in:21:15: ERROR: skipping bad character: 0xc0
7 mandoc: input.in:21:16: ERROR: skipping bad character: 0x80
8 mandoc: input.in:22:15: ERROR: skipping bad character: 0xc1
9 mandoc: input.in:22:16: ERROR: skipping bad character: 0xbf
10 mandoc: input.in:25:9: ERROR: skipping bad character: 0xc2
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/modules/hdcp/
H A Dhdcp2_transition.c30 struct mod_hdcp_transition_input_hdcp2 *input, in mod_hdcp_hdcp2_transition() argument
39 if (input->hdcp2version_read != PASS || in mod_hdcp_hdcp2_transition()
40 input->hdcp2_capable_check != PASS) { in mod_hdcp_hdcp2_transition()
50 if (input->create_session != PASS || in mod_hdcp_hdcp2_transition()
51 input->ake_init_prepare != PASS) { in mod_hdcp_hdcp2_transition()
56 } else if (input->ake_init_write != PASS) { in mod_hdcp_hdcp2_transition()
65 if (input->ake_cert_available != PASS) { in mod_hdcp_hdcp2_transition()
81 } else if (input->ake_cert_read != PASS || in mod_hdcp_hdcp2_transition()
82 input->ake_cert_validation != PASS) { in mod_hdcp_hdcp2_transition()
100 if (input->no_stored_km_write != PASS) { in mod_hdcp_hdcp2_transition()
[all …]
H A Dhdcp1_transition.c30 struct mod_hdcp_transition_input_hdcp1 *input, in mod_hdcp_hdcp1_transition() argument
39 if (input->bksv_read != PASS || input->bcaps_read != PASS) { in mod_hdcp_hdcp1_transition()
49 if (input->create_session != PASS) { in mod_hdcp_hdcp1_transition()
54 } else if (input->an_write != PASS || in mod_hdcp_hdcp1_transition()
55 input->aksv_write != PASS || in mod_hdcp_hdcp1_transition()
56 input->bksv_read != PASS || in mod_hdcp_hdcp1_transition()
57 input->bksv_validation != PASS || in mod_hdcp_hdcp1_transition()
58 input->ainfo_write == FAIL) { in mod_hdcp_hdcp1_transition()
68 if (input->bcaps_read != PASS || in mod_hdcp_hdcp1_transition()
69 input->r0p_read != PASS) { in mod_hdcp_hdcp1_transition()
[all …]
H A Dhdcp2_execution.c226 struct mod_hdcp_transition_input_hdcp2 *input, in process_rxstatus() argument
230 &input->rxstatus_read, status, in process_rxstatus()
234 &input->reauth_request_check, status, in process_rxstatus()
239 &input->link_integrity_check_dp, status, in process_rxstatus()
262 struct mod_hdcp_transition_input_hdcp2 *input) in known_hdcp2_capable_rx() argument
272 &input->hdcp2version_read, &status, in known_hdcp2_capable_rx()
276 &input->hdcp2_capable_check, &status, in known_hdcp2_capable_rx()
285 struct mod_hdcp_transition_input_hdcp2 *input) in send_ake_init() argument
295 &input->create_session, &status, in send_ake_init()
299 &input->ake_init_prepare, &status, in send_ake_init()
[all …]
H A Dhdcp1_execution.c150 struct mod_hdcp_transition_input_hdcp1 *input) in wait_for_active_rx() argument
160 &input->bksv_read, &status, in wait_for_active_rx()
164 &input->bcaps_read, &status, in wait_for_active_rx()
173 struct mod_hdcp_transition_input_hdcp1 *input) in exchange_ksvs() argument
183 &input->create_session, &status, in exchange_ksvs()
187 &input->an_write, &status, in exchange_ksvs()
191 &input->aksv_write, &status, in exchange_ksvs()
195 &input->bksv_read, &status, in exchange_ksvs()
199 &input->bksv_validation, &status, in exchange_ksvs()
204 &input in exchange_ksvs()
215 computations_validate_rx_test_for_repeater(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) computations_validate_rx_test_for_repeater() argument
257 authenticated(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) authenticated() argument
275 wait_for_ready(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) wait_for_ready() argument
315 read_ksv_list(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) read_ksv_list() argument
379 determine_rx_hdcp_capable_dp(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) determine_rx_hdcp_capable_dp() argument
402 wait_for_r0_prime_dp(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) wait_for_r0_prime_dp() argument
426 authenticated_dp(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) authenticated_dp() argument
468 mod_hdcp_hdcp1_execution(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) mod_hdcp_hdcp1_execution() argument
502 mod_hdcp_hdcp1_dp_execution(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) mod_hdcp_hdcp1_dp_execution() argument
[all...]
/openbsd-src/sys/dev/wscons/
H A Dwstpad.c365 magnitude(struct wsmouseinput *input, int dx, int dy) in magnitude() argument
369 h = abs(dx) * input->filter.h.mag_scale; in magnitude()
370 v = abs(dy) * input->filter.v.mag_scale; in magnitude()
381 wstpad_is_stable(struct wsmouseinput *input, struct tpad_touch *t) in wstpad_is_stable() argument
386 if (magnitude(input, t->pos->dx, t->pos->dy) > MAG_MEDIUM) in wstpad_is_stable()
390 timespecsub(&input->tp->time, &t->start, &ts); in wstpad_is_stable()
418 get_2nd_touch(struct wsmouseinput *input) in get_2nd_touch() argument
420 struct wstpad *tp = input->tp; in get_2nd_touch()
424 slot = ffs(input->mt.touches & ~(input->mt.ptr | tp->ignore)); in get_2nd_touch()
443 wstpad_scroll_coords(struct wsmouseinput *input, int *dx, int *dy) in wstpad_scroll_coords() argument
[all …]
H A Dwsmouse.c661 normalized_pressure(struct wsmouseinput *input, int pressure) in wsmouse_position()
663 int limit = imax(input->touch.min_pressure, 1);
674 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input;
675 struct touch_state *touch = &input->touch; in wsmouse_touch()
677 pressure = normalized_pressure(input, pressure); in wsmouse_touch() local
697 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input;
698 struct mt_state *mt = &input->mt; in wsmouse_mtstate()
717 pressure = normalized_pressure(input, pressure); in wsmouse_mtstate()
743 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input;
747 if (aux < 0 || aux >= input in wsmouse_set()
664 normalized_pressure(struct wsmouseinput * input,int pressure) normalized_pressure() argument
700 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_mtstate() local
746 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_set() local
800 wsmouse_touch_update(struct wsmouseinput * input) wsmouse_touch_update() argument
836 wsmouse_mt_update(struct wsmouseinput * input) wsmouse_mt_update() argument
853 wsmouse_hysteresis(struct wsmouseinput * input,struct position * pos) wsmouse_hysteresis() argument
873 wsmouse_ptr_ctrl(struct wsmouseinput * input) wsmouse_ptr_ctrl() argument
928 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_mt_convert() local
1006 wsmouse_motion_sync(struct wsmouseinput * input,struct evq_access * evq) wsmouse_motion_sync() argument
1058 wsmouse_touch_sync(struct wsmouseinput * input,struct evq_access * evq) wsmouse_touch_sync() argument
1072 wsmouse_log_input(struct wsmouseinput * input,struct timespec * ts) wsmouse_log_input() argument
1102 wsmouse_log_events(struct wsmouseinput * input,struct evq_access * evq) wsmouse_log_events() argument
1119 clear_sync_flags(struct wsmouseinput * input) clear_sync_flags() argument
1138 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_input_sync() local
1201 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_id_to_slot() local
1318 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_mtframe() local
1386 free_mt_slots(struct wsmouseinput * input) free_mt_slots() argument
1405 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_mt_init() local
1439 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_get_params() local
1515 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_set_params() local
1611 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_set_mode() local
1641 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input; wsmouse_configure() local
1681 wsmouse_input_reset(struct wsmouseinput * input) wsmouse_input_reset() argument
1704 wsmouse_input_cleanup(struct wsmouseinput * input) wsmouse_input_cleanup() argument
[all...]
/openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/
H A D105-valid_proto_string.t9 my ($input, $output);
11 $input = '[\$]';
12 $output = valid_proto_string($input);
13 is( $output, $input, "Got expected value for <$input>" );
15 $input = '[$]';
16 $output = valid_proto_string($input);
17 is( $output, $input, "Got expected value for <$input>" );
19 $input = '[\$\@]';
20 $output = valid_proto_string($input);
21 is( $output, $input, "Got expected value for <$input>" );
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DVersionTuple.cpp41 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
67 if (parseInt(input, major)) in tryParse()
70 if (input.empty()) { in tryParse()
[all …]
/openbsd-src/regress/lib/libutil/fmt_scaled/
H A Dfmt_test.c73 long long input; member
129 ret = fmt_scaled(ddata[i].input, buf); in fmt_test()
132 printf("%lld --> %s (%d)", ddata[i].input, buf, ret); in fmt_test()
154 char *input; member
233 print(char *input, long long result, int ret, int e) in print() argument
235 printf("\"%40s\" --> %lld (%d)", input, result, ret); in print()
249 char buf[1024], *input; in scan_test() local
254 input = sdata[i].input; in scan_test()
256 if (strcmp(input, "LLONG_MAX") == 0) { in scan_test()
258 input = buf; in scan_test()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/t/
H A Dmagic.t41 tie my $input, 'TieScalarCounter', $str;
42 my $output = encode($enc, $input, $croak ? FB_CROAK : 0);
43 is(tied($input)->{fetch}, 1, "$func processes get magic only once");
44 is(tied($input)->{store}, $mod ? 1 : 0, "$func " . ($mod ? 'processes set magic only once' : 'does not process set magic'));
45 is($input, $mod ? '' : $str, "$func " . ($mod ? 'modifies' : 'does not modify') . ' $input string');
52 tie my $input, 'TieScalarCounter', $input_str;
53 my $output = decode($enc, $input, $croak ? FB_CROAK : 0);
54 is(tied($input)->{fetch}, 1, "$func processes get magic only once");
55 is(tied($input)
[all...]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D980707-1.c5 buildargv (char *input) in buildargv() argument
12 while (*input == ' ') in buildargv()
13 input++; in buildargv()
14 if (*input == 0) in buildargv()
16 arglist [numargs++] = input; in buildargv()
17 while (*input != ' ' && *input != 0) in buildargv()
18 input++; in buildargv()
19 if (*input == 0) in buildargv()
21 *(input++) = 0; in buildargv()
31 char input[256]; in main() local
[all …]
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Dsort.t539 my @input = &generate;
540 my @output = sort @input;
543 @input = &generate;
544 @input = sort @input;
545 is join(" ", map {0+$_} @input), "0 1 2 3 4 5 6 7 8",
549 @input = &generate;
550 @output = sort {$a <=> $b} @input;
553 @input = &generate;
554 @output = sort {$a cmp $b} @input;
[all...]
/openbsd-src/regress/lib/libcrypto/bio/
H A Dbio_dump.c96 const char *input; member
102 .input = "",
108 .input = "",
114 .input = " ",
120 .input = "!",
127 .input = "~",
134 .input = dump,
155 .input = dump,
178 .input = dump,
202 .input = dump,
[all …]
/openbsd-src/lib/libc/net/
H A Dbase64.c128 unsigned char input[3]; in b64_ntop() local
133 input[0] = *src++; in b64_ntop()
134 input[1] = *src++; in b64_ntop()
135 input[2] = *src++; in b64_ntop()
138 output[0] = input[0] >> 2; in b64_ntop()
139 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop()
140 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop()
141 output[3] = input[2] & 0x3f; in b64_ntop()
154 input[0] = input[1] = input[2] = '\0'; in b64_ntop()
156 input[i] = *src++; in b64_ntop()
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Data-Dumper/t/
H A Dtrailing_comma.t13 input => [],
17 input => [17],
22 input => [17],
27 input => [17],
32 input => [17, 18],
37 input => [17, 18],
42 input => [17, 18],
47 input => {},
51 input => {foo => 17},
56 input => {foo => 17},
[all …]
/openbsd-src/lib/libc/crypt/
H A Dchacha_private.h14 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 …]
/openbsd-src/libexec/ld.so/
H A Dchacha_private.h14 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 …]
/openbsd-src/games/atc/
H A Dgraphics.c61 WINDOW *radar, *cleanradar, *credit, *input, *planes; variable
104 wrefresh(input); /* return cursor */ in draw_all()
126 input = newwin(INPUT_LINES, COLS - PLANE_COLS, LINES - INPUT_LINES, 0); in setup_screen()
236 wmove(input, 0, pos); in ioclrtoeol()
237 wclrtoeol(input); in ioclrtoeol()
238 wrefresh(input); in ioclrtoeol()
245 wmove(input, 0, pos); in iomove()
246 wrefresh(input); in iomove()
253 wmove(input, 0, pos); in ioaddstr()
254 waddstr(input, str); in ioaddstr()
[all …]
/openbsd-src/usr.bin/ssh/
H A Dchacha.c57 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
58 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
59 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
60 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
67 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
68 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
69 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
70 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
71 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup()
72 x->input[1] = U8TO32_LITTLE(constants + 4); in chacha_keysetup()
[all …]
/openbsd-src/usr.bin/vi/ex/
H A Dex_filter.c47 int input[2], output[2], fd, rval; in ex_filter() local
79 input[0] = input[1] = output[0] = output[1] = -1; in ex_filter()
99 if ((input[0] = dup(fd)) == -1) { in ex_filter()
110 if (lseek(input[0], 0, SEEK_SET) == -1) { in ex_filter()
114 } else if (ftype != FILTER_READ && pipe(input) < 0) { in ex_filter()
133 err: if (input[0] != -1) in ex_filter()
134 (void)close(input[0]); in ex_filter()
135 if (input[1] != -1) in ex_filter()
136 (void)close(input[1]); in ex_filter()
155 if (input[0] != -1) in ex_filter()
[all …]
/openbsd-src/gnu/usr.bin/binutils/
H A Dylwrap39 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"
/openbsd-src/sys/crypto/
H A Dchacha_private.h15 u32 input[16]; /* could be compressed */ member
98 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
99 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
100 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
101 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
108 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
109 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
110 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
111 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
112 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup()
[all …]

12345678910>>...81