Searched refs:__predict_true (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
H A D | getpid.cpp | 40 if (__predict_true(self->get_cached_pid(&cached_pid))) {
|
H A D | pthread_once.cpp | 52 if (__predict_true((*once_control_ptr & ONCE_COMPLETED) != 0)) {
|
H A D | pthread_mutex.cpp | 267 if (__predict_true(attr == NULL)) { 430 if (__predict_true(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) { 456 if ( __predict_true(mtype == MUTEX_TYPE_BITS_NORMAL) ) { 538 if (__predict_true(mtype == MUTEX_TYPE_BITS_NORMAL)) { 555 if (__predict_true(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) { 590 if ( __predict_true(mtype == MUTEX_TYPE_BITS_NORMAL) ) 614 if (__predict_true(__bionic_cmpxchg(mtype, mvalue, &mutex->value) == 0)) { 630 if (__predict_true(mtype == MUTEX_TYPE_BITS_NORMAL)) { 666 if (__predict_true(__bionic_cmpxchg(mtype, mvalue, &mutex->value) == 0)) {
|
H A D | pthread_rwlock.cpp | 147 if (__predict_true(cur_state >= 0)) { 180 if (__predict_true(cur_state == 0)) {
|
/bionic/libc/include/sys/ |
H A D | cdefs.h | 302 * compiler feature. Use __predict_true() if you expect the expression 310 * document it), and/or __predict_true() `no-error' condition 324 #define __predict_true(exp) __builtin_expect((exp) != 0, 1) macro 327 #define __predict_true(exp) (exp) macro
|
Completed in 2703 milliseconds