/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setpshared/ |
2-1.c | 41 int ret; local 50 ret = pthread_condattr_setpshared(&attr, INVALID_PSHARED_VALUE); 51 if (ret != 0) { 52 if (ret == EINVAL) { 59 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-2.c | 39 int ret; local 41 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 42 if (ret) { 43 fprintf(stderr, "pthread_create(): %s\n", strerror(ret)); 49 ret = pthread_cancel(new_th); 50 if (ret) { 52 strerror(ret));
|
12-1.c | 31 int ret; local 33 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 34 if (ret != 0) { 36 ret, strerror(ret));
|
2-1.c | 37 int ret; local 41 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 42 if (ret) { 43 fprintf(stderr, "ptread_create(): %s\n", strerror(ret)); 48 ret = pthread_join(new_th, NULL); 49 if (ret) { 50 printf("Test FAILED (pthread_join(): %s)\n", strerror(ret));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
4-2.c | 41 int ret; local 59 ret = pthread_detach(new_th); 62 if (ret != ESRCH) { 65 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
5-1.c | 34 int ret; local 41 ret = pthread_join(new_th, NULL); 42 if (ret != 0) { 43 if ((ret != EINVAL) && (ret != ESRCH) && (ret != EDEADLK)) { 44 printf("Test FAILED: Invalid return code %d.\n", ret);
|
6-2.c | 48 int ret; local 55 ret = pthread_join(new_th, NULL); 57 if (ret != 0) { 66 ret = pthread_join(new_th, NULL); 67 if (ret != ESRCH) { 69 "%d instead.\n", ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprioceiling/ |
3-1.c | 32 int prioceiling, ret; local 36 if ((ret = pthread_mutexattr_getprioceiling(&mta, &prioceiling)) == 0) { 41 } else if (ret != EINVAL) { 44 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getpshared/ |
1-2.c | 36 int ret; local 46 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_SHARED); 47 if (ret != 0) { 49 ret);
|
1-3.c | 36 int ret; local 46 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_PRIVATE); 47 if (ret != 0) { 49 ret);
|
3-1.c | 37 int ret; local 44 ret = pthread_mutexattr_getpshared(&mta, &pshared); 45 if (ret != 0) { 46 if (ret == EINVAL) { 53 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/ |
3-1.c | 37 int prioceiling, ret; local 42 if ((ret = pthread_mutexattr_setprioceiling(&mta, prioceiling)) == 0) { 48 if (ret != EINVAL) { 51 ret);
|
3-2.c | 37 int prioceiling, ret; local 44 if ((ret = pthread_mutexattr_setprioceiling(&mta, prioceiling)) == 0) { 50 if (ret != EINVAL) { 53 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprotocol/ |
3-2.c | 27 int ret; local 30 ret = pthread_mutexattr_setprotocol(&mta, PTHREAD_PRIO_NONE); 31 if (ret == EINVAL) { 34 } else if (ret == 0) { 37 ret); 42 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setpshared/ |
1-1.c | 45 int ret; local 54 if ((ret = 59 ret); 64 if ((ret = 68 ret);
|
3-2.c | 40 int ret; local 43 ret = pthread_mutexattr_setpshared(&mta, INVALID_PSHARED_VALUE); 44 if (ret != 0) { 45 if (ret == EINVAL) { 51 ret);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcancelstate/ |
3-1.c | 28 int ret; /* Return value of pthread_setcancelstate(). */ variable 34 ret = pthread_setcancelstate(-100, NULL); 45 ret = 0; 61 if (ret != EINVAL) { 62 if (ret == 0) { 69 ret);
|
/external/pdfium/testing/libfuzzer/ |
pdf_cfx_saxreader_fuzzer.cc | 21 int32_t ret = reader.ContinueParse(); local 22 if (ret < 0 || ret > 99)
|
/external/selinux/libselinux/utils/ |
compute_av.c | 12 int ret; local 26 ret = security_compute_av(argv[1], argv[2], tclass, 1, &avd); 27 if (ret < 0) {
|
compute_create.c | 12 int ret; local 26 ret = security_compute_create(argv[1], argv[2], tclass, &buf); 27 if (ret < 0) {
|
compute_member.c | 12 int ret; local 26 ret = security_compute_member(argv[1], argv[2], tclass, &buf); 27 if (ret < 0) {
|
compute_relabel.c | 12 int ret; local 26 ret = security_compute_relabel(argv[1], argv[2], tclass, &buf); 27 if (ret < 0) {
|
compute_user.c | 14 int ret; local 21 ret = security_compute_user(argv[1], argv[2], &buf); 22 if (ret < 0) {
|
/external/strace/ |
fetch_struct_keyctl_kdf_params.c | 14 int ret; local 16 if ((ret = umove(tcp, addr, &kdf))) 17 return ret;
|
/external/strace/tests/ |
fadvise64.c | 42 long ret; local 48 ret = syscall(__NR_fadvise64, fd, offset, llen, advice); 49 errstr = sprintrc(ret); 52 ret = syscall(__NR_fadvise64, fd, 0, 54 errstr = sprintrc(ret); 59 ret = syscall(__NR_fadvise64, fd, 0, 62 ret = syscall(__NR_fadvise64, fd, 65 errstr = sprintrc(ret);
|