/bionic/libc/bionic/ |
raise.cpp | 32 int rc = pthread_kill(pthread_self(), sig); local 33 if (rc != 0) { 34 errno = rc;
|
sched_getaffinity.cpp | 36 int rc = __sched_getaffinity(pid, set_size, set); local 37 if (rc == -1) { 43 memset(reinterpret_cast<char*>(set) + rc, 0, set_size - rc);
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_unit_test.c | 42 int rc = MM_CAMERA_OK; local 49 rc = mm_app_open(cam_app, i, &test_obj); 50 if (rc != MM_CAMERA_OK) { 52 __func__, i, rc); 56 rc = mm_app_close(&test_obj); 57 if (rc != MM_CAMERA_OK) { 59 __func__, i, rc); 63 if (rc == MM_CAMERA_OK) { 68 CDBG("%s:END, rc = %d\n", __func__, rc); 74 int rc = MM_CAMERA_OK; local 122 int rc = MM_CAMERA_OK; local 170 int rc = MM_CAMERA_OK; local 218 int rc = MM_CAMERA_OK; local 293 int rc = MM_CAMERA_OK; local 392 int rc = MM_CAMERA_OK; local 445 int rc = MM_CAMERA_OK; local 498 int rc = MM_CAMERA_OK, rc2 = MM_CAMERA_OK; local 549 int rc = MM_CAMERA_OK, rc2 = MM_CAMERA_OK; local 618 int rc = MM_CAMERA_OK; local [all...] |
mm_qcamera_dual_test.c | 82 int rc = MM_CAMERA_OK; local 91 CDBG_ERROR("%s:mm_app_open() back camera err=%d\n",__func__, rc); 92 rc = -1; 96 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 97 rc = -1; 103 CDBG_ERROR("%s:mm_app_open() front camera err=%d\n",__func__, rc); 104 rc = -1; 109 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 110 rc = -1; 115 if( MM_CAMERA_OK != (rc = startRdi(front_camera))) 172 int rc = MM_CAMERA_OK; local 261 int rc = MM_CAMERA_OK; local 351 int rc = MM_CAMERA_OK; local 453 int rc = MM_CAMERA_OK; local 562 int rc = MM_CAMERA_OK; local 655 int rc = MM_CAMERA_OK; local 748 int rc = MM_CAMERA_OK; local 805 int rc = MM_CAMERA_OK; local 880 int rc = MM_CAMERA_OK; local 913 int rc = MM_CAMERA_OK; local 950 int rc = MM_CAMERA_OK; local 989 int rc = MM_CAMERA_OK; local 1026 int rc = MM_CAMERA_OK; local 1065 int rc = MM_CAMERA_OK; local 1107 int rc = MM_CAMERA_OK; local 1214 int rc = MM_CAMERA_OK; local 1276 int rc = MM_CAMERA_OK; local 1337 int rc = MM_CAMERA_OK; local 1399 int rc = MM_CAMERA_OK; local 1461 int rc = MM_CAMERA_OK; local 1522 int rc = MM_CAMERA_OK; local 1582 int rc = MM_CAMERA_OK; local 1651 int rc = MM_CAMERA_OK; local 1713 int rc = MM_CAMERA_OK; local 1780 int rc = MM_CAMERA_OK; local 1844 int rc = MM_CAMERA_OK; local 1914 int rc = MM_CAMERA_OK; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_unit_test.c | 42 int rc = MM_CAMERA_OK; local 49 rc = mm_app_open(cam_app, i, &test_obj); 50 if (rc != MM_CAMERA_OK) { 52 __func__, i, rc); 56 rc = mm_app_close(&test_obj); 57 if (rc != MM_CAMERA_OK) { 59 __func__, i, rc); 63 if (rc == MM_CAMERA_OK) { 68 CDBG("%s:END, rc = %d\n", __func__, rc); 74 int rc = MM_CAMERA_OK; local 122 int rc = MM_CAMERA_OK; local 170 int rc = MM_CAMERA_OK; local 218 int rc = MM_CAMERA_OK; local 293 int rc = MM_CAMERA_OK; local 392 int rc = MM_CAMERA_OK; local 445 int rc = MM_CAMERA_OK; local 498 int rc = MM_CAMERA_OK, rc2 = MM_CAMERA_OK; local 549 int rc = MM_CAMERA_OK, rc2 = MM_CAMERA_OK; local 618 int rc = MM_CAMERA_OK; local [all...] |
mm_qcamera_dual_test.c | 82 int rc = MM_CAMERA_OK; local 91 CDBG_ERROR("%s:mm_app_open() back camera err=%d\n",__func__, rc); 92 rc = -1; 96 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 97 rc = -1; 103 CDBG_ERROR("%s:mm_app_open() front camera err=%d\n",__func__, rc); 104 rc = -1; 109 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 110 rc = -1; 115 if( MM_CAMERA_OK != (rc = startRdi(front_camera))) 172 int rc = MM_CAMERA_OK; local 261 int rc = MM_CAMERA_OK; local 351 int rc = MM_CAMERA_OK; local 453 int rc = MM_CAMERA_OK; local 562 int rc = MM_CAMERA_OK; local 655 int rc = MM_CAMERA_OK; local 748 int rc = MM_CAMERA_OK; local 805 int rc = MM_CAMERA_OK; local 880 int rc = MM_CAMERA_OK; local 913 int rc = MM_CAMERA_OK; local 950 int rc = MM_CAMERA_OK; local 989 int rc = MM_CAMERA_OK; local 1026 int rc = MM_CAMERA_OK; local 1065 int rc = MM_CAMERA_OK; local 1107 int rc = MM_CAMERA_OK; local 1214 int rc = MM_CAMERA_OK; local 1276 int rc = MM_CAMERA_OK; local 1337 int rc = MM_CAMERA_OK; local 1399 int rc = MM_CAMERA_OK; local 1461 int rc = MM_CAMERA_OK; local 1522 int rc = MM_CAMERA_OK; local 1582 int rc = MM_CAMERA_OK; local 1651 int rc = MM_CAMERA_OK; local 1713 int rc = MM_CAMERA_OK; local 1780 int rc = MM_CAMERA_OK; local 1844 int rc = MM_CAMERA_OK; local 1914 int rc = MM_CAMERA_OK; local [all...] |
/system/core/toolbox/ |
getenforce.c | 9 int rc; local 11 rc = is_selinux_enabled(); 12 if (rc <= 0) { 17 rc = security_getenforce(); 18 if (rc < 0) { 24 if (rc)
|
/external/valgrind/main/drd/tests/ |
bug-235681.c | 20 int rc; local 25 rc = pthread_mutex_lock(&mutex); 26 assert(!rc); 31 rc = pthread_cond_wait(&cond_var, &mutex); 32 assert(!rc); 39 rc = pthread_mutex_unlock(&mutex); 40 assert(!rc); 50 int rc; local 56 rc = pthread_mutex_init(&mutex, NULL); 57 assert(!rc); [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_dual_test.c | 51 int rc = MM_CAMERA_OK; local 60 CDBG_ERROR("%s:mm_app_open() back camera err=%d\n",__func__, rc); 61 rc = -1; 65 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 66 rc = -1; 70 if( MM_CAMERA_OK != (rc = startPreview(back_camera))) { 71 CDBG_ERROR("%s: back camera startPreview() err=%d\n", __func__, rc); 77 CDBG_ERROR("%s:mm_app_open() front camera err=%d\n",__func__, rc); 78 rc = -1; 82 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 120 int rc = MM_CAMERA_OK; local 182 int rc = MM_CAMERA_OK; local 249 int rc = MM_CAMERA_OK; local 312 int rc = MM_CAMERA_OK; local 342 int rc = MM_CAMERA_OK; local 372 int rc = MM_CAMERA_OK; local 414 int rc = MM_CAMERA_OK; local 464 int rc = MM_CAMERA_OK; local 543 int rc = MM_CAMERA_OK; local [all...] |
mm_qcamera_unit_test.c | 50 int rc = MM_CAMERA_OK; local 57 rc = -1; 62 CDBG_ERROR("%s:mm_app_open() err=%d\n",__func__, rc); 63 rc = -1; 67 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 68 rc = -1; 73 if ( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { 74 CDBG_ERROR("%s: startPreview() err=%d\n", __func__, rc); 82 if ( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { 83 CDBG("%s: startPreview() err=%d\n", __func__, rc); 114 int rc = MM_CAMERA_OK; local 176 int rc = MM_CAMERA_OK; local 243 int rc = MM_CAMERA_OK; local 306 int rc = MM_CAMERA_OK; local 336 int rc = MM_CAMERA_OK; local 366 int rc = MM_CAMERA_OK; local 408 int rc = MM_CAMERA_OK; local 458 int rc = MM_CAMERA_OK; local 537 int rc = MM_CAMERA_OK; local [all...] |
/external/srec/srec/AcousticModels/src/ |
AcousticModelsImpl.c | 37 #define CHKINTARRAY(rc, list, operation) rc = operation; \ 38 if (rc!=ESR_SUCCESS) \ 42 PLogError(ESR_rc2str(rc)); \ 43 return rc; \ 56 ESR_ReturnCode rc; local 58 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.dimen", 16)); 59 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.skip", 5)); 60 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.stay", 5)); 61 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.whole_skip", 10)) 81 ESR_ReturnCode rc; local 141 ESR_ReturnCode rc; local 193 ESR_ReturnCode rc; local 217 ESR_ReturnCode rc; local 261 ESR_ReturnCode rc; local 426 ESR_ReturnCode rc; local 483 ESR_ReturnCode rc; local 519 ESR_ReturnCode rc; local 545 ESR_ReturnCode rc; local 591 ESR_ReturnCode rc; local 659 ESR_ReturnCode rc; local [all...] |
/external/srec/portable/src/UNIX/ |
PFileWrapUNIX_OS_Specific.c | 33 ESR_ReturnCode rc; local 39 rc = ESR_SUCCESS; 46 rc = ESR_IDENTIFIER_COLLISION; 50 rc = ESR_NO_MATCH_ERROR; 55 rc = ESR_INVALID_STATE; 59 return ( rc ); 66 ESR_ReturnCode rc; local 72 rc = ESR_SUCCESS; 79 rc = ESR_BUFFER_OVERFLOW; 83 rc = ESR_OUT_OF_MEMORY 106 ESR_ReturnCode rc; local [all...] |
/external/llvm/utils/release/ |
export.sh | 21 rc="" 28 echo " -rc <num> The release candidate number" 34 tag_dir="tags/RELEASE_$release_no_dot/$rc" 36 if [ "$rc" = "final" ]; then 37 rc="" 44 $proj-$release$rc.src 47 tar cfz $proj-$release$rc.src.tar.gz $proj-$release$rc.src 57 -rc | --rc ) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv04_state_frag.c | 65 #define INIT_COMBINER(chan, ctx, rc, i) do { \ 68 (rc)->ctx = ctx; \ 69 (rc)->unit = i; \ 70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \ 71 (rc)->premodulate = c->_NumArgs##chan == 4; \ 72 (rc)->mode = c->Mode##chan; \ 73 (rc)->source = c->Source##chan; \ 74 (rc)->operand = c->Operand##chan; \ 75 (rc)->logscale = c->ScaleShift##chan; \ 76 (rc)->hw = 0; [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_state_frag.c | 65 #define INIT_COMBINER(chan, ctx, rc, i) do { \ 68 (rc)->ctx = ctx; \ 69 (rc)->unit = i; \ 70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \ 71 (rc)->premodulate = c->_NumArgs##chan == 4; \ 72 (rc)->mode = c->Mode##chan; \ 73 (rc)->source = c->Source##chan; \ 74 (rc)->operand = c->Operand##chan; \ 75 (rc)->logscale = c->ScaleShift##chan; \ 76 (rc)->hw = 0; [all...] |
/external/srec/portable/src/ |
PANSIFileImpl.c | 37 ESR_ReturnCode rc; local 42 rc = ESR_OUT_OF_MEMORY; 43 PLogError(ESR_rc2str(rc)); 73 return rc; 78 ESR_ReturnCode rc; local 80 CHK(rc, PFileDestroyImpl(self)); 84 return rc; 89 #define LOCK_MUTEX(rc, impl) \ 91 CHKLOG(rc, PtrdMonitorLock(impl->Interface.lock)); 93 #define LOCK_MUTEX(rc, impl 117 ESR_ReturnCode rc; local 146 ESR_ReturnCode rc; local 162 ESR_ReturnCode rc; local 201 ESR_ReturnCode rc; local 259 ESR_ReturnCode rc; local 274 ESR_ReturnCode rc; local 289 ESR_ReturnCode rc; local 319 ESR_ReturnCode rc; local 335 ESR_ReturnCode rc; local 364 ESR_ReturnCode rc; local 380 ESR_ReturnCode rc; local 390 ESR_ReturnCode rc; local 409 ESR_ReturnCode rc; local 425 ESR_ReturnCode rc; local [all...] |
PFileSystemImpl.c | 60 ESR_ReturnCode rc; local 66 CHKLOG(rc, PStackTraceCreate()); 68 CHKLOG(rc, PHashTableCreate(NULL, MTAG, &PFileSystemPathMap)); 69 CHKLOG(rc, PFileSystemInitializeStreamsImpl()); 73 return rc; 78 ESR_ReturnCode rc; local 88 CHKLOG(rc, PHashTableEntryGetFirst(PFileSystemPathMap, &entry)); 91 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)NULL)); 93 CHKLOG(rc, PHashTableEntryAdvance(&entry)); 94 CHKLOG(rc, PHashTableEntryRemove(oldEntry)) [all...] |
PFileSystem.c | 48 ESR_ReturnCode rc; local 52 rc = ESR_INVALID_ARGUMENT; 53 PLogError(ESR_rc2str(rc)); 58 CHKLOG(rc, lstrreplace(path, L('\\'), L('/'))); 61 return rc; 66 ESR_ReturnCode rc; local 76 rc = ESR_INVALID_ARGUMENT; 77 PLogError(ESR_rc2str(rc)); 81 CHKLOG(rc, PFileSystemCanonicalSlashes(linear)); 82 CHKLOG(rc, ArrayListCreate(&arrayList)) 159 ESR_ReturnCode rc; local 179 ESR_ReturnCode rc; local 252 ESR_ReturnCode rc; local 275 ESR_ReturnCode rc; local 326 ESR_ReturnCode rc; local 357 ESR_ReturnCode rc; local 381 ESR_ReturnCode rc; local 406 ESR_ReturnCode rc; local 446 ESR_ReturnCode rc; local 542 ESR_ReturnCode rc; local [all...] |
PFileImpl.c | 38 ESR_ReturnCode rc; local 55 rc = ESR_OUT_OF_MEMORY; 56 PLogError(ESR_rc2str(rc)); 62 rc = PtrdIsEnabled(&threadingEnabled); 63 if (rc != ESR_SUCCESS) 65 pfprintf(PSTDERR, L("[%s:%d] PtrdIsEnabled failed with %s\n"), __FILE__, __LINE__, ESR_rc2str(rc)); 70 rc = PtrdMonitorCreate(&impl->lock); 71 if (rc != ESR_SUCCESS) 78 return rc; 83 #define LOCK_MUTEX(rc, impl) 111 ESR_ReturnCode rc; local 144 ESR_ReturnCode rc; local 164 ESR_ReturnCode rc; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
rate_control.cpp | 27 void updateRateControl(rateControl *rc, VideoEncData *video); 28 void updateRC_PostProc(rateControl *rc, VideoEncData *video); 31 ************** RC APIs to core encoding modules ******************* 34 PV_STATUS RC_Cleanup(rateControl *rc[],Int numLayers); 35 PV_STATUS RC_VopQPSetting(VideoEncData *video,rateControl *rc[]); 36 PV_STATUS RC_VopUpdateStat(VideoEncData *video,rateControl *rc[]); 54 rateControl **rc = video->rc; local 65 rc[n]->fine_frame_skip = encParams->FineFrameSkip_Enabled; 66 rc[n]->no_frame_skip = encParams->NoFrameSkip_Enabled 192 rateControl *rc = video->rc[currLayer]; local 385 rateControl *rc = video->rc[currLayer]; local 420 rateControl **rc = video->rc; local 534 rateControl *rc = video->rc[video->currLayer]; local 704 rateControl *rc = video->rc[video->currLayer]; local [all...] |
/external/srec/audio/test/AudioHardwareRecord/src/ |
AudioHardwareRecord.c | 47 int rc; local 52 rc = AudioSetInputFormat(SAMPLING_RATE, N_CHANNELS_PER_TUPLE); 53 if (rc != 0) 55 printf("ERROR: AudioSetInputFormat() returns %d\n", rc); 59 rc = AudioOpen(); 60 if (rc < 0) 62 printf("ERROR: AudioOpen() returns %d (device handle/ID)\n", rc); 69 rc = AudioRead(&(recordedSamples[i]), N_FRAMES_PER_BUFFER); 70 if (rc > 0) 71 i += (rc * N_TUPLES_PER_FRAME * N_CHANNELS_PER_TUPLE) [all...] |
/external/srec/srec/Session/src/ |
SR_Session.c | 29 ESR_ReturnCode rc; local 37 CHKLOG(rc, ESR_SessionCreate(filename)); 38 rc = ESR_SessionGetSize_t(L("SREC.Recognizer.osi_log_level"), &logLevel); 39 if (rc == ESR_SUCCESS) 40 CHKLOG(rc, SR_EventLogCreate(&eventLog)); 41 else if (rc == ESR_NO_MATCH_ERROR) 42 CHKLOG(rc, ESR_SessionSetSize_t(L("SREC.Recognizer.osi_log_level"), 0)); 45 PLogError(ESR_rc2str(rc)); 58 CHKLOG(rc, ESR_SessionSetLCHAR(L("parFile.baseDirectory"), baseDirectory)); 66 return rc; 71 ESR_ReturnCode rc; local [all...] |
/external/srec/tools/make_g2g/ |
make_g2g.c | 48 ESR_ReturnCode rc; local 58 CHKLOG(rc, PMemInit()); 59 /* CHKLOG(rc, PFileSystemCreate()); 60 CHKLOG(rc, PANSIFileSystemCreate()); 61 CHKLOG(rc, PANSIFileSystemAddPath(L("/dev/ansi/"), L("/")));*/ 62 CHKLOG(rc, PLogInit(NULL, 3)); 65 /* CHKLOG(rc, PANSIFileSystemSetDefault(ESR_TRUE));*/ 68 CHKLOG(rc, PANSIFileSystemGetcwd(cwd, &len)); 69 CHKLOG(rc, PFileSystemChdir(cwd));*/ 72 rc = ESR_CommandLineGetValue(argc, (const char **)argv, L("base"), base, &len) [all...] |
/external/srec/audio/test/AudioHardwareRecordLoop/src/ |
AudioHardwareRecordLoop.c | 51 int rc; local 59 rc = AudioSetInputFormat(SAMPLING_RATE, N_CHANNELS_PER_TUPLE); 60 if (rc != 0) 62 printf("ERROR: AudioSetInputFormat() returns %d\n", rc); 81 rc = AudioSetInputFormat(SAMPLING_RATE, N_CHANNELS_PER_TUPLE); 82 if (rc != 0) 84 printf("ERROR: AudioSetInputFormat() returns %d\n", rc); 93 rc = AudioOpen(); 94 if (rc < 0) 96 printf("ERROR: AudioOpen() returns %d (device handle/ID)\n", rc); [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
thread_common.tcl | 26 set rc SQLITE_LOCKED 27 while {$rc eq "SQLITE_LOCKED" 28 || $rc eq "SQLITE_BUSY" 29 || $rc eq "SQLITE_SCHEMA"} { 38 while {[set rc [sqlite3_step $::STMT]] eq "SQLITE_ROW"} { 43 set rc [sqlite3_finalize $::STMT] 46 set rc SQLITE_LOCKED 48 set rc SQLITE_ERROR 53 set rc SQLITE_LOCKED 55 if {$rc ne "SQLITE_OK"} [all...] |