HomeSort by relevance Sort by last modified time
    Searched refs:CC_UNLIKELY (Results 1 - 25 of 27) sorted by null

1 2

  /system/core/include/cutils/
compiler.h 26 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false ))
29 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
  /frameworks/av/services/audioflinger/
AudioBufferProviderSource.cpp 43 if (CC_UNLIKELY(!mNegotiated)) {
51 if (CC_UNLIKELY(!mNegotiated)) {
54 if (CC_UNLIKELY(mBuffer.raw == NULL)) {
64 if (CC_UNLIKELY(count > available)) {
70 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) {
84 if (CC_UNLIKELY(!mNegotiated)) {
87 if (CC_UNLIKELY(block == 0)) {
93 if (CC_UNLIKELY(count == 0)) {
100 if (CC_UNLIKELY(mBuffer.raw == NULL)) {
116 if (CC_UNLIKELY(count > available))
    [all...]
PipeReader.cpp 45 if (CC_UNLIKELY(!mNegotiated)) {
51 if (CC_UNLIKELY(avail > mPipe.mMaxFrames)) {
65 if (CC_UNLIKELY(avail <= 0)) {
81 if (CC_UNLIKELY(front + red == mPipe.mMaxFrames)) {
82 if (CC_UNLIKELY((count -= red) > front)) {
MonoPipeReader.cpp 38 if (CC_UNLIKELY(!mNegotiated)) {
50 if (CC_UNLIKELY(red <= 0)) {
63 if (CC_UNLIKELY(front + part1 == mPipe->mMaxFrames)) {
Pipe.cpp 46 if (CC_UNLIKELY(!mNegotiated)) {
56 if (CC_UNLIKELY(rear + written == mMaxFrames)) {
57 if (CC_UNLIKELY((count -= written) > rear)) {
MonoPipe.cpp 50 if (CC_UNLIKELY(!mNegotiated)) {
61 if (CC_UNLIKELY(!mNegotiated)) {
79 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) {
AudioStreamInSource.cpp 70 if (CC_UNLIKELY(mFormat == Format_Invalid)) {
AudioMixer.cpp 758 if (CC_UNLIKELY(t->volumeInc[0]|t->volumeInc[1]|t->auxInc)) {
764 if (CC_UNLIKELY(t->volumeInc[0]|t->volumeInc[1])) {
795 if (CC_UNLIKELY(aux != NULL)) {
830 if (CC_UNLIKELY(aux != NULL)) {
857 if (CC_UNLIKELY(aux != NULL)) {
861 if (CC_UNLIKELY(t->volumeInc[0]|t->volumeInc[1]|t->auxInc)) {
    [all...]
  /frameworks/av/media/libeffects/testlibs/
AudioPeakingFilter.cpp 67 if (CC_UNLIKELY(millihertz > mNiquistFreq / 2)) {
108 if (CC_UNLIKELY(halfBW >= (16 << 15))) {
112 if (CC_UNLIKELY(high > mNiquistFreq)) {
AudioCommon.h 80 if (CC_UNLIKELY(sample >= (0x7FFF << 9))) {
82 } else if (CC_UNLIKELY(sample <= -(0x8000 << 9))) {
AudioCoefInterpolator.cpp 47 if (CC_UNLIKELY(intCoord[dim] < 0)) {
49 } else if (CC_UNLIKELY(intCoord[dim] >= (int)mInDims[dim] - 1)) {
AudioBiquadFilter.cpp 56 if (CC_UNLIKELY(immediate)) {
71 if (CC_UNLIKELY(immediate)) {
80 if (CC_UNLIKELY(immediate)) {
143 if (CC_UNLIKELY(in != out)) {
AudioShelvingFilter.cpp 72 if (CC_UNLIKELY(millihertz > mNiquistFreq / 2)) {
  /frameworks/native/include/utils/
Trace.h 95 if (CC_UNLIKELY(isTagEnabled(tag))) {
103 if (CC_UNLIKELY(isTagEnabled(tag))) {
111 if (CC_UNLIKELY(isTagEnabled(tag))) {
  /frameworks/rs/driver/
rsdRuntimeMath.cpp 311 } while (CC_UNLIKELY(status != 0));
328 } while (CC_UNLIKELY(status != 0));
338 } while (CC_UNLIKELY(status != 0));
348 } while (CC_UNLIKELY(status != 0));
358 } while (CC_UNLIKELY(status != 0));
368 } while (CC_UNLIKELY(status != 0));
  /frameworks/base/libs/hwui/
Snapshot.cpp 170 if (CC_UNLIKELY(clipRegion)) {
182 if (CC_UNLIKELY(clipRegion)) {
OpenGLRenderer.cpp     [all...]
  /frameworks/native/opengl/libs/EGL/
egl_display.h 193 if (CC_UNLIKELY(!mDpy->enter())) {
egl_display.cpp 394 if (CC_UNLIKELY(mHibernating)) {
420 if (mWakeCount == 0 && CC_UNLIKELY(mAttemptHibernation)) {
  /frameworks/av/media/libmedia/
AudioRecord.cpp 518 if (CC_UNLIKELY(!active)) {
522 if (CC_UNLIKELY(!waitCount)) {
539 if (CC_UNLIKELY(result != NO_ERROR)) {
AudioTrack.cpp 962 if (CC_UNLIKELY(!active)) {
967 if (CC_UNLIKELY(!waitCount)) {
985 if (CC_UNLIKELY(result != NO_ERROR)) {
    [all...]
  /frameworks/native/services/surfaceflinger/
LayerBase.cpp 255 if (CC_UNLIKELY(transformed)) {
379 if (CC_UNLIKELY(s.alpha < 0xFF)) {
SurfaceFlinger.cpp 418 if (CC_UNLIKELY(transactionFlags)) {
439 if (CC_UNLIKELY(mHwWorkListDirty)) {
830 if (CC_UNLIKELY(mDebugRegion)) {
    [all...]
Transform.cpp 231 if (CC_UNLIKELY(transformed())) {
Layer.cpp 320 if (CC_UNLIKELY(mActiveBuffer == 0)) {

Completed in 347 milliseconds

1 2