Searched refs:test_data (Results 1 – 3 of 3) sorted by relevance
/toolchain/binutils/binutils-2.25/libiberty/testsuite/ |
D | test-strtol.c | 81 const struct test_data_t test_data[] = { variable 120 run_tests (const struct test_data_t *test_data, size_t ntests) in run_tests() argument 132 switch (test_data[i].fun) in run_tests() 135 res = (unsigned long) strtol (test_data[i].nptr, in run_tests() 136 0, test_data[i].base); in run_tests() 139 res = strtoul (test_data[i].nptr, 0, test_data[i].base); in run_tests() 143 res = strtoll (test_data[i].nptr, 0, test_data[i].base); in run_tests() 146 res = strtoull (test_data[i].nptr, 0, test_data[i].base); in run_tests() 156 if (res != test_data[i].res) in run_tests() 163 if (saved_errno != test_data[i].errnum) in run_tests() [all …]
|
D | test-expandargv.c | 75 const char *test_data[] = { variable 191 writeout_test (int test, const char * test_data) in writeout_test() argument 205 len = strlen (test_data); in writeout_test() 210 memcpy (parse, test_data, sizeof (char) * (len + 1)); in writeout_test() 241 run_tests (const char **test_data) in run_tests() argument 249 while (test_data[j]) in run_tests() 252 writeout_test (i, test_data[j++]); in run_tests() 254 argv_before = dupargv ((char **) &test_data[j]); in run_tests() 259 while (test_data[j + argc_before]) in run_tests() 262 while (test_data[j + argc_after]) in run_tests() [all …]
|
/toolchain/binutils/binutils-2.25/libiberty/ |
D | ChangeLog | 1146 * testsuite/test-expandargv.c: (test_data): Test empty lines
|