Searched refs:__predict_false (Results 1 – 22 of 22) sorted by relevance
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()117 if (__predict_false(dispatch_table != nullptr)) { in mallopt()139 if (__predict_false(dispatch_table != nullptr)) { in malloc()144 if (__predict_false(result == nullptr)) { in malloc()154 if (__predict_false(dispatch_table != nullptr)) { in malloc_usable_size()162 if (__predict_false(dispatch_table != nullptr)) { in memalign()[all …]
99 if (__predict_false(__builtin_add_overflow( in CheckLimit()108 if (__predict_false(mem == nullptr)) { in IncrementLimit()123 if (__predict_false(dispatch_table != nullptr)) { in LimitCalloc()132 if (__predict_false(dispatch_table != nullptr)) { in LimitFree()144 if (__predict_false(dispatch_table != nullptr)) { in LimitMalloc()157 if (__predict_false(dispatch_table != nullptr)) { in LimitMemalign()171 if (__predict_false(dispatch_table != nullptr)) { in LimitPosixMemalign()176 if (__predict_false(retval != 0)) { in LimitPosixMemalign()190 if (__predict_false(dispatch_table != nullptr)) { in LimitAlignedAlloc()209 if (__predict_false(dispatch_table != nullptr)) { in LimitRealloc()[all …]
74 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_calloc()86 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_free()94 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_malloc()103 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_malloc_usable_size()114 if (__predict_false(GuardedAlloc.pointerIsMine(old_mem))) { in gwp_asan_realloc()115 if (__predict_false(bytes == 0)) { in gwp_asan_realloc()121 if (__predict_false(new_ptr == nullptr)) return nullptr; in gwp_asan_realloc()133 if (__predict_false(GuardedAlloc.pointerIsMine(reinterpret_cast<void*>(base)))) { in gwp_asan_malloc_iterate()
103 if (__predict_false(__builtin_umull_overflow(size, count, &total))) { in __fread_chk()113 if (__predict_false(__builtin_umull_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()
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()979 if (__predict_false(IsMutexDestroyed(old_state))) { in __pthread_mutex_timedlock()1015 if (__predict_false(IsMutexDestroyed(old_state))) { in pthread_mutex_destroy()
90 if (__predict_false(ptr == nullptr)) { in MaybeUntagAndCheckPointer()
65 if (__predict_false(!local_overflow)) { in at()183 if (__predict_false((type & 0xff) != type)) { in android_fdsan_create_owner_tag()
232 if (__predict_false(attr != nullptr)) { in pthread_rwlock_init()279 …if (__predict_false(!__state_owned_by_readers(new_state))) { // Happens when reader count overflow… in __pthread_rwlock_tryrdlock()
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()
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()
87 if (__predict_false(index >= si_strtab_size)) { in get_string()223 if (__predict_false(r_type == R_GENERIC_NONE)) { in process_relocation_impl()236 if (!IsGeneral && __predict_false(is_tls_reloc(r_type))) { in process_relocation_impl()
192 if (__predict_false(SERIAL_DIRTY(serial))) { in ReadMutablePropertyValue()289 if (__predict_false(!pa)) { in Update()
134 if (__predict_false(ix<BIAS-(LDBL_MANT_DIG+1)/2)) { /* |x|<TINY */ in tanhl()
141 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) macro
118 if (__predict_false(n < 2)) in local_qsort()
157 if (__predict_false(fp->_lb._base != nullptr)) { in free_fgetln_buffer()