/cts/suite/audio_quality/lib/src/ |
D | Report.cpp | 66 void Report::printf(const char* fmt, ...) in printf() function in Report 96 printf(" <test title=\"%s\" result=\"pass\" >", it->first.string()); in writeResult() 98 printf(" <test title=\"%s\" result=\"fail\" >", it->first.string()); in writeResult() 100 printf(" <details>\n%s", it->second.string()); in writeResult() 101 printf(" </details>"); in writeResult() 102 printf(" </test>"); in writeResult() 108 printf("<?xml version='1.0' encoding='utf-8' standalone='yes' ?>"); in writeReport() 109 printf("<audio-test-results-report report-version=\"1\" creation-time=\"%s\">", in writeReport() 111 printf(" <verifier-info version-name=\"1\" version-code=\"1\" />"); in writeReport() 112 printf(" <device-info>"); in writeReport() [all …]
|
/cts/suite/audio_quality/lib/include/ |
D | Log.h | 40 void printf(LogLevel level, const char* fmt, ...); 55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \ 56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0) 57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0) 58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0) 59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0) 60 #define LOGV(x...) do { Log::Instance()->printf(Log::ELogV, x); } while(0) 62 #define MSG(x...) do { Log::Instance()->printf(Log::ELogE, x); } while(0) 64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \
|
D | Report.h | 50 void printf(const char* fmt, ...);
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8448/ |
D | poc.c | 36 printf("Device file opened successfully\n"); in main() 37 printf("Trying to get layer info\n"); in main() 42 printf("Got layer info\n"); in main() 43 printf("Trying to set layer info\n"); in main() 57 printf("Set layer info\n"); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8426/ |
D | poc.c | 31 #define ERR(fmt, ...) printf(fmt ": %d(%s)\n", ##__VA_ARGS__, errno, strerror(errno)) 58 printf("[-] set affinity failed: [%d]-%s\n", errno, strerror(errno)); in set_affinity() 96 printf("[+] open OK\n"); in main() 105 printf("[+] ioctl OK, fd = %d\n", o_args.channel_fd); in main() 117 printf("[+] create close thread %d failed %d %s\n", i, errno, strerror(errno)); in main() 125 printf("[+] %03d times\n", i); in main() 131 printf("[+] ioctl OK, fd = %d\n", o_args.channel_fd); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2017-0403/ |
D | poc.c | 131 printf("id=%d arg=%d\n",gettid(),arg); in thr() 139 printf("thread 0\n"); in thr() 172 printf("thread 1\n"); in thr() 180 printf("thread 2\n"); in thr() 217 printf("POC3\n"); in main() 218 printf("Please enable CONFIG_SLUB_DEBUG_ON and check the posion overwriten message in kernel\n"); in main() 227 printf("[%d]times.\r",times); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/ |
D | poc.c | 118 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver() 120 printf("[*] open file(%s) succ!\n", dev_path); in open_driver() 128 printf("[*] NVMAP_IOC_CREATE, last error = %d\n", errno); in trigger_nvmap_create() 135 printf("[*] NVMAP_IOC_ALLOC, last error = %d\n", errno); in trigger_nvmap_alloc() 140 printf("[*] NVMAP_IOC_FREE last error = %d\n", errno); in trigger_nvmap_free() 145 printf("[*] setpriority(%d) errno = %d\n", privi, errno); in setup_privi_and_affinity() 149 printf("[*] sched_setaffinity(%ld) errno = %d\n", cpu_mask, errno); in setup_privi_and_affinity() 187 printf("[*] NVMAP_IOC_RESERVE errno = %d\n", errno); in trigger_rw_handle() 204 printf("[*] Begin to trigger bug....\n"); in main()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_gen.c | 214 printf("static short[] %s = {\n", INPUT_ARRAY); in printInput() 217 printf("(short) 0x%04x, // %s\n", input[x].value, input[x].description); in printInput() 219 printf("};\n\n"); in printInput() 230 printf("static short[][][] %s = {\n", fieldName); in printReferenceOutput() 233 printf("{"); in printReferenceOutput() 239 printf("{ (short) 0x%04x, (short) 0x%04x},", resultBounds[0], in printReferenceOutput() 242 printf("},\n"); in printReferenceOutput() 245 printf("};\n\n"); in printReferenceOutput() 272 printf("%s", preamble); in main() 280 printf("}"); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8435/ |
D | poc.c | 46 printf("[-] open dev failed %d %s\n", errno, strerror(errno)); in main() 63 printf("[-] open_channel failed %d %s\n", errno, strerror(errno)); in main() 67 printf("[+] call submit\n"); in main() 69 printf("[+] submit return %d\n", ret); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8424/ |
D | poc.c | 70 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver() 72 printf("[*] open file(%s) succ!\n", dev_path); in open_driver() 90 printf("[*] setpriority(%d) errno = %d\n", privi, errno); in setup_privi_and_affinity() 94 printf("[*] sched_setaffinity(%ld) errno = %d\n", cpu_mask, errno); in setup_privi_and_affinity() 105 printf("[*] mprotect, error = %d\n", errno); in prepare_data()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8425/ |
D | poc.c | 31 #define ERR(fmt, ...) printf(fmt ": %d(%s)\n", ##__VA_ARGS__, errno, strerror(errno)) 58 printf("[-] set affinity failed: [%d]-%s\n", errno, strerror(errno)); in set_affinity() 96 printf("[+] open OK\n"); in main() 105 printf("[+] ioctl OK, fd = %d\n", o_args.channel_fd); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8429/ |
D | poc.c | 98 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver() 100 printf("[*] open file(%s) succ!\n", dev_path); in open_driver() 138 printf("[*] data = %p\n", data); in prepare_data() 143 printf("[*] mprotect, error = %d\n", errno); in prepare_data()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8430/ |
D | poc.c | 108 printf("open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver() 111 printf("open file(%s) succ!\n", dev_path); in open_driver() 117 printf("open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver() 120 printf("open file(%s) succ!\n", dev_path); in open_driver()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-9120/ |
D | poc.c | 107 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver() 109 printf("[*] open file(%s) succ!\n", dev_path); in open_driver() 126 printf("[*] mprotect, error = %d\n", errno); in prepare_data()
|
/cts/suite/audio_quality/test/ |
D | LogTest.cpp | 36 printf("printf %d %d %d %d %d %d\n", 0, 1, 2, 3, 4, 5); in TEST_F() 49 printf("printf %lld %lld %lld %lld %lld %lld\n", a, b, c, d, e, f); in TEST_F()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | dhry_1.c | 191 printf ("Measured time too small to obtain meaningful results\n"); in main() 192 printf ("Please increase number of runs\n"); in main() 193 printf ("\n"); in main() 207 printf ("%6.1f \n", Dhrystones_Per_Second); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/ |
D | poc.c | 25 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 26 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno))
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8482/ |
D | poc.c | 36 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 37 #define ERR(fmt, ...) printf(fmt ": %d(%d)\n", ##__VA_ARGS__, errno, errno) 77 printf("[-] set affinity failed: [%d]-%d\n", errno, errno); in set_affinity()
|
/cts/hostsidetests/security/securityPatch/Bug-34328139/ |
D | poc.c | 104 printf("thread failed! errno:%d err:%s\n",errno,strerror(errno)); in main() 137 printf("[pid:%d] try %d again!\n", getpid(), ++count); in main()
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8449/ |
D | poc.c | 32 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 33 #define ERR(fmt, ...) printf(fmt ": %d(%s)\n", ##__VA_ARGS__, errno, strerror(errno))
|
/cts/hostsidetests/security/securityPatch/CVE-2016-6733/ |
D | poc.c | 91 printf("[-] set affinity failed: [%d]-%s\n", errno, strerror(errno)); in set_affinity() 122 printf("[+] open failed %d %s\n", errno, strerror(errno)); in main()
|
/cts/tests/tests/jni/libjnitest/ |
D | helper.h | 50 char *failure(const char *format, ...) __attribute__((format(printf, 1, 2)));
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/ |
D | poc.c | 29 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 30 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno))
|
/cts/hostsidetests/security/securityPatch/CVE-2017-0429/ |
D | poc.c | 35 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 36 #define ERR(fmt, ...) printf(fmt ": %d(%d)\n", ##__VA_ARGS__, errno, errno)
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8444/ |
D | poc.c | 64 printf("please wait for several seconds...\n"); in main()
|