OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CC_UNLIKELY
(Results
1 - 25
of
82
) sorted by null
1
2
3
4
/system/core/libcutils/include/cutils/
compiler.h
26
# define
CC_UNLIKELY
( exp ) (__builtin_expect( !!(exp), false ))
29
# define
CC_UNLIKELY
( exp ) (__builtin_expect( !!(exp), 0 ))
trace.h
146
if (
CC_UNLIKELY
(!atomic_load_explicit(&atrace_is_ready, memory_order_acquire))) {
181
if (
CC_UNLIKELY
(atrace_is_tag_enabled(tag))) {
194
if (
CC_UNLIKELY
(atrace_is_tag_enabled(tag))) {
212
if (
CC_UNLIKELY
(atrace_is_tag_enabled(tag))) {
225
if (
CC_UNLIKELY
(atrace_is_tag_enabled(tag))) {
238
if (
CC_UNLIKELY
(atrace_is_tag_enabled(tag))) {
251
if (
CC_UNLIKELY
(atrace_is_tag_enabled(tag))) {
/frameworks/av/media/libnbaio/
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
...]
MonoPipeReader.cpp
38
if (
CC_UNLIKELY
(!mNegotiated)) {
51
if (
CC_UNLIKELY
(actual <= 0)) {
PipeReader.cpp
49
if (
CC_UNLIKELY
(!mNegotiated)) {
81
if (
CC_UNLIKELY
(!mNegotiated)) {
Pipe.cpp
51
if (
CC_UNLIKELY
(!mNegotiated)) {
MonoPipe.cpp
57
if (
CC_UNLIKELY
(!mNegotiated)) {
68
if (
CC_UNLIKELY
(!mNegotiated)) {
/frameworks/base/libs/hwui/
LayerUpdateQueue.cpp
33
if (
CC_UNLIKELY
(entry.renderNode == renderNode)) {
BakedOpState.cpp
41
if (
CC_UNLIKELY
(expandForStroke)) {
44
} else if (
CC_UNLIKELY
(expandForPathTexture)) {
48
if (
CC_UNLIKELY
(expandForStroke &&
61
if (
CC_UNLIKELY
(clipRect.isEmpty() || !clippedBounds.intersects(clipRect))) {
73
if (
CC_UNLIKELY
(snapshot.projectionPathMask)) {
115
if (
CC_UNLIKELY
(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
128
if (
CC_UNLIKELY
(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
136
if (
CC_UNLIKELY
(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
154
if (
CC_UNLIKELY
(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
ShadowTessellator.cpp
42
if (
CC_UNLIKELY
(Properties::overrideAmbientRatio > 0.0f)) {
69
if (
CC_UNLIKELY
(Properties::overrideLightPosY > 0)) {
72
if (
CC_UNLIKELY
(Properties::overrideLightPosZ > 0)) {
91
if (
CC_UNLIKELY
(Properties::overrideLightRadius > 0)) {
RenderProperties.h
158
||
CC_UNLIKELY
(getOutline().willRoundRectClip()) ||
159
CC_UNLIKELY
(getRevealClip().willClip())
162
||
CC_UNLIKELY
(getTransformMatrix() && !getTransformMatrix()->isScaleTranslate()) ||
163
CC_UNLIKELY
(getAnimationMatrix() && !getAnimationMatrix()->isScaleTranslate()) ||
164
CC_UNLIKELY
(getStaticMatrix() && !getStaticMatrix()->isScaleTranslate());
543
return
CC_UNLIKELY
(promotedToLayer()) ? LayerType::RenderLayer : mLayerProperties.mType;
AnimatorManager.cpp
71
if (
CC_UNLIKELY
(!mAnimationHandle)) {
109
if (
CC_UNLIKELY
(!animator->mayRunAsync())) {
RenderNode.cpp
220
if (
CC_UNLIKELY
(layerType == LayerType::RenderLayer)) {
237
if (CC_LIKELY(layerType != LayerType::RenderLayer) ||
CC_UNLIKELY
(!isRenderable()) ||
238
CC_UNLIKELY
(properties().getWidth() == 0) ||
CC_UNLIKELY
(properties().getHeight() == 0) ||
239
CC_UNLIKELY
(!properties().fitsOnLayer())) {
240
if (
CC_UNLIKELY
(hasLayer())) {
292
if (
CC_UNLIKELY
(mPositionListener.get())) {
404
if (
CC_UNLIKELY
(mPositionListener.get())) {
/frameworks/base/libs/hwui/pipeline/skia/
SkiaPipeline.h
65
if (
CC_UNLIKELY
(Properties::overrideLightRadius > 0)) {
72
if (
CC_UNLIKELY
(Properties::overrideAmbientShadowStrength >= 0)) {
79
if (
CC_UNLIKELY
(Properties::overrideSpotShadowStrength >= 0)) {
86
if (
CC_UNLIKELY
(Properties::overrideLightPosY > 0 || Properties::overrideLightPosZ > 0)) {
88
if (
CC_UNLIKELY
(Properties::overrideLightPosY > 0)) {
92
if (
CC_UNLIKELY
(Properties::overrideLightPosZ > 0)) {
SkiaVulkanPipeline.cpp
81
if (
CC_UNLIKELY
(Properties::showDirtyRegions ||
90
if (
CC_UNLIKELY
(Properties::debugLevel != kDebugDisabled)) {
147
return
CC_UNLIKELY
(mVkSurface != nullptr);
/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)) {
/system/core/libutils/
SystemClock.cpp
62
if (
CC_UNLIKELY
(err)) {
/external/skia/src/core/
SkATrace.cpp
18
fIsEnabled = []{ return static_cast<bool>(
CC_UNLIKELY
(ATRACE_ENABLED())); };
/external/skqp/src/core/
SkATrace.cpp
18
fIsEnabled = []{ return static_cast<bool>(
CC_UNLIKELY
(ATRACE_ENABLED())); };
/frameworks/native/libs/binder/include/binder/
SafeInterface.h
215
if (
CC_UNLIKELY
(error != NO_ERROR)) {
262
if (
CC_UNLIKELY
(error != NO_ERROR)) {
270
if (
CC_UNLIKELY
(error != NO_ERROR)) {
280
if (
CC_UNLIKELY
(error != NO_ERROR)) {
288
if (
CC_UNLIKELY
(error != NO_ERROR)) {
312
if (
CC_UNLIKELY
(error != NO_ERROR)) {
321
if (
CC_UNLIKELY
(error != NO_ERROR)) {
403
if (
CC_UNLIKELY
(error != NO_ERROR)) {
426
if (
CC_UNLIKELY
(error != NO_ERROR)) {
455
if (
CC_UNLIKELY
(error != NO_ERROR))
[
all
...]
/frameworks/base/libs/hwui/renderthread/
DrawFrameTask.cpp
111
if (
CC_UNLIKELY
(callback)) {
145
if (
CC_UNLIKELY
(!mContext->hasSurface() || !canDraw)) {
Completed in 1675 milliseconds
1
2
3
4