/external/oprofile/module/ |
compat.h | 49 #ifndef likely 51 #define likely(a) __builtin_expect((a), 1) macro 53 #define likely(a) (a) macro
|
/external/elfutils/libelf/ |
elf_flagdata.c | 48 if (likely (cmd == ELF_C_SET)) 50 else if (likely (cmd == ELF_C_CLR))
|
elf_flagelf.c | 45 if (likely (cmd == ELF_C_SET)) 48 else if (likely (cmd == ELF_C_CLR))
|
elf_flagphdr.c | 45 if (likely (cmd == ELF_C_SET)) 47 else if (likely (cmd == ELF_C_CLR))
|
elf_flagscn.c | 45 if (likely (cmd == ELF_C_SET)) 47 else if (likely (cmd == ELF_C_CLR))
|
elf_flagshdr.c | 45 if (likely (cmd == ELF_C_SET)) 47 else if (likely (cmd == ELF_C_CLR))
|
elf_version.c | 39 if (likely (version < EV_NUM))
|
elf_flagehdr.c | 45 if (likely (cmd == ELF_C_SET))
|
gelf_getsymshndx.c | 47 || (likely (shndxdata_scn != NULL) 58 if (likely (shndxdata_scn != NULL))
|
/external/elfutils/libasm/ |
asm_abort.c | 34 if (likely (! ctx->textp))
|
asm_newscn_ingrp.c | 34 if (likely (result != NULL)) 53 if (likely (! ctx->textp))
|
asm_addsleb128.c | 73 if (likely (asmscn->type != SHT_NOBITS))
|
asm_adduleb128.c | 69 if (likely (asmscn->type != SHT_NOBITS))
|
/bionic/libc/kernel/arch-x86/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/development/tools/yuv420sp2rgb/ |
debug.h | 8 #define likely(expr) __builtin_expect (expr, 1) macro 75 if(likely(!quiet_flag)) \
|
/external/e2fsprogs/e2fsck/ |
crc32defs.h | 59 #define likely(x) __builtin_expect(!!(x), 1) macro 62 #define likely(x) (x) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/prebuilt/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/prebuilt/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/external/elfutils/libdw/ |
dwarf_getsrcfiles.c | 47 if (likely (res == 0))
|
/bionic/linker/ |
dlfcn.c | 42 #define likely(expr) __builtin_expect (expr, 1) macro 108 if(likely(sym != 0)) { 111 if(likely((bind == STB_GLOBAL) && (sym->st_shndx != 0))) {
|
/bionic/libc/kernel/arch-sh/asm/ |
uaccess.h | 38 #define __get_user_check(x,ptr,size) ({ long __gu_err = -EFAULT; unsigned long __gu_val = 0; const __typeof__(*(ptr)) *__gu_addr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_addr, (size)))) __get_user_size(__gu_val, __gu_addr, (size), __gu_err); (x) = (__typeof__(*(ptr)))__gu_val; __gu_err; }) 42 #define __put_user_check(x,ptr,size) ({ long __pu_err = -EFAULT; __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = x; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) __put_user_size(__pu_val, __pu_addr, (size), __pu_err); __pu_err; })
|