Home
last modified time | relevance | path

Searched refs:UNLIKELY (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/
Dutils.h163 if (UNLIKELY(error)) { in CheckLeftSize()
166 if (UNLIKELY(LeftSize() < size)) { in CheckLeftSize()
182 if (UNLIKELY(error)) { in Read()
185 if (UNLIKELY(LeftSize() < sizeof(T))) { in Read()
196 if (UNLIKELY(error)) { in Read()
200 if (UNLIKELY(__builtin_mul_overflow(n, sizeof(T), &size) || LeftSize() < size)) { in Read()
210 if (UNLIKELY(error)) { in ReadString()
Drecord.cpp37 if (UNLIKELY((end) - (p) < (size))) { \
44 if (UNLIKELY(((end) - (p)) / sizeof(uint64_t) < (u64_count))) { \
130 if (UNLIKELY(p < end)) { in ReadFromBinaryFormat()
585 if (UNLIKELY(p < end)) { in Parse()
1720 if (UNLIKELY(!r->Parse(attr, p, end))) { in ReadRecordFromBuffer()
/system/incremental_delivery/incfs/util/
Dmap_ptr.cpp112 if (UNLIKELY(TEMP_FAILURE_RETRY(pread64(fd_, &value, 1U, read_offset)) <= 0)) { in Verify()
120 if (UNLIKELY(!success)) { in Verify()
/system/libbase/include/android-base/
Dmacros.h84 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false )) macro
Dlogging.h209 (UNLIKELY(::android::base::ShouldLog(SEVERITY_LAMBDA(severity), _LOG_TAG_INTERNAL)) || \
267 UNLIKELY(!(_values.lhs.v OP _values.rhs.v)); \
295 while (UNLIKELY((strcmp(s1, s2) == 0) != (sense))) \
/system/libhwbinder/
DBinder.cpp124 if (UNLIKELY(code == HIDL_DEBUG_TRANSACTION)) { in transact()
DIPCThreadState.cpp469 if (UNLIKELY(!mPostCommandTasks.empty())) { in getAndExecuteCommand()
639 if (UNLIKELY(mCallRestriction != ProcessState::CallRestriction::NONE)) { in transact()
/system/core/storaged/
Dstoraged_diskstats.cpp277 if (UNLIKELY(detect(&perf))) { in update()