/bionic/libc/bionic/ |
raise.cpp | 32 int rc = pthread_kill(pthread_self(), sig); local 33 if (rc != 0) { 34 errno = rc;
|
getcwd.cpp | 59 int rc = __getcwd(buf, allocated_size); local 60 if (rc == -1) {
|
pthread_getschedparam.cpp | 42 int rc = sched_getparam(thread->tid, param); local 43 if (rc == -1) {
|
pthread_kill.cpp | 49 int rc = tgkill(getpid(), tid, sig); local 50 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;
|
/system/core/toolbox/ |
getenforce.c | 9 int rc; local 11 rc = is_selinux_enabled(); 12 if (rc <= 0) { 17 rc = security_getenforce(); 18 if (rc < 0) { 24 if (rc)
|
runcon.c | 10 int rc; local 17 rc = setexeccon(argv[1]); 18 if (rc < 0) {
|
chcon.c | 9 int rc, i; local 17 rc = setfilecon(argv[i], argv[1]); 18 if (rc < 0) {
|
setenforce.c | 19 int rc = 0; local 29 rc = security_setenforce(atoi(argv[1])); 32 rc = security_setenforce(1); 34 rc = security_setenforce(0); 38 if (rc < 0) {
|
/external/srec/portable/src/UNIX/ |
PFileWrapUNIX_OS_Specific.c | 33 ESR_ReturnCode rc; local 39 rc = ESR_SUCCESS; 46 rc = ESR_IDENTIFIER_COLLISION; 50 rc = ESR_NO_MATCH_ERROR; 55 rc = ESR_INVALID_STATE; 59 return ( rc ); 66 ESR_ReturnCode rc; local 72 rc = ESR_SUCCESS; 79 rc = ESR_BUFFER_OVERFLOW; 83 rc = ESR_OUT_OF_MEMORY 106 ESR_ReturnCode rc; local [all...] |
/external/srec/portable/src/ |
pLastError.c | 39 ESR_ReturnCode rc; local 42 rc = PLogIsInitialized(&isInit); 43 if (rc != ESR_SUCCESS)
|
PANSIFileSystem.c | 43 ESR_ReturnCode rc; local 47 CHKLOG(rc, PANSIFileSystemSingleton->destroy(PANSIFileSystemSingleton)); 51 return rc;
|
/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);
|
/external/srec/srec/ca/ |
rec_load.c | 46 int rc; local 57 rc = add_acoustic_model_for_recognition(hRecog->recm, hAcoust->swimodel); 68 int rc; local 69 rc = clear_acoustic_models_for_recognition(hRecog->recm);
|
/external/valgrind/main/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 | 71 int rc = basename_r(in, buf, buf_size); local 72 ASSERT_EQ(expected_rc, rc) << in; 73 if (rc != -1 && buf != NULL) { 82 int rc = dirname_r(in, buf, buf_size); local 83 ASSERT_EQ(expected_rc, rc) << in; 84 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);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
thread_lister.c | 53 int rc; local 64 rc = callback(parameter, 1, &pid, ap); 70 return rc;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
thread_lister.c | 53 int rc; local 64 rc = callback(parameter, 1, &pid, ap); 70 return rc;
|
/external/libexif/contrib/examples/ |
thumbnail.c | 13 int rc = 1; local 19 return rc; 52 rc = 0; 55 rc = 2; 59 rc = 1; 65 return rc;
|
/external/libexif/test/ |
test-sorted.c | 31 int rc = 0; local 40 rc = 1; 44 rc = 1; 49 return rc;
|
/external/oprofile/opjitconv/ |
conversion.c | 46 int rc= OP_JIT_CONV_OK; local 56 if ((rc = parse_all(jitdump, jitdump + file_info.dmp_file_stat.st_size, 61 if ((rc = resolve_overlaps(start_time)) == OP_JIT_CONV_FAIL) 69 rc = OP_JIT_CONV_FAIL; 75 if ((rc = partition_sections()) == OP_JIT_CONV_FAIL) 78 if ((rc = fill_sections()) == OP_JIT_CONV_FAIL) 90 return rc;
|