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

1 2 3 4 5 6 7 8 91011>>

  /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) {
libgen.cpp 44 int rc = basename_r(path, basename_tls_buffer, basename_tls_buffer_size); local
45 return (rc < 0) ? NULL : basename_tls_buffer;
50 int rc = dirname_r(path, dirname_tls_buffer, dirname_tls_buffer_size); local
51 return (rc < 0) ? NULL : dirname_tls_buffer;
  /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) {
load_policy.c 13 int fd, rc, vers; local
41 rc = security_load_policy(map, sb.st_size);
42 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...]
PFileSystemUNIXImpl.c 41 ESR_ReturnCode rc; local
54 CHKLOG(rc, PANSIFileSystemCreate());
56 CHKLOG(rc, PMemSetLogEnabled(ESR_FALSE));
57 CHKLOG(rc, PHashTablePutValue(PFileSystemPathMap, L("/"), PANSIFileSystemSingleton, NULL));
58 CHKLOG(rc, PHashTablePutValue(ANSIImpl->directoryMap, L("/"), L("/"), NULL));
59 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdin"), isLittleEndian, &PSTDIN));
63 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdout"), isLittleEndian, &PSTDOUT));
68 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stderr"), isLittleEndian, &PSTDERR));
75 CHKLOG(rc, PtrdIsEnabled(&threadingEnabled));
78 CHKLOG(rc, PtrdMonitorDestroy(impl->Interface.lock))
96 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;
  /bionic/tests/
stdlib_test.cpp 100 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); local
101 ASSERT_NE(rc, -1);
102 executable_path[rc] = '\0';
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) {
  /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 ("");
  /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;
  /external/qemu/distrib/sdl-1.2.15/src/loadso/beos/
SDL_sysloadso.c 52 status_t rc = get_image_symbol(library_id, name, B_SYMBOL_TYPE_TEXT, &sym); local
53 if (rc != B_NO_ERROR) {
54 SDL_SetError(strerror(rc));
  /external/chromium/chrome/browser/
process_singleton_mac.cc 86 int rc = HANDLE_EINTR(flock(lock_fd_, LOCK_EX|LOCK_NB)); local
87 if (rc == -1) {
112 int rc = HANDLE_EINTR(close(lock_fd_)); local
113 DPCHECK(!rc) << "Closing lock_fd_:";
process_singleton_mac_unittest.cc 50 int rc = HANDLE_EINTR(flock(fd, LOCK_EX|LOCK_NB)); local
53 if (rc != -1)
  /external/icu4c/samples/case/
case.cpp 80 int rc = c_main(out); local
82 return rc;
  /external/libcap-ng/libcap-ng-0.7/bindings/python/test/
capng-test.py 32 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) variable
33 if rc:
37 rc = capng.capng_have_capability(capng.CAPNG_EFFECTIVE, int(i)) variable
38 if rc <= capng.CAPNG_NONE:
48 rc = capng.capng_update(capng.CAPNG_DROP, capng.CAPNG_EFFECTIVE, i) variable
49 if rc:
58 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) variable
59 if rc:

Completed in 419 milliseconds

1 2 3 4 5 6 7 8 91011>>