Searched refs:__predict_false (Results 1 – 22 of 22) sorted by relevance
66 if (__predict_false(dispatch_table != nullptr)) { in calloc()70 if (__predict_false(result == nullptr)) { in calloc()79 if (__predict_false(dispatch_table != nullptr)) { in free()88 if (__predict_false(dispatch_table != nullptr)) { in mallinfo()96 if (__predict_false(dispatch_table != nullptr)) { in malloc_info()104 if (__predict_false(dispatch_table != nullptr)) { in mallopt()113 if (__predict_false(dispatch_table != nullptr)) { in malloc()118 if (__predict_false(result == nullptr)) { in malloc()128 if (__predict_false(dispatch_table != nullptr)) { in malloc_usable_size()136 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 …]
112 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_calloc()124 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_free()132 if (__predict_false(GuardedAlloc.shouldSample())) { in gwp_asan_malloc()141 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_malloc_usable_size()148 if (__predict_false(GuardedAlloc.pointerIsMine(old_mem))) { in gwp_asan_realloc()160 if (__predict_false(GuardedAlloc.pointerIsMine(reinterpret_cast<void*>(base)))) { in gwp_asan_malloc_iterate()
106 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fread_chk()116 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fwrite_chk()261 if (__predict_false(s_copy_len >= src_len)) { in __stpncpy_chk2()286 if (__predict_false(s_len == 0)) { in __strchr_chk()321 if (__predict_false(ret >= s_len)) { in __strlen_chk()341 if (__predict_false(dst_buf_size == 0)) { in __strncat_chk()372 if (__predict_false(s_copy_len >= src_len)) { in __strncpy_chk2()404 if (__predict_false((mode & 0777) != mode)) { in __umask_chk()473 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()977 if (__predict_false(IsMutexDestroyed(old_state))) { in __pthread_mutex_timedlock()1013 if (__predict_false(IsMutexDestroyed(old_state))) { in pthread_mutex_destroy()
90 if (__predict_false(ptr == nullptr)) { in MaybeUntagAndCheckPointer()
64 if (__predict_false(!local_overflow)) { in at()190 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()
51 if (__predict_false(fd < 0)) { in __check_fd_set()54 if (__predict_false(fd >= FD_SETSIZE)) { in __check_fd_set()57 if (__predict_false(set_size < sizeof(fd_set))) { in __check_fd_set()64 if (__predict_false(pollfd_array_length < fd_count)) { in __check_pollfd_array()71 if (__predict_false(value > SSIZE_MAX)) { in __check_count()78 if (__predict_false(claim > actual)) { in __check_buffer_access()
50 if (__fd != -1 && __predict_false(__android_fdtrack_hook) && \51 !__predict_false(__get_thread()->is_vforked())) { \54 if (!__predict_false(tls.fdtrack_disabled)) { \80 if (__fd != -1 && __predict_false(__android_fdtrack_hook) && \81 !__predict_false(__get_thread()->is_vforked())) { \83 if (!__predict_false(tls.fdtrack_disabled)) { \
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()
85 if (__predict_false(index >= si_strtab_size)) { in get_string()219 if (__predict_false(r_type == R_GENERIC_NONE)) { in process_relocation_impl()
48 if (__predict_false(bytes > 0x10000000000ULL)) {50 if (__predict_false(bytes > 0x80000000ULL)) {
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()