/openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/t/ |
H A D | 120_incr_parse_truncated.t | 9 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 D | input.out_lint | 1 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/regress/lib/libcrypto/bn/ |
H A D | bn_to_string.c | 26 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/sys/dev/pci/drm/amd/display/modules/hdcp/ |
H A D | hdcp2_transition.c | 30 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 D | hdcp2_execution.c | 226 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 D | hdcp1_execution.c | 150 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...] |
H A D | hdcp1_transition.c | 30 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 …]
|
/openbsd-src/sys/dev/wscons/ |
H A D | wstpad.c | 20 * touchpad input processing 365 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() [all …]
|
H A D | wsmouse.c | 661 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/usr.bin/netstat/ |
H A D | net80211.c | 60 p(is_rx_badversion, "\t%lu input packet%s with bad version\n"); in net80211_ifstats() 61 p(is_rx_tooshort, "\t%lu input packet%s too short\n"); in net80211_ifstats() 62 p(is_rx_wrongbss, "\t%lu input packet%s from wrong bssid\n"); in net80211_ifstats() 63 p(is_rx_dup, "\t%lu input packet duplicate%s discarded\n"); in net80211_ifstats() 64 p(is_rx_wrongdir, "\t%lu input packet%s with wrong direction\n"); in net80211_ifstats() 65 p(is_rx_mcastecho, "\t%lu input multicast echo packet%s discarded\n"); in net80211_ifstats() 66 p(is_rx_notassoc, "\t%lu input packet%s from unassociated station discarded\n"); in net80211_ifstats() 67 p(is_rx_nowep, "\t%lu input encrypted packet%s without wep/wpa config discarded\n"); in net80211_ifstats() 68 p(is_rx_unencrypted, "\t%lu input unencrypted packet%s with wep/wpa config discarded\n"); in net80211_ifstats() 69 p(is_rx_wepfail, "\t%lu input wep/wpa packet%s processing failed\n"); in net80211_ifstats() [all …]
|
/openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/ |
H A D | 105-valid_proto_string.t | 9 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/bin/dd/ |
H A D | dd.1 | 48 utility copies the standard input to the standard output, applying any 50 Input data is read and written in 512-byte blocks. 51 If input reads are short, input from multiple reads are aggregated 55 displays the number of complete and partial input and output blocks 56 and truncated input records to the standard error output. 61 Read input from 63 instead of the standard input. 76 Set the input block size to 84 Set both the input and output block size to 96 are specified, then each input block is copied to the output as a [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/t/ |
H A D | magic.t | 41 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/binutils-2.17/opcodes/ |
H A D | m32r-opinst.c | 39 #define INPUT CGEN_OPINST_INPUT macro 49 { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, 50 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 56 { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, 57 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 63 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 64 { INPUT, "uimm16", HW_H_UINT, CGEN_MODE_UINT, OP_ENT (UIMM16), 0, 0 }, 70 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 71 { INPUT, "ulo16", HW_H_ULO16, CGEN_MODE_UINT, OP_ENT (ULO16), 0, 0 }, 77 { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, [all …]
|
/openbsd-src/gnu/usr.bin/binutils/opcodes/ |
H A D | m32r-opinst.c | 39 #define INPUT CGEN_OPINST_INPUT macro 49 { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, 50 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 56 { INPUT, "slo16", HW_H_SLO16, CGEN_MODE_INT, OP_ENT (SLO16), 0, 0 }, 57 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 63 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 64 { INPUT, "uimm16", HW_H_UINT, CGEN_MODE_UINT, OP_ENT (UIMM16), 0, 0 }, 70 { INPUT, "sr", HW_H_GR, CGEN_MODE_SI, OP_ENT (SR), 0, 0 }, 71 { INPUT, "ulo16", HW_H_ULO16, CGEN_MODE_UINT, OP_ENT (ULO16), 0, 0 }, 77 { INPUT, "dr", HW_H_GR, CGEN_MODE_SI, OP_ENT (DR), 0, 0 }, [all …]
|
/openbsd-src/gnu/llvm/compiler-rt/lib/builtins/i386/ |
H A D | floatundisf.S | 15 // faster for the common case if you know something a priori about the input 85 shrl %eax // high 31 bits of input as sint32 87 sarl $31, %eax // (big input) ? -1 : 0 88 movsd STICKY, %xmm1 // (big input) ? 0xfff : 0 90 andl %eax, %edx // (big input) ? 12 : 0 92 andpd %xmm0, %xmm1 // (big input) ? input & 0xfff : 0 94 psrlq %xmm3, %xmm0 // (big input) ? input >> 12 : input 95 orpd %xmm2, %xmm1 // 0x1.0p52 + ((big input) ? input & 0xfff : input) 96 orpd %xmm1, %xmm0 // 0x1.0p52 + ((big input) ? (input >> 12 | input & 0xfff) : input) 97 subsd %xmm2, %xmm0 // (double)((big input) ? (input >> 12 | input & 0xfff) : input) [all …]
|
/openbsd-src/usr.bin/hexdump/ |
H A D | od.1 | 49 input if no files are specified, in a user specified format. 54 Specify the input address base. 67 Display the input offset in octal, followed by sixteen 68 space-separated, three column, space-filled, characters of input data 76 Display the input offset in octal, followed by sixteen 77 space-separated, three column, zero-filled, bytes of input data, in 82 Display the input offset in octal, followed by sixteen 83 space-separated, three column, space-filled, characters of input data 89 Display the input offset in octal, followed by four space-separated, 90 ten column, space filled, four-byte units of input data, in octal, per line. [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
H A D | P10InstrResources.td | 13 // 22 Cycles Binary Floating Point operations, 2 input operands 21 // 22 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 2 input operands 27 // 24 Cycles Binary Floating Point operations, 2 input operands 33 // 26 Cycles Binary Floating Point operations, 1 input operands 41 // 26 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 1 input operands 47 // 27 Cycles Binary Floating Point operations, 1 input operands 53 // 27 Cycles Binary Floating Point operations, 2 input operands 62 // 27 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 2 input operands 68 // 36 Cycles Binary Floating Point operations, 1 input operands 77 // 36 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 1 input operands [all …]
|
/openbsd-src/gnu/llvm/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 67 if (parseInt(input, major)) in tryParse() 70 if (input.empty()) { in tryParse() [all …]
|
H A D | Compression.cpp | 46 void compression::compress(Params P, ArrayRef<uint8_t> Input, in compress() argument 50 zlib::compress(Input, Output, P.level); in compress() 53 zstd::compress(Input, Output, P.level); in compress() 58 Error compression::decompress(DebugCompressionType T, ArrayRef<uint8_t> Input, in decompress() argument 62 return zlib::decompress(Input, Output, UncompressedSize); in decompress() 64 return zstd::decompress(Input, Output, UncompressedSize); in decompress() 69 Error compression::decompress(compression::Format F, ArrayRef<uint8_t> Input, in decompress() argument 74 return zlib::decompress(Input, Output, UncompressedSize); in decompress() 76 return zstd::decompress(Input, Output, UncompressedSize); in decompress() 81 Error compression::decompress(DebugCompressionType T, ArrayRef<uint8_t> Input, in decompress() argument [all …]
|
/openbsd-src/lib/libc/crypt/ |
H A D | 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 …]
|
/openbsd-src/libexec/ld.so/ |
H A D | 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 …]
|
/openbsd-src/usr.bin/ssh/ |
H A D | chacha.c | 57 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/gnu/llvm/llvm/tools/llvm-yaml-parser-fuzzer/ |
H A D | yaml-parser-fuzzer.cpp | 22 std::vector<uint8_t> Input(Data, Data + Size); in LLVMFuzzerTestOneInput() local 25 isValidYaml(Input.data(), Input.size()); in LLVMFuzzerTestOneInput() 28 llvm::erase_value(Input, 0); in LLVMFuzzerTestOneInput() 29 Input.shrink_to_fit(); in LLVMFuzzerTestOneInput() 30 bool IsValidWithout0s = isValidYaml(Input.data(), Input.size()); in LLVMFuzzerTestOneInput() 33 // one-past-the-end of the actual input to the parser. in LLVMFuzzerTestOneInput() 34 Input.push_back(0); in LLVMFuzzerTestOneInput() 35 Input.shrink_to_fit(); in LLVMFuzzerTestOneInput() 36 bool IsValidWhen0Terminated = isValidYaml(Input.data(), Input.size() - 1); in LLVMFuzzerTestOneInput() 39 // an invalid character one-past-the-end of the actual input to the parser. in LLVMFuzzerTestOneInput() [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 980707-1.c | 5 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 …]
|