HomeSort by relevance Sort by last modified time
    Searched refs:rc (Results 176 - 200 of 3721) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/strace/tests/
sethostname.c 51 long rc; local
54 rc = syscall(__NR_sethostname, 0, len);
56 (unsigned) len, sprintrc(rc));
60 rc = syscall(__NR_sethostname, 0, len);
62 (unsigned) len, sprintrc(rc));
67 rc = syscall(__NR_sethostname, p, len);
69 p, (unsigned) len, sprintrc(rc));
pread64-pwrite64.c 94 long rc = pread(0, buf, len, offset); local
95 if (rc != (int) len)
97 len, rc);
101 tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc);
108 rc = pwrite(1, buf, len, offset);
109 if (rc != (int) len)
111 len, rc);
115 tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc);
155 long rc; local
157 rc = pwrite(1, w, 0, 0)
    [all...]
setgroups.c 76 long rc = syscall(SYSCALL_NR, 0, 0); local
77 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
79 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK, 0);
80 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
82 rc = syscall(SYSCALL_NR, 1, 0);
83 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
85 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000001ULL, 0);
86 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
88 rc = syscall(SYSCALL_NR, -1U, 0);
89 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc));
    [all...]
  /external/strace/tests-m32/
pipe2.c 44 long rc; local
46 rc = syscall(__NR_pipe2, fds, F8ILL_KULONG_MASK | O_NONBLOCK);
47 if (rc)
51 rc = syscall(__NR_pipe2, efault, F8ILL_KULONG_MASK);
52 printf("pipe2(%p, 0) = %s\n", efault, sprintrc(rc));
56 rc = syscall(__NR_pipe2, ill, 0);
58 (unsigned long long) ill, sprintrc(rc));
sethostname.c 51 long rc; local
54 rc = syscall(__NR_sethostname, 0, len);
56 (unsigned) len, sprintrc(rc));
60 rc = syscall(__NR_sethostname, 0, len);
62 (unsigned) len, sprintrc(rc));
67 rc = syscall(__NR_sethostname, p, len);
69 p, (unsigned) len, sprintrc(rc));
pread64-pwrite64.c 94 long rc = pread(0, buf, len, offset); local
95 if (rc != (int) len)
97 len, rc);
101 tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc);
108 rc = pwrite(1, buf, len, offset);
109 if (rc != (int) len)
111 len, rc);
115 tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc);
155 long rc; local
157 rc = pwrite(1, w, 0, 0)
    [all...]
setgroups.c 76 long rc = syscall(SYSCALL_NR, 0, 0); local
77 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
79 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK, 0);
80 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
82 rc = syscall(SYSCALL_NR, 1, 0);
83 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
85 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000001ULL, 0);
86 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
88 rc = syscall(SYSCALL_NR, -1U, 0);
89 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc));
    [all...]
  /external/strace/tests-mx32/
pipe2.c 44 long rc; local
46 rc = syscall(__NR_pipe2, fds, F8ILL_KULONG_MASK | O_NONBLOCK);
47 if (rc)
51 rc = syscall(__NR_pipe2, efault, F8ILL_KULONG_MASK);
52 printf("pipe2(%p, 0) = %s\n", efault, sprintrc(rc));
56 rc = syscall(__NR_pipe2, ill, 0);
58 (unsigned long long) ill, sprintrc(rc));
sethostname.c 51 long rc; local
54 rc = syscall(__NR_sethostname, 0, len);
56 (unsigned) len, sprintrc(rc));
60 rc = syscall(__NR_sethostname, 0, len);
62 (unsigned) len, sprintrc(rc));
67 rc = syscall(__NR_sethostname, p, len);
69 p, (unsigned) len, sprintrc(rc));
pread64-pwrite64.c 94 long rc = pread(0, buf, len, offset); local
95 if (rc != (int) len)
97 len, rc);
101 tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc);
108 rc = pwrite(1, buf, len, offset);
109 if (rc != (int) len)
111 len, rc);
115 tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc);
155 long rc; local
157 rc = pwrite(1, w, 0, 0)
    [all...]
setgroups.c 76 long rc = syscall(SYSCALL_NR, 0, 0); local
77 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
79 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK, 0);
80 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
82 rc = syscall(SYSCALL_NR, 1, 0);
83 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
85 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000001ULL, 0);
86 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc));
88 rc = syscall(SYSCALL_NR, -1U, 0);
89 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc));
    [all...]
  /system/core/logd/
