/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...] |
QualcommCamera2.cpp | 161 int rc = -1; local 168 rc = 0; 174 return rc; 185 int rc = -1; local 195 return rc; 207 return rc; 219 rc = 0; 232 ALOGV("%s: end rc %d", __func__, rc); 234 return rc; 240 int rc = -1; local 271 int rc = -1; local 314 int rc = -1; local 325 int rc = -1; local 346 int rc = -1; local 357 int rc = -1; local 368 int rc = -1; local 388 int rc = -1; local 409 int rc = -1; local 420 int rc = -1; local 431 int rc = -1; local 443 int rc = -1; local 455 int rc = -1; local 494 int rc = -1; local 516 int rc = -1; 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...] |
/external/srec/portable/src/UNIX/ |
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...] |
/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...] |
/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) 231 int rc = MM_CAMERA_OK; local 234 rc = ioctl(stream->fd, VIDIOC_G_CROP, &crop); 235 if (rc < 0) 236 return rc; 241 return rc; 246 int rc = MM_CAMERA_OK; local 252 rc = ioctl (fd, VIDIOC_S_CTRL, &control) 264 int rc = MM_CAMERA_OK; local 282 int rc = MM_CAMERA_OK; local 336 int rc = 0; local 369 int rc = 0; local 384 int32_t i, rc = MM_CAMERA_OK; local 415 int32_t rc = MM_CAMERA_OK; local 447 int32_t i, rc = MM_CAMERA_OK, j; local 480 int32_t i, rc = MM_CAMERA_OK, j; local 569 int32_t i, rc = MM_CAMERA_OK; local 592 int32_t rc = 0; local 629 int32_t rc = MM_CAMERA_OK; local 666 int32_t rc = 0; local 691 int32_t rc = 0; local 726 int32_t rc = MM_CAMERA_OK; local 778 int32_t rc = 0; local 837 int32_t rc = 0; local [all...] |
mm_camera_interface2.c | 129 int32_t rc = -MM_CAMERA_E_GENERAL; local 139 rc = mm_camera_set_parm(my_obj, &parm); 142 return rc; 150 int32_t rc = -MM_CAMERA_E_GENERAL; local 160 rc = mm_camera_get_parm(my_obj, &parm); 163 return rc; 169 int32_t rc = -MM_CAMERA_E_GENERAL; local 178 rc = mm_camera_request_buf(my_obj, buf); 181 return rc; 187 int32_t rc = -MM_CAMERA_E_GENERAL local 205 int32_t rc = -MM_CAMERA_E_GENERAL; local 222 int32_t rc = -MM_CAMERA_E_GENERAL; local 314 int32_t rc = -MM_CAMERA_E_GENERAL; local 332 int32_t rc = MM_CAMERA_OK; local 419 int32_t rc = -MM_CAMERA_E_GENERAL; local 450 int32_t rc = -MM_CAMERA_E_GENERAL; local 468 int32_t rc = -MM_CAMERA_E_GENERAL; local 515 int rc = -1; local 538 int rc = -1; local 558 int rc = -1; local 614 int i = 0, rc = MM_CAMERA_OK; local 742 uint8_t rc = 0; local 754 uint8_t rc = 0; local 769 int32_t rc = -1; local 783 int32_t rc = -1; local 794 int32_t rc = -1; local 805 int32_t rc = -1; local 816 int32_t rc = -1; local 825 int32_t rc = -1; local 836 uint8_t rc = 0; local 847 int32_t rc = -1; local 857 int32_t rc = -1; local 883 int32_t rc = -1; local 902 int32_t rc = -1; local 912 int32_t rc = -1; local 923 uint8_t rc = 0; local 936 int32_t rc = -1; local 952 int32_t rc = -1; local 964 int32_t rc = -1; local 975 uint8_t rc = 0; local 986 int32_t rc = -1; local 997 int32_t rc = -1; local 1007 int32_t rc = -1; local 1017 int32_t rc = -1; local [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
pager.c | 1031 int rc = sqlite3OsRead(fd, ac, sizeof(ac), offset); local 1064 int rc = SQLITE_OK; local 1091 int rc = SQLITE_OK; local 1214 int rc; \/* Return code *\/ local 1300 int rc = SQLITE_OK; \/* Return code *\/ local 1349 int rc = SQLITE_OK; \/* Return code *\/ local 1473 int rc; \/* Return code *\/ local 1592 int rc; \/* Return code *\/ local 1705 int rc = SQLITE_OK; \/* Result code *\/ local 1751 int rc; \/* Error code returned by pagerUnlockDb() *\/ local 1896 int rc = SQLITE_OK; \/* Error code from journal finalization operation *\/ local 2113 int rc; local 2373 int rc; \/* Return code *\/ local 2482 int rc = SQLITE_OK; local 2610 int rc; \/* Result code of a subroutine *\/ local 2808 int rc = SQLITE_OK; \/* Return code *\/ local 2900 int rc = SQLITE_OK; local 2934 int rc; \/* Return Code *\/ local 2972 int rc; \/* Return code *\/ local 3028 int rc; \/* Return code *\/ local 3082 int rc = sqlite3OsFileSize(pPager->fd, &n); local 3125 int rc = SQLITE_OK; local 3195 int rc = SQLITE_OK; \/* Return code *\/ local 3405 int rc; \/* Return code *\/ local 3479 int rc = SQLITE_OK; local 3595 int rc = SQLITE_OK; local 3644 int rc; \/* Return code *\/ local 3725 int rc = SQLITE_OK; local 3852 int rc; \/* Return code *\/ local 3995 int rc = SQLITE_OK; \/* Return code *\/ local 4083 int rc = SQLITE_OK; local 4108 int rc = SQLITE_OK; local 4166 int rc = SQLITE_OK; local 4301 int rc = SQLITE_OK; \/* Return code *\/ local 4585 int rc = SQLITE_OK; \/* Return code *\/ local 4701 int rc = SQLITE_OK; \/* Return code *\/ local 4992 int rc; local 5170 int rc = SQLITE_OK; \/* Return code *\/ local 5271 int rc = SQLITE_OK; local 5346 int rc = SQLITE_OK; local 5489 int rc = SQLITE_OK; local 5637 int rc = SQLITE_OK; local 5714 int rc = SQLITE_OK; local 5737 int rc = SQLITE_OK; local 5780 int rc = SQLITE_OK; \/* Return code *\/ local 5980 int rc = SQLITE_OK; \/* Return code *\/ local 6045 int rc = SQLITE_OK; \/* Return code *\/ local 6159 int rc = SQLITE_OK; \/* Return code *\/ local 6238 int rc = pPager->errCode; \/* Return code *\/ local 6374 int rc; \/* Return code *\/ local 6507 int i, pageSize, loadPages, rc; local 6577 int rc; local 6753 int rc = SQLITE_OK; local 6831 int rc = SQLITE_OK; local 6860 int rc; \/* Return code *\/ local 6880 int rc = SQLITE_OK; local 6926 int rc = SQLITE_OK; \/* Return code *\/ local 6962 int rc = SQLITE_OK; local [all...] |
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...] |
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...] |
wal.c | 505 int rc = SQLITE_OK; local 526 if( !pWal->apWiData[iPage] ) rc = SQLITE_NOMEM; 528 rc = sqlite3OsShmMap(pWal->pDbFd, iPage, WALINDEX_PGSZ, 535 assert( iPage==0 || *ppPage || rc!=SQLITE_OK ); 536 return rc; 758 int rc; local 760 rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, 1, 763 walLockName(lockIdx), rc ? "failed" : "ok")); 764 VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); 774 int rc; local 826 int rc; \/* Return code *\/ local 954 int rc; \/* Return code *\/ local 1043 int rc; \/* Return Code *\/ local 1239 int rc; \/* Return Code *\/ local 1492 int rc = SQLITE_OK; \/* Return Code *\/ local 1574 int rc; local 1628 int rc; \/* Return code *\/ local 1772 int rc = SQLITE_OK; local 1885 int rc; \/* Return code *\/ local 1999 int rc = SQLITE_OK; \/* Return code *\/ local 2182 int rc; \/* Return code *\/ local 2271 int rc; \/* Error code *\/ local 2353 int rc; local 2410 int rc = SQLITE_OK; local 2465 int rc = SQLITE_OK; local 2502 int rc = SQLITE_OK; local 2565 int rc; \/* Used to catch return codes *\/ local 2743 int rc; \/* Return code *\/ local 2856 int rc; local [all...] |
/external/valgrind/main/gdbserver_tests/ |
sleepers.c | 47 int rc; local 48 rc = pthread_mutex_lock(&ready_mutex); 49 if (rc != 0) 50 fprintf(stderr, "signal_ready lock error %d_n", rc); 52 rc = pthread_cond_signal(&ready); 53 if (rc != 0) 54 fprintf(stderr, "signal_ready signal error %d_n", rc); 55 rc = pthread_mutex_unlock(&ready_mutex); 56 if (rc != 0) 57 fprintf(stderr, "signal_ready unlock error %d_n", rc); 99 int rc; 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) {
|
/art/runtime/base/unix_file/ |
fd_file.cc | 72 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); local 73 return (rc == -1) ? -errno : rc; 77 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); local 78 return (rc == -1) ? -errno : rc; 82 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); local 83 return (rc == -1) ? -errno : rc; 88 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)) local 93 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); 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/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...] |
/external/liblzf/ |
lzf.c | 99 usage (int rc) 112 exit (rc); 118 ssize_t rc = 0, offset = 0; local 121 while (len && (rc = read (fd, &p[offset], len)) > 0) 123 offset += rc; 124 len -= rc; 129 if (rc < 0) 130 return rc; 139 ssize_t rc; local 145 rc = write (fd, b, l) 226 ssize_t rc, cs, us, bytes, over = 0; local 372 int rc; local 453 int rc = 0; local [all...] |
/external/srec/srec/Recognizer/src/ |
RecognizerResultImpl.c | 95 ESR_ReturnCode rc; local 97 CHKLOG(rc, ArrayListGetSize(impl->results, count)); 100 return rc; 107 ESR_ReturnCode rc; local 112 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); 117 CHKLOG(rc, results->get(results, 0, (void **)&result)); 118 CHKLOG(rc, result->getKeyCount(result , count)); 121 return rc; 130 ESR_ReturnCode rc; local 133 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)) 156 ESR_ReturnCode rc; local 228 ESR_ReturnCode rc; local [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 154 int rc; local 162 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); 164 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 268 rc = -1; 290 rc = -1; 311 CDBG("%s: end (rc = %d)\n", __func__, rc) 393 int rc = -1; local 444 int rc = -1; local 470 int rc = -1; local 500 int32_t rc = 0; local 534 int32_t rc = -1; local 564 int32_t rc = -1; local 589 int32_t rc = -1; local 610 int32_t rc = -1; local 633 int32_t rc = -1; local 654 int32_t rc = -1; local 678 int32_t rc = -1; local 755 int32_t rc = -1; local 796 int32_t rc = -1; local 868 int32_t rc = -1; local 907 int32_t rc = -1; local 946 int32_t rc = -1; local 981 int32_t rc = 0; local 1018 int32_t rc = -1; local 1053 int32_t rc = -1; local 1088 int32_t rc = -1; local 1125 int32_t rc = -1; local 1167 int32_t rc = -1; local 1216 int32_t rc = -1; local 1264 int32_t rc = -1; local 1323 int32_t rc = -1; local 1381 int32_t rc = -1; local 1422 int32_t rc = 0; local 1503 int32_t rc = -1; local 1542 int32_t rc = 0; local 1576 int32_t rc = 0; local 1605 int rc = 0; local 1639 int rc = 0; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 155 int rc; local 163 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); 165 if (rc >= 0 && ev.id == MSM_CAMERA_MSM_NOTIFY) { 205 int32_t rc = 0; local 220 rc = -1; 223 return rc; 241 int32_t rc = 0; local 269 rc = -1; 291 rc = -1; 312 CDBG("%s: end (rc = %d)\n", __func__, rc) 394 int rc = -1; local 445 int rc = -1; local 471 int rc = -1; local 501 int32_t rc = 0; local 535 int32_t rc = -1; local 565 int32_t rc = -1; local 590 int32_t rc = -1; local 611 int32_t rc = -1; local 634 int32_t rc = -1; local 655 int32_t rc = -1; local 679 int32_t rc = -1; local 756 int32_t rc = -1; local 797 int32_t rc = -1; local 869 int32_t rc = -1; local 908 int32_t rc = -1; local 947 int32_t rc = -1; local 982 int32_t rc = 0; local 1019 int32_t rc = -1; local 1054 int32_t rc = -1; local 1089 int32_t rc = -1; local 1126 int32_t rc = -1; local 1168 int32_t rc = -1; local 1217 int32_t rc = -1; local 1265 int32_t rc = -1; local 1324 int32_t rc = -1; local 1382 int32_t rc = -1; local 1423 int32_t rc = 0; local 1504 int32_t rc = -1; local 1543 int32_t rc = 0; local 1577 int32_t rc = 0; local 1606 int rc = 0; local 1640 int rc = 0; local [all...] |
/external/srec/srec/Semproc/src/ |
SymbolTable.c | 29 ESR_ReturnCode rc; local 43 CHKLOG(rc, HashMapCreate(&(*ptr)->hashmap)); 50 return rc; 55 ESR_ReturnCode rc; local 69 CHKLOG(rc, HashMapDestroy(self->hashmap)); 76 return rc; 83 ESR_ReturnCode rc; local 92 rc = HashMapGet(self->hashmap, key, (void**) & buf); 93 if (rc == ESR_NO_MATCH_ERROR) 95 CHKLOG(rc, ST_getSymbolSlot(self, &symbol)) 151 ESR_ReturnCode rc; local 198 ESR_ReturnCode rc; local 216 ESR_ReturnCode rc; local 238 ESR_ReturnCode rc; local [all...] |