Searched refs:__predict_false (Results 1 – 21 of 21) sorted by relevance
51 if (__fd != -1 && __predict_false(__android_fdtrack_hook) && \52 !__predict_false(__get_thread()->is_vforked())) { \55 if (!__predict_false(tls.fdtrack_disabled) && \56 !__predict_false(__android_fdtrack_globally_disabled)) { \82 if (__fd != -1 && __predict_false(__android_fdtrack_hook) && \83 !__predict_false(__get_thread()->is_vforked())) { \85 if (!__predict_false(tls.fdtrack_disabled) && \86 !__predict_false(__android_fdtrack_globally_disabled)) { \
55 if (__predict_false(fd < 0)) { in __check_fd_set()58 if (__predict_false(fd >= FD_SETSIZE)) { in __check_fd_set()61 if (__predict_false(set_size < sizeof(fd_set))) { in __check_fd_set()68 if (__predict_false(pollfd_array_length < fd_count)) { in __check_pollfd_array()75 if (__predict_false(value > SSIZE_MAX)) { in __check_count()82 if (__predict_false(claim > actual)) { in __check_buffer_access()
46 if (__predict_false(result == -1)) { in __futex()
68 if (__predict_false(dispatch_table != nullptr)) { in calloc()72 if (__predict_false(result == nullptr)) { in calloc()81 if (__predict_false(dispatch_table != nullptr)) { in free()90 if (__predict_false(dispatch_table != nullptr)) { in mallinfo()98 if (__predict_false(dispatch_table != nullptr)) { in malloc_info()115 if (__predict_false(dispatch_table != nullptr)) { in mallopt()124 if (__predict_false(dispatch_table != nullptr)) { in malloc()129 if (__predict_false(result == nullptr)) { in malloc()139 if (__predict_false(dispatch_table != nullptr)) { in malloc_usable_size()147 if (__predict_false(dispatch_table != nullptr)) { in memalign()[all …]
98 if (__predict_false(__builtin_add_overflow( in CheckLimit()107 if (__predict_false(mem == nullptr)) { in IncrementLimit()122 if (__predict_false(dispatch_table != nullptr)) { in LimitCalloc()131 if (__predict_false(dispatch_table != nullptr)) { in LimitFree()143 if (__predict_false(dispatch_table != nullptr)) { in LimitMalloc()156 if (__predict_false(dispatch_table != nullptr)) { in LimitMemalign()170 if (__predict_false(dispatch_table != nullptr)) { in LimitPosixMemalign()175 if (__predict_false(retval != 0)) { in LimitPosixMemalign()189 if (__predict_false(dispatch_table != nullptr)) { in LimitAlignedAlloc()208 if (__predict_false(dispatch_table != nullptr)) { in LimitRealloc()[all …]
111 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_calloc()123 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_free()131 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_malloc()140 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_malloc_usable_size()147 if (__predict_false(GuardedAlloc.pointerIsMine(old_mem))) { in gwp_asan_realloc()159 if (__predict_false(GuardedAlloc.pointerIsMine(reinterpret_cast<void*>(base)))) { in gwp_asan_malloc_iterate()
103 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fread_chk()113 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fwrite_chk()258 if (__predict_false(s_copy_len >= src_len)) { in __stpncpy_chk2()283 if (__predict_false(s_len == 0)) { in __strchr_chk()318 if (__predict_false(ret >= s_len)) { in __strlen_chk()338 if (__predict_false(dst_buf_size == 0)) { in __strncat_chk()369 if (__predict_false(s_copy_len >= src_len)) { in __strncpy_chk2()401 if (__predict_false((mode & 0777) != mode)) { in __umask_chk()470 if (__predict_false(dst_buf_size == 0)) { in __STRCAT_CHK()
144 if (__predict_false(!KeyInValidRange(key))) { in pthread_key_delete()160 if (__predict_false(!KeyInValidRange(key))) { in pthread_getspecific()179 if (__predict_false(!KeyInValidRange(key))) { in pthread_setspecific()
90 if (__predict_false(ptr == nullptr)) { in MaybeUntagAndCheckPointer()
770 if (__predict_false(!atomic_compare_exchange_weak_explicit(&mutex->state, in MutexLockWithTimeout()836 if (__predict_false(IsMutexDestroyed(old_state))) { in pthread_mutex_lock()865 if (__predict_false(IsMutexDestroyed(old_state))) { in pthread_mutex_unlock()914 if (__predict_false(IsMutexDestroyed(old_state))) { in pthread_mutex_trylock()977 if (__predict_false(IsMutexDestroyed(old_state))) { in __pthread_mutex_timedlock()1013 if (__predict_false(IsMutexDestroyed(old_state))) { in pthread_mutex_destroy()
64 if (__predict_false(!local_overflow)) { in at()182 if (__predict_false((type & 0xff) != type)) { in android_fdsan_create_owner_tag()
231 if (__predict_false(attr != nullptr)) { in pthread_rwlock_init()278 …if (__predict_false(!__state_owned_by_readers(new_state))) { // Happens when reader count overflow… in __pthread_rwlock_tryrdlock()
79 if (__predict_false((number|size) >= SQRT_SIZE_MAX && in __weak_alias()86 if (__predict_false(nptr == NULL)) { in __weak_alias()
65 if (__predict_false(fallback_tid) && __predict_false(gettid() == fallback_tid)) { in get_allocator()
64 } else if (__predict_false(ELF_ST_BIND(s->st_info) != STB_LOCAL)) { in is_symbol_global_and_defined()
80 if (__predict_false(group_flags & RELOCATION_GROUP_HAS_ADDEND_FLAG)) { in for_all_packed_relocs()
85 if (__predict_false(index >= si_strtab_size)) { in get_string()219 if (__predict_false(r_type == R_GENERIC_NONE)) { in process_relocation_impl()
151 if (__predict_false(SERIAL_DIRTY(serial))) { in ReadMutablePropertyValue()243 if (__predict_false(!pa)) { in Update()
134 if (__predict_false(ix<BIAS-(LDBL_MANT_DIG+1)/2)) { /* |x|<TINY */ in tanhl()
130 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) macro
157 if (__predict_false(fp->_lb._base != nullptr)) { in free_fgetln_buffer()