HomeSort by relevance Sort by last modified time
    Searched defs:rc (Results 1 - 25 of 963) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/bionic/
close.cpp 35 int rc = ___close(fd); local
36 if (rc == -1 && errno == EINTR) {
55 return rc;
raise.cpp 34 int rc = pthread_kill(pthread_self(), sig); local
35 if (rc != 0) {
36 errno = rc;
getcwd.cpp 61 int rc = __getcwd(buf, allocated_size); local
62 if (rc == -1) {
pthread_getschedparam.cpp 42 int rc = sched_getparam(thread->tid, param); local
43 if (rc == -1) {
pthread_setschedparam.cpp 42 int rc = sched_setscheduler(thread->tid, policy, param); local
43 if (rc == -1) {
sched_getaffinity.cpp 36 int rc = __sched_getaffinity(pid, set_size, set); local
37 if (rc == -1) {
43 memset(reinterpret_cast<char*>(set) + rc, 0, set_size - rc);
sched_getcpu.cpp 36 int rc = __getcpu(&cpu, NULL, NULL); local
37 if (rc == -1) {
dl_iterate_phdr_static.cpp 58 int rc = cb(&exe_info, sizeof(exe_info), data); local
59 if (rc != 0) {
60 return rc;
67 return rc;
sysconf.cpp 46 int rc = clock_getres(CLOCK_MONOTONIC, &t); local
47 return (rc == -1) ? -1 : _POSIX_VERSION;
  /external/selinux/libselinux/utils/
getenforce.c 9 int rc; local
11 rc = is_selinux_enabled();
12 if (rc < 0) {
16 if (rc == 1) {
17 rc = security_getenforce();
18 if (rc < 0) {
23 if (rc)
policyvers.c 8 int rc; local
10 rc = security_policyvers();
11 if (rc < 0) {
16 printf("%d\n", rc);
getfilecon.c 9 int rc, i; local
17 rc = getfilecon(argv[i], &buf);
18 if (rc < 0) {
getpidcon.c 10 int rc; local
22 rc = getpidcon(pid, &buf);
23 if (rc < 0) {
setenforce.c 18 int rc = 0; local
28 rc = security_setenforce(atoi(argv[1]));
31 rc = security_setenforce(1);
33 rc = security_setenforce(0);
37 if (rc < 0) {
setfilecon.c 8 int rc, i; local
16 rc = setfilecon(argv[i], argv[1]);
17 if (rc < 0) {
  /external/toybox/toys/other/
readahead.c 24 int rc; local
28 if (sizeof(long) == 4) rc = syscall(__NR_readahead, fd, 0, 0, INT_MAX);
29 else rc = syscall(__NR_readahead, fd, 0, INT_MAX);
31 if (rc) perror_msg("readahead: %s", name);
  /system/core/libcutils/
iosched_policy.c 45 int rc; local
47 if ((rc = syscall(SYS_ioprio_get, IOPRIO_WHO_PROCESS, pid)) < 0) {
51 *clazz = (rc >> IOPRIO_CLASS_SHIFT);
52 *ioprio = (rc & 0xff);
  /system/core/libnetutils/
dhcptool.c 35 int rc = do_dhcp(interface); local
36 if (rc) {
42 return rc ? EXIT_FAILURE : EXIT_SUCCESS;
  /external/selinux/libsepol/cil/test/unit/
test_cil_parser.c 41 int rc = 0; local
52 rc = cil_parser("policy.cil", data->buffer, data->file_size + 2, &test_parse_root);
53 CuAssertIntEquals(tc, SEPOL_OK, rc);
test_cil_tree.c 57 int rc = cil_tree_init(&test_tree); local
59 CuAssertIntEquals(tc, SEPOL_OK, rc);
  /external/strace/tests/
ipc_msg.c 8 int rc, id; local
25 rc = msgctl(id, MSG_STAT, &ds);
26 if (rc != id) {
31 if (-1 != rc || EINVAL != errno)
38 rc = 0;
43 return rc;
46 rc = 1;
ipc_shm.c 8 int rc, id; local
25 rc = shmctl(id, SHM_STAT, &ds);
26 if (rc != id) {
31 if (-1 != rc || EINVAL != errno)
38 rc = 0;
43 return rc;
46 rc = 1;
  /external/valgrind/memcheck/tests/
sigkill.c 20 int rc; local
35 rc = sigaction (i /*SIGKILL*/, &sa, NULL);
36 if (rc) perror ("");
39 rc = sigaction (i /*SIGKILL*/, NULL, &sa);
40 if (rc) perror ("");
  /bionic/tests/
libgen_test.cpp 70 int rc = basename_r(in, buf, buf_size); local
71 ASSERT_EQ(expected_rc, rc) << in;
72 if (rc != -1 && buf != NULL) {
81 int rc = dirname_r(in, buf, buf_size); local
82 ASSERT_EQ(expected_rc, rc) << in;
83 if (rc != -1 && buf != NULL) {
sys_sendfile_test.cpp 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); local
35 ASSERT_EQ(2, rc);
53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); local
54 ASSERT_EQ(2, rc);

Completed in 1554 milliseconds

1 2 3 4 5 6 7 8 91011>>