/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 43 int rc = 0; \ 46 rc = fwrite(p_addr, 1, len, fp); \ 143 int rc = 0; local 169 int rc = -1; local 185 rc = mm_jpeg_test_alloc(&p_obj->input, p_obj->use_ion); 186 if (rc) { 192 rc = mm_jpeg_test_alloc(&p_obj->output, 0); 193 if (rc) { 198 rc = mm_jpeg_test_read(p_obj); 199 if (rc) { 258 int rc = 0; local [all...] |
/device/lge/hammerhead/camera/QCamera2/HAL/ |
QCameraChannel.cpp | 163 int32_t rc = NO_ERROR; local 179 rc = pStream->init(streamInfoBuf, minStreamBufNum, stream_cb, userdata); 180 if (rc == 0) { 186 return rc; 202 int32_t rc = NO_ERROR; local 209 rc = m_camOps->get_bundle_info(m_camHandle, m_handle, &bundleInfo); 210 if (rc != NO_ERROR) { 212 return rc; 228 rc = pStream->setParameter(param); 229 if (rc != NO_ERROR) 271 int32_t rc = NO_ERROR; local 298 int32_t rc = NO_ERROR; local 331 int32_t rc = NO_ERROR; local 455 int32_t rc = m_camOps->request_super_buf(m_camHandle, local 474 int32_t rc = m_camOps->cancel_super_buf_request(m_camHandle, m_handle); local 549 int32_t rc = pVideoStream->bufDone(opaque, isMetaData); local 622 int32_t rc = 0; local 733 int32_t rc = 0; local 806 int32_t rc = 0; local [all...] |
QCameraStateMachine.cpp | 244 int32_t rc = NO_ERROR; local 247 rc = procEvtPreviewStoppedState(evt, payload); 250 rc = procEvtPreviewReadyState(evt, payload); 253 rc = procEvtPreviewingState(evt, payload); 256 rc = procEvtPrepareSnapshotState(evt, payload); 259 rc = procEvtPicTakingState(evt, payload); 262 rc = procEvtRecordingState(evt, payload); 265 rc = procEvtVideoPicTakingState(evt, payload); 268 rc = procEvtPreviewPicTakingState(evt, payload); 274 return rc; 294 int32_t rc = NO_ERROR; local 589 int32_t rc = NO_ERROR; local 870 int32_t rc = NO_ERROR; local 1228 int32_t rc = NO_ERROR; local 1335 int32_t rc = NO_ERROR; local 1627 int32_t rc = NO_ERROR; local 1939 int32_t rc = NO_ERROR; local 2244 int32_t rc = NO_ERROR; local [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 167 int rc = -1; local 183 rc = mm_jpeg_test_alloc(&p_obj->input, p_obj->use_ion); 184 if (rc) { 190 rc = mm_jpeg_test_alloc(&p_obj->output, 0); 191 if (rc) { 196 rc = mm_jpeg_test_read(p_obj); 197 if (rc) { 256 int rc = 0; local 261 rc = encode_init(p_input, &jpeg_obj); 262 if (rc) { [all...] |
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
QCameraUsbParm.cpp | 177 int rc = 0; local 260 return rc; 279 int rc = 0; local 291 rc = -1; 293 rc = -1; 295 rc = -1; 297 rc = -1; 300 return rc; 320 char* rc = NULL; local 326 rc = (char *)malloc(sizeof(char)*(str.length()+1)) 491 int rc = 0, width, height, i, numPrvwSizes, validSize; local 544 int rc = 0, width, height, i, numPictSizes, validSize; local 594 int rc = 0, width, height, i, numThumbnailSizes, validSize; local 648 int rc = 0, quality = 0; local [all...] |
/device/moto/shamu/camera/QCamera/HAL2/wrapper/ |
QualcommCamera.cpp | 126 int rc = -1; local 129 rc = android::HAL_getCameraInfo(camera_id, info); 132 return rc; 141 int rc = -1; local 154 return rc; 166 rc = 0; 179 ALOGE("%s: end rc %d", __func__, rc); 180 return rc; 186 int rc = -1 local 210 int rc = INVALID_OPERATION; local 221 int rc = INVALID_OPERATION; local 233 int rc = INVALID_OPERATION; local 244 int rc = INVALID_OPERATION; local 266 int rc = INVALID_OPERATION; local 285 int rc = INVALID_OPERATION; local 301 int rc = INVALID_OPERATION; local 314 int rc = INVALID_OPERATION; local 362 int rc = INVALID_OPERATION; local 374 int rc = INVALID_OPERATION; 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...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
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...] |
mm_qcamera_pp.c | 54 int rc; local 90 int rc; local 127 int rc = MM_CAMERA_OK; local 147 rc = pme->cam->ops->reprocess( 152 if (MM_CAMERA_OK != rc) { 153 CDBG_ERROR("%s: reprocess error = %d", __func__, rc); 161 int rc = MM_CAMERA_OK; local 173 if (MM_CAMERA_OK != (rc = pme->cam->ops->set_parm( 196 rc = -1; 211 rc = -1 335 int rc = MM_CAMERA_OK; local 352 int rc = MM_CAMERA_OK; local 481 int rc = MM_CAMERA_OK; local 544 int rc = MM_CAMERA_OK; local 629 int rc = MM_CAMERA_OK; local 791 int rc = MM_CAMERA_OK; local 870 int rc = MM_CAMERA_OK; local [all...] |
mm_qcamera_rdi.c | 89 int rc = MM_CAMERA_OK; local 92 if (MM_CAMERA_OK != (rc = pme->cam->ops->set_parm( 96 return rc; 101 int rc = MM_CAMERA_OK; local 113 return rc; 118 int rc = MM_CAMERA_OK; local 123 return rc; 126 if (MM_CAMERA_OK != (rc = stopPreview(cam_id))) { 127 CDBG_ERROR("%s:Stop preview err=%d\n", __func__, rc); 132 CDBG("%s: END, rc=%d\n", __func__, rc) 146 int rc; local 178 int rc = MM_CAMERA_OK; local 223 int rc = MM_CAMERA_OK; local 229 int rc = MM_CAMERA_OK; local 258 int rc = MM_CAMERA_OK; local 290 int rc = MM_CAMERA_OK; local 336 int rc = MM_CAMERA_OK; local 366 int rc = MM_CAMERA_OK; local 395 int rc = MM_CAMERA_OK; local 406 int rc = MM_CAMERA_OK; local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_snapshot.c | 84 int rc = -MM_CAMERA_E_GENERAL; local 92 return rc; 125 rc = test_obj->jpeg_ops.start_job(&job, &test_obj->current_job_id); 126 if ( 0 != rc ) { 131 return rc; 319 int rc = 0; local 339 rc = -1; 352 rc = -1; 365 rc = -1; 402 rc = createEncodingSession(pme, m_stream, m_frame) 471 int rc = MM_CAMERA_OK; local 516 int32_t rc = MM_CAMERA_OK; local 560 int rc = MM_CAMERA_OK; local 583 int32_t rc = MM_CAMERA_OK; local 638 int rc = MM_CAMERA_OK; local 654 int rc = MM_CAMERA_OK; local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg_exif.c | 64 int32_t rc = 0; local 82 rc = -1; 97 rc = -1; 110 rc = -1; 125 rc = -1; 140 rc = -1; 154 rc = -1; 166 rc = -1; 181 rc = -1; 195 return rc; 298 int rc = 0; local 374 int rc = 0; local 501 int rc = 0; local [all...] |
/external/dnsmasq/src/ |
netlink.c | 79 ssize_t rc; local 91 while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR); 94 if (rc != -1 && (msg.msg_flags & MSG_TRUNC)) 97 if ((size_t)rc == iov.iov_len) 99 if (expand_buf(&iov, rc + 100)) 103 expand_buf(&iov, rc); 108 while ((rc = recvmsg(daemon->netlinkfd, &msg, 0)) == -1 && errno == EINTR); 111 if (rc == -1 || nladdr.nl_pid == 0) 118 rc = -1; 122 return rc; [all...] |
/external/e2fsprogs/lib/e2p/ |
feature.c | 288 int rc = 0; local 330 rc = 1; 336 rc = 1; 347 rc = 1; 358 return rc;
|
/external/e2fsprogs/misc/ |
logsave.c | 162 int status, rc, pid; local 209 rc = WEXITSTATUS(status); 210 if (rc) { 212 sprintf(buffer, " died with exit status %d\n", rc); 221 rc = 1; 223 rc = 0; 225 return rc; 253 int c, pid, rc; local 300 rc = copy_from_stdin(); 302 rc = run_program(argv) [all...] |
/external/fio/os/ |
os-mac.h | 77 int rc; local 89 rc = sigaction(SIGALRM, &sa, NULL); 91 if (!rc) 92 rc = setitimer(ITIMER_REAL, &tv, &tv_out); 94 if (!rc && ovalue != NULL) { 101 return rc;
|
/external/icu/icu4c/source/common/ |
propname.cpp | 92 int32_t rc, r1, r2; local 105 rc=(r1&0xff)-(r2&0xff); 106 if(rc!=0) { 107 return rc; 118 int32_t rc, r1, r2; local 131 rc=(r1&0xff)-(r2&0xff); 132 if(rc!=0) { 133 return rc;
|
/external/libedit/examples/ |
wtc1.c | 158 int ac, cc, co, rc; local 214 for(rc = history_w(hist, &ev, H_LAST); 215 rc != -1; 216 rc = history_w(hist, &ev, H_PREV)) 259 if (wait(&rc) == -1) 261 (void)fprintf(stderr, "Exit %x\n", rc);
|
/external/libpcap/ |
pcap-snf.c | 44 int rc; local 46 if ((rc = snf_ring_getstats(ps->snf_ring, &stats))) { 48 pcap_strerror(rc));
|
/external/libselinux/src/ |
avc_internal.c | 60 int len, rc = 0; local 65 rc = fd; 72 rc = -1; 85 rc = -1; 89 return rc; 101 int rc; local 108 rc = poll(&pfd, 1, (blocking ? -1 : 0)); 109 } while (rc < 0 && errno == EINTR); 111 if (rc == 0 && !blocking) { 115 else if (rc < 1) 160 int rc; local 225 int rc; local 252 int rc; local [all...] |
label_android_property.c | 52 int rc = 0; local 60 rc = -1; 80 return rc;
|
stringrep.c | 230 int rc = 0; local 241 rc = -1; 252 rc = -1; 276 return rc;
|
/external/libvncserver/x11vnc/ |
solid.c | 84 int rc; local 110 rc = system(cmd); 113 if (rc >= 256) { 114 rc = rc/256; 116 return rc; 123 int rc; local 152 rc = pclose(p); 575 int rc, i; 599 rc = XQueryTree_wr(dpy, rootwin, &r, &w, &children, &ui) [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_svc_layercontext.c | 35 RATE_CONTROL *const lrc = &lc->rc; 87 const RATE_CONTROL *const rc = &cpi->rc; local 100 RATE_CONTROL *const lrc = &lc->rc; 110 (int64_t)(rc->starting_buffer_level * bitrate_alloc); 112 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); 114 (int64_t)(rc->maximum_buffer_size * bitrate_alloc); 124 lrc->max_frame_bandwidth = rc->max_frame_bandwidth; 126 lrc->worst_quality = rc->worst_quality; 127 lrc->best_quality = rc->best_quality [all...] |
/external/llvm/lib/CodeGen/ |
CalcSpillWeights.cpp | 64 const TargetRegisterClass *rc = mri.getRegClass(reg); local 66 // Only allow physreg hints in rc. 68 return rc->contains(hreg) ? hreg : 0; 71 return tri.getMatchingSuperReg(hreg, sub, rc);
|