/system/netd/ |
H A D | ThrottleController.cpp | 63 int rc; local
|
H A D | logwrapper.c | 155 int rc = parent(argv[0], parent_ptty); local 157 return rc;
|
H A D | ndc.c | 115 int rc = 0; local 123 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { 127 } else if (!rc) { 133 if ((rc = read(sock, buffer, 4096)) <= 0) { 134 if (rc == 0) 139 if (rc == 0) 147 for (i = 0; i < rc; i++) {
|
/system/security/keystore/ |
H A D | keystore.cpp | 130 int rc; local 133 rc = hw_get_module_by_class(KEYSTORE_HARDWARE_MODULE_ID, NULL, &mod); 134 if (rc) { 139 rc = keymaster_open(mod, dev); 140 if (rc) { 142 KEYSTORE_HARDWARE_MODULE_ID, strerror(-rc)); 150 return rc; 593 ResponseCode rc = keyBlob->decryptBlob(filename, &mMasterKeyDecryption); local 594 if (rc != NO_ERROR) { 595 return rc; 653 int rc; local 837 ResponseCode rc = importKey(&pkcs8key, filename); local 1002 ResponseCode rc = keyStore->reset() ? NO_ERROR : SYSTEM_ERROR; local 1066 int rc; local 1136 int rc = device->get_keypair_public(device, keyBlob.getValue(), keyBlob.getLength(), &data, local 1159 ResponseCode rc = NO_ERROR; local 1184 int rc; local 1224 int rc; local [all...] |
/system/vold/ |
H A D | CommandListener.cpp | 125 int rc = 0; local 140 rc = vm->mountVolume(argv[2]); 157 rc = vm->unmountVolume(argv[2], force, revert); 163 rc = vm->formatVolume(argv[2]); 170 rc = vm->shareVolume(argv[2], argv[3]); 177 rc = vm->unshareVolume(argv[2], argv[3]); 198 if (!rc) { 202 rc = ResponseCode::convertFromErrno(); 203 cli->sendMsg(rc, "volume operation failed", true); 310 int rc local 440 int rc = 0; local 551 int rc = 0; local [all...] |
H A D | Ext4.cpp | 50 int rc; local 59 rc = mount(fsPath, mountPoint, "ext4", flags, NULL); 61 if (rc && errno == EROFS) { 64 rc = mount(fsPath, mountPoint, "ext4", flags, NULL); 67 return rc; 73 int rc; local 79 rc = logwrap(3, args, 1); 81 if (rc == 0) { 85 SLOGE("Format (ext4) failed (unknown exit code %d)", rc);
|
H A D | Fat.cpp | 56 int rc = 0; local 65 rc = logwrap(4, args, 1); 67 switch(rc) { 88 SLOGE("Filesystem check failed (unknown exit code %d)", rc); 100 int rc; local 128 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 130 if (rc && errno == EROFS) { 133 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 136 if (rc == 0 && createLost) { 151 return rc; 157 int rc; local [all...] |
H A D | Loop.cpp | 46 int rc; local 59 rc = ioctl(fd, LOOP_GET_STATUS64, &li); 61 if (rc < 0 && errno == ENXIO) { 65 if (rc < 0) { 90 int rc; local 103 rc = ioctl(fd, LOOP_GET_STATUS64, &li); 105 if (rc < 0 && errno == ENXIO) { 109 if (rc < 0) { 134 int rc; local 156 rc [all...] |
H A D | Volume.cpp | 294 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 D | VolumeManager.cpp | 700 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...] |
H A D | cryptfs.c | 151 int rc = -1; local 236 rc = 0; 240 return rc; 250 int rc = -1; local 350 rc = 0; 354 return rc; 589 int i, rc; local 610 rc = 0; 613 rc = -1; 616 return rc; 657 int rc = -1, i; local 790 int rc; local 925 int rc = -1; local 940 int rc; local 1005 int rc = -1; local 1051 int rc = -1; local 1141 int rc=-1, fd, i, ret; local [all...] |
H A D | logwrapper.c | 164 int rc = parent(argv[0], parent_ptty); local 166 return rc;
|
H A D | vdc.c | 93 int rc = 0; local 101 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { 105 } else if (!rc) { 111 if ((rc = read(sock, buffer, 4096)) <= 0) { 112 if (rc == 0) 117 if (rc == 0) 125 for (i = 0; i < rc; i++) {
|