/prebuilts/ndk/9/platforms/android-15/arch-mips/usr/include/asm/ |
uaccess.h | 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) 60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; }) 66 #define __put_user_check(x, ptr, size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); long __pu_err = -EFAULT; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { switch (size) { case 1: __put_user_asm("sb", __pu_addr); break; case 2: __put_user_asm("sh", __pu_addr); break; case 4: __put_user_asm("sw", __pu_addr); break; case 8: __PUT_USER_DW(__pu_addr); break; default: __put_user_unknown(); break; } } __pu_err; }) 90 #define copy_in_user(to, from, n) ({ void __user *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && access_ok(VERIFY_WRITE, __cu_to, __cu_len))) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })
|
/prebuilts/ndk/9/platforms/android-16/arch-mips/usr/include/asm/ |
uaccess.h | 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) 60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; }) 66 #define __put_user_check(x, ptr, size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); long __pu_err = -EFAULT; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { switch (size) { case 1: __put_user_asm("sb", __pu_addr); break; case 2: __put_user_asm("sh", __pu_addr); break; case 4: __put_user_asm("sw", __pu_addr); break; case 8: __PUT_USER_DW(__pu_addr); break; default: __put_user_unknown(); break; } } __pu_err; }) 90 #define copy_in_user(to, from, n) ({ void __user *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && access_ok(VERIFY_WRITE, __cu_to, __cu_len))) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })
|
/prebuilts/ndk/9/platforms/android-17/arch-mips/usr/include/asm/ |
uaccess.h | 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) 60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; }) 66 #define __put_user_check(x, ptr, size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); long __pu_err = -EFAULT; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { switch (size) { case 1: __put_user_asm("sb", __pu_addr); break; case 2: __put_user_asm("sh", __pu_addr); break; case 4: __put_user_asm("sw", __pu_addr); break; case 8: __PUT_USER_DW(__pu_addr); break; default: __put_user_unknown(); break; } } __pu_err; }) 90 #define copy_in_user(to, from, n) ({ void __user *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && access_ok(VERIFY_WRITE, __cu_to, __cu_len))) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ |
uaccess.h | 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) 60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; }) 66 #define __put_user_check(x, ptr, size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); long __pu_err = -EFAULT; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { switch (size) { case 1: __put_user_asm("sb", __pu_addr); break; case 2: __put_user_asm("sh", __pu_addr); break; case 4: __put_user_asm("sw", __pu_addr); break; case 8: __PUT_USER_DW(__pu_addr); break; default: __put_user_unknown(); break; } } __pu_err; }) 90 #define copy_in_user(to, from, n) ({ void __user *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && access_ok(VERIFY_WRITE, __cu_to, __cu_len))) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/asm/ |
uaccess.h | 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) 60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; }) 66 #define __put_user_check(x, ptr, size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); long __pu_err = -EFAULT; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { switch (size) { case 1: __put_user_asm("sb", __pu_addr); break; case 2: __put_user_asm("sh", __pu_addr); break; case 4: __put_user_asm("sw", __pu_addr); break; case 8: __PUT_USER_DW(__pu_addr); break; default: __put_user_unknown(); break; } } __pu_err; }) 90 #define copy_in_user(to, from, n) ({ void __user *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && access_ok(VERIFY_WRITE, __cu_to, __cu_len))) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ |
uaccess.h | 47 #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) 60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; }) 66 #define __put_user_check(x, ptr, size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); long __pu_err = -EFAULT; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { switch (size) { case 1: __put_user_asm("sb", __pu_addr); break; case 2: __put_user_asm("sh", __pu_addr); break; case 4: __put_user_asm("sw", __pu_addr); break; case 8: __PUT_USER_DW(__pu_addr); break; default: __put_user_unknown(); break; } } __pu_err; }) 90 #define copy_in_user(to, from, n) ({ void __user *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && access_ok(VERIFY_WRITE, __cu_to, __cu_len))) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })
|
/external/mesa3d/src/mesa/main/ |
compiler.h | 181 #ifndef likely 183 # define likely(x) __builtin_expect(!!(x), 1) macro 186 # define likely(x) (x) macro
|
/external/elfutils/src/libdw/ |
dwarf_begin_elf.c | 187 while (z.avail_in > 0 && likely (zrc == Z_OK)) 198 if (likely (zrc == Z_OK)) 228 if (likely (result != NULL)
|
/external/harfbuzz_ng/src/ |
hb-font-private.hh | 256 if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) { 279 if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) 329 if (likely (HB_DIRECTION_IS_HORIZONTAL (direction))) {
|
hb-ot-layout-jstf-table.hh | 211 return TRACE_RETURN (version.sanitize (c) && likely (version.major == 1) &&
|
hb-ot-name-table.hh | 116 likely (format == 0 || format == 1) &&
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
local_32.h | 39 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/external/elfutils/src/libelf/ |
elf_begin.c | 152 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA 163 if (likely (map_address != NULL)) 202 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA 211 if (likely (map_address != NULL)) 339 if (likely (elf->state.elf32.shdr[cnt].sh_offset < maxsize) 340 && likely (elf->state.elf32.shdr[cnt].sh_size 430 if (likely (elf->state.elf64.shdr[cnt].sh_offset < maxsize) 431 && likely (elf->state.elf64.shdr[cnt].sh_size 834 else if (likely (isdigit (ar_hdr->ar_name[1]))) [all...] |
elf_strptr.c | 132 if (likely (strscn->rawdata_base != NULL)) 134 // XXX to the string section? Likely needs to check offset against
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_screen.h | 98 if (likely(res->bo)) {
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_screen.h | 97 if (likely(res->bo)) {
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
local_32.h | 33 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
local_32.h | 33 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
local_32.h | 33 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
local_32.h | 33 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
local_32.h | 33 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
local_32.h | 39 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
local_32.h | 39 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/9/platforms/android-12/arch-x86/usr/include/asm/ |
local_32.h | 39 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|
/prebuilts/ndk/9/platforms/android-13/arch-x86/usr/include/asm/ |
local_32.h | 39 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlikely(c == (u))) break; old = local_cmpxchg((l), c, c + (a)); if (likely(old == c)) break; c = old; } c != (u); })
|