/external/strace/tests-mx32/ |
lseek.c | 46 long long rc = lseek(-1, offset, SEEK_SET); local 48 (long long) offset, rc, errno2name()); 50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); local 52 (long) offset, rc, errno2name());
|
mlock.c | 15 long rc = syscall(__NR_mlock, addr, size); local 16 printf("mlock(%p, %d) = %s\n", addr, size, sprintrc(rc)); 18 rc = syscall(__NR_munlock, addr, size); 19 printf("munlock(%p, %d) = %s\n", addr, size, sprintrc(rc));
|
sched_xetparam.c | 16 long rc = syscall(__NR_sched_getparam, 0, param); local 18 param->sched_priority, rc); 21 rc = syscall(__NR_sched_setparam, 0, param); 23 param->sched_priority, rc, errno2name());
|
umoven-illptr.c | 43 long rc = syscall(__NR_nanosleep, p, NULL); local 45 sprintrc(rc)); 48 rc = syscall(__NR_nanosleep, ill, NULL); 50 (unsigned long long) ill, sprintrc(rc));
|
xetpriority.c | 14 long rc = syscall(__NR_getpriority, PRIO_PROCESS, local 16 printf("getpriority(PRIO_PROCESS, %d) = %ld\n", pid, rc); 18 rc = syscall(__NR_setpriority, PRIO_PROCESS, 20 printf("setpriority(PRIO_PROCESS, %d, 0) = %s\n", pid, sprintrc(rc));
|
/external/valgrind/drd/tests/ |
dlopen_lib.c | 18 int rc; local 22 rc = pthread_create(&thread, NULL, PrintHello, (void *)t); 23 if (rc) 24 printf("ERROR; return code from pthread_create() is %d\n", rc);
|
run_openmp_test | 28 rc="$(nm "${libgomp_path}" 2>&1 \ 40 exit ${rc:-1}
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_frag.c | 81 #define INIT_COMBINER(chan, ctx, rc, i) do { \ 84 (rc)->ctx = ctx; \ 85 (rc)->unit = i; \ 86 (rc)->premodulate = c->_NumArgs##chan == 4; \ 87 (rc)->mode = c->Mode##chan; \ 88 (rc)->source = c->Source##chan; \ 89 (rc)->operand = c->Operand##chan; \ 90 (rc)->logscale = c->ScaleShift##chan; \ 91 (rc)->in = (rc)->out = 0; 345 struct combiner_state rc = {}; local [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec_interface.c | 58 int32_t rc = -1; local 63 return rc; 71 return rc; 73 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); 75 return rc; 96 int32_t rc = -1; local 100 return rc; 108 return rc; 111 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); 113 return rc; 130 int32_t rc = -1; local 164 int32_t rc = -1; local 198 int32_t rc = -1; local 244 int32_t rc = 0; local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec_interface.c | 58 int32_t rc = -1; local 63 return rc; 71 return rc; 73 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); 75 return rc; 96 int32_t rc = -1; local 100 return rc; 108 return rc; 111 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); 113 return rc; 130 int32_t rc = -1; local 164 int32_t rc = -1; local 198 int32_t rc = -1; local 244 int32_t rc = 0; local [all...] |
/external/ltp/testcases/kernel/sched/clisrv/ |
readline.c | 33 int n, rc; local 39 if ((rc = read(fd, &c, 1)) == 1) { 43 } else if (rc == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getinheritsched/ |
1-1.c | 31 int rc; local 34 rc = pthread_attr_getinheritsched(attr, &inheritsched); 35 if (rc != 0) { 58 int rc = 0; local 61 rc = pthread_attr_init(&attr); 62 if (rc != 0) { 67 rc = pthread_attr_setinheritsched(&attr, INHERIT); 68 if (rc != 0) { 74 rc = pthread_attr_setinheritsched(&attr, EXPLICIT); 75 if (rc != 0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getscope/ |
1-1.c | 33 int rc; local 36 rc = pthread_attr_getscope(attr, &scope); 37 if (rc != 0) { 60 int rc = 0; local 63 rc = pthread_attr_init(&attr); 64 if (rc != 0) { 69 rc = pthread_attr_setscope(&attr, SYSTEMSCOPE); 70 if (rc != 0) { 75 rc = pthread_attr_setscope(&attr, PROCESSSCOPE); 76 if (rc != 0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
1-1.c | 31 int rc; local 34 rc = pthread_attr_getinheritsched(attr, &inheritsched); 35 if (rc != 0) { 58 int rc = 0; local 61 rc = pthread_attr_init(&attr); 62 if (rc != 0) { 67 rc = pthread_attr_setinheritsched(&attr, INHERIT); 68 if (rc != 0) { 74 rc = pthread_attr_setinheritsched(&attr, EXPLICIT); 75 if (rc != 0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
2-2.c | 43 int rc = 0; local 47 rc = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); 48 if (rc != 0) { 53 rc = pthread_key_create(&key, destructor); 54 if (rc != 0) { 59 rc = pthread_setspecific(key, &value); 60 if (rc != 0) { 77 int rc = 0; local 81 rc = pthread_create(&new_th, NULL, a_thread_func, NULL); 82 if (rc != 0) [all...] |
2-3.c | 60 int rc = 0; local 64 rc = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); 65 if (rc != 0) { 70 rc = pthread_key_create(&key, destructor); 71 if (rc != 0) { 76 rc = pthread_setspecific(key, &value); 77 if (rc != 0) { 98 int rc = 0; local 103 rc = pthread_create(&new_th, NULL, a_thread_func, NULL); 104 if (rc != 0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_destroy/ |
1-1.c | 25 int rc; local 28 if ((rc = pthread_condattr_init(&condattr)) != 0) { 36 fprintf(stderr, "Error at pthread_condattr_destroy(), rc=%d\n", 37 rc);
|
4-1.c | 26 int rc; local 30 if ((rc = pthread_condattr_destroy(condattr)) == EINVAL) { 36 EINVAL, rc);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_init/ |
3-1.c | 25 int rc; local 28 if ((rc = pthread_condattr_init(&condattr)) == 0) { 34 else if (rc == ENOMEM) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_destroy/ |
1-1.c | 25 int rc; local 28 if ((rc = pthread_mutexattr_init(&mta)) != 0) { 35 fprintf(stderr, "Error at pthread_mutexattr_destroy(), rc=%d\n", 36 rc);
|
4-1.c | 26 int rc; local 30 if ((rc = pthread_mutexattr_destroy(mta)) == EINVAL) { 36 EINVAL, rc);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprotocol/ |
1-1.c | 28 int protocol, rc; local 37 if ((rc = pthread_mutexattr_getprotocol(&mta, &protocol)) != 0) { 39 ("Test FAILED: Error in pthread_mutexattr_getprotocol rc=%d\n", 40 rc);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_init/ |
3-1.c | 25 int rc; local 28 if ((rc = pthread_mutexattr_init(&mta)) == 0) { 34 else if (rc == ENOMEM) {
|
/external/strace/linux/aarch64/ |
set_scno.c | 17 int rc = ptrace(PTRACE_SETREGSET, tcp->pid, NT_ARM_SYSTEM_CALL, &io); local 18 if (rc && errno != ESRCH) 21 return rc;
|
/external/strace/linux/arm/ |
set_scno.c | 13 int rc = ptrace(PTRACE_SET_SYSCALL, tcp->pid, NULL, (unsigned long) n); local 14 if (rc && errno != ESRCH) 17 return rc;
|