Searched refs:__predict_false (Results 1 - 24 of 24) sorted by relevance

/bionic/libc/bionic/
H A D__FD_chk.cpp34 if (__predict_false(fd < 0)) {
37 if (__predict_false(fd >= FD_SETSIZE)) {
40 if (__predict_false(set_size < sizeof(fd_set))) {
47 if (__predict_false(fd < 0)) {
50 if (__predict_false(fd >= FD_SETSIZE)) {
53 if (__predict_false(set_size < sizeof(fd_set))) {
60 if (__predict_false(fd < 0)) {
63 if (__predict_false(fd >= FD_SETSIZE)) {
66 if (__predict_false(set_size < sizeof(fd_set))) {
H A D__read_chk.cpp34 if (__predict_false(count > buf_size)) {
38 if (__predict_false(count > SSIZE_MAX)) {
H A D__strchr_chk.cpp35 if (__predict_false(s_len == 0)) {
H A D__strlen_chk.cpp61 if (__predict_false(ret >= s_len)) {
H A D__umask_chk.cpp46 if (__predict_false((mode & 0777) != mode)) {
H A D__stpncpy_chk.cpp48 if (__predict_false(len > dest_len)) {
67 if (__predict_false(n > dest_len)) {
86 if (__predict_false(s_copy_len > src_len)) {
H A D__strncpy_chk.cpp48 if (__predict_false(len > dest_len)) {
67 if (__predict_false(n > dest_len)) {
86 if (__predict_false(s_copy_len > src_len)) {
H A D__memcpy_chk.cpp47 if (__predict_false(copy_amount > dest_len)) {
H A D__memmove_chk.cpp48 if (__predict_false(len > dest_len)) {
H A D__memset_chk.cpp47 if (__predict_false(n > dest_len)) {
H A D__recvfrom_chk.cpp38 if (__predict_false(len > buflen)) {
H A D__stpcpy_chk.cpp49 if (__predict_false(src_len > dest_len)) {
H A D__strcat_chk.cpp54 if (__predict_false(dest_buf_size == 0)) {
H A D__strcpy_chk.cpp49 if (__predict_false(src_len > dest_len)) {
H A D__strlcat_chk.cpp49 if (__predict_false(supplied_size > dest_len_from_compiler)) {
H A D__strlcpy_chk.cpp49 if (__predict_false(supplied_size > dest_len_from_compiler)) {
H A D__strncat_chk.cpp58 if (__predict_false(dest_buf_size == 0)) {
H A D__vsnprintf_chk.cpp49 if (__predict_false(supplied_size > dest_len_from_compiler)) {
H A Dpthread_rwlock.cpp135 if (__predict_false(__get_thread()->tid == rwlock->writer_thread_id)) {
171 if (__predict_false(tid == rwlock->writer_thread_id)) {
262 if (__predict_false(rwlock->pending_readers > 0 || rwlock->pending_writers > 0)) {
272 if (__predict_false(rwlock->pending_readers > 0 || rwlock->pending_writers > 0)) {
H A Dopen.cpp66 if (__predict_false((flags & O_CREAT) != 0)) {
H A Dsystem_properties.cpp595 if (__predict_false(compat_mode)) {
603 if (__predict_false(compat_mode)) {
732 if (__predict_false(compat_mode)) {
H A Dpthread_mutex.cpp497 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) {
509 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) {
/bionic/libc/private/
H A Dbionic_futex.h46 if (__predict_false(result == -1)) {
/bionic/libc/include/sys/
H A Dcdefs.h303 * to evaluate to true, and __predict_false() if you expect the
308 * * Generally, __predict_false() error condition checks (unless
325 #define __predict_false(exp) __builtin_expect((exp) != 0, 0) macro
328 #define __predict_false(exp) (exp) macro

Completed in 1334 milliseconds