libaudit.c 35 int rc; local
43 rc = audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, MSG_PEEK);
44 if (rc < 0) {
45 return rc;
50 rc = ((struct nlmsgerr*)rep.data)->error;
51 if (rc) {
52 return -rc;
73 int rc; local
123 rc = TEMP_FAILURE_RETRY(sendto(fd, &req, req.nlh.nlmsg_len, 0,
127 if (rc < 0)
151 int rc; local
194 int rc = 0; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
3-1.c 44 int rc = 0; local
46 rc = pthread_key_create(&key, destructor);
47 if (rc != 0) {
52 rc = pthread_setspecific(key, &value);
53 if (rc != 0) {
65 int rc = 0; local
68 rc = pthread_create(&new_th, NULL, a_thread_func, NULL);
69 if (rc != 0) {
75 rc = pthread_join(new_th, NULL);
76 if (rc != 0)
    [all...]
  /device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_app.c 56 int rc = 0; local
64 rc = pthread_cond_timedwait(&app_cond_v, &app_mutex,&tw);
68 return rc;
73 int rc = 0; local
80 return rc;
123 int rc = MM_CAMERA_OK; local
143 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc);
144 if (rc < 0) {
145 LOGE("ION allocation failed %s with rc = %d \n",strerror(errno), rc);
188 int rc = 0; local
348 int i, rc = MM_CAMERA_OK; local
370 int i, rc; local
506 int32_t rc = 0; local
617 int rc = MM_CAMERA_OK; local
631 int rc = MM_CAMERA_OK; local
650 int32_t rc = MM_CAMERA_OK; local
736 int rc = MM_CAMERA_OK; local
852 int rc = MM_CAMERA_OK; local
869 int rc = MM_CAMERA_OK; local
884 int rc = MM_CAMERA_OK; local
911 int rc = MM_CAMERA_OK; local
939 int rc = MM_CAMERA_OK; local
966 int rc = MM_CAMERA_OK; local
993 int rc = MM_CAMERA_OK; local
1020 int rc = MM_CAMERA_OK; local
1048 int rc = MM_CAMERA_OK; local
1075 int rc = MM_CAMERA_OK; local
1104 int rc = MM_CAMERA_OK; local
1143 int rc = MM_CAMERA_OK; local
1172 int rc = MM_CAMERA_OK; local
1201 int rc = MM_CAMERA_OK; local
1230 int rc = MM_CAMERA_OK; local
1259 int rc = MM_CAMERA_OK; local
1288 int rc = MM_CAMERA_OK; local
1317 int rc = MM_CAMERA_OK; local
1346 int rc = MM_CAMERA_OK; local
1376 int rc = MM_CAMERA_OK; local
1409 int rc = MM_CAMERA_OK; local
1438 int rc = MM_CAMERA_OK; local
1469 int rc = MM_CAMERA_OK; local
1498 int rc = MM_CAMERA_OK; local
1527 int rc = MM_CAMERA_OK; local
1573 int rc = 0; local
1652 int rc = MM_CAMERA_OK; local
1714 int rc = MM_CAMERA_OK; local
1757 int rc = MM_CAMERA_OK; local
1810 int rc = MM_CAMERA_OK; local
1843 int rc = MM_CAMERA_OK; local
1871 int rc = MM_CAMERA_OK; local
2251 int rc = 0; local
2267 int rc = MM_CAMERA_OK; local
2308 int rc = MM_CAMERA_OK; local
2324 int rc = MM_CAMERA_OK; local
2360 int rc = MM_CAMERA_OK; local
    [all...]
  /external/curl/src/
tool_cb_rea.c 39 ssize_t rc; local
42 rc = read(in->fd, buffer, sz*nmemb);
43 if(rc < 0) {
50 rc = 0;
53 return (size_t)rc;
  /external/linux-kselftest/tools/testing/selftests/efivarfs/
open-unlink.c 17 int rc; local
24 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags);
25 if (rc < 0) {
29 return rc;
37 rc = ioctl(fd, FS_IOC_SETFLAGS, &flags);
41 return rc;
48 int rc; local
55 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags);
56 if (rc < 0) {
60 return rc;
72 int fd, rc; local
    [all...]
  /external/ltp/testcases/kernel/device-drivers/base/user_base/
tbase_ki.c 47 int rc; local
62 rc = ioctl(fd, flag, &tif);
63 if (rc) {
65 return rc;
70 return rc;
  /external/ltp/testcases/kernel/device-drivers/usb/user_usb/
tusb_ki.c 56 int rc; local
71 rc = ioctl(fd, flag, &tif);
72 if (rc) {
74 return rc;
81 return rc;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/
1-1.c 33 int rc; local
42 rc = pthread_barrier_destroy(&barrier);
43 if (rc != 0) {
46 " return code: %d, %s\n", rc, strerror(rc));
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/
3-1.c 29 int rc; local
34 rc = pthread_barrier_init(&barrier, NULL, COUNT);
36 if (rc != EINVAL) {
39 " return code %d, %s\n", rc, strerror(rc));
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/
2-1.c 29 void *rc; local
32 rc = pthread_getspecific(key);
33 if (rc != NULL) {
44 rc = pthread_getspecific(key);
45 if (rc != NULL) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/
3-1.c 27 int rc; local
40 rc = pthread_rwlock_destroy(&rwlock);
41 if (rc == EBUSY) {
44 } else if (rc == 0) {
51 rc);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/
3-1.c 28 int rc; local
31 rc = pthread_rwlock_trywrlock(&rwlock);
44 if (rc != 0) {
45 if (rc == EINVAL) {
49 printf("Test FAILED: Incorrect return code %d\n", rc);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/
1-1.c 37 #define ERR_LOG(l, rc) printf("Failed: %s rc: %d errno: %s\n", \
38 l, rc, strerror(errno))
42 int rc; local
51 rc = sched_yield();
52 if (rc) {
53 ERR_LOG("child: sched_yield", rc);
65 int rc; local
73 rc = pipe(pfd);
74 if (rc) {
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
1-1.c 47 int rc; local
50 rc = pthread_attr_init(&attr);
51 if (rc != 0) {
57 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size);
58 if (rc != 0) {
74 rc = pthread_attr_setstack(&attr, stack_addr, stack_size);
75 if (rc != 0) {
80 rc = pthread_attr_getstack(&attr, &saddr, &ssize);
81 if (rc != 0) {
87 rc = pthread_create(&new_th, &attr, thread_func, NULL)
    [all...]

Completed in 547 milliseconds

1 2 3 4 5 6 78 91011>>