/bionic/libc/bionic/ |
dl_iterate_phdr_static.cpp | 58 int rc = cb(&exe_info, sizeof(exe_info), data); local 59 if (rc != 0) { 60 return rc; 67 return rc;
|
posix_timers.cpp | 82 int rc = __rt_sigtimedwait(sigset.get(), &si, NULL, sizeof(sigset)); local 83 if (rc == -1) { 153 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer); local 157 if (rc != 0) { 159 errno = rc; 184 int rc = __timer_delete(to_kernel_timer_id(id)); local 185 if (rc == -1) { 209 int rc = __timer_settime(timer->kernel_timer_id, flags, ts, ots); local 210 if (rc == 0) { 219 return rc; [all...] |
/bionic/tests/ |
sys_sendfile_test.cpp | 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); local 35 ASSERT_EQ(2, rc); 53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); local 54 ASSERT_EQ(2, rc);
|
/device/moto/shamu/power/ |
power_shamu.c | 70 int rc; local 83 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 86 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 89 if (rc < 0) { 96 int rc; local 109 rc = sendto(client_sockfd, data, strlen(data), 0, 113 rc = sendto(client_sockfd, data, strlen(data), 0, 117 if (rc < 0) { 153 int rc, fd; local 166 rc = sendto(client_sockfd, data, strlen(data), 0 175 int rc; local [all...] |
/external/chromium_org/pdf/ |
control.h | 30 virtual void Invalidate(uint32 control_id, const pp::Rect& rc) = 0; 40 virtual bool Create(uint32 id, const pp::Rect& rc, 43 virtual void Paint(pp::ImageData* image_data, const pp::Rect& rc) {} 55 virtual void SetRect(const pp::Rect& rc, bool invalidate);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
SIRegisterInfo.h | 37 /// getISARegClass - rc is an AMDIL reg class. This function returns the 40 getISARegClass(const TargetRegisterClass * rc) const;
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
user_sctp_timer_iterate.c | 112 int rc; 114 rc = pthread_create(&SCTP_BASE_VAR(timer_thread), NULL, user_sctp_timer_iterate, NULL); 115 if (rc) { 116 SCTP_PRINTF("ERROR; return code from pthread_create() is %d\n", rc);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
SIRegisterInfo.h | 37 /// getISARegClass - rc is an AMDIL reg class. This function returns the 40 getISARegClass(const TargetRegisterClass * rc) const;
|
/external/sepolicy/tools/sepolicy-analyze/ |
sepolicy-analyze.c | 43 int rc; local 53 rc = analyze_components[i].func(argc - 2, argv + 2, &policydb); 54 if (rc && USAGE_ERROR) { 56 return rc;
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
l_mac.h | 126 register Word32 rc = var2; local 133 : "r"(rb), "r"(rc) 137 : "=r"(rc) 141 return (rc);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
CSemaphore.cpp | 69 int rc = 0; local 79 rc = pthread_cond_timedwait(&m_cond, &m_mutex, &tm); 84 if (!rc) 87 return (rc == 0);
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_main_menu.c | 1111 int rc = MM_CAMERA_OK; local 1127 int rc = 0; local 1578 int rc = 0; local 1623 int rc = MM_CAMERA_OK; local 1662 int rc = 0; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkDeviceLooper.cpp | 11 const SkRasterClip& rc, 14 , fBaseRC(rc) 15 , fSubsetRC(rc.isForceConservativeRects()) 23 if (!rc.isEmpty()) { 25 SkASSERT(SkIRect::MakeWH(base.width(), base.height()).contains(rc.getBounds())); 28 if (rc.isEmpty() || !fClippedBounds.intersect(bounds, rc.getBounds())) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_config.py | 61 self.rc = os.path.join(self.tmp_dir, '.pypirc') 85 self.write_file(self.rc, PYPIRC) 97 self.write_file(self.rc, PYPIRC_OLD) 108 rc = cmd._get_rc_file() 109 self.assertTrue(not os.path.exists(rc)) 111 self.assertTrue(os.path.exists(rc)) 112 f = open(rc)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_config.py | 61 self.rc = os.path.join(self.tmp_dir, '.pypirc') 85 self.write_file(self.rc, PYPIRC) 97 self.write_file(self.rc, PYPIRC_OLD) 108 rc = cmd._get_rc_file() 109 self.assertTrue(not os.path.exists(rc)) 111 self.assertTrue(os.path.exists(rc)) 112 f = open(rc)
|
/system/core/libmemtrack/ |
memtrack_test.c | 31 int rc = 0; local 39 rc = 1; 45 rc = 2; 50 rc = 3; 59 if (rc != 0) { 66 rc = 4; 70 return rc;
|
/system/vold/ |
vdc.c | 111 int rc = 0; local 119 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { 123 } else if (!rc) { 129 if ((rc = read(sock, buffer, 4096)) <= 0) { 130 if (rc == 0) 135 if (rc == 0) 143 for (i = 0; i < rc; i++) {
|
/external/chromium_org/third_party/sqlite/src/src/ |
test_onefile.c | 376 int rc = SQLITE_OK; local 390 rc = pReal->pFile->pMethods->xClose(pReal->pFile); 394 return rc; 406 int rc = SQLITE_OK; local 414 rc = SQLITE_IOERR_SHORT_READ; 416 rc = pF->pMethods->xRead(pF, zBuf, iAmt, iOfst+BLOCKSIZE); 422 while( iRem>0 && rc==SQLITE_OK ){ 426 rc = pF->pMethods->xRead(pF, &((char *)zBuf)[iBuf], iRealAmt, iRealOff); 433 return rc; 445 int rc = SQLITE_OK local 506 int rc = SQLITE_OK; local 595 int rc = SQLITE_OK; local 686 int rc = SQLITE_OK; local [all...] |
/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)
|
/frameworks/av/services/audioflinger/ |
AudioWatchdog.cpp | 57 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs); local 58 if (rc != 0) { 102 rc = nanosleep(&req, NULL); 103 if (!((rc == 0) || (rc == -1 && errno == EINTR))) {
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpegdec.c | 72 int32_t rc = 0; local 74 return rc; 203 OMX_ERRORTYPE rc = OMX_ErrorNone; local 222 rc = OMX_GetHandle(&p_session->omx_handle, 227 if (OMX_ErrorNone != rc) { 228 CDBG_ERROR("%s:%d] OMX_GetHandle failed (%d)", __func__, __LINE__, rc); 229 return rc; 231 return rc; 248 OMX_ERRORTYPE rc = OMX_ErrorNone; local 256 rc = mm_jpeg_session_change_state(p_session, OMX_StateIdle, NULL) 356 OMX_ERRORTYPE rc = OMX_ErrorNone; local 677 int32_t rc = 0; local 749 int32_t rc = -1; local 828 int32_t rc = 0; local 890 int32_t rc = 0; local 946 int32_t rc = 0; local 980 int rc = 0; local 1089 int32_t rc = -1; local 1139 int32_t rc = 0; local 1185 int32_t rc = 0; local [all...] |
/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/fio/engines/ |
windowsaio.c | 53 int rc = 0; local 58 rc = 1; 61 if (!rc) { 65 rc = 1; 69 if (!rc) { 74 rc = 1; 78 if (rc) { 89 if (!rc) { 97 rc = 1; 104 if (!rc) 153 int rc = 0; local 222 int rc = 0; local 314 int rc = FIO_Q_COMPLETED; local [all...] |
/external/libvpx/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...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ProxyController.java | 326 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; local 327 if ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId)) { 329 + " rc=" + rc); 333 int id = rc.getPhoneId(); 335 logd("onStartRadioCapabilityResponse: Error response session=" + rc.getSession()); 375 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; local 376 if ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId)) 399 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; local 447 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; local [all...] |