/device/lge/mako/camera/QCamera/HAL/wrapper/ |
QualcommCamera.cpp | 162 int rc = -1; local 169 rc = 0; 175 return rc; 184 int rc = -1; local 196 return rc; 207 rc = 0; 220 LOGE("%s: end rc %d", __func__, rc); 221 return rc; 227 int rc = -1 local 252 int rc = -1; local 295 int rc = -1; local 306 int rc = -1; local 327 int rc = -1; local 338 int rc = -1; local 349 int rc = -1; local 369 int rc = -1; local 390 int rc = -1; local 401 int rc = -1; local 412 int rc = -1; local 424 int rc = -1; local 436 int rc = -1; local 475 int rc = -1; local 497 int rc = -1; local [all...] |
/external/dropbear/ |
svr-authpam.c | 54 int rc = PAM_SUCCESS; local 107 rc = PAM_CONV_ERR; 133 rc = PAM_CONV_ERR; 151 rc = PAM_CONV_ERR; 156 TRACE(("leave pamConvFunc, rc %d", rc)) 158 return rc; 182 int rc = PAM_SUCCESS; local 202 if ((rc = pam_start("sshd", NULL, &pamConv, &pamHandlep)) != PAM_SUCCESS) { 203 dropbear_log(LOG_WARNING, "pam_start() failed, rc=%d, %s\n", [all...] |
/external/libsepol/tests/ |
test-expander.c | 132 int rc; local 139 rc = expander_policy_init(&basemod, 0, NULL, &base_expanded, &small_base_file); 140 if (rc != 0) 141 return rc; 144 rc = expander_policy_init(&basemod2, 1, &mymod2, &base_expanded2, files2); 145 if (rc != 0) 146 return rc; 148 rc = expander_policy_init(&base_only_mod, 0, NULL, &base_only_expanded, &base_only_file); 149 if (rc != 0) 150 return rc; [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkFlate.cpp | 48 int rc; local 50 rc = deflateInit(&flateData, Z_DEFAULT_COMPRESSION); 52 rc = inflateInit(&flateData); 53 if (rc != Z_OK) 67 rc = Z_OK; 71 rc = Z_BUF_ERROR; 77 if (rc != Z_OK) 89 rc = deflate(&flateData, Z_NO_FLUSH); 91 rc = inflate(&flateData, Z_NO_FLUSH); 93 while (rc == Z_OK) [all...] |
/external/skia/src/core/ |
SkFlate.cpp | 48 int rc; local 50 rc = deflateInit(&flateData, Z_DEFAULT_COMPRESSION); 52 rc = inflateInit(&flateData); 53 if (rc != Z_OK) 67 rc = Z_OK; 71 rc = Z_BUF_ERROR; 77 if (rc != Z_OK) 89 rc = deflate(&flateData, Z_NO_FLUSH); 91 rc = inflate(&flateData, Z_NO_FLUSH); 93 while (rc == Z_OK) [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera.c | 135 int rc; local 143 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); 146 if (rc >= 0) { 160 int32_t rc = 0; local 175 rc = -1; 178 return rc; 188 int rc = 0; local 196 rc = mm_camera_enqueue_evt(my_obj, &event); 197 return rc; 203 int32_t rc = 0 local 359 int rc = -1; local 403 int rc = -1; local 417 int rc = -1; local 441 int32_t rc = 0; local 477 int32_t rc = 0; local 490 int32_t rc = 0; local 526 int32_t rc = 0; local 565 int32_t rc = 0; local 832 int32_t rc = -1; local 856 int32_t rc = -1; local 887 int32_t rc = -1; local 915 int32_t rc = -1; local 939 int32_t rc = -1; local 967 int32_t rc = 0; local 997 int32_t rc = 0; local 1036 int32_t rc = -1; local 1057 int32_t rc = -1; local 1081 int32_t rc = -1; local 1108 int32_t rc = -1; local 1131 int32_t rc = -1; local 1156 int32_t rc = -1; local 1185 int32_t rc = -1; local 1212 int rc = 0; local 1222 int32_t rc = 0; local 1249 int32_t rc = 0, value; local 1293 int rc = -1; local 1602 int rc = -1; local 1634 int rc = -1; local 1659 int rc = 0; local 1745 int rc = 0; local 1762 int rc = 0; local [all...] |
mm_camera_stream.c | 123 int rc = 0; local 130 rc = ioctl(my_obj->fd, MSM_CAM_V4L2_IOCTL_PRIVATE_G_CTRL, &v4l2_ioctl); 131 if (rc) { 133 return rc; 137 CDBG("%s: inst handle = %x rc = %d\n", __func__, 138 my_obj->inst_hdl, rc); 139 return rc; 199 int32_t idx = -1, i, rc; local 218 rc = mm_stream_read_msm_frame(my_obj, &buf_info); 219 if (rc != 0) 351 int32_t rc = -1; local 392 int32_t rc = 0; local 449 int32_t rc = 0; local 490 int32_t rc = 0; local 536 int32_t rc = 0; local 573 int32_t rc = 0; local 639 int32_t rc = 0; local 675 int32_t rc = 0; local 708 int32_t rc = 0; local 727 int32_t rc; local 753 int32_t rc; local 779 int32_t rc; local 828 int32_t idx = -1, rc = 0; local 880 int32_t rc = 0; local 898 int32_t rc = 0; local 918 int32_t rc = 0; local 944 int32_t rc = 0; local 960 int32_t rc = 0; local 987 int32_t rc = 0; local 1003 int32_t rc = 0; local 1028 int32_t rc = 0; local 1043 int32_t i, rc = 0; local 1065 int32_t rc = 0; local 1173 int32_t i, rc = 0, j; local 1287 int32_t rc = 0, i; local 1332 int32_t rc = 0; local 1363 int32_t i, rc = 0,reg = 0; local 1404 int32_t rc = 0; local 1430 int32_t rc = 0; local 1479 int32_t rc = 0; local 1501 int32_t rc = 0; local 1508 int32_t rc = 0; local 1549 int32_t rc = -1; local [all...] |
/external/chromium_org/third_party/libxml/src/ |
xmlmodule.c | 108 int rc = -1; local 114 return rc; 117 rc = xmlModulePlatformSymbol(module->handle, name, symbol); 119 if (rc == -1) { 125 return rc; 128 return rc; 144 int rc; local 153 rc = xmlModulePlatformClose(module->handle); 155 if (rc != 0) { 163 rc = xmlModuleFree(module) 281 int rc; local 314 int rc; local 360 status_t rc; local 379 status_t rc; local 403 int rc; local 434 int rc; local [all...] |
/external/libxml2/ |
xmlmodule.c | 108 int rc = -1; local 114 return rc; 117 rc = xmlModulePlatformSymbol(module->handle, name, symbol); 119 if (rc == -1) { 125 return rc; 128 return rc; 144 int rc; local 153 rc = xmlModulePlatformClose(module->handle); 155 if (rc != 0) { 163 rc = xmlModuleFree(module) 281 int rc; local 314 int rc; local 360 status_t rc; local 379 status_t rc; local 403 int rc; local 434 int rc; local [all...] |
/external/srec/portable/src/ |
PFileWrap.c | 293 ESR_ReturnCode rc; local 295 rc = PFileRead ( stream, buffer, size, &count ); 297 if ( rc != ESR_SUCCESS ) 306 ESR_ReturnCode rc; local 308 rc = PFileWrite ( stream, buffer, size, &count ); 309 if ( rc != ESR_SUCCESS ) 336 ESR_ReturnCode rc; local 338 rc = PFileSeek ( stream, offset, origin ); 340 if ( rc != ESR_SUCCESS ) 349 ESR_ReturnCode rc; local 397 ESR_ReturnCode rc; local 411 ESR_ReturnCode rc; local 424 ESR_ReturnCode rc; local 438 ESR_ReturnCode rc; local 455 ESR_ReturnCode rc; local 468 ESR_ReturnCode rc; local 491 ESR_ReturnCode rc; local [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
RemoteCallbackListTest.java | 86 MockRemoteCallbackList<IInterface> rc = new MockRemoteCallbackList<IInterface>(); local 94 rc.register(null); 101 rc.unregister(null); 109 assertTrue(rc.register(mSecondaryService)); 110 int index = rc.beginBroadcast(); 112 IInterface actual = rc.getBroadcastItem(index - 1); 115 // Test finishBroadcast(Is it valid to use rc.getBroadcastItem after finishBroadcast) 116 rc.finishBroadcast(); 117 assertTrue(rc.unregister(mSecondaryService)); 119 rc.register(mSecondaryService) 136 MockRemoteCallbackList<IInterface> rc = new MockRemoteCallbackList<IInterface>(); local [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
speedtest8inst1.c | 40 int rc; local 50 rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, &stmtTail); 52 sqlite3_instvfs_binarylog_call(pInstVfs,BINARYLOG_PREPARE_V2,iTime,rc,zSql); 54 if( rc==SQLITE_OK ){ 60 while( (rc=sqlite3_step(pStmt))==SQLITE_ROW ){ nRow++; } 62 sqlite3_instvfs_binarylog_call(pInstVfs, BINARYLOG_STEP, iTime, rc, zSql); 67 rc = sqlite3_finalize(pStmt); 69 sqlite3_instvfs_binarylog_call(pInstVfs, BINARYLOG_FINALIZE, iTime, rc, zSql); 84 int rc; local 90 rc = pVfs->xOpen(pVfs, zFile, p, flags, &flags) 143 int rc; local [all...] |
/external/oprofile/libdb/tests/ |
db_test.c | 51 int rc; local 53 rc = odb_open(&hash, TEST_FILENAME, ODB_RDWR, sizeof(struct opd_header)); 54 if (rc) { 55 fprintf(stderr, "%s", strerror(rc)); 60 rc = odb_update_node(&hash, i); 61 if (rc != EXIT_SUCCESS) { 62 fprintf(stderr, "%s", strerror(rc)); 93 int rc; local 95 rc = odb_open(&hash, TEST_FILENAME, ODB_RDWR, sizeof(struct opd_header)); 96 if (rc) { 142 int rc; local [all...] |
/build/core/ |
legacy_prebuilts.mk | 48 init.goldfish.rc \ 50 init.olympus.rc \ 51 init.sholes.rc \ 52 init.stingray.rc \ 85 ueventd.goldfish.rc \ 86 ueventd.olympus.rc \ 87 ueventd.stingray.rc \
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2Factory.cpp | 131 int rc; local 138 rc = QCamera2HardwareInterface::getCapabilities(camera_id, info); 140 return rc; 159 int rc = NO_ERROR; local 168 rc = hw->openCamera(hw_device); 169 if (rc != NO_ERROR) { 172 return rc;
|
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/asus/flo/camera/QCamera2/HAL3/ |
QCamera3Factory.cpp | 133 int rc; local 141 rc = QCamera3HardwareInterface::getCamInfo(camera_id, info); 143 return rc; 162 int rc = NO_ERROR; local 171 rc = hw->openCamera(hw_device); 172 if (rc != 0) { 175 return rc;
|
/device/asus/flo/camera/QCamera2/util/ |
QCameraCmdThread.cpp | 170 int32_t rc = NO_ERROR; local 173 return rc; 176 rc = sendCmd(CAMERA_CMD_TYPE_EXIT, 0, 1); 177 if (NO_ERROR != rc) { 178 ALOGE("%s: Error during exit, rc = %d", __func__, rc); 179 return rc; 187 return rc;
|
/external/chromium_org/third_party/libusb/src/msvc/ |
missing.c | 39 LONG rc; local 50 rc = RegOpenKeyEx(HKEY_LOCAL_MACHINE, ENVIRONMENT_REG_PATH, 0, KEY_QUERY_VALUE, &hkey); 51 if (rc != ERROR_SUCCESS) { 52 usbi_dbg("Failed to open registry key for getenv with error %d", rc); 58 rc = RegQueryValueEx(hkey, wName, NULL, &dwType, 61 if (rc != ERROR_SUCCESS) { 62 usbi_dbg("Failed to read registry key value for getenv with error %d", rc);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BitReaderBuffer.java | 20 int rc; 22 rc = (v << (position % 8) & 0xFF) >> ((position % 8) + (left - i)); 27 rc = readBits(now); 28 rc = rc << then; 29 rc += readBits(then); 32 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;
|
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2Factory.cpp | 131 int rc; local 138 rc = QCamera2HardwareInterface::getCapabilities(camera_id, info); 140 return rc; 159 int rc = NO_ERROR; local 168 rc = hw->openCamera(hw_device); 169 if (rc != NO_ERROR) { 172 return rc;
|
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...] |
/hardware/qcom/camera/QCamera2/util/ |
QCameraCmdThread.cpp | 190 int32_t rc = NO_ERROR; local 193 return rc; 196 rc = sendCmd(CAMERA_CMD_TYPE_EXIT, 0, 1); 197 if (NO_ERROR != rc) { 198 ALOGE("%s: Error during exit, rc = %d", __func__, rc); 199 return rc; 207 return rc;
|
/external/chromium_org/third_party/sqlite/src/src/ |
vdbeblob.c | 54 int rc; /* Error code */ local 65 rc = sqlite3_step(p->pStmt); 66 if( rc==SQLITE_ROW ){ 72 rc = SQLITE_ERROR; 85 if( rc==SQLITE_ROW ){ 86 rc = SQLITE_OK; 88 rc = sqlite3_finalize(p->pStmt); 90 if( rc==SQLITE_OK ){ 92 rc = SQLITE_ERROR; 98 assert( rc!=SQLITE_OK || zErr==0 ) 153 int rc = SQLITE_OK; local 336 int rc; local 361 int rc; local 437 int rc; local [all...] |