/external/compiler-rt/test/asan/TestCases/Posix/ |
wait4.cc | 25 int res; local 27 res = wait4(pid, status, WNOHANG, NULL); 31 res = wait4(pid, &good_status, WNOHANG, ru); 39 return res == -1 ? 1 : 0;
|
waitid.cc | 14 int res; local 17 res = waitid(P_ALL, 0, si, WEXITED | WNOHANG); 24 return res != -1;
|
/external/compiler-rt/test/asan/TestCases/ |
stack-buffer-overflow-with-position.cc | 27 int res = 0; local
|
stack-frame-demangle.cc | 20 int res = XXX::YYY::ZZZ(argc + 10); local 21 return res;
|
/external/compiler-rt/test/lsan/TestCases/ |
cleanup_in_tsd_destructor.c | 29 int res = pthread_setspecific(key, (void*)1); local 30 assert(res == 0); 35 int res = pthread_key_create(&key, &key_destructor); local 36 assert(res == 0); 38 res = pthread_create(&thread_id, 0, thread_func, 0); 39 assert(res == 0); 40 res = pthread_join(thread_id, 0); 41 assert(res == 0);
|
disabler_in_tsd_destructor.c | 25 int res = pthread_setspecific(key, (void*)1); local 26 assert(res == 0); 31 int res = pthread_key_create(&key, &key_destructor); local 32 assert(res == 0); 34 res = pthread_create(&thread_id, 0, thread_func, 0); 35 assert(res == 0); 36 res = pthread_join(thread_id, 0); 37 assert(res == 0);
|
use_registers.cc | 48 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync); local 49 assert(res == 0);
|
use_stacks_threaded.cc | 28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync); local 29 assert(res == 0);
|
use_tls_pthread_specific_dynamic.cc | 18 int res; local 21 res = pthread_key_create(&dummy_keys[i], NULL); 22 assert(res == 0); 25 res = pthread_key_create(&key, NULL); 27 assert(res == 0); 29 res = pthread_setspecific(key, p); 30 assert(res == 0);
|
/external/compiler-rt/test/msan/Linux/ |
sunrpc.cc | 27 bool_t res = FN(&xdrs, &x); local 30 assert(res == TRUE); 35 res = FN(&xdrs, &y); 36 assert(res == TRUE);
|
/external/compiler-rt/test/msan/ |
ifaddrs.cc | 29 int res = getifaddrs(&ifas); local 30 if (res == -1) { 35 assert(res == 0);
|
scandir.cc | 45 int res = scandir(buf, &d, my_filter, my_compar); local 46 assert(res == 2); 48 for (int i = 0; i < res; ++i) {
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
timerfd.cc | 20 int res = timerfd_settime(fd, 0, &its, NULL); local 21 assert(res != -1); 24 res = timerfd_settime(fd, 0, &its, &its2); 25 assert(res != -1); 32 res = timerfd_gettime(fd, &its3); 33 assert(res != -1); 41 res = read(fd, &buf, sizeof(buf)); 42 assert(res == 8); 45 res = close(fd); 46 assert(res != -1) [all...] |
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
getpass.cc | 24 int res = read(master, buf, sizeof(buf)); local 25 write(1, buf, res); 27 while ((res = read(master, buf, sizeof(buf))) > 0) write(1, buf, res);
|
/external/compiler-rt/test/tsan/ |
race_on_speculative_load.cc | 16 long res = foo((long)p); local 17 return (void*) res;
|
/external/curl/docs/examples/ |
certinfo.c | 40 CURLcode res; local 56 res = curl_easy_perform(curl); 58 if(!res) { 61 res = curl_easy_getinfo(curl, CURLINFO_CERTINFO, &certinfo); 63 if(!res && certinfo) {
|
fileupload.c | 34 CURLcode res; local 66 res = curl_easy_perform(curl); 68 if(res != CURLE_OK) { 70 curl_easy_strerror(res));
|
postit2-formadd.c | 48 CURLcode res; local 91 /* Perform the request, res will get the return code */ 92 res = curl_easy_perform(curl); 94 if(res != CURLE_OK) 96 curl_easy_strerror(res));
|
postit2.c | 48 CURLcode res; local 87 /* Perform the request, res will get the return code */ 88 res = curl_easy_perform(curl); 90 if(res != CURLE_OK) 92 curl_easy_strerror(res));
|
shared-connection-cache.c | 50 CURLcode res; local 71 /* Perform the request, res will get the return code */ 72 res = curl_easy_perform(curl); 74 if(res != CURLE_OK) 76 curl_easy_strerror(res));
|
/external/curl/tests/libtest/ |
lib1525.c | 50 CURLcode res = CURLE_FAILED_INIT; local 87 res = curl_easy_perform(curl); 97 return (int)res;
|
lib1537.c | 30 CURLcode res = CURLE_OK; local 53 res = TEST_ERR_MAJOR_BAD; 67 res = TEST_ERR_MAJOR_BAD; 93 return (int)res;
|
lib1554.c | 47 CURLcode res = CURLE_OK; local 75 /* Perform the request, res will get the return code */ 76 res = curl_easy_perform(curl); 78 if(res != CURLE_OK) 80 curl_easy_strerror(res));
|
lib541.c | 37 CURLcode res = CURLE_OK; local 100 res = curl_easy_perform(curl); 104 res = curl_easy_perform(curl); 114 return res;
|
lib543.c | 38 CURLcode res = CURLE_OK; local
|