/hardware/broadcom/libbt/src/ |
upio.c | 362 int rc; local
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_quantize.c | 42 const int rc = scan[i]; local 43 const int coeff = coeff_ptr[rc]; 45 if (coeff < zbins[rc != 0] && coeff > nzbins[rc != 0]) 54 const int rc = scan[i]; local 55 const int coeff = coeff_ptr[rc]; 59 if (abs_coeff >= zbins[rc != 0]) { 60 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); 61 tmp = ((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * 62 quant_shift_ptr[rc != 0]) >> 16; // quantizatio 97 const int rc = scan[i]; local 109 const int rc = scan[idx_arr[i]]; local [all...] |
/hardware/intel/img/psb_video/src/ |
pnw_jpeg.c | 324 IMG_ERRORCODE rc; local 437 rc = SetupJPEGTables(ctx->jpeg_ctx, &jpeg_ctx->jpeg_coded_buf, ctx->src_surface); 439 if (rc != IMG_ERR_OK) 446 rc = PrepareHeader(jpeg_ctx, &jpeg_ctx->jpeg_coded_buf, sizeof(BUFFER_HEADER), IMG_TRUE); 447 if (rc != IMG_ERR_OK) 554 IMG_UINT32 rc = 0; local 588 rc = SubmitScanToMTX(pContext, ui16BCnt, 590 if (rc != IMG_ERR_OK) {
|
/hardware/libhardware/modules/soundtrigger/ |
sound_trigger_hw.c | 73 int rc = pthread_cond_timedwait(&stdev->cond, &stdev->lock, &ts); local 74 if (rc == ETIMEDOUT && stdev->recognition_callback != NULL) {
|
/hardware/qcom/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; 267 int rc; local 285 rc = -1; 298 rc = -1; 311 rc = -1; 335 int rc = 0 local 487 int rc = MM_CAMERA_OK; local 532 int32_t rc = MM_CAMERA_OK; local 576 int rc = MM_CAMERA_OK; local 599 int32_t rc = MM_CAMERA_OK; local 654 int rc = MM_CAMERA_OK; local 670 int rc = MM_CAMERA_OK; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec.c | 71 int32_t rc = 0; local 73 return rc; 200 OMX_ERRORTYPE rc = OMX_ErrorNone; local 218 rc = OMX_GetHandle(&p_session->omx_handle, 223 if (OMX_ErrorNone != rc) { 224 CDBG_ERROR("%s:%d] OMX_GetHandle failed (%d)", __func__, __LINE__, rc); 225 return rc; 227 return rc; 244 OMX_ERRORTYPE rc = OMX_ErrorNone; local 252 rc = mm_jpeg_session_change_state(p_session, OMX_StateIdle, NULL) 352 OMX_ERRORTYPE rc = OMX_ErrorNone; local 667 int32_t rc = 0; local 740 int32_t rc = -1; local 820 int32_t rc = 0; local 883 int32_t rc = 0; local 937 int32_t rc = 0; local 1077 int32_t rc = -1; local 1125 int32_t rc = 0; local 1171 int32_t rc = 0; local [all...] |
/hardware/qcom/camera/mm-image-codec/qomx_core/ |
qomx_core.c | 60 OMX_ERRORTYPE rc = OMX_ErrorNone; local 70 return rc; 92 rc = OMX_ErrorInsufficientResources; 96 return rc; 179 OMX_ERRORTYPE rc = OMX_ErrorNone; local 208 rc = OMX_ErrorInvalidComponent; 217 rc = OMX_ErrorInvalidComponent; 230 rc = OMX_ErrorInvalidComponent; 240 rc = OMX_ErrorInvalidComponent; 248 rc = OMX_ErrorInvalidComponent 327 OMX_ERRORTYPE rc = OMX_ErrorNone; local [all...] |
/hardware/qcom/media/mm-core/omxcore/src/common/ |
qc_omx_core.c | 136 int rc = -1,i=0; local 137 DEBUG_PRINT("before get_cmp_index **********%d\n", rc); 145 rc = i; 149 DEBUG_PRINT("returning index %d\n", rc); 150 return rc; 203 int rc = -1; local 206 return rc; 214 rc = i; 215 return rc; 219 return rc; 238 int rc = -1; local 275 int rc = 1; local 305 int rc = -1; local [all...] |
/hardware/qcom/media/mm-core/src/common/ |
qc_omx_core.c | 133 int rc = -1,i=0; local 134 DEBUG_PRINT("before get_cmp_index **********%d\n", rc); 142 rc = i; 146 DEBUG_PRINT("returning index %d\n", rc); 147 return rc; 200 int rc = -1; local 203 return rc; 212 rc = i; 219 return rc; 238 int rc = -1 local 275 int rc = 1; local 305 int rc = -1; local [all...] |
/libcore/luni/src/main/native/ |
java_lang_ProcessManager.cpp | 188 int rc = TEMP_FAILURE_RETRY(waitpid(childPid, &status, 0)); local 189 if (rc == -1) {
|
/system/bt/osi/src/ |
hash_map.c | 141 bool rc = list_remove(hash_bucket_list, hash_map_entry); local 142 assert(rc == true);
|
/system/bt/tools/bdtool/ |
adapter.c | 197 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, local
|
bdtool.c | 122 int rc = bt_interface->set_adapter_property(property); local 123 fprintf(stdout, "Set rc:%d device as discoverable for %d seconds\n", rc, timeout_in_sec); 139 int rc = bt_interface->create_bond(&bt_remote_bdaddr, 0 /* UNKNOWN; Currently not documented :( */); local 140 fprintf(stdout, "Started bonding:%d for %d seconds\n", rc, timeout_in_sec);
|
/system/core/libsysutils/src/ |
SocketClient.cpp | 159 int rc = sendDataLockedv(vec, 1); local 162 return rc; 167 int rc = sendDataLockedv(iov, iovcnt); local 170 return rc; 194 ssize_t rc = TEMP_FAILURE_RETRY( local 197 if (rc > 0) { 198 size_t written = rc; 211 if (rc == 0) {
|
/system/core/logd/ |
LogAudit.cpp | 84 int rc = vasprintf(&str, fmt, args); local 87 if (rc < 0) { 88 return rc; 163 rc = -ENOMEM; 170 rc = logbuf->log(LOG_ID_EVENTS, now, uid, pid, tid, 175 if (rc >= 0) { 213 rc = -ENOMEM; 220 rc = logbuf->log(LOG_ID_MAIN, now, uid, pid, tid, newstr, 224 if (rc >= 0) { 234 if (rc < 0) 250 int rc; local [all...] |
/system/extras/verity/ |
verify_boot_signature.c | 176 int rc = -1; local 213 rc = 0; 219 return rc; 234 int rc = -1; local 297 rc = 0; 312 return rc; 323 int rc = -1; local 352 rc = 0; 363 return rc; 374 int rc = 1 local [all...] |
/system/netd/server/ |
NatController.cpp | 300 int rc = 0; local 338 rc = -1; 344 rc = -1; 349 rc = -1; 361 return rc;
|
/art/runtime/jdwp/ |
jdwp_adb.cc | 162 int rc = TEMP_FAILURE_RETRY(recvmsg(control_sock_, &msg, 0)); local 164 if (rc <= 0) { 165 if (rc == -1) {
|
/bionic/libc/bionic/ |
ndk_cruft.cpp | 202 int rc = vdprintf(fd, fmt, ap); local 204 return rc;
|
/bionic/tests/ |
dlfcn_test.cpp | 795 int rc = dladdr(addr, &info); local 796 ASSERT_NE(rc, 0); // Zero on error, non-zero on success. 800 rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); 801 ASSERT_NE(rc, -1); 802 executable_path[rc] = '\0'; [all...] |
stdio_test.cpp | 59 int rc = fstat(fd, &sb); local 60 ASSERT_NE(rc, -1); 63 rc = fprintf(fp, "hello\n"); 64 ASSERT_EQ(rc, 6); 79 int rc = dprintf(tf.fd, "hello\n"); local 80 ASSERT_EQ(rc, 6); 99 int rc = fprintf(fp, "%s", line_written); local 100 ASSERT_EQ(rc, static_cast<int>(strlen(line_written))); 171 int rc = fprintf(fp, "%s", line_written); local 172 ASSERT_EQ(rc, static_cast<int>(strlen(line_written))) [all...] |
unistd_test.cpp | 509 long rc = 0L; local 512 rc = pathconf(tf.filename, _PC_ALLOC_SIZE_MIN); 513 ASSERT_TRUE(rc > 0 && powerof2(rc)); 514 rc = pathconf(tf.filename, _PC_REC_MIN_XFER_SIZE); 515 ASSERT_TRUE(rc > 0 && powerof2(rc)); 516 rc = pathconf(tf.filename, _PC_REC_XFER_ALIGN); 517 ASSERT_TRUE(rc > 0 && powerof2(rc)); [all...] |
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 200 int ifd, ofd, rc; local
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCameraMem.cpp | 244 int rc = OK; local 255 rc = allocOneBuffer(mMemInfo[i], heap_id, size); 256 if (rc < 0) { 263 return rc; 297 int rc = OK; local 318 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); 319 if (rc < 0) { 326 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); 327 if (rc < 0) { 443 int rc = alloc(count, size, heap_id_mask) local 619 int rc = alloc(count, size, heap_id_mask); local 801 int rc = QCameraStreamMemory::allocate(count, size); local [all...] |
QCameraStream.cpp | 199 int rc = mCamOps->unmap_stream_buf(mCamHandle, local 201 if (rc < 0) { 235 int32_t rc = OK; local 241 rc = UNKNOWN_ERROR; 250 rc = mCamOps->map_stream_buf(mCamHandle, 253 if (rc < 0) { 264 rc = mCamOps->config_stream(mCamHandle, 266 if (rc < 0) { 267 ALOGE("Failed to config stream, rc = %d", rc); 302 int32_t rc = 0; local 320 int32_t rc = 0; local 341 int32_t rc = 0; local 497 int32_t rc = NO_ERROR; local 524 int32_t rc = NO_ERROR; local 559 int rc = NO_ERROR; local 659 int rc = NO_ERROR; local 931 int32_t rc = NO_ERROR; local [all...] |