/netbsd-src/external/bsd/ntp/dist/sntp/unity/auto/ |
H A D | generate_test_runner.rb | 78 File.open(output_file, 'w') do |output| 79 create_header(output, used_mocks, testfile_includes) 80 create_externs(output, tests, used_mocks) 81 create_mock_management(output, used_mocks) 82 create_suite_setup_and_teardown(output) 83 create_reset(output, used_mocks) 84 create_main(output, input_file, tests, used_mocks) 170 def create_header(output, mocks, testfile_includes=[]) argument 171 output.puts('/* AUTOGENERATED FILE. DO NOT EDIT. */') 172 create_runtest(output, mocks) [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/modules/hdcp/ |
H A D | amdgpu_hdcp2_transition.c | 36 struct mod_hdcp_output *output) in mod_hdcp_hdcp2_transition() argument 47 callback_in_ms(0, output); in mod_hdcp_hdcp2_transition() 48 set_state_id(hdcp, output, HDCP_INITIALIZED); in mod_hdcp_hdcp2_transition() 50 callback_in_ms(0, output); in mod_hdcp_hdcp2_transition() 51 set_state_id(hdcp, output, H2_A1_SEND_AKE_INIT); in mod_hdcp_hdcp2_transition() 60 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 63 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 66 set_watchdog_in_ms(hdcp, 100, output); in mod_hdcp_hdcp2_transition() 67 callback_in_ms(0, output); in mod_hdcp_hdcp2_transition() 68 set_state_id(hdcp, output, H2_A1_VALIDATE_AKE_CERT); in mod_hdcp_hdcp2_transition() [all …]
|
H A D | amdgpu_hdcp1_transition.c | 36 struct mod_hdcp_output *output) in mod_hdcp_hdcp1_transition() argument 46 callback_in_ms(500, output); in mod_hdcp_hdcp1_transition() 50 callback_in_ms(0, output); in mod_hdcp_hdcp1_transition() 51 set_state_id(hdcp, output, H1_A1_EXCHANGE_KSVS); in mod_hdcp_hdcp1_transition() 58 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 66 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 69 callback_in_ms(300, output); in mod_hdcp_hdcp1_transition() 70 set_state_id(hdcp, output, in mod_hdcp_hdcp1_transition() 76 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 85 fail_and_restart_in_ms(1000, &status, output); in mod_hdcp_hdcp1_transition() [all …]
|
H A D | amdgpu_hdcp.c | 131 struct mod_hdcp_output *output) in transition() argument 141 callback_in_ms(0, output); in transition() 142 set_state_id(hdcp, output, D2_A0_DETERMINE_RX_HDCP_CAPABLE); in transition() 144 callback_in_ms(0, output); in transition() 145 set_state_id(hdcp, output, D1_A0_DETERMINE_RX_HDCP_CAPABLE); in transition() 147 callback_in_ms(0, output); in transition() 148 set_state_id(hdcp, output, HDCP_CP_NOT_DESIRED); in transition() 152 callback_in_ms(0, output); in transition() 153 set_state_id(hdcp, output, H2_A0_KNOWN_HDCP2_CAPABLE_RX); in transition() 155 callback_in_ms(0, output); in transition() [all …]
|
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/asm/ |
H A D | x2-v32.ms | 4 #output: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 0 0\n 5 #output: 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 6 #output: 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 7 #output: a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvC 1 0\n 8 #output: c 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvC 1 0\n 9 #output: 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvC 1 0\n 10 #output: 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 11 #output: 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 12 #output: 16 4 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 13 #output: 18 4 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n [all …]
|
H A D | x2-v10.ms | 4 #output: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 0\n 5 #output: 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n 6 #output: 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n 7 #output: a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvC 1\n 8 #output: c 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvC 1\n 9 #output: 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvC 1\n 10 #output: 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n 11 #output: 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n 12 #output: 16 4 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n 13 #output: 18 4 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n [all …]
|
H A D | x4-v32.ms | 3 #output: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 0 0\n 4 #output: 8 0 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 5 #output: e 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 6 #output: 10 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 7 #output: 12 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 8 #output: 14 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 9 #output: 16 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 10 #output: 18 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 11 #output: 1a 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n 12 #output: 1e 14 3a 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1 0\n [all …]
|
/netbsd-src/external/bsd/nsd/dist/ |
H A D | rdata.c | 74 typedef int (*rdata_to_string_type)(buffer_type *output, 79 rdata_dname_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_dname_to_string() argument 82 buffer_printf(output, in rdata_dname_to_string() 90 rdata_dns_name_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_dns_name_to_string() argument 101 buffer_printf(output, "."); in rdata_dns_name_to_string() 107 buffer_printf(output, "\\%c", (char) ch); in rdata_dns_name_to_string() 109 buffer_printf(output, "\\%03u", (unsigned int) ch); in rdata_dns_name_to_string() 111 buffer_printf(output, "%c", (char) ch); in rdata_dns_name_to_string() 113 buffer_printf(output, "\\%03u", (unsigned int) ch); in rdata_dns_name_to_string() 122 buffer_printf(output, "."); in rdata_dns_name_to_string() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | mkconfig.sh | 32 output=$1 33 rm -f ${output}T 37 header_guard=GCC_`echo ${output} | sed -e ${hg_sed_expr}` 40 echo "#ifndef ${header_guard}" >> ${output}T 41 echo "#define ${header_guard}" >> ${output}T 45 if test x"$output" = x"config.h"; then 46 echo "#ifdef GENERATOR_FILE" >> ${output}T 47 echo "#error config.h is for the host, not build, machine." >> ${output}T 48 echo "#endif" >> ${output}T 54 echo "#define TARGET_CPU_DEFAULT ($TARGET_CPU_DEFAULT)" >> ${output}T [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | mkconfig.sh | 32 output=$1 33 rm -f ${output}T 37 header_guard=GCC_`echo ${output} | sed -e ${hg_sed_expr}` 40 echo "#ifndef ${header_guard}" >> ${output}T 41 echo "#define ${header_guard}" >> ${output}T 45 if test x"$output" = x"config.h"; then 46 echo "#ifdef GENERATOR_FILE" >> ${output}T 47 echo "#error config.h is for the host, not build, machine." >> ${output}T 48 echo "#endif" >> ${output}T 54 echo "#define TARGET_CPU_DEFAULT ($TARGET_CPU_DEFAULT)" >> ${output}T [all …]
|
/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | create.c | 100 pgp_write_ss_header(pgp_output_t *output, in pgp_write_ss_header() argument 104 return pgp_write_length(output, length) && in pgp_write_ss_header() 105 pgp_write_scalar(output, (unsigned)(type - in pgp_write_ss_header() 138 pgp_write_struct_userid(pgp_output_t *output, const uint8_t *id) in pgp_write_struct_userid() argument 140 return pgp_write_ptag(output, PGP_PTAG_CT_USER_ID) && in pgp_write_struct_userid() 141 pgp_write_length(output, (unsigned)strlen((const char *) id)) && in pgp_write_struct_userid() 142 pgp_write(output, id, (unsigned)strlen((const char *) id)); in pgp_write_struct_userid() 154 pgp_write_userid(const uint8_t *userid, pgp_output_t *output) in pgp_write_userid() argument 156 return pgp_write_struct_userid(output, userid); in pgp_write_userid() 230 write_pubkey_body(const pgp_pubkey_t *key, pgp_output_t *output) in write_pubkey_body() argument [all …]
|
H A D | writer.c | 109 pgp_write(pgp_output_t *output, const void *src, unsigned len) in pgp_write() argument 111 return base_write(output, src, len); in pgp_write() 123 pgp_write_scalar(pgp_output_t *output, unsigned n, unsigned len) in pgp_write_scalar() argument 129 if (!base_write(output, &c, 1)) { in pgp_write_scalar() 144 pgp_write_mpi(pgp_output_t *output, const BIGNUM *bn) in pgp_write_mpi() argument 155 return pgp_write_scalar(output, bits, 2) && in pgp_write_mpi() 156 pgp_write(output, buf, (bits + 7) / 8); in pgp_write_mpi() 167 pgp_write_ptag(pgp_output_t *output, pgp_content_enum tag) in pgp_write_ptag() argument 172 return base_write(output, &c, 1); in pgp_write_ptag() 183 pgp_write_length(pgp_output_t *output, unsigned len) in pgp_write_length() argument [all …]
|
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
H A D | nuvoton-npcm750-pincfg-evb.dtsi | 11 pin9_output_high: pin9-output-high { 14 output-high; 21 pin11_output_high: pin11-output-high { 24 output-high; 31 pin24_output_high: pin24-output-high { 34 output-high; 36 pin25_output_low: pin25-output-low { 39 output-low; 41 pin32_output_high: pin32-output-high { 44 output-high; [all …]
|
/netbsd-src/external/bsd/kyua-testers/dist/ |
H A D | atf_result.c | 230 read_reason(FILE* input, const char* first_line, char* output, in read_reason() argument 237 snprintf(output, output_size, "%s", first_line); in read_reason() 238 advance(&output, &output_size); in read_reason() 243 snprintf(output, output_size, "<<NEWLINE>>"); in read_reason() 244 advance(&output, &output_size); in read_reason() 247 if (fgets(output, output_size, input) == NULL) { in read_reason() 252 had_newline = trim_newline(output); in read_reason() 253 advance(&output, &output_size); in read_reason() 339 convert_broken(const char* reason, int status, const char* output, in convert_broken() argument 345 output, KYUA_RESULT_BROKEN, "%s; test case exited with code %d", in convert_broken() [all …]
|
/netbsd-src/sys/external/isc/libsodium/dist/test/default/ |
H A D | stream.c | 16 static unsigned char output[4194304]; variable 26 randombytes_buf(output, sizeof output); in main() 27 crypto_stream(output, sizeof output, nonce, firstkey); in main() 28 crypto_hash_sha256(h, output, sizeof output); in main() 32 assert(sizeof output > 4000); in main() 34 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 0U, firstkey); in main() 36 assert(output[i] == 0); in main() 38 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 1U, firstkey); in main() 39 crypto_hash_sha256(h, output, sizeof output); in main() 44 memset(output, i, 64); in main() [all …]
|
H A D | kdf.exp | 11 Failure -- probably expected for output length=0 12 Failure -- probably expected for output length=1 13 Failure -- probably expected for output length=2 14 Failure -- probably expected for output length=3 15 Failure -- probably expected for output length=4 16 Failure -- probably expected for output length=5 17 Failure -- probably expected for output length=6 18 Failure -- probably expected for output length=7 19 Failure -- probably expected for output length=8 20 Failure -- probably expected for output length=9 [all …]
|
/netbsd-src/external/bsd/nsd/dist/compat/ |
H A D | b64_ntop.c | 129 uint8_t output[4]; in b64_ntop() local 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() 142 Assert(output[0] < 64); in b64_ntop() 143 Assert(output[1] < 64); in b64_ntop() 144 Assert(output[2] < 64); in b64_ntop() 145 Assert(output[3] < 64); in b64_ntop() 149 target[datalength++] = Base64[output[0]]; in b64_ntop() [all …]
|
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/hw/rv-n-cris/ |
H A D | mem1.ms | 4 #output: /rv: WD\n 5 #output: /rv: REG R 0xd0000036\n 6 #output: /rv: := 0x76543210\n 7 #output: /rv: DMA W 0x20020..0x2003f\n 8 #output: /rv: 0x20020: 12 23 34 56\n 9 #output: /rv: 0x20024: 79 8a bd de\n 10 #output: /rv: 0x20028: fb ad ba db\n 11 #output: /rv: 0x2002c: ad 56 78 9a\n 12 #output: /rv: 0x20030: fd e1 23 45\n 13 #output: /rv: 0x20034: 66 54 32 1a\n [all …]
|
H A D | mem2.ms | 4 #output: /rv: WD\n 5 #output: /rv: REG R 0xd0000036\n 6 #output: /rv: := 0x76543210\n 7 #output: /rv: DMA W 0x20020..0x20043\n 8 #output: /rv: 0x20020: 12 23 34 56\n 9 #output: /rv: 0x20024: 79 8a bd de\n 10 #output: /rv: 0x20028: fb ad ba db\n 11 #output: /rv: 0x2002c: ad 56 78 9a\n 12 #output: /rv: 0x20030: fd e1 23 45\n 13 #output: /rv: 0x20034: 66 54 32 1a\n [all …]
|
/netbsd-src/external/bsd/libbind/dist/isc/ |
H A D | base64.c | 140 u_char output[4]; in b64_ntop() local 149 output[0] = input[0] >> 2; in b64_ntop() 150 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop() 151 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop() 152 output[3] = input[2] & 0x3f; in b64_ntop() 153 Assert(output[0] < 64); in b64_ntop() 154 Assert(output[1] < 64); in b64_ntop() 155 Assert(output[2] < 64); in b64_ntop() 156 Assert(output[3] < 64); in b64_ntop() 160 target[datalength++] = Base64[output[0]]; in b64_ntop() [all …]
|
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | base64.c | 131 u_char output[4]; in lutil_b64_ntop() local 140 output[0] = input[0] >> 2; in lutil_b64_ntop() 141 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in lutil_b64_ntop() 142 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in lutil_b64_ntop() 143 output[3] = input[2] & 0x3f; in lutil_b64_ntop() 144 assert(output[0] < 64); in lutil_b64_ntop() 145 assert(output[1] < 64); in lutil_b64_ntop() 146 assert(output[2] < 64); in lutil_b64_ntop() 147 assert(output[3] < 64); in lutil_b64_ntop() 151 target[datalength++] = Base64[output[0]]; in lutil_b64_ntop() [all …]
|
/netbsd-src/tests/libexec/ld.elf_so/data/ |
H A D | Makefile | 7 FILES= symver-output-ref-stderr.v0-v0 8 FILES+= symver-output-ref-stderr.v0-v1 9 FILES+= symver-output-ref-stderr.v0-v2 10 FILES+= symver-output-ref-stderr.v1-v0 11 FILES+= symver-output-ref-stderr.v1-v1 12 FILES+= symver-output-ref-stderr.v1-v2 13 FILES+= symver-output-ref-stderr.v2-v0 14 FILES+= symver-output-ref-stderr.v2-v1 15 FILES+= symver-output-ref-stderr.v2-v2 16 FILES+= symver-output-ref-stdout.v0-v0 [all …]
|
/netbsd-src/usr.bin/nbperf/ |
H A D | nbperf-bdz.c | 143 fprintf(nbperf->output, "#include <stdlib.h>\n"); in print_hash() 144 fprintf(nbperf->output, "#include <strings.h>\n\n"); in print_hash() 146 fprintf(nbperf->output, "%suint32_t\n", in print_hash() 148 fprintf(nbperf->output, in print_hash() 151 fprintf(nbperf->output, "{\n"); in print_hash() 153 fprintf(nbperf->output, in print_hash() 160 fprintf(nbperf->output, "%s0x%016" PRIx64 "ULL,%s", in print_hash() 168 fprintf(nbperf->output, "%s0x%016" PRIx64 "ULL,%s", in print_hash() 173 fprintf(nbperf->output, "%s\t};\n", (i % 2 ? "\n" : "")); in print_hash() 175 fprintf(nbperf->output, in print_hash() [all …]
|
/netbsd-src/lib/libc/net/ |
H A D | base64.c | 146 u_char output[4]; in b64_ntop() local 158 output[0] = (uint32_t)input[0] >> 2; in b64_ntop() 159 output[1] = ((uint32_t)(input[0] & 0x03) << 4) + in b64_ntop() 161 output[2] = ((uint32_t)(input[1] & 0x0f) << 2) + in b64_ntop() 163 output[3] = input[2] & 0x3f; in b64_ntop() 164 Assert(output[0] < 64); in b64_ntop() 165 Assert(output[1] < 64); in b64_ntop() 166 Assert(output[2] < 64); in b64_ntop() 167 Assert(output[3] < 64); in b64_ntop() 171 target[datalength++] = Base64[output[0]]; in b64_ntop() [all …]
|
/netbsd-src/bin/sh/ |
H A D | output.h | 41 struct output { struct 49 struct output *chain; argument 57 extern struct output output; 58 extern struct output errout; 59 extern struct output memout; 60 extern struct output *out1; 61 extern struct output *out2; 65 extern struct output *outx; 68 void open_mem(char *, int, struct output *); 71 void outstr(const char *, struct output *); [all …]
|