Searched refs:rc (Results 26 - 38 of 38) sorted by relevance

12

/system/core/init/
H A Dbuiltins.c658 int rc = 0; local
682 rc = read(fd1, p, brtr);
683 if (rc < 0)
685 if (rc == 0)
687 p += rc;
688 brtr -= rc;
694 rc = write(fd2, p, brtw);
695 if (rc < 0)
697 if (rc == 0)
699 p += rc;
[all...]
H A Dinit.c169 int rc; local
212 rc = getcon(&mycon);
213 if (rc < 0) {
218 rc = getfilecon(svc->args[0], &fcon);
219 if (rc < 0) {
225 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &scon);
228 if (rc < 0) {
859 * let the rc file figure out the rest.
923 init_parse_config_file("/init.rc");
H A Dutil.c84 * ("/dev/socket") as dictated in init.rc. This socket is inherited by the
469 int rc; local
480 rc = mkdir(path, mode);
490 return rc;
/system/core/adb/
H A Dsysdeps.h92 int rc = unlink(path); local
94 if (rc == -1 && errno == EACCES) {
97 rc = chmod(path, _S_IREAD|_S_IWRITE );
98 if (rc == 0)
99 rc = unlink(path);
101 return rc;
452 int rc; local
454 rc = unix_socketpair( AF_UNIX, SOCK_STREAM, 0, sv );
455 if (rc < 0)
H A Dsysdeps_win32.c570 int rc = WSAStartup( MAKEWORD(2,2), &wsaData); local
571 if (rc != 0) {
/system/vold/
H A Dlogwrapper.c164 int rc = parent(argv[0], parent_ptty); local
166 return rc;
H A DVolume.cpp294 int n, i, rc = 0; local
599 int i, rc; local
705 int rc = apply_disk_config(&dinfo, 0); local
707 if (rc) {
708 SLOGE("Failed to apply disk configuration (%d)", rc);
717 return rc;
H A DVolumeManager.cpp700 int i, rc; local
702 rc = umount(mountPoint);
703 if (!rc) {
706 if (rc && (errno == EINVAL || errno == ENOENT)) {
708 rc = 0;
727 if (rc) {
1378 int rc; local
1381 rc = vm->unmountAllAsecsInDir(Volume::SEC_ASECDIR_EXT);
1383 rc = -1;
1385 return rc;
1393 int rc = 0; local
1478 int rc = unmountAllAsecsInDir(Volume::SEC_ASECDIR_EXT); local
[all...]
/system/core/libnl_2/genl/
H A Dgenl.c95 int rc = -1; local
171 rc = -errno;
243 rc = 0;
247 return rc;
/system/netd/
H A Dlogwrapper.c155 int rc = parent(argv[0], parent_ptty); local
157 return rc;
H A DThrottleController.cpp63 int rc; local
/system/media/audio_utils/
H A Decho_reference.c219 int rc; local
224 rc = create_resampler(er->wr_sampling_rate,
230 if (rc != 0) {
232 ALOGV("echo_reference_write() failure to create resampler %d", rc);
/system/core/libcorkscrew/
H A Dbacktrace.c102 _Unwind_Reason_Code rc =_Unwind_Backtrace(unwind_backtrace_callback, &state); local
109 return rc == _URC_END_OF_STACK ? 0 : -1;

Completed in 55 milliseconds

12