/system/vold/ |
vdc.c | 93 int rc = 0; local 101 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { 105 } else if (!rc) { 111 if ((rc = read(sock, buffer, 4096)) <= 0) { 112 if (rc == 0) 117 if (rc == 0) 125 for (i = 0; i < rc; i++) {
|
/external/libsepol/src/ |
util.c | 85 int rc; local 93 rc = hashtab_map(cladatum->permissions.table, 95 if (!rc && cladatum->comdatum) { 96 rc = hashtab_map(cladatum->comdatum-> 100 if (rc)
|
services.c | 481 int rc = 0; local 486 rc = -EINVAL; 492 rc = -EINVAL; 496 rc = context_struct_compute_av(scontext, tcontext, tclass, 499 return rc; 525 int rc = 0; local 530 rc = -EINVAL; 533 rc = context_to_string(NULL, policydb, context, scontext, scontext_len); 535 return rc; 609 int rc = 0 local 875 int rc = -EINVAL; local 1007 int rc = 0; local 1079 int rc = 0; local 1123 int rc = 0; local 1161 int rc = 0; local 1219 int rc = 0; local 1298 int rc = 0; local 1395 int rc = 0, cmp = 0; local 1437 int rc = 0; local [all...] |
/frameworks/av/services/audioflinger/ |
AudioWatchdog.cpp | 54 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs); local 55 if (rc != 0) { 99 rc = nanosleep(&req, NULL); 100 if (!((rc == 0) || (rc == -1 && errno == EINTR))) {
|
/external/srec/audio/AudioIn/UNIX/src/ |
audioin.c | 217 int rc = pthread_cond_wait(&gThreadRunning, &gAudioMutex); local 218 switch (rc) 377 int rc = pthread_cond_wait(&gOpenExCalled, &gAudioMutex); local 378 switch (rc) 583 int rc = pthread_cond_wait(&gOpenExCalled, &gAudioMutex); local 584 switch (rc) 853 int rc; 857 if ((rc = snd_pcm_open(&ghPCM, "default", SND_PCM_STREAM_CAPTURE, 0)) < 0) 859 PLogError ( "Audio In Error snd_pcm_open() (rc = %d: %s)\n", rc, snd_strerror(rc)) 1134 int rc = pthread_cond_wait(&gCloseCalled, &gAudioMutex); local [all...] |
/external/srec/shared/src/ |
ESR_Session.c | 39 ESR_ReturnCode rc; local 41 CHKLOG(rc, ESR_SessionTypeCreate(&ESR_Session)); 44 CHKLOG(rc, ESR_Session->setLCHAR(ESR_Session, L("cmdline.nametagPath"), L(""))); 46 CHKLOG(rc, ESR_Session->setUint16_t(ESR_Session, L("thread.priority"), PtrdThreadNormalPriority)); 50 CHKLOG(rc, ESR_Session->importParFile(ESR_Session, filename)); 54 return rc; 258 ESR_ReturnCode rc; local 262 CHKLOG(rc, ESR_Session->destroy(ESR_Session)); 267 return rc; 278 ESR_ReturnCode rc; local [all...] |
/external/libselinux/src/ |
android.c | 471 int rc; local 478 rc = getfilecon(pkgdir, &ctx_str); 479 if (rc < 0) 487 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, ctx); 488 if (rc == -1) 490 else if (rc == -2) 497 rc = security_check_context(ctx_str); 498 if (rc < 0) 502 rc = setfilecon(pkgdir, ctx_str); 503 if (rc < 0 537 int rc; local 822 int fd = -1, rc; local 869 int rc; 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]; /* 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 561 int rc = vp8_default_zig_zag1d[i]; local [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Parm.cpp | 563 ALOGV("%s:rc= %d",__func__, mHasAutoFocusSupport); 568 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_ASD_ENABLE); local 569 return rc; 573 bool rc; local 590 rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_FD); 591 ALOGV("%s: Still mode : FD supported : %d",__func__,rc); 592 return rc; 597 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_FOCUS_RECT); local 598 return rc; 602 bool rc = cam_config_is_parm_supported(mCameraId,MM_CAMERA_PARM_REDEYE_REDUCTION) local 709 int rc = MM_CAMERA_OK; local 1371 status_t rc, final_rc = NO_ERROR; local 1458 char* rc = NULL; local 1518 int rc = MM_CAMERA_OK; local 1540 int rc = MM_CAMERA_OK; local 1566 int rc = MM_CAMERA_OK; local 1614 int rc = MM_CAMERA_OK; local 1641 status_t rc = NO_ERROR; local 1680 status_t rc = NO_ERROR; local 1851 status_t rc; local 1956 status_t rc; local 2092 bool rc = false; local 2126 status_t rc = NO_ERROR; local 2185 status_t rc = NO_ERROR; local 2213 status_t rc = NO_ERROR; local 2255 status_t rc = NO_ERROR; local 2278 status_t rc = NO_ERROR; local 2301 status_t rc = NO_ERROR; local 2342 status_t rc = NO_ERROR; local 2389 status_t rc = NO_ERROR; local 2419 status_t rc = NO_ERROR; local 2447 status_t rc = NO_ERROR; local 2493 status_t rc = NO_ERROR; local 2513 status_t rc = NO_ERROR; local 2665 int rc = NO_ERROR; local 2803 status_t rc = NO_ERROR; local 2827 status_t rc = NO_ERROR; local 2914 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_LED_MODE); local 2956 status_t rc = NO_ERROR; local 2990 status_t rc = NO_ERROR; local 3018 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_HFR); local 3065 int rc = cam_config_is_parm_supported(mCameraId, MM_CAMERA_PARM_ROLLOFF); local 3330 status_t rc = NO_ERROR; local 3946 int32_t rc = 0; local 4108 status_t rc = NO_ERROR; local [all...] |