Home
last modified time | relevance | path

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

12345678910>>...53

/minix3/external/bsd/byacc/dist/test/
H A Drun_make.sh43 for input in ${REF_DIR}/*.c
45 case $input in #(vi
51 test -f "$input" || continue
53 run_make "$input"
56 case $input in #(vi
64 run_make "$input" DEFINES="$DEFS"
71 for input in ${TEST_DIR}/*.y
73 test -f "$input" || continue
74 case $input in
88 echo "... testing $input"
[all …]
/minix3/external/bsd/llvm/dist/clang/test/Sema/
H A Dformat-strings-enum-fixed-type.cpp18 void test(TestEnum input) { in test() argument
19 …printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has unde… in test()
22 printf("%hd", input); // no-warning in test()
26 printf("%d", input); // no-warning in test()
29 …printf("%lld", input); // expected-warning{{format specifies type 'long long' but the argument has… in test()
36 void testLong(LongEnum input) { in testLong() argument
37 …printf("%u", input); // expected-warning{{format specifies type 'unsigned int' but the argument ha… in testLong()
40 printf("%lu", input); in testLong()
48 void testUnderlyingTypedef(ShortEnum input) { in testUnderlyingTypedef() argument
49 …printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has unde… in testUnderlyingTypedef()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DVersionTuple.cpp38 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() argument
40 if (input.empty()) return true; in parseInt()
42 char next = input[0]; in parseInt()
43 input = input.substr(1); in parseInt()
47 while (!input.empty()) { in parseInt()
48 next = input[0]; in parseInt()
50 input = input.substr(1); in parseInt()
57 bool VersionTuple::tryParse(StringRef input) { in tryParse() argument
61 if (parseInt(input, major)) return true; in tryParse()
63 if (input.empty()) { in tryParse()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/localization/locale.categories/
H A D__scan_keyword.pass.cpp47 const char input[] = "a"; in main() local
48 const char* in = input; in main()
51 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
55 assert(in == input+1); in main()
59 const char input[] = "abc"; in main() local
60 const char* in = input; in main()
63 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
67 assert(in == input+2); in main()
71 const char input[] = "abb"; in main() local
72 const char* in = input; in main()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/localization/locale.categories/
H A D__scan_keyword.pass.cpp47 const char input[] = "a"; in main() local
48 const char* in = input; in main()
51 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
55 assert(in == input+1); in main()
59 const char input[] = "abc"; in main() local
60 const char* in = input; in main()
63 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main()
67 assert(in == input+2); in main()
71 const char input[] = "abb"; in main() local
72 const char* in = input; in main()
[all …]
/minix3/sys/arch/i386/stand/lib/
H A Dbootmenu.c76 getchoicefrominput(char *input, int def) in getchoicefrominput() argument
83 if (*input == '\0' || *input == '\r' || *input == '\n') { in getchoicefrominput()
86 } else if (*input >= 'A' && *input < bootcfg_info.nummenu + 'A') in getchoicefrominput()
87 choice = (*input) - 'A'; in getchoicefrominput()
88 else if (*input >= 'a' && *input < bootcfg_info.nummenu + 'a') in getchoicefrominput()
89 choice = (*input) - 'a'; in getchoicefrominput()
90 else if (isdigit(*input)) { in getchoicefrominput()
91 choice = atoi(input) - 1; in getchoicefrominput()
97 !isdigit(*input) && !usedef) in getchoicefrominput()
106 char input[80], *ic, *oc; in docommandchoice() local
[all …]
/minix3/external/bsd/atf/dist/tools/
H A Dreader_test.cpp123 const char* input = in ATF_TEST_CASE_BODY() local
139 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
145 const char* input = in ATF_TEST_CASE_BODY() local
169 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
175 const char* input = in ATF_TEST_CASE_BODY() local
247 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
253 const char* input = in ATF_TEST_CASE_BODY() local
337 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
343 const char* input = in ATF_TEST_CASE_BODY() local
393 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
[all …]
H A Dconfig_file_test.cpp89 const char* input = in ATF_TEST_CASE_BODY() local
103 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
109 const char* input = in ATF_TEST_CASE_BODY() local
129 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
135 const char* input = in ATF_TEST_CASE_BODY() local
171 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
177 const char* input = in ATF_TEST_CASE_BODY() local
193 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
199 const char* input = in ATF_TEST_CASE_BODY() local
214 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
[all …]
/minix3/external/bsd/bind/dist/unit/atf-src/atf-report/
H A Dreader_test.cpp125 const char* input = in ATF_TEST_CASE_BODY() local
141 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
147 const char* input = in ATF_TEST_CASE_BODY() local
171 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
177 const char* input = in ATF_TEST_CASE_BODY() local
249 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
255 const char* input = in ATF_TEST_CASE_BODY() local
339 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
345 const char* input = in ATF_TEST_CASE_BODY() local
395 do_parser_test< tps_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
[all …]
/minix3/external/bsd/tmux/dist/compat/
H A Db64_ntop.c127 uint8_t input[3]; in b64_ntop() local
132 input[0] = *src++; in b64_ntop()
133 input[1] = *src++; in b64_ntop()
134 input[2] = *src++; in b64_ntop()
137 output[0] = input[0] >> 2; in b64_ntop()
138 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop()
139 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop()
140 output[3] = input[2] & 0x3f; in b64_ntop()
157 input[0] = input[1] = input[2] = '\0'; in b64_ntop()
159 input[i] = *src++; in b64_ntop()
[all …]
/minix3/tests/lib/libc/gen/
H A Dt_basedirname.c19 const char *input; member
53 const char *input; member
105 if (test_basename_table[i].input != NULL) { in ATF_TC_BODY()
106 if (strlen(test_basename_table[i].input) >= in ATF_TC_BODY()
109 strcpy(testbuf, test_basename_table[i].input); in ATF_TC_BODY()
123 if (test_basename_table[i].input != NULL && in ATF_TC_BODY()
124 strcmp(test_basename_table[i].input, testbuf) != 0) { in ATF_TC_BODY()
127 test_basename_table[i].input); in ATF_TC_BODY()
135 test_basename_table[i].input == in ATF_TC_BODY()
136 NULL ? "(null)" : test_basename_table[i].input, in ATF_TC_BODY()
[all …]
/minix3/external/bsd/llvm/dist/clang/test/CodeGen/
H A Darm64_neon_high_half.c246 int8x16_t test_vrshrn_high_n_s16(int8x8_t lowpart, int16x8_t input) { in test_vrshrn_high_n_s16() argument
248 return vrshrn_high_n_s16(lowpart, input, 2); in test_vrshrn_high_n_s16()
251 int16x8_t test_vrshrn_high_n_s32(int16x4_t lowpart, int32x4_t input) { in test_vrshrn_high_n_s32() argument
253 return vrshrn_high_n_s32(lowpart, input, 2); in test_vrshrn_high_n_s32()
256 int32x4_t test_vrshrn_high_n_s64(int32x2_t lowpart, int64x2_t input) { in test_vrshrn_high_n_s64() argument
258 return vrshrn_high_n_s64(lowpart, input, 2); in test_vrshrn_high_n_s64()
261 uint8x16_t test_vrshrn_high_n_u16(uint8x8_t lowpart, uint16x8_t input) { in test_vrshrn_high_n_u16() argument
263 return vrshrn_high_n_u16(lowpart, input, 2); in test_vrshrn_high_n_u16()
266 uint16x8_t test_vrshrn_high_n_u32(uint16x4_t lowpart, uint32x4_t input) { in test_vrshrn_high_n_u32() argument
268 return vrshrn_high_n_u32(lowpart, input, 2); in test_vrshrn_high_n_u32()
[all …]
/minix3/external/bsd/dhcp/dist/dst/
H A Dbase64.c148 u_char input[3]; in b64_ntop() local
153 input[0] = *src++; in b64_ntop()
154 input[1] = *src++; in b64_ntop()
155 input[2] = *src++; in b64_ntop()
158 output[0] = input[0] >> 2; in b64_ntop()
159 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop()
160 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop()
161 output[3] = input[2] & 0x3f; in b64_ntop()
178 input[0] = input[1] = input[2] = '\0'; in b64_ntop()
180 input[i] = *src++; in b64_ntop()
[all …]
/minix3/external/bsd/kyua-cli/dist/utils/logging/
H A Doperations_test.cpp106 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local
107 ATF_REQUIRE(input); in ATF_TEST_CASE_BODY()
112 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
115 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
118 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
121 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
135 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local
136 ATF_REQUIRE(input); in ATF_TEST_CASE_BODY()
141 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
189 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local
[all …]
H A Dmacros_test.cpp52 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local
53 ATF_REQUIRE(input); in ATF_TEST_CASE_BODY()
56 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
68 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local
69 ATF_REQUIRE(input); in ATF_TEST_CASE_BODY()
72 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
84 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local
85 ATF_REQUIRE(input); in ATF_TEST_CASE_BODY()
88 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
100 std::ifstream input("test.log"); in ATF_TEST_CASE_BODY() local
[all …]
/minix3/crypto/external/bsd/libsaslc/dist/test/
H A Dexample_client.c88 char input[LINE_MAX]; in main() local
114 if (nextline(input, sizeof(input), stdin) == NULL) in main()
116 mechanism = input; in main()
128 if (nextline(input, sizeof(input), stdin) == NULL) in main()
130 n = atoi(input); in main()
133 if (nextline(input, sizeof(input), stdin) == NULL) in main()
135 var = strchr(input, ' '); in main()
140 option = input; in main()
148 if (nextline(input, sizeof(input), stdin) == NULL) in main()
150 input_len = strlen(input); in main()
[all …]
/minix3/external/bsd/kyua-testers/dist/
H A Datf_list.c73 fgets_error(FILE* input, const char* message) in fgets_error() argument
75 if (feof(input)) { in fgets_error()
78 assert(ferror(input)); in fgets_error()
93 parse_header(FILE* input) in parse_header() argument
97 if (fgets_no_newline(line, sizeof(line), input) == NULL) in parse_header()
98 return fgets_error(input, "fgets failed to read test cases list " in parse_header()
104 if (fgets_no_newline(line, sizeof(line), input) == NULL) in parse_header()
105 return fgets_error(input, "fgets failed to read test cases list " in parse_header()
247 parse_test_case(FILE* input, FILE* output, char* name) in parse_test_case() argument
257 fgets_no_newline(line, sizeof(line), input) != NULL && in parse_test_case()
[all …]
/minix3/external/bsd/nvi/dist/ex/
H A Dex_filter.c39 runcmd(SCR *sp, const char *np, int* input, int *output) in runcmd() argument
58 if (input[0] != -1) in runcmd()
59 (void)dup2(input[0], STDIN_FILENO); in runcmd()
64 if (input[0] != -1) in runcmd()
65 (void)close(input[0]); in runcmd()
66 if (input[1] != -1) in runcmd()
67 (void)close(input[1]); in runcmd()
82 if (input[0] != -1) in runcmd()
83 (void)close(input[0]); in runcmd()
104 int input[2], output[2], rval; in ex_filter() local
[all …]
H A Dex_map.c54 CHAR_T *input, *p; in ex_map() local
66 input = cmdp->argv[0]->bp; in ex_map()
78 if (input[0] == '#' && ISDIGIT((UCHAR_T)input[1])) { in ex_map()
79 for (p = input + 2; ISDIGIT((UCHAR_T)*p); ++p); in ex_map()
83 if (seq_set(sp, NULL, 0, input, cmdp->argv[0]->len, in ex_map()
88 sp->gp->scr_fmap(sp, stype, input, cmdp->argv[0]->len, in ex_map()
93 nofunc: if (stype == SEQ_COMMAND && input[1] == '\0') in ex_map()
94 switch (KEY_VAL(sp, input[0])) { in ex_map()
100 KEY_NAME(sp, input[0])); in ex_map()
103 return (seq_set(sp, NULL, 0, input, cmdp->argv[0]->len, in ex_map()
/minix3/lib/libc/net/
H A Dbase64.c145 u_char input[3]; in b64_ntop() local
153 input[0] = *src++; in b64_ntop()
154 input[1] = *src++; in b64_ntop()
155 input[2] = *src++; in b64_ntop()
158 output[0] = (uint32_t)input[0] >> 2; in b64_ntop()
159 output[1] = ((uint32_t)(input[0] & 0x03) << 4) + in b64_ntop()
160 ((uint32_t)input[1] >> 4); in b64_ntop()
161 output[2] = ((uint32_t)(input[1] & 0x0f) << 2) + in b64_ntop()
162 ((uint32_t)input[2] >> 6); in b64_ntop()
163 output[3] = input[2] & 0x3f; in b64_ntop()
[all …]
/minix3/external/bsd/kyua-cli/dist/engine/
H A Dtest_result_test.cpp96 std::istringstream input(result_name); in parse_test() local
97 ATF_REQUIRE(test_result(result_type) == test_result::parse(input)); in parse_test()
99 input.clear(); in parse_test()
100 input.str(result_name + ": Some message"); in parse_test()
102 test_result::parse(input)); in parse_test()
104 input.clear(); in parse_test()
105 input.str(result_name + ": Some message\n"); in parse_test()
107 test_result::parse(input)); in parse_test()
109 input.clear(); in parse_test()
110 input.str(result_name + ": foo\nbar"); in parse_test()
[all …]
/minix3/external/bsd/bind/dist/unit/atf-src/atf-run/
H A Dconfig_test.cpp85 const char* input = in ATF_TEST_CASE_BODY() local
99 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
105 const char* input = in ATF_TEST_CASE_BODY() local
125 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
131 const char* input = in ATF_TEST_CASE_BODY() local
167 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
173 const char* input = in ATF_TEST_CASE_BODY() local
189 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
195 const char* input = in ATF_TEST_CASE_BODY() local
210 do_parser_test< config_reader >(input, exp_calls, exp_errors); in ATF_TEST_CASE_BODY()
[all …]
/minix3/crypto/external/bsd/openssl/dist/crypto/des/
H A DDES.xs50 des_ecb_encrypt(input,ks,encrypt)
51 des_cblock * input
55 des_ecb_encrypt(input,&RETVAL,*ks,encrypt);
60 des_cbc_encrypt(input,ks,ivec,encrypt) in des_cbc_encrypt() argument
61 char * input in des_cbc_encrypt()
78 des_cbc_encrypt((des_cblock *)input,(des_cblock *)c, in des_cbc_encrypt()
85 des_cbc3_encrypt(input,ks1,ks2,ivec1,ivec2,encrypt) in des_cbc3_encrypt() argument
86 char * input in des_cbc3_encrypt()
103 des_3cbc_encrypt((des_cblock *)input,(des_cblock *)SvPV(s,na), in des_cbc3_encrypt()
111 des_cbc_cksum(input,ks,ivec) in des_cbc_cksum() argument
[all …]
/minix3/external/bsd/kyua-cli/dist/utils/text/
H A Doperations.cpp77 text::refill(const std::string& input, const std::size_t target_width) in refill() argument
82 while (start < input.length()) { in refill()
84 if (start + target_width >= input.length()) in refill()
85 width = input.length() - start; in refill()
87 if (input[start + target_width] == ' ') { in refill()
90 const std::string::size_type pos = input.find_last_of( in refill()
93 width = input.find_first_of(" ", start + target_width); in refill()
95 width = input.length() - start; in refill()
104 INV(start + width <= input.length()); in refill()
105 INV(input[start + width] == ' ' || input[start + width] == '\0'); in refill()
[all …]
/minix3/external/historical/nawk/dist/
H A Dlex.c107 int c = input(); in peek()
119 c = input(); in gettok()
129 for ( ; (c = input()) != 0; ) { in gettok()
146 for ( ; (c = input()) != 0; ) { in gettok()
218 while ((c = input()) != '\n' && c != 0) in yylex()
226 input(); in yylex()
228 input(); input(); /* \n */ in yylex()
236 input(); RET(AND); in yylex()
241 input(); RET(BOR); in yylex()
246 input(); yylval.i = NE; RET(NE); in yylex()
[all …]

12345678910>>...53