| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | imdrover.h | 51 bool test_set(testspec_t* t, FILE* ofp); 52 bool test_neg(testspec_t* t, FILE* ofp); 53 bool test_abs(testspec_t* t, FILE* ofp); 54 bool test_add(testspec_t* t, FILE* ofp); 55 bool test_sub(testspec_t* t, FILE* ofp); 56 bool test_mul(testspec_t* t, FILE* ofp); 59 bool test_sqr(testspec_t* t, FILE* ofp); 60 bool test_div(testspec_t* t, FILE* ofp); 66 bool test_mod(testspec_t* t, FILE* ofp); 67 bool test_gcd(testspec_t* t, FILE* ofp); [all …]
|
| H A D | imdrover.c | 458 bool test_set(testspec_t* t, FILE* ofp) { in test_set() argument 482 bool test_neg(testspec_t* t, FILE* ofp) { in test_neg() argument 497 bool test_abs(testspec_t* t, FILE* ofp) { in test_abs() argument 512 bool test_add(testspec_t* t, FILE* ofp) { in test_add() argument 534 bool test_sub(testspec_t* t, FILE* ofp) { in test_sub() argument 555 bool test_mul(testspec_t* t, FILE* ofp) { in test_mul() argument 601 bool test_sqr(testspec_t* t, FILE* ofp) { in test_sqr() argument 615 bool test_div(testspec_t* t, FILE* ofp) { in test_div() argument 729 bool test_mod(testspec_t* t, FILE* ofp) { in test_mod() argument 1149 fprintf(ofp, " (=> %d)", j + 1); in test_meta() [all …]
|
| H A D | imtest.c | 167 bool process_file(char *file_name, FILE *ifp, FILE *ofp); 174 int run_test(int test_num, testspec_t *t, FILE *ofp); 209 bool process_file(char *file_name, FILE *ifp, FILE *ofp) { in process_file() argument 219 if ((res = run_test(++test_num, &t, ofp)) < 0) { in process_file() 232 fprintf(ofp, in process_file() 342 int run_test(int test_num, testspec_t *t, FILE *ofp) { in run_test() argument 374 if ((info.call)(t, ofp)) { in run_test() 375 fprintf(ofp, "%s\t%d\t%d\tOK\n", t->file, t->line, test_num); in run_test() 378 fprintf(ofp, "%s\t%d\t%d\t%s\n", t->file, t->line, test_num, in run_test() 381 fprintf(ofp, "%s\t%d\t%d\tFAILED\t%s\n", t->file, t->line, test_num, in run_test()
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/examples/ |
| H A D | rsakey.c | 70 void rsa_key_write(rsa_key *kp, FILE *ofp); 74 FILE *ofp = stdout; in main() local 105 if ((ofp = fopen(argv[optind], "wt")) == NULL) { in main() 193 rsa_key_write(&the_key, ofp); in main() 196 fclose(ofp); in main() 284 void rsa_key_write(rsa_key *kp, FILE *ofp) { in rsa_key_write() argument 291 fprintf(ofp, "p = %s\n", obuf); in rsa_key_write() 293 fprintf(ofp, "q = %s\n", obuf); in rsa_key_write() 295 fprintf(ofp, "e = %s\n", obuf); in rsa_key_write() 297 fprintf(ofp, "d = %s\n", obuf); in rsa_key_write() [all …]
|
| H A D | randprime.c | 63 FILE *ofp = stdout; in main() local 97 if ((ofp = fopen(argv[optind], "wt")) == NULL) { in main() 127 fputs(obuf, ofp); in main() 128 fputc('\n', ofp); in main() 134 fclose(ofp); in main()
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/tests/ |
| H A D | rtest.c | 36 void print_buf(unsigned char *buf, int len, int brk, FILE *ofp); 108 void print_buf(unsigned char *buf, int len, int brk, FILE *ofp) { in print_buf() argument 112 fprintf(ofp, "%02X", buf[i]); in print_buf() 115 fputc('\n', ofp); in print_buf() 117 fputc(' ', ofp); in print_buf() 119 if (i % brk) fputc('\n', ofp); in print_buf()
|