| /netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/ |
| H A D | GenerateInput.h | 53 std::vector<IntT> inputs(N, static_cast<IntT>(-1)); in getDuplicateIntegerInputs() 54 return inputs; in getDuplicateIntegerInputs() 59 std::vector<IntT> inputs; in getSortedIntegerInputs() local 61 inputs.push_back(i); in getSortedIntegerInputs() 62 return inputs; in getSortedIntegerInputs() 67 std::vector<IntT> inputs; in getSortedLargeIntegerInputs() local 69 inputs.push_back(i + N); in getSortedLargeIntegerInputs() 71 return inputs; in getSortedLargeIntegerInputs() 76 std::vector<IntT> inputs = getSortedIntegerInputs<IntT>(N); in getSortedTopBitsIntegerInputs() local 77 for (auto& E : inputs) E <<= ((sizeof(IntT) / 2) * CHAR_BIT); in getSortedTopBitsIntegerInputs() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/ |
| H A D | shuffle_select_fuzz_tester.py | 203 inputs = [] 211 inputs.append(Value('%inp' + str(i), ty, inp)) 213 return inputs 284 def gen_insts(inputs, ty): argument 290 while len(inputs) > 1: 292 [idx0, idx1] = sorted(random.sample(range(len(inputs)), 2)) 293 op0 = inputs[idx0] 294 op1 = inputs[idx1] 308 op2 = random.choice(inputs) 318 inputs.append(select_inst) [all …]
|
| H A D | shuffle_fuzz.py | 123 inputs = [[int(j % element_modulus) 126 results = inputs 139 print(' from: %s' % (inputs,), file=sys.stderr) 212 inputs=', '.join( 217 for input in inputs])))
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/ABITest/ |
| H A D | Makefile.test.common | 110 temps/test.%.ref.o: inputs/test.%.c temps/.dir 113 temps/test.%.x.o: inputs/test.%.c temps/.dir 116 temps/test.%.y.o: inputs/test.%.c temps/.dir 127 temps/test.%.a.x.ll: inputs/test.%.a.c temps/.dir 130 temps/test.%.b.x.ll: inputs/test.%.b.c temps/.dir 133 temps/test.%.a.y.ll: inputs/test.%.a.c temps/.dir 136 temps/test.%.b.y.ll: inputs/test.%.b.c temps/.dir 142 test.%.top: inputs/test.%.a.c inputs/test.%.b.c inputs/test.%.driver.c 145 .PRECIOUS: inputs/test.%.a.c inputs/test.%.b.c inputs/test.%.driver.c 146 inputs/test.%.a.c: test.%.generate [all …]
|
| /netbsd-src/lib/libedit/TEST/ |
| H A D | test_filecompletion.c | 52 static test_input inputs[] = { variable 505 for (i = 0; i < sizeof(inputs)/sizeof(inputs[0]); i++) { in mycomplet_func() 506 if (strcmp(text, inputs[i].completion_function_input) == 0) { in mycomplet_func() 507 if (inputs[i].expanded_text[last_index] != NULL) in mycomplet_func() 508 return strdup(inputs[i].expanded_text[last_index++]); in mycomplet_func() 530 for (i = 0; i < sizeof(inputs)/sizeof(inputs[0]); i++) { in main() 532 input_len = wcslen(inputs[i].user_typed_text); in main() 533 wmemcpy(buffer, inputs[i].user_typed_text, input_len); in main() 547 inputs[i].user_typed_text, inputs[i].escaped_output, el->el_line.buffer); in main() 548 assert(wcscmp(el->el_line.buffer, inputs[i].escaped_output) == 0); in main()
|
| /netbsd-src/external/gpl3/binutils/dist/libctf/ |
| H A D | ctf-dedup.c | 488 ctf_dict_t **inputs, uint32_t *parents, 493 ctf_dict_t **inputs, 554 ctf_dedup_rhash_type (ctf_dict_t *fp, ctf_dict_t *input, ctf_dict_t **inputs, in ctf_dedup_rhash_type() argument 561 ctf_dict_t **inputs, in ctf_dedup_rhash_type() 714 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 743 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 776 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 787 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 814 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 844 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, in ctf_dedup_rhash_type() [all …]
|
| H A D | ctf-link.c | 655 ctf_dynhash_t *inputs = fp->ctf_link_inputs; in ctf_link_deduplicating_count_inputs() local 664 inputs = cu_names; in ctf_link_deduplicating_count_inputs() 666 while ((err = ctf_dynhash_next (inputs, &i, &name, &input)) == 0) in ctf_link_deduplicating_count_inputs() 732 ctf_dynhash_t *inputs = fp->ctf_link_inputs; in ctf_link_deduplicating_open_inputs() local 742 inputs = cu_names; in ctf_link_deduplicating_open_inputs() 758 while ((err = ctf_dynhash_next_sorted (inputs, &i, &name, &input, in ctf_link_deduplicating_open_inputs() 865 ctf_dict_t **inputs, ssize_t ninputs) in ctf_link_deduplicating_close_inputs() argument 875 ctf_dict_close (inputs[i]); in ctf_link_deduplicating_close_inputs() 907 ctf_link_deduplicating_variables (ctf_dict_t *fp, ctf_dict_t **inputs, in ctf_link_deduplicating_variables() argument 920 while ((type = ctf_variable_next (inputs[i], &it, &name)) != CTF_ERR) in ctf_link_deduplicating_variables() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
| H A D | ctf-dedup.c | 488 ctf_dict_t **inputs, uint32_t *parents, 493 ctf_dict_t **inputs, 554 ctf_dedup_rhash_type (ctf_dict_t *fp, ctf_dict_t *input, ctf_dict_t **inputs, in ctf_dedup_rhash_type() argument 561 ctf_dict_t **inputs, in ctf_dedup_rhash_type() 714 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 743 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 776 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 787 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 814 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, input_num, in ctf_dedup_rhash_type() 844 if ((hval = ctf_dedup_hash_type (fp, input, inputs, parents, in ctf_dedup_rhash_type() [all …]
|
| H A D | ctf-link.c | 640 ctf_dynhash_t *inputs = fp->ctf_link_inputs; in ctf_link_deduplicating_count_inputs() local 649 inputs = cu_names; in ctf_link_deduplicating_count_inputs() 651 while ((err = ctf_dynhash_next (inputs, &i, &name, &input)) == 0) in ctf_link_deduplicating_count_inputs() 718 ctf_dynhash_t *inputs = fp->ctf_link_inputs; in ctf_link_deduplicating_open_inputs() local 728 inputs = cu_names; in ctf_link_deduplicating_open_inputs() 744 while ((err = ctf_dynhash_next_sorted (inputs, &i, &name, &input, in ctf_link_deduplicating_open_inputs() 851 ctf_dict_t **inputs, ssize_t ninputs) in ctf_link_deduplicating_close_inputs() argument 861 ctf_dict_close (inputs[i]); in ctf_link_deduplicating_close_inputs() 893 ctf_link_deduplicating_variables (ctf_dict_t *fp, ctf_dict_t **inputs, in ctf_link_deduplicating_variables() argument 906 while ((type = ctf_variable_next (inputs[i], &it, &name)) != CTF_ERR) in ctf_link_deduplicating_variables() [all …]
|
| /netbsd-src/external/bsd/nsd/dist/dnstap/ |
| H A D | dnstap_collector.c | 318 event_del(dt_col->inputs[i].event); in dt_collector_cleanup() 324 if(dt_col->inputs) { in dt_collector_cleanup() 326 free(dt_col->inputs[i].event); in dt_collector_cleanup() 328 free(dt_col->inputs); in dt_collector_cleanup() 358 dt_col->inputs = xalloc_array_zero(dt_col->count, in dt_attach_events() 359 sizeof(*dt_col->inputs)); in dt_attach_events() 361 dt_col->inputs[i].dt_collector = dt_col; in dt_attach_events() 362 dt_col->inputs[i].event = (struct event*)xalloc_zero( in dt_attach_events() 364 event_set(dt_col->inputs[i].event, in dt_attach_events() 366 dt_handle_input, &dt_col->inputs[i]); in dt_attach_events() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/build/toolchain/ |
| H A D | BUILD.gn | 64 … command = "libtool -D -static -no_warning_for_no_symbols {{arflags}} -o {{output}} {{inputs}}" 69 "rm -f {{output}} && $ar rcsD {{arflags}} {{output}} {{inputs}}" 97 command = "$ld -shared {{ldflags}} -o $outfile {{inputs}} {{libs}} {{frameworks}}" 100 …-Wl,-z,defs -Wl,-soname,{{target_output_name}}{{output_extension}} -o $outfile {{inputs}} {{libs}}" 113 …ed {{ldflags}} -Wl,-flat_namespace -Wl,-undefined,suppress -o $outfile {{inputs}} {{libs}} {{frame… 116 …{{ldflags}} -Wl,-soname,{{target_output_name}}{{output_extension}} -o $outfile {{inputs}} {{libs}}" 129 "$ld {{ldflags}} -o $outfile {{inputs}} {{libs}} {{frameworks}}" 131 … command = "$ld {{ldflags}} -o $outfile -Wl,--start-group {{inputs}} -Wl,--end-group {{libs}}" 279 command = "$link /lib /nologo {{arflags}} /out:{{output}} {{inputs}}" 290 … "$link /nologo /dll {{ldflags}} /out:$dllfile /implib:$libfile /pdb:$pdbfile {{inputs}} {{libs}} " [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| H A D | FuzzerFlags.def | 20 FUZZER_FLAG_INT(len_control, 100, "Try generating small inputs first, " 21 "then try larger inputs over time. Specifies the rate at which the length " 22 "limit is increased (smaller == faster). If 0, immediately try inputs with " 24 FUZZER_FLAG_INT(cross_over, 1, "If 1, cross over inputs.") 29 FUZZER_FLAG_INT(shuffle, 1, "Shuffle inputs at startup") 31 "If 1, always prefer smaller inputs during the corpus shuffle.") 77 FUZZER_FLAG_INT(shrink, 0, "Experimental. Try to shrink corpus inputs.") 79 "Try to reduce the size of inputs while preserving their full feature sets") 92 "If 1, generate only ASCII (isprint+isspace) inputs.") 95 "timeout, or slow inputs) as " [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/ |
| H A D | FuzzTest | 14 def __init__(self, inputs, delete, insert, replace, argument 16 self.inputs = [(s, open(s).read()) for s in inputs] 24 self.num_positions = sum([len(d) for _,d in self.inputs]) 34 for i,(s,d) in enumerate(self.inputs): 81 name,data = self.tg.inputs[i] 95 name,data = self.tg.inputs[i] 114 file_data = test_application.tg.inputs[test[3][0]][1]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/rtl-ssa/ |
| H A D | blocks.cc | 412 for (use_info *input : phi->inputs ()) in delete_phi() 477 access_info **inputs, unsigned int num_inputs) in create_phi() argument 496 auto *input = safe_as_a<set_info *> (inputs[i]); in create_phi() 499 inputs[i] = use; in create_phi() 504 phi->set_inputs (use_array (inputs, num_inputs)); in create_phi() 696 phis.inputs = XOBNEWVEC (&m_temp_obstack, set_info *, num_inputs); in place_phis() 697 memset (phis.inputs, 0, num_inputs * sizeof (phis.inputs[0])); in place_phis() 785 auto *inputs = XOBNEWVEC (&m_obstack, access_info *, num_preds); in add_phi_nodes() local 786 memset (inputs, 0, sizeof (access_info *) * num_preds); in add_phi_nodes() 791 inputs, num_preds); in add_phi_nodes() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | incremental.cc | 56 Output_section_incremental_inputs(const Incremental_inputs* inputs, in Output_section_incremental_inputs() argument 58 : Output_section_data(size / 8), inputs_(inputs), symtab_(symtab) in Output_section_incremental_inputs() 305 Incremental_inputs_reader<size, big_endian>& inputs = this->inputs_reader_; in setup_readers() local 306 unsigned int count = inputs.input_file_count(); in setup_readers() 313 Input_entry_reader input_file = inputs.input_file(i); in setup_readers() 336 int member_index = inputs.input_file_index(member_offset); in setup_readers() 349 int object_index = inputs.input_file_index(object_offset); in setup_readers() 411 Incremental_inputs_reader<size, big_endian>& inputs = this->inputs_reader_; in do_check_inputs() local 419 if (inputs.version() != INCREMENTAL_LINK_VERSION) in do_check_inputs() 425 if (incremental_inputs->command_line() != inputs.command_line()) in do_check_inputs() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | incremental.cc | 56 Output_section_incremental_inputs(const Incremental_inputs* inputs, in Output_section_incremental_inputs() argument 58 : Output_section_data(size / 8), inputs_(inputs), symtab_(symtab) in Output_section_incremental_inputs() 305 Incremental_inputs_reader<size, big_endian>& inputs = this->inputs_reader_; in setup_readers() local 306 unsigned int count = inputs.input_file_count(); in setup_readers() 313 Input_entry_reader input_file = inputs.input_file(i); in setup_readers() 336 int member_index = inputs.input_file_index(member_offset); in setup_readers() 349 int object_index = inputs.input_file_index(object_offset); in setup_readers() 411 Incremental_inputs_reader<size, big_endian>& inputs = this->inputs_reader_; in do_check_inputs() local 419 if (inputs.version() != INCREMENTAL_LINK_VERSION) in do_check_inputs() 425 if (incremental_inputs->command_line() != inputs.command_line()) in do_check_inputs() [all …]
|
| /netbsd-src/sys/dev/dmover/ |
| H A D | dmover_request.c | 77 int inputs = dses->dses_ninputs; in dmover_request_alloc() local 88 if (inputs != 0) { in dmover_request_alloc() 90 inbuf = malloc(sizeof(dmover_buffer) * inputs, in dmover_request_alloc()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/ |
| H A D | brig-mem-inst-handler.cc | 94 tree_stl_vec inputs; in operator ()() local 95 inputs.push_back (operands[1]); in operator ()() 96 inputs.push_back (align_opr); in operator ()() 100 uint32_type_node, inputs); in operator ()()
|
| /netbsd-src/sys/dev/usb/ |
| H A D | uaudio.c | 265 struct terminal_list **inputs; /* list of source input terminals */ member 1292 && iot->inputs[0] != NULL in uaudio_determine_class() 1293 && iot->inputs[0]->size == 1) in uaudio_determine_class() 1294 return iot->inputs[0]->terminals[0]; in uaudio_determine_class() 1311 if (iot->inputs_size == 1 && iot->inputs[0] != NULL in uaudio_determine_class() 1312 && iot->inputs[0]->size == 1) { in uaudio_determine_class() 1314 return iot->inputs[0]->terminals[0]; in uaudio_determine_class() 1834 if (iot->inputs == NULL) in uaudio_merge_terminal_list() 1837 if (iot->inputs[i] != NULL) in uaudio_merge_terminal_list() 1838 len += iot->inputs[i]->size; in uaudio_merge_terminal_list() [all …]
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/cc/ |
| H A D | cc.c | 417 struct strlist inputs; variable 448 strlist_init(&inputs); in main() 514 STRLIST_FOREACH(s, &inputs) in main() 520 strlist_append(&inputs, argp); in main() 650 strlist_append(&inputs, argp); in main() 745 strlist_append(&inputs, argp); in main() 750 strlist_append(&inputs, nxtopt(0)); in main() 846 strlist_append(&inputs, u); in main() 893 strlist_append(&inputs, ")"); in main() 895 strlist_append(&inputs, ")c"); in main() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
| H A D | svalue.h | 1452 const vec<const svalue *> &inputs) 1454 m_num_inputs (inputs.length ()) 1456 gcc_assert (inputs.length () <= MAX_INPUTS); 1458 m_input_arr[i] = inputs[i]; 1506 const vec<const svalue *> &inputs) 1507 : svalue (complexity::from_vec_svalue (inputs), type), 1511 m_num_inputs (inputs.length ()) 1513 gcc_assert (inputs.length () <= MAX_INPUTS); 1515 m_input_arr[i] = inputs[i]; 1588 const vec<const svalue *> &inputs) [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 813 Function *CodeExtractor::constructFunction(const ValueSet &inputs, in constructFunction() argument 820 LLVM_DEBUG(dbgs() << "inputs: " << inputs.size() << "\n"); in constructFunction() 834 for (Value *value : inputs) { in constructFunction() 856 if (AggregateArgs && (inputs.size() + outputs.size() > 0)) { in constructFunction() 990 for (unsigned i = 0, e = inputs.size(); i != e; ++i) { in constructFunction() 998 StructTy, &*AI, Idx, "gep_" + inputs[i]->getName(), TI); in constructFunction() 1000 "loadgep_" + inputs[i]->getName(), TI); in constructFunction() 1004 std::vector<User *> Users(inputs[i]->user_begin(), inputs[i]->user_end()); in constructFunction() 1008 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction() 1014 for (unsigned i = 0, e = inputs.size(); i != e; ++i, ++AI) in constructFunction() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | stmt.c | 478 check_unique_operand_names (tree outputs, tree inputs, tree labels) in check_unique_operand_names() argument 493 for (i = inputs; i ; i = TREE_CHAIN (i)) in check_unique_operand_names() 516 for (j = inputs; j ; j = TREE_CHAIN (j)) in check_unique_operand_names() 534 resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels) in resolve_asm_operand_names() argument 541 check_unique_operand_names (outputs, inputs, labels); in resolve_asm_operand_names() 545 for (t = inputs; t ; t = TREE_CHAIN (t)) in resolve_asm_operand_names() 552 p = resolve_operand_name_1 (p, outputs, inputs, NULL); in resolve_asm_operand_names() 595 p = resolve_operand_name_1 (p, outputs, inputs, labels); in resolve_asm_operand_names() 611 resolve_operand_name_1 (char *p, tree outputs, tree inputs, tree labels) in resolve_operand_name_1() argument 633 for (t = inputs; t ; t = TREE_CHAIN (t), op++) in resolve_operand_name_1()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | stmt.cc | 479 check_unique_operand_names (tree outputs, tree inputs, tree labels) in check_unique_operand_names() argument 494 for (i = inputs; i ; i = TREE_CHAIN (i)) in check_unique_operand_names() 517 for (j = inputs; j ; j = TREE_CHAIN (j)) in check_unique_operand_names() 535 resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels) in resolve_asm_operand_names() argument 542 check_unique_operand_names (outputs, inputs, labels); in resolve_asm_operand_names() 546 for (t = inputs; t ; t = TREE_CHAIN (t)) in resolve_asm_operand_names() 553 p = resolve_operand_name_1 (p, outputs, inputs, NULL); in resolve_asm_operand_names() 596 p = resolve_operand_name_1 (p, outputs, inputs, labels); in resolve_asm_operand_names() 612 resolve_operand_name_1 (char *p, tree outputs, tree inputs, tree labels) in resolve_operand_name_1() argument 637 for (t = inputs; t ; t = TREE_CHAIN (t), op++) in resolve_operand_name_1()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
| H A D | LibFuzzer.rst | 13 LibFuzzer is linked with the library under test, and feeds fuzzed inputs to the 61 * The fuzzing engine will execute the fuzz target many times with different inputs in the same proc… 103 Coverage-guided fuzzers like libFuzzer rely on a corpus of sample inputs for the 105 of valid and invalid inputs for the code under test; for example, for a graphics 107 files. The fuzzer generates random mutations based around the sample inputs in 114 structured inputs. 117 fuzzing entrypoint still works and that all of the sample inputs run through 130 Only the inputs that trigger new coverage will be added to the first corpus. 140 initial "seed" sample inputs: 170 inputs found by one fuzzer process will be available to the other fuzzer [all …]
|