/system/core/adb/ |
commandline.cpp | 716 int rc = adb_close(fd); local 717 if (rc) { 720 return rc; 1429 int rc = 0; local [all...] |
/system/core/fastboot/ |
fastboot.cpp | 766 int rc = load_buf_fd(usb, fd, &buf); local 767 if (rc) die("cannot load %s from flash", images[i].img_name); [all...] |
/system/core/init/ |
init.cpp | 234 int rc = getcon(&mycon); local 235 if (rc < 0) { 240 rc = getfilecon(svc->args[0], &fcon); 241 if (rc < 0) { 247 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &scon); 248 if (rc == 0 && !strcmp(scon, mycon)) { 253 if (rc < 0) { 811 int rc = property_get(prop_map[i].src_prop, value); local 812 property_set(prop_map[i].dst_prop, (rc > 0) ? value : prop_map[i].default_value); 1006 // on / and then we'll let the rc file figure out the rest [all...] |
/system/netd/server/ |
CommandListener.cpp | 572 int rc = 0; local 580 rc = sTetherCtrl->stopTethering(); 634 rc = sTetherCtrl->startTethering(num_addrs, addrs); 638 rc = sTetherCtrl->tetherInterface(argv[3]); 640 rc = sTetherCtrl->untetherInterface(argv[3]); 654 rc = sTetherCtrl->setDnsForwarders(netId, &argv[4], argc - 4); 667 if (!rc) { 682 int rc = 0; local 693 rc = sNatCtrl->enableNat(argv[2], argv[3]); 694 if(!rc) { 722 int rc = 0; local 774 int rc = ResponseCode::SoftapStatusResult; local 819 int rc = 0; local 902 int rc = sBandwidthCtrl->enableBandwidthControl(true); local 908 int rc = sBandwidthCtrl->disableBandwidthControl(); local 918 int rc = sBandwidthCtrl->removeInterfaceSharedQuota(argv[2]); local 929 int rc = sBandwidthCtrl->getInterfaceSharedQuota(&bytes); local 949 int rc = sBandwidthCtrl->getInterfaceQuota(argv[2], &bytes); local 966 int rc = sBandwidthCtrl->setInterfaceSharedQuota(argv[2], atoll(argv[3])); local 971 int rc; local 993 int rc; local 1019 int rc = sBandwidthCtrl->removeInterfaceQuota(argv[2]); local 1029 int rc = sBandwidthCtrl->setInterfaceQuota(argv[2], atoll(argv[3])); local 1039 int rc = sBandwidthCtrl->addNaughtyApps(argc - 2, argv + 2); local 1050 int rc = sBandwidthCtrl->removeNaughtyApps(argc - 2, argv + 2); local 1060 int rc = sBandwidthCtrl->enableHappyBox(); local 1066 int rc = sBandwidthCtrl->disableHappyBox(); local 1078 int rc = sBandwidthCtrl->addNiceApps(argc - 2, argv + 2); local 1087 int rc = sBandwidthCtrl->removeNiceApps(argc - 2, argv + 2); local 1096 int rc = sBandwidthCtrl->setGlobalAlert(atoll(argv[2])); local 1106 int rc = sBandwidthCtrl->setGlobalAlertInForwardChain(); local 1116 int rc = sBandwidthCtrl->removeGlobalAlert(); local 1127 int rc = sBandwidthCtrl->removeGlobalAlertInForwardChain(); local 1137 int rc = sBandwidthCtrl->setSharedAlert(atoll(argv[2])); local 1147 int rc = sBandwidthCtrl->removeSharedAlert(); local 1157 int rc = sBandwidthCtrl->setInterfaceAlert(argv[2], atoll(argv[3])); local 1167 int rc = sBandwidthCtrl->removeInterfaceAlert(argv[2]); local 1186 int rc = sBandwidthCtrl->getTetherStats(cli, tetherStats, extraProcessingInfo); local 1440 int rc = 0; local [all...] |
/system/vold/ |
VolumeManager.cpp | 1422 int i, rc; local [all...] |
/art/dex2oat/ |
dex2oat.cc | 353 int rc = call args; \ 354 if (rc != 0) { \ 355 errno = rc; \ 419 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts)); local 420 if (rc == ETIMEDOUT) { 423 } else if (rc != 0) { [all...] |
/bionic/libc/tzcode/ |
localtime.c | 2284 int rc = tzload(name, sp, doextend); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 446 Rect rc = new Rect(); local 447 layerDrawable.getPadding(rc); 448 assertEquals(0, rc.left); 449 assertEquals(0, rc.top); 450 assertEquals(0, rc.right); 451 assertEquals(0, rc.bottom); 455 layerDrawable.getPadding(rc); 456 assertEquals(padding0.left, rc.left); 457 assertEquals(padding0.top, rc.top); 458 assertEquals(padding0.right, rc.right) [all...] |
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 99 int rc = NO_ERROR; local 108 rc = hw->processAPI(QCAMERA_SM_EVT_SET_PREVIEW_WINDOW, (void *)window); 109 if (rc == NO_ERROR) { 111 rc = hw->m_apiResult.status; 115 return rc; 155 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_SET_CALLBACKS, (void *)&payload); local 156 if (rc == NO_ERROR) { 182 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_ENABLE_MSG_TYPE, (void *)msg_type); local 183 if (rc == NO_ERROR) { 209 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_DISABLE_MSG_TYPE, (void *)msg_type) local 701 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_GET_PARAMS, NULL); local 995 int rc = NO_ERROR; local 1036 int32_t rc = m_postprocessor.init(jpegEvtHandle, this); local 1080 int rc = NO_ERROR; local 1124 int rc = NO_ERROR; local 1199 int rc = NO_ERROR; local 1351 int rc = NO_ERROR; local 1439 int rc = NO_ERROR; local 1625 int32_t rc = NO_ERROR; local 1695 int32_t rc = NO_ERROR; local 1740 int rc = stopChannel(QCAMERA_CH_TYPE_VIDEO); local 1767 int32_t rc = UNKNOWN_ERROR; local 1790 int rc = NO_ERROR; local 1863 int rc = NO_ERROR; local 1907 int rc = NO_ERROR; local 2029 int rc = NO_ERROR; local 2054 int rc = NO_ERROR; local 2122 int rc = NO_ERROR; local 2154 int rc = NO_ERROR; local 2313 int rc = NO_ERROR; local 2698 int32_t rc = NO_ERROR; local 2734 int32_t rc = NO_ERROR; local 2797 int32_t rc = NO_ERROR; local 2848 int32_t rc = NO_ERROR; local 2896 int32_t rc = NO_ERROR; local 2954 int32_t rc = NO_ERROR; local 3037 int32_t rc = NO_ERROR; local 3111 int32_t rc = NO_ERROR; local 3161 int32_t rc = NO_ERROR; local 3256 int32_t rc = NO_ERROR; local 3323 int32_t rc = UNKNOWN_ERROR; local 3388 int32_t rc = UNKNOWN_ERROR; local 3410 int32_t rc = UNKNOWN_ERROR; local 3431 int32_t rc = NO_ERROR; local 3882 int rc = mParameters.commitParameters(); local 4037 int32_t rc = NO_ERROR; local [all...] |
/device/lge/hammerhead/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 99 int rc = NO_ERROR; local 108 rc = hw->processAPI(QCAMERA_SM_EVT_SET_PREVIEW_WINDOW, (void *)window); 109 if (rc == NO_ERROR) { 111 rc = hw->m_apiResult.status; 115 return rc; 155 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_SET_CALLBACKS, (void *)&payload); local 156 if (rc == NO_ERROR) { 182 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_ENABLE_MSG_TYPE, (void *)msg_type); local 183 if (rc == NO_ERROR) { 209 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_DISABLE_MSG_TYPE, (void *)msg_type) local 701 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_GET_PARAMS, NULL); local 995 int rc = NO_ERROR; local 1036 int32_t rc = m_postprocessor.init(jpegEvtHandle, this); local 1080 int rc = NO_ERROR; local 1124 int rc = NO_ERROR; local 1199 int rc = NO_ERROR; local 1351 int rc = NO_ERROR; local 1439 int rc = NO_ERROR; local 1625 int32_t rc = NO_ERROR; local 1695 int32_t rc = NO_ERROR; local 1740 int rc = stopChannel(QCAMERA_CH_TYPE_VIDEO); local 1767 int32_t rc = UNKNOWN_ERROR; local 1790 int rc = NO_ERROR; local 1863 int rc = NO_ERROR; local 1907 int rc = NO_ERROR; local 2029 int rc = NO_ERROR; local 2054 int rc = NO_ERROR; local 2122 int rc = NO_ERROR; local 2154 int rc = NO_ERROR; local 2313 int rc = NO_ERROR; local 2698 int32_t rc = NO_ERROR; local 2734 int32_t rc = NO_ERROR; local 2797 int32_t rc = NO_ERROR; local 2848 int32_t rc = NO_ERROR; local 2896 int32_t rc = NO_ERROR; local 2954 int32_t rc = NO_ERROR; local 3037 int32_t rc = NO_ERROR; local 3111 int32_t rc = NO_ERROR; local 3161 int32_t rc = NO_ERROR; local 3256 int32_t rc = NO_ERROR; local 3323 int32_t rc = UNKNOWN_ERROR; local 3388 int32_t rc = UNKNOWN_ERROR; local 3410 int32_t rc = UNKNOWN_ERROR; local 3431 int32_t rc = NO_ERROR; local 3882 int rc = mParameters.commitParameters(); local 4037 int32_t rc = NO_ERROR; local [all...] |
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | 711 status_t rc = NO_ERROR; local 737 rc = pme->sendDataNotify(CAMERA_MSG_COMPRESSED_IMAGE, 742 if (rc != NO_ERROR) { 757 status_t rc = NO_ERROR; local 807 rc = pme->sendDataNotify(CAMERA_MSG_COMPRESSED_IMAGE, 812 if (rc != NO_ERROR) { 1299 int rc = mJpegHandle.close(mJpegClientHandle); local 1403 status_t rc = NO_ERROR; local 2853 int rc = 0; local 2905 int rc = 0; local 2929 int rc = 0; local 3019 int rc = 0; local 3084 bool rc = FALSE; local 3606 int32_t rc = 0; local [all...] |
/device/moto/shamu/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 214 int32_t rc = NO_ERROR; local 236 rc = pStream->init(streamType, streamFormat, streamDim, NULL, minStreamBufNum, 238 if (rc == 0) { 244 return rc; 261 int32_t rc = NO_ERROR; local 271 return rc; 279 rc = m_camOps->start_channel(m_camHandle, m_handle); 281 if (rc != NO_ERROR) { 291 return rc; 308 int32_t rc = NO_ERROR local 340 int32_t rc = NO_ERROR; local 553 int32_t rc = NO_ERROR; local 627 int32_t rc = NO_ERROR; local 652 int32_t rc = NO_ERROR; local 719 int rc = 0; local 797 int32_t rc = stream->bufRelease(frameIndex); local 858 int32_t rc; local 907 int rc; local 1225 int rc; local 1297 int32_t rc; local 1390 int32_t rc = obj->mMemory.unregisterBuffer(bufIdx); local 1482 int32_t rc = m_postprocessor.init(&mMemory, jpegEvtHandle, mPostProcMask, local 1503 int32_t rc = NO_ERROR; local 1519 int32_t rc = m_postprocessor.stop(); local 1539 int32_t rc = NO_ERROR; local 1595 int32_t rc = NO_ERROR; local 1785 int32_t rc = NO_ERROR;; local 1852 int rc = 0; local 1951 int rc = 0; local 2379 int32_t rc = NO_ERROR; local 2652 int32_t rc = NO_ERROR; local 2756 int rc = 0; local 2887 int rc = NO_ERROR; local 3078 int32_t rc = 0; local 3189 int32_t rc = 0; local 3243 int32_t rc = 0; local 3334 int32_t rc; local 3377 int rc; local [all...] |
/external/bison/lib/ |
vasnprintf.c | 5529 size_t rc; local [all...] |
/external/cmockery/cmockery_0_1_2/src/ |
cmockery.c | 621 const int rc = get_symbol_value(&global_function_result_map_head, local 623 if (rc) { 627 if (rc == 1) { 1095 const int rc = get_symbol_value(&global_function_parameter_map_head, local 1490 int rc = 1; local [all...] |
/external/e2fsprogs/misc/ |
mke2fs.c | 1234 int rc = -1; local 1270 rc = blkid_topology_get_alignment_offset(tp); 1273 return rc; [all...] |
tune2fs.c | 1890 int rc = 0; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-netrexx.jar | |
/external/icu/icu4c/source/tools/tzcode/ |
tz2icu.cpp | 1772 int32_t rc = 0; local [all...] |
/external/iputils/ |
ping6.c | 518 int rc; local 546 rc = idna_to_ascii_8z(name, &idn, 0); 547 if (rc) { 549 idna_strerror(rc)); [all...] |
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 299 int rc, alen, flen; local 503 } else if ((rc = readpng2_init(&rpng2_info)) != 0) { 504 switch (rc) { [all...] |
/external/libvncserver/x11vnc/ |
8to24.c | 448 Status rc; 497 rc = XQueryTree_wr(dpy, win, &r, &parent, &list0, &nc0); 500 if (! rc || trapped_xerror) { 523 rc = XQueryTree_wr(dpy, win1, &r, &parent, &list1, &nc1); 526 if (! rc || trapped_xerror) { 655 int rc = valid_window(win, &attr2, 1); local 656 if (rc) { 665 int rc = valid_window(win, &wattr, 1); local 666 if (rc) { [all...] |
appshare.c | 785 Bool rc = False; local 789 rc = XTranslateCoordinates(dpy, win, root, 0, 0, x, y, &cr); 793 if (!rc) { [all...] |
connections.c | 112 static int action_match(char *action, int rc); 469 int rc, ok; local 673 rc = pclose(ph); 690 rc = pclose(ph); 712 pidw = waitpid(pid, &rc, 0); 722 rc = system(cmd); 746 rc = system(cmd); 750 if (rc >= 256) { 751 rc = rc/256 1683 int rc; local 2437 int rc, len = 0; local 3505 int rc = -1; local [all...] |
enc.h | 1055 int rc; local 1086 rc = pclose(p); 1087 if (rc == 0) { 1088 fprintf(stderr, "checkserver_rsa: query returned: %d. saving it.\n", rc); 1238 int n = 0, len, rc; local [all...] |
user.c | 683 int rc; local 690 rc = switch_user_env(uid, gid, name, home, 0); 691 if (! rc) { 748 int rc = switch_user_env(uid, gid, name, home, fb_mode); local 749 if (rc) { 752 return rc; 899 int rc; local 909 rc = run_user_command(filename, latest_client, "read_passwds", 911 if (rc != 0) { 1132 int j, i, n, rc; local 1766 int rc; local 2683 int rc; local [all...] |