/external/qemu/util/ |
qemu-thread-posix.c | 128 int rc; local 131 rc = pthread_mutex_init(&sem->lock, NULL); 132 if (rc != 0) { 133 error_exit(rc, __func__); 135 rc = pthread_cond_init(&sem->cond, NULL); 136 if (rc != 0) { 137 error_exit(rc, __func__); 144 rc = sem_init(&sem->sem, 0, init); 145 if (rc < 0) { 153 int rc; local 174 int rc; local 210 int rc; local 258 int rc; local [all...] |
/external/srec/portable/src/UNIX/ |
PFileSystemUNIXImpl.c | 41 ESR_ReturnCode rc; local 54 CHKLOG(rc, PANSIFileSystemCreate()); 56 CHKLOG(rc, PMemSetLogEnabled(ESR_FALSE)); 57 CHKLOG(rc, PHashTablePutValue(PFileSystemPathMap, L("/"), PANSIFileSystemSingleton, NULL)); 58 CHKLOG(rc, PHashTablePutValue(ANSIImpl->directoryMap, L("/"), L("/"), NULL)); 59 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdin"), isLittleEndian, &PSTDIN)); 63 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdout"), isLittleEndian, &PSTDOUT)); 68 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stderr"), isLittleEndian, &PSTDERR)); 75 CHKLOG(rc, PtrdIsEnabled(&threadingEnabled)); 78 CHKLOG(rc, PtrdMonitorDestroy(impl->Interface.lock)) 96 ESR_ReturnCode rc; local [all...] |
PANSIFileSystemUNIXImpl.c | 41 ESR_ReturnCode rc; local 43 CHKLOG(rc, lstrtrim(path)); 44 CHKLOG(rc, PFileSystemCanonicalSlashes(path)); 45 CHKLOG(rc, PFileSystemIsAbsolutePath(path, &isAbsolute)); 52 CHKLOG(rc, PHashTableEntryGetFirst(impl->directoryMap, &entry)); 55 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)&value)); 67 CHKLOG(rc, PHashTableEntryAdvance(&entry)); 71 rc = ESR_INVALID_STATE; 79 CHKLOG(rc, lstrinsert(bestKey, path, 0, len)); 84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len)) 95 ESR_ReturnCode rc; local 122 ESR_ReturnCode rc; local 154 ESR_ReturnCode rc; local [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 100 int32_t rc = -1; local 111 rc = mm_camera_sync(my_obj); 115 CDBG("%s :X rc = %d",__func__,rc); 116 return rc; 122 int32_t rc = -1; local 131 rc = mm_camera_is_op_supported(my_obj, opcode); 135 return rc; 144 int32_t rc = -1; local 155 rc = mm_camera_is_parm_supported(my_obj, parm_type, support_set_parm, support_get_parm) 167 int32_t rc = -1; local 188 int32_t rc = -1; local 206 int32_t rc = -1; local 308 int32_t rc = -1; local 350 int32_t rc = -1; local 399 int32_t rc = -1; local 425 int32_t rc = -1; local 456 int32_t rc = -1; local 488 int32_t rc = -1; local 513 int32_t rc = -1; local 544 int32_t rc = -1; local 577 int32_t rc = -1; local 609 int32_t rc = -1; local 632 int32_t rc = -1; local 657 int32_t rc = -1; local 681 int32_t rc = -1; local 703 int32_t rc = -1; local 727 int32_t rc = -1; local 756 int32_t rc = -1; local 784 int32_t rc = -1; local 804 int32_t rc = -1; local 875 int32_t rc = -1; local 894 int32_t rc = -1; local 921 int32_t rc = -1; local 947 int32_t rc = -1; local 973 int32_t rc = -1; local 999 int32_t rc = -1; local 1025 int32_t rc = -1; local 1051 int32_t rc = -1; local 1076 int32_t rc = -1; local 1098 int i = 0, rc = 0; local 1261 int32_t rc = 0; local [all...] |
/device/asus/flo/camera/QCamera2/HAL/ |
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/HAL/ |
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/mako/camera/QCamera/HAL/core/src/ |
QCameraStream.cpp | 106 int rc = MM_CAMERA_OK; 115 rc = cam_config_get_parm(cameraId, MM_CAMERA_PARM_DIMENSION, &dim); 116 if (MM_CAMERA_OK != rc) { 123 rc = cam_ops_ch_acquire(cameraId, MM_CAMERA_CH_PREVIEW); 124 LOGV("%s:ch_acquire MM_CAMERA_CH_PREVIEW, rc=%d\n",__func__, rc); 126 if(MM_CAMERA_OK != rc) { 127 LOGE("%s: preview channel acquir error =%d\n", __func__, rc); 142 rc = cam_config_set_parm(cameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt); 143 LOGV("%s: preview MM_CAMERA_PARM_CH_IMAGE_FMT rc = %d\n", __func__, rc) 187 int rc = MM_CAMERA_OK; local 232 int rc = MM_CAMERA_OK; local 259 int rc = MM_CAMERA_OK; local [all...] |
/device/lge/mako/camera/ |
QCameraStream.cpp | 107 int rc = MM_CAMERA_OK; 116 rc = cam_config_get_parm(cameraId, MM_CAMERA_PARM_DIMENSION, &dim); 117 if (MM_CAMERA_OK != rc) { 124 rc = cam_ops_ch_acquire(cameraId, MM_CAMERA_CH_PREVIEW); 125 ALOGV("%s:ch_acquire MM_CAMERA_CH_PREVIEW, rc=%d\n",__func__, rc); 127 if(MM_CAMERA_OK != rc) { 128 ALOGE("%s: preview channel acquir error =%d\n", __func__, rc); 143 rc = cam_config_set_parm(cameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt); 144 ALOGV("%s: preview MM_CAMERA_PARM_CH_IMAGE_FMT rc = %d\n", __func__, rc) 188 int rc = MM_CAMERA_OK; local 233 int rc = MM_CAMERA_OK; local 260 int rc = MM_CAMERA_OK; local [all...] |
/external/oprofile/opjitconv/ |
opjitconv.c | 117 int rc = OP_JIT_CONV_OK; local 123 rc = OP_JIT_CONV_NO_DUMPFILE; 125 rc = OP_JIT_CONV_FAIL; 128 rc = fstat(dumpfd, &file_info->dmp_file_stat); 129 if (rc < 0) { 131 rc = OP_JIT_CONV_FAIL; 138 rc = OP_JIT_CONV_FAIL; 141 return rc; 161 int rc = OP_JIT_CONV_OK; local 167 rc = OP_JIT_CONV_FAIL 187 int rc = OP_JIT_CONV_OK; local 213 int rc = OP_JIT_CONV_OK; local 254 int rc = OP_JIT_CONV_OK; local 484 int rc = OP_JIT_CONV_OK; local 588 int rc = 0; local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 150 int rc; local 158 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); 160 if (rc >= 0 && ev.id == MSM_CAMERA_MSM_NOTIFY) { 204 int32_t rc = 0; local 219 rc = -1; 222 return rc; 240 int32_t rc = 0; local 272 rc = -1; 294 rc = -1; 315 CDBG("%s: end (rc = %d)\n", __func__, rc) 402 int rc = -1; local 453 int rc = -1; local 479 int rc = -1; local 509 int32_t rc = 0; local 543 int32_t rc = -1; local 573 int32_t rc = -1; local 598 int32_t rc = -1; local 619 int32_t rc = -1; local 642 int32_t rc = -1; local 663 int32_t rc = -1; local 685 int32_t rc = -1; local 761 int32_t rc = -1; local 802 int32_t rc = -1; local 874 int32_t rc = -1; local 909 int32_t rc = -1; local 944 int32_t rc = -1; local 983 int32_t rc = -1; local 1022 int32_t rc = -1; local 1057 int32_t rc = 0; local 1095 int32_t rc = -1; local 1130 int32_t rc = -1; local 1165 int32_t rc = -1; local 1202 int32_t rc = -1; local 1244 int32_t rc = -1; local 1293 int32_t rc = -1; local 1341 int32_t rc = -1; local 1400 int32_t rc = -1; local 1458 int32_t rc = -1; local 1499 int32_t rc = 0; local 1580 int32_t rc = -1; local 1619 int32_t rc = 0; local 1653 int32_t rc = 0; local 1682 int rc = 0; local 1716 int rc = 0; local 1753 int32_t rc = -1; local [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
threadtest2.c | 58 int rc; local 61 rc = sqlite3_exec(db, "pragma integrity_check", check_callback, 0, 0); 62 if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){ 63 fprintf(stderr,"%d, Integrity check returns %d\n", id, rc); 77 int rc; local 87 rc = sqlite3_exec(db, "INSERT INTO t1 VALUES('bogus data')", 0, 0, 0); 88 /* fprintf(stderr, "%d: END rc=%d\n", id, rc); */ 100 int i, rc; local [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
backup.c | 37 int rc; /* Backup process error code */ member in struct:sqlite3_backup 93 int rc = 0; local 97 rc = SQLITE_NOMEM; 101 sqlite3Error(pErrorDb, pParse->rc, "%s", pParse->zErrMsg); 102 rc = SQLITE_ERROR; 107 if( rc ){ 125 int rc; local 126 rc = sqlite3BtreeSetPageSize(p->pDest,sqlite3BtreeGetPageSize(p->pSrc),-1,0); 127 return rc; 203 ** Argument rc is an SQLite error code. Return true if this error is 227 int rc = SQLITE_OK; local 303 int rc = sqlite3OsFileSize(pFile, &iCurrent); local 327 int rc; local 543 int rc; \/* Value to return *\/ local 625 int rc; local 667 int rc; local [all...] |
pager.c | 1021 int rc = sqlite3OsRead(fd, ac, sizeof(ac), offset); local 1054 int rc = SQLITE_OK; local 1081 int rc = SQLITE_OK; local 1204 int rc; \/* Return code *\/ local 1290 int rc = SQLITE_OK; \/* Return code *\/ local 1339 int rc = SQLITE_OK; \/* Return code *\/ local 1463 int rc; \/* Return code *\/ local 1582 int rc; \/* Return code *\/ local 1695 int rc = SQLITE_OK; \/* Result code *\/ local 1741 int rc; \/* Error code returned by pagerUnlockDb() *\/ local 1886 int rc = SQLITE_OK; \/* Error code from journal finalization operation *\/ local 2103 int rc; local 2363 int rc; \/* Return code *\/ local 2472 int rc = SQLITE_OK; local 2600 int rc; \/* Result code of a subroutine *\/ local 2798 int rc = SQLITE_OK; \/* Return code *\/ local 2890 int rc = SQLITE_OK; local 2924 int rc; \/* Return Code *\/ local 2962 int rc; \/* Return code *\/ local 3018 int rc; \/* Return code *\/ local 3072 int rc = sqlite3OsFileSize(pPager->fd, &n); local 3115 int rc = SQLITE_OK; local 3185 int rc = SQLITE_OK; \/* Return code *\/ local 3395 int rc; \/* Return code *\/ local 3469 int rc = SQLITE_OK; local 3585 int rc = SQLITE_OK; local 3634 int rc; \/* Return code *\/ local 3715 int rc = SQLITE_OK; local 3842 int rc; \/* Return code *\/ local 3985 int rc = SQLITE_OK; \/* Return code *\/ local 4073 int rc = SQLITE_OK; local 4098 int rc = SQLITE_OK; local 4156 int rc = SQLITE_OK; local 4291 int rc = SQLITE_OK; \/* Return code *\/ local 4575 int rc = SQLITE_OK; \/* Return code *\/ local 4691 int rc = SQLITE_OK; \/* Return code *\/ local 4963 int rc; local 5133 int rc = SQLITE_OK; \/* Return code *\/ local 5234 int rc = SQLITE_OK; local 5309 int rc = SQLITE_OK; local 5452 int rc = SQLITE_OK; local 5600 int rc = SQLITE_OK; local 5677 int rc = SQLITE_OK; local 5700 int rc = SQLITE_OK; local 5743 int rc = SQLITE_OK; \/* Return code *\/ local 5943 int rc = SQLITE_OK; \/* Return code *\/ local 6008 int rc = SQLITE_OK; \/* Return code *\/ local 6122 int rc = SQLITE_OK; \/* Return code *\/ local 6201 int rc = pPager->errCode; \/* Return code *\/ local 6337 int rc; \/* Return code *\/ local 6587 int rc = SQLITE_OK; local 6665 int rc = SQLITE_OK; local 6694 int rc; \/* Return code *\/ local 6714 int rc = SQLITE_OK; local 6760 int rc = SQLITE_OK; \/* Return code *\/ local 6796 int rc = SQLITE_OK; local [all...] |
test2.c | 25 static char *errorName(int rc){ 27 switch( rc ){ 78 int rc; local 86 rc = sqlite3PagerOpen(sqlite3_vfs_find(0), &pPager, argv[1], 0, 0, 89 if( rc!=SQLITE_OK ){ 90 Tcl_AppendResult(interp, errorName(rc), 0); 113 int rc; local 120 rc = sqlite3PagerClose(pPager); 121 if( rc!=SQLITE_OK ){ 122 Tcl_AppendResult(interp, errorName(rc), 0) 140 int rc; local 167 int rc; local 199 int rc; local 226 int rc; local 254 int rc; local 343 int rc; local 501 int rc; local 537 int rc; local 580 int rc; local 604 int sz, rc; 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...] |
/bionic/libc/bionic/ |
pthread_getschedparam.cpp | 42 int rc = sched_getparam(thread->tid, param); local 43 if (rc == -1) {
|
pthread_setschedparam.cpp | 42 int rc = sched_setscheduler(thread->tid, policy, param); local 43 if (rc == -1) {
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_preview.c | 66 int rc = 0; local 72 rc = ioctl(ion_fd, ION_IOC_ALLOC, alloc); 73 if (rc < 0) { 79 rc = ioctl(ion_fd, ION_IOC_SHARE, ion_info_fd); 80 if (rc < 0) { 114 int rc = 0; local 115 rc = munmap(addr, size); 121 return rc; 127 int rc = MM_CAMERA_OK; local 134 return rc; 139 int rc = MM_CAMERA_OK; local 151 int rc = MM_CAMERA_OK; local 163 int rc = MM_CAMERA_OK; local 176 int rc = MM_CAMERA_OK; local 217 int rc = MM_CAMERA_OK; local 245 int rc = MM_CAMERA_OK; local 273 int rc = MM_CAMERA_OK; local 402 int i, rc; local 517 int i, rc = MM_CAMERA_OK; local 614 int rc, cam = 0; local 654 int rc; local 678 int rc; local 702 int rc; local 726 int rc; local 750 int rc; local 800 int rc = MM_CAMERA_OK; local 906 int rc = MM_CAMERA_OK; local 950 int rc = MM_CAMERA_OK; local 956 int rc = MM_CAMERA_OK; local 1000 int rc = MM_CAMERA_OK; local 1021 int rc = MM_CAMERA_OK; local 1085 int rc = MM_CAMERA_OK; local 1123 int rc = MM_CAMERA_OK; local 1143 int rc = MM_CAMERA_OK; local 1178 int rc = MM_CAMERA_OK; local 1224 int rc = MM_CAMERA_OK; local 1264 int rc = MM_CAMERA_OK; local 1333 int rc = MM_CAMERA_OK; local 1359 int rc = MM_CAMERA_OK; local 1396 int rc = MM_CAMERA_OK; local 1432 int rc = MM_CAMERA_OK; local 1460 int rc = MM_CAMERA_OK; local 1496 int rc = MM_CAMERA_OK; local 1524 int rc = MM_CAMERA_OK; local 1544 int rc = MM_CAMERA_OK; local 1568 int rc = MM_CAMERA_OK; local [all...] |
/external/libselinux/src/ |
checkAccess.c | 20 int rc = -1; local 31 if ((rc = avc_context_to_sid(scon, &scon_id)) < 0) return rc; 33 if ((rc = avc_context_to_sid(tcon, &tcon_id)) < 0) return rc;
|
/external/qemu/distrib/libselinux/src/ |
checkAccess.c | 20 int rc = -1; local 31 if ((rc = avc_context_to_sid(scon, &scon_id)) < 0) return rc; 33 if ((rc = avc_context_to_sid(tcon, &tcon_id)) < 0) return rc;
|
/external/valgrind/main/memcheck/tests/ |
sigkill.c | 20 int rc; local 35 rc = sigaction (i /*SIGKILL*/, &sa, NULL); 36 if (rc) perror (""); 39 rc = sigaction (i /*SIGKILL*/, NULL, &sa); 40 if (rc) perror ("");
|
/system/core/toolbox/ |
setenforce.c | 19 int rc = 0; local 29 rc = security_setenforce(atoi(argv[1])); 32 rc = security_setenforce(1); 34 rc = security_setenforce(0); 38 if (rc < 0) {
|
/external/srec/srec/Nametag/src/ |
NametagImpl.c | 34 ESR_ReturnCode rc; local 44 rc = result->getSize(result, &len); 45 if (rc != ESR_SUCCESS) 47 PLogError(ESR_rc2str(rc)); 53 rc = ESR_INVALID_ARGUMENT; 56 rc = result->getLocale(result, &locale); 60 rc = result->getValue(result, 0, L("meaning"), transcription, &len); 62 if (rc != ESR_SUCCESS && rc != ESR_BUFFER_OVERFLOW) 64 PLogError(ESR_rc2str(rc)); 133 ESR_ReturnCode rc; local 216 ESR_ReturnCode rc; local 236 ESR_ReturnCode rc; local [all...] |
/external/srec/tools/dictTest/ |
dictTest.c | 44 ESR_ReturnCode rc; local 47 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len); 48 // rc = vocab->getPronunciation(vocab, phrase, prons, &len); 50 if (rc != ESR_SUCCESS) 51 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc)); 68 ESR_ReturnCode rc; 81 rc = ESR_ProcessLinearToCommandLineTokens(line, &tokenArray, &len); 82 if (rc!=ESR_SUCCESS || len!=2) 93 rc = vocab->getPronunciation(vocab, phrase, phoneme, &len); 95 if(rc != ESR_SUCCESS 122 ESR_ReturnCode rc; local [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_stream.c | 194 int idx = -1, rc = MM_CAMERA_OK; local 206 rc = ioctl(stream->fd, VIDIOC_DQBUF, &vb); 207 if (rc < 0) 235 int rc = MM_CAMERA_OK; local 238 rc = ioctl(stream->fd, VIDIOC_G_CROP, &crop); 239 if (rc < 0) 240 return rc; 245 return rc; 250 int rc = MM_CAMERA_OK; local 256 rc = ioctl (fd, VIDIOC_S_CTRL, &control) 268 int rc = MM_CAMERA_OK; local 286 int rc = MM_CAMERA_OK; local 340 int rc = 0; local 373 int rc = 0; local 388 int32_t i, rc = MM_CAMERA_OK; local 419 int32_t rc = MM_CAMERA_OK; local 450 int32_t i, rc = MM_CAMERA_OK, j; local 544 int32_t i, rc = MM_CAMERA_OK; local 567 int32_t rc = 0; local 604 int32_t rc = MM_CAMERA_OK; local 641 int32_t rc = 0; local 666 int32_t rc = 0; local 697 int32_t rc = MM_CAMERA_OK; local 749 int32_t rc = 0; local 808 int32_t rc = 0; local [all...] |