Lines Matching full:platforms
54 struct platform platforms[] = { in test() local
100 for (i = 0; i < sizeof(platforms)/sizeof(platforms[0]); i++) { in test()
102 printf("Platform: %s\n", platforms[i].comment); in test()
103 err = cs_open(platforms[i].arch, platforms[i].mode, &handle); in test()
109 if (platforms[i].opt_type) in test()
110 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); in test()
114 cs_option(handle, platforms[i].opt_skipdata, platforms[i].skipdata); in test()
116 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); in test()
120 print_string_hex(platforms[i].code, platforms[i].size); in test()
135 printf("Platform: %s\n", platforms[i].comment); in test()
136 print_string_hex(platforms[i].code, platforms[i].size); in test()