Home
last modified time | relevance | path

Searched refs:__predict_false (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/private/
Dbionic_fortify.h49 if (__predict_false(fd < 0)) { in __check_fd_set()
52 if (__predict_false(fd >= FD_SETSIZE)) { in __check_fd_set()
55 if (__predict_false(set_size < sizeof(fd_set))) { in __check_fd_set()
62 if (__predict_false(pollfd_array_length < fd_count)) { in __check_pollfd_array()
69 if (__predict_false(value > SSIZE_MAX)) { in __check_count()
76 if (__predict_false(claim > actual)) { in __check_buffer_access()
Dbionic_futex.h49 if (__predict_false(result == -1)) { in __futex()
/bionic/libc/bionic/
Dmalloc_common.cpp82 if (__predict_false(_calloc != nullptr)) { in calloc()
90 if (__predict_false(_free != nullptr)) { in free()
99 if (__predict_false(_mallinfo != nullptr)) { in mallinfo()
107 if (__predict_false(_mallopt != nullptr)) { in mallopt()
115 if (__predict_false(_malloc != nullptr)) { in malloc()
123 if (__predict_false(_malloc_usable_size != nullptr)) { in malloc_usable_size()
131 if (__predict_false(_memalign != nullptr)) { in memalign()
139 if (__predict_false(_posix_memalign != nullptr)) { in posix_memalign()
147 if (__predict_false(_realloc != nullptr)) { in realloc()
156 if (__predict_false(_pvalloc != nullptr)) { in pvalloc()
[all …]
D__strcat_chk.cpp44 if (__predict_false(dst_buf_size == 0)) { in __strcat_chk()
Dpthread_key.cpp137 if (__predict_false(!KeyInValidRange(key))) { in pthread_key_delete()
152 if (__predict_false(!KeyInValidRange(key))) { in pthread_getspecific()
170 if (__predict_false(!KeyInValidRange(key))) { in pthread_setspecific()
Dfortify.cpp111 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fread_chk()
122 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fwrite_chk()
272 if (__predict_false(s_copy_len > src_len)) { in __stpncpy_chk2()
288 if (__predict_false(s_len == 0)) { in __strchr_chk()
323 if (__predict_false(ret >= s_len)) { in __strlen_chk()
344 if (__predict_false(dst_buf_size == 0)) { in __strncat_chk()
386 if (__predict_false(s_copy_len > src_len)) { in __strncpy_chk2()
409 if (__predict_false((mode & 0777) != mode)) { in __umask_chk()
Dopen.cpp66 if (__predict_false((flags & O_CREAT) != 0)) { in __open_2()
Dpthread_rwlock.cpp231 if (__predict_false(attr != NULL)) { in pthread_rwlock_init()
278 …if (__predict_false(!__state_owned_by_readers(new_state))) { // Happens when reader count overflow… in __pthread_rwlock_tryrdlock()
Dpthread_mutex.cpp481 if (__predict_false(!atomic_compare_exchange_weak_explicit(&mutex->state, in __pthread_mutex_lock_with_timeout()
/bionic/linker/
Dlinker_memory.cpp64 if (__predict_false(fallback_tid) && __predict_false(gettid() == fallback_tid)) { in get_allocator()
/bionic/libc/upstream-netbsd/lib/libc/stdlib/
Dreallocarr.c79 if (__predict_false((number|size) >= SQRT_SIZE_MAX && in __weak_alias()
86 if (__predict_false(nptr == NULL)) { in __weak_alias()
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_tanhl.c132 if (__predict_false(ix<BIAS-(LDBL_MANT_DIG+1)/2)) { /* |x|<TINY */ in tanhl()
/bionic/libc/include/sys/
Dcdefs.h179 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) macro