/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
QCameraStream.cpp | 194 status_t rc=NO_ERROR; local 201 return rc; 215 rc=p_mm_ops->ops->config_stream(mCameraHandle, 219 ALOGE("%s: config_stream, rc = %d", __func__, rc); 222 rc = p_mm_ops->ops->start_streams(mCameraHandle, 226 if(rc==NO_ERROR) 228 return rc; 233 status_t rc=NO_ERROR; local 238 return rc; 255 int rc = MM_CAMERA_OK; local 317 int rc = MM_CAMERA_OK; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
quantize.c | 24 int i, rc, eob; local 43 rc = vp8_default_zig_zag1d[i]; 44 z = coeff_ptr[rc]; 45 zbin = zbin_ptr[rc] ; 52 x += round_ptr[rc]; 53 y = ((((x * quant_ptr[rc]) >> 16) + x) 54 * quant_shift_ptr[rc]) >> 16; /* quantize (x) */ 56 qcoeff_ptr[rc] = x; /* write to destination */ 57 dqcoeff_ptr[rc] = x * dequant_ptr[rc]; /* dequantized value * 72 int i, rc, eob; local 108 int i, rc, eob; local 162 int rc; local 220 int i, rc, eob; local 565 int rc = vp8_default_zig_zag1d[i]; local [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Parm.cpp | 565 ALOGV("%s:rc= %d",__func__, mHasAutoFocusSupport); 570 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_ASD_ENABLE); local 571 return rc; 575 bool rc; local 592 rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_FD); 593 ALOGV("%s: Still mode : FD supported : %d",__func__,rc); 594 return rc; 599 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_FOCUS_RECT); local 600 return rc; 604 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_REDEYE_REDUCTION) local 711 int rc = MM_CAMERA_OK; local 1373 status_t rc, final_rc = NO_ERROR; local 1459 char* rc = NULL; local 1519 int rc = MM_CAMERA_OK; local 1541 int rc = MM_CAMERA_OK; local 1567 int rc = MM_CAMERA_OK; local 1615 int rc = MM_CAMERA_OK; local 1642 status_t rc = NO_ERROR; local 1681 status_t rc = NO_ERROR; local 1852 status_t rc; local 1957 status_t rc; local 2114 bool rc = false; local 2151 status_t rc = NO_ERROR; local 2220 status_t rc = NO_ERROR; local 2248 status_t rc = NO_ERROR; local 2290 status_t rc = NO_ERROR; local 2313 status_t rc = NO_ERROR; local 2336 status_t rc = NO_ERROR; local 2377 status_t rc = NO_ERROR; local 2424 status_t rc = NO_ERROR; local 2454 status_t rc = NO_ERROR; local 2482 status_t rc = NO_ERROR; local 2528 status_t rc = NO_ERROR; local 2548 status_t rc = NO_ERROR; local 2700 int rc = NO_ERROR; local 2838 status_t rc = NO_ERROR; local 2862 status_t rc = NO_ERROR; local 2943 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_LED_MODE); local 2985 status_t rc = NO_ERROR; local 3019 status_t rc = NO_ERROR; local 3047 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_HFR); local 3094 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_ROLLOFF); local 3359 status_t rc = NO_ERROR; local 3959 int32_t rc = 0; local 4155 status_t rc = NO_ERROR; local [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
os_win.c | 672 int rc, cnt = 0; local 679 rc = CloseHandle(pFile->h); 680 /* SimulateIOError( rc=0; cnt=MX_CLOSE_ATTEMPT; ); */ 681 }while( rc==0 && ++cnt < MX_CLOSE_ATTEMPT && (Sleep(100), 1) ); 697 OSTRACE(("CLOSE %d %s\n", pFile->h, rc ? "ok" : "failed")); 699 return rc ? SQLITE_OK : SQLITE_IOERR; 746 int rc; /* True if error has occured, else false */ local 756 rc = seekWinFile(pFile, offset); 757 if( rc==0 ){ 768 rc = 1 786 int rc = SQLITE_OK; \/* Return code for this function *\/ local 977 int rc = SQLITE_OK; \/* Return code from subroutines *\/ local 1100 int rc; local 1135 int rc = SQLITE_OK; local 1346 int rc = 0; \/* Result code form Lock\/UnlockFileEx() *\/ local 1440 int rc; \/* Result code *\/ local 1600 int rc = SQLITE_OK; \/* Result code *\/ local 1737 int rc = SQLITE_OK; local 2064 int rc = SQLITE_OK; \/* Function Return Code *\/ local 2273 DWORD rc; local 2324 int rc = 0; local 2479 int rc; local 2698 int rc; local [all...] |
test_mutex.c | 58 int rc; local 60 rc = g.m.xMutexInit(); 62 return rc; 143 int rc; local 150 rc = sqlite3_shutdown(); 151 Tcl_SetResult(interp, (char *)sqlite3TestErrorName(rc), TCL_VOLATILE); 164 int rc; local 171 rc = sqlite3_initialize(); 172 Tcl_SetResult(interp, (char *)sqlite3TestErrorName(rc), TCL_VOLATILE); 185 int rc = SQLITE_OK local 341 int rc; local [all...] |
vdbe.c | 532 ** The error code is stored in p->rc and this routine returns SQLITE_ERROR. 535 ** immediately. There will be no error message but the p->rc field is 538 ** A memory allocation error causes p->rc to be set to SQLITE_NOMEM and this 552 int rc = SQLITE_OK; /* Value to return */ local 575 if( p->rc==SQLITE_NOMEM ){ 580 assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); 581 p->rc = SQLITE_OK; 602 for(pc=p->pc; rc==SQLITE_OK; pc++){ 648 rc = SQLITE_INTERRUPT [all...] |
test_vfs.c | 271 int rc; /* Return code from Tcl_EvalObj() */ local 304 rc = Tcl_EvalObjv(p->interp, nArg, p->apScript, TCL_EVAL_GLOBAL); 305 if( rc!=TCL_OK ){ 321 int rc; local 339 rc = sqlite3OsClose(pFd->pReal); 342 return rc; 367 int rc = SQLITE_OK; local 375 tvfsResultCode(p, &rc); 378 if( rc==SQLITE_OK && tvfsInjectFullerr(p) ){ 379 rc = SQLITE_FULL 395 int rc = SQLITE_OK; local 416 int rc = SQLITE_OK; local 530 int rc; local 608 int rc = SQLITE_OK; local 635 int rc; local 726 int rc = SQLITE_OK; \/* Return code *\/ local 788 int rc = SQLITE_OK; local 830 int rc = SQLITE_OK; local 902 int rc = SQLITE_OK; local [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_jpeg_encoder.c | 58 int rc; variable 233 rc = jpege_init(&jpeg_encoder, mm_jpege_event_handler, NULL); 234 if (rc) { 235 //CDBG("jpege_init failed: %d\n", rc); 350 if ((rc = jpeg_buffer_init(&temp)) || 351 (usethumbnail && (rc = jpeg_buffer_init(&tn_img_info.p_fragments[0].color.yuv.luma_buf))) || 352 (usethumbnail && (rc = jpeg_buffer_init(&tn_img_info.p_fragments[0].color.yuv.chroma_buf))) || 353 (rc = jpeg_buffer_init(&main_img_info.p_fragments[0].color.yuv.luma_buf)) || 354 (rc = jpeg_buffer_init(&main_img_info.p_fragments[0].color.yuv.chroma_buf)) 355 || (rc = jpeg_buffer_init(&jpege_dest.buffers[0]) [all...] |
/external/chromium_org/third_party/opus/src/silk/float/ |
burg_modified_FLP.c | 49 double C0, invGain, num, nrg_f, nrg_b, rc, Atmp, tmp1, tmp2; local 117 rc = -2.0 * num / ( nrg_f + nrg_b ); 118 silk_assert( rc > -1.0 && rc < 1.0 ); 121 tmp1 = invGain * ( 1.0 - rc * rc ); 124 rc = sqrt( 1.0 - minInvGain / invGain ); 127 rc = -rc; 139 Af[ k ] = tmp1 + rc * tmp2 [all...] |
/external/libopus/silk/float/ |
burg_modified_FLP.c | 49 double C0, invGain, num, nrg_f, nrg_b, rc, Atmp, tmp1, tmp2; local 117 rc = -2.0 * num / ( nrg_f + nrg_b ); 118 silk_assert( rc > -1.0 && rc < 1.0 ); 121 tmp1 = invGain * ( 1.0 - rc * rc ); 124 rc = sqrt( 1.0 - minInvGain / invGain ); 127 rc = -rc; 139 Af[ k ] = tmp1 + rc * tmp2 [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.hpp | 44 namespace rc namespace in namespace:sglr 428 rc::DataBuffer* bufferBinding; 435 rc::DataBuffer* m_elementArrayBufferBinding; 548 } // rc 770 void deleteTexture (rc::Texture* texture); 771 void deleteFramebuffer (rc::Framebuffer* framebuffer); 772 void deleteRenderbuffer (rc::Renderbuffer* renderbuffer); 773 void deleteBuffer (rc::DataBuffer* buffer); 774 void deleteVertexArray (rc::VertexArray* vertexArray); 775 void deleteProgramObject (rc::ShaderProgramObjectContainer* sp) [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 168 int rc = 0, i; local 177 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms); 178 if(rc > 0) { 216 int rc = 0; local 244 int32_t rc = -1; local 261 rc = mm_camera_poll_sig(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED); 266 return rc; 272 int32_t rc = -1; local 291 rc = mm_camera_poll_sig(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED); 297 return rc; 303 int32_t rc = 0; local 337 int32_t rc = 0; local [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 167 int rc = 0, i; local 176 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms); 177 if(rc > 0) { 215 int rc = 0; local 243 int32_t rc = -1; local 260 rc = mm_camera_poll_sig(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED); 265 return rc; 271 int32_t rc = -1; local 290 rc = mm_camera_poll_sig(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED); 296 return rc; 302 int32_t rc = 0; local 336 int32_t rc = 0; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_svc_layercontext.c | 33 RATE_CONTROL *const lrc = &lc->rc; 69 const RATE_CONTROL *const rc = &cpi->rc; local 82 RATE_CONTROL *const lrc = &lc->rc; 106 lrc->max_frame_bandwidth = rc->max_frame_bandwidth; 108 lrc->worst_quality = rc->worst_quality; 109 lrc->best_quality = rc->best_quality; 123 RATE_CONTROL *const lrc = &lc->rc; 128 lrc->max_frame_bandwidth = cpi->rc.max_frame_bandwidth; 146 RATE_CONTROL *const lrc = &lc->rc; [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_main_menu.c | 1244 int rc = 0; local 1254 int rc = 0; local 1264 int rc = 0; local 1274 int rc = 0; local 1284 int rc = 0; local 1318 int c, rc = 0, tmp_fd; local 1423 int rc = 0; local 1670 int rc = 0; local 1718 int rc = 0; local 1730 int rc = 0; local 1772 int rc = 0; local 1813 int rc = 0; local 1841 int rc = 0; local 1857 int rc = 0; local 1877 int rc = 0; local [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_main_menu.c | 1254 int rc = 0; local 1264 int rc = 0; local 1274 int rc = 0; local 1284 int rc = 0; local 1294 int rc = 0; local 1328 int c, rc = 0, tmp_fd; local 1433 int rc = 0; local 1679 int rc = 0; local 1720 int rc = 0; local 1732 int rc = 0; local 1774 int rc = 0; local 1815 int rc = 0; local 1843 int rc = 0; local 1859 int rc = 0; local 1879 int rc = 0; local [all...] |
mm_qcamera_app.c | 57 int rc = 0; local 66 rc = pthread_cond_timedwait(&app_cond_v, &app_mutex,&tw); 70 return rc; 75 int rc = 0; local 82 return rc; 187 int rc = MM_CAMERA_OK; local 192 rc = -1; 195 return rc; 224 int rc = MM_CAMERA_OK; local 246 CDBG("%s:dev open error=%d\n", __func__, rc); 291 int rc = MM_CAMERA_OK; local 327 int rc = MM_CAMERA_OK; local 348 int rc = MM_CAMERA_OK; local 378 int rc = MM_CAMERA_OK; local 395 int rc = MM_CAMERA_OK; local 607 int i, rc = MM_CAMERA_OK; local [all...] |
/bionic/tests/ |
libgen_test.cpp | 71 int rc = basename_r(in, buf, buf_size); local 72 ASSERT_EQ(expected_rc, rc) << in; 73 if (rc != -1 && buf != NULL) { 82 int rc = dirname_r(in, buf, buf_size); local 83 ASSERT_EQ(expected_rc, rc) << in; 84 if (rc != -1 && buf != NULL) {
|
/external/chromium_org/pdf/ |
page_indicator.cc | 36 pp::Rect rc; local 37 bool res = Control::Create(id, rc, visible, delegate); 44 pp::Rect rc(origin, background_.size()); 45 Control::SetRect(rc, false); 55 void PageIndicator::Paint(pp::ImageData* image_data, const pp::Rect& rc) { 59 pp::Rect draw_rc = rc.Intersect(rect());
|
fading_controls.cc | 30 uint32 id, const pp::Rect& rc, bool visible, 33 return Control::Create(id, rc, visible, owner); 36 void FadingControls::Paint(pp::ImageData* image_data, const pp::Rect& rc) { 44 (*iter)->Paint(image_data, rc); 155 void FadingControls::Invalidate(uint32 control_id, const pp::Rect& rc) { 156 owner()->Invalidate(control_id, rc); 221 pp::Rect rc; local 224 rc = rc.Union((*iter)->rect()); 226 return rc; 230 pp::Rect rc = rect(); local [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
rollback-test.c | 29 int rc; local 31 rc = sqlite3_open(zFilename, &db); 32 if( rc ){ 62 int rc; local 64 rc = sqlite3_exec(db, zSql, execCallback, 0, &zErr); 69 if( rc ){
|
/external/libsepol/tests/ |
test-downgrade.c | 207 int rc; local 221 rc = policydb_read(p, &f, 0); 225 return rc; 245 int rc; local 268 rc = policydb_write(p, &f); 272 return rc;
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Parm.cpp | 561 LOGV("%s:rc= %d",__func__, mHasAutoFocusSupport); 566 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_ASD_ENABLE); local 567 return rc; 571 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_FD); local 572 return rc; 576 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_FOCUS_RECT); local 577 return rc; 581 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_REDEYE_REDUCTION); local 582 return rc; 681 int rc = MM_CAMERA_OK local 1306 status_t rc, final_rc = NO_ERROR; local 1395 char* rc = NULL; local 1476 int rc = MM_CAMERA_OK; local 1498 int rc = MM_CAMERA_OK; local 1524 int rc = MM_CAMERA_OK; local 1572 int rc = MM_CAMERA_OK; local 1599 status_t rc = NO_ERROR; local 1638 status_t rc = NO_ERROR; local 1808 status_t rc; local 1913 status_t rc; local 2063 status_t rc = NO_ERROR; local 2103 status_t rc = NO_ERROR; local 2131 status_t rc = NO_ERROR; local 2174 status_t rc = NO_ERROR; local 2197 status_t rc = NO_ERROR; local 2220 status_t rc = NO_ERROR; local 2248 status_t rc = NO_ERROR; local 2277 status_t rc = NO_ERROR; local 2307 status_t rc = NO_ERROR; local 2319 status_t rc = NO_ERROR; local 2369 status_t rc = NO_ERROR; local 2389 status_t rc = NO_ERROR; local 2550 int rc = NO_ERROR; local 2688 status_t rc = NO_ERROR; local 2712 status_t rc = NO_ERROR; local 2797 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_LED_MODE); local 2821 status_t rc = NO_ERROR; local 2855 status_t rc = NO_ERROR; local 2883 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_HFR); local 2930 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_ROLLOFF); local 3181 status_t rc = NO_ERROR; local [all...] |
/external/chromium_org/third_party/sqlite/src/ext/async/ |
sqlite3async.c | 669 int rc = SQLITE_OK; local 681 rc = async.ioError; 687 rc = pBase->pMethods->xFileSize(pBase, &filesize); 688 if( rc!=SQLITE_OK ){ 693 rc = pBase->pMethods->xRead(pBase, zOut, (int)nRead, iOffset); 698 if( rc==SQLITE_OK ){ 733 if( rc==SQLITE_OK && filesize<(iOffset+iAmt) ){ 734 rc = SQLITE_IOERR_SHORT_READ; 736 return rc; 766 int rc = SQLITE_OK local 814 int rc = SQLITE_OK; local 863 int rc = SQLITE_OK; local 898 int rc = SQLITE_OK; local 966 int rc = SQLITE_OK; local 1040 int rc = SQLITE_OK; local 1188 int rc; local 1231 int rc; local 1340 int rc = SQLITE_OK; local 1598 int rc = SQLITE_OK; local [all...] |
/external/libsepol/src/ |
services.c | 215 int rc = 0; local 229 rc = ebitmap_get_bit(types, i); 230 if (rc == 0) 244 rc = ebitmap_get_bit(types, i); 245 if (rc == 0) 412 int rc = 0, x; local 440 rc = -ENOMEM; 455 rc = -ENOMEM; 694 rc = -ENOMEM; 716 rc = -ENOMEM 993 int rc = 0; local 1029 int rc = 0; local 1149 int rc = 0; local 1233 int rc = 0; local 1499 int rc = -EINVAL; local 1631 int rc = 0; local 1703 int rc = 0; local 1747 int rc = 0; local 1785 int rc = 0; local 1843 int rc = 0; local 1922 int rc = 0; local 2019 int rc = 0, cmp = 0; local 2061 int rc = 0; local [all...] |