/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
atomicity.h | 45 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 46 { return __sync_fetch_and_add(__mem, __val); } 49 __atomic_add(volatile _Atomic_word* __mem, int __val) 50 { __sync_fetch_and_add(__mem, __val); } 62 __exchange_and_add_single(_Atomic_word* __mem, int __val) 64 _Atomic_word __result = *__mem; 65 *__mem += __val; 70 __atomic_add_single(_Atomic_word* __mem, int __val) 71 { *__mem += __val; } 75 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/ |
atomicity.h | 47 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 48 { return __sync_fetch_and_add(__mem, __val); } 51 __atomic_add(volatile _Atomic_word* __mem, int __val) 52 { __sync_fetch_and_add(__mem, __val); } 64 __exchange_and_add_single(_Atomic_word* __mem, int __val) 66 _Atomic_word __result = *__mem; 67 *__mem += __val; 72 __atomic_add_single(_Atomic_word* __mem, int __val) 73 { *__mem += __val; } 77 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/ |
atomicity.h | 47 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 48 { return __sync_fetch_and_add(__mem, __val); } 51 __atomic_add(volatile _Atomic_word* __mem, int __val) 52 { __sync_fetch_and_add(__mem, __val); } 64 __exchange_and_add_single(_Atomic_word* __mem, int __val) 66 _Atomic_word __result = *__mem; 67 *__mem += __val; 72 __atomic_add_single(_Atomic_word* __mem, int __val) 73 { *__mem += __val; } 77 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
atomicity.h | 45 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 46 { return __sync_fetch_and_add(__mem, __val); } 49 __atomic_add(volatile _Atomic_word* __mem, int __val) 50 { __sync_fetch_and_add(__mem, __val); } 62 __exchange_and_add_single(_Atomic_word* __mem, int __val) 64 _Atomic_word __result = *__mem; 65 *__mem += __val; 70 __atomic_add_single(_Atomic_word* __mem, int __val) 71 { *__mem += __val; } 75 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
atomicity.h | 45 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 46 { return __sync_fetch_and_add(__mem, __val); } 49 __atomic_add(volatile _Atomic_word* __mem, int __val) 50 { __sync_fetch_and_add(__mem, __val); } 62 __exchange_and_add_single(_Atomic_word* __mem, int __val) 64 _Atomic_word __result = *__mem; 65 *__mem += __val; 70 __atomic_add_single(_Atomic_word* __mem, int __val) 71 { *__mem += __val; } 75 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
atomicity.h | 45 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 46 { return __sync_fetch_and_add(__mem, __val); } 49 __atomic_add(volatile _Atomic_word* __mem, int __val) 50 { __sync_fetch_and_add(__mem, __val); } 62 __exchange_and_add_single(_Atomic_word* __mem, int __val) 64 _Atomic_word __result = *__mem; 65 *__mem += __val; 70 __atomic_add_single(_Atomic_word* __mem, int __val) 71 { *__mem += __val; } 75 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
atomicity.h | 45 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 46 { return __sync_fetch_and_add(__mem, __val); } 49 __atomic_add(volatile _Atomic_word* __mem, int __val) 50 { __sync_fetch_and_add(__mem, __val); } 62 __exchange_and_add_single(_Atomic_word* __mem, int __val) 64 _Atomic_word __result = *__mem; 65 *__mem += __val; 70 __atomic_add_single(_Atomic_word* __mem, int __val) 71 { *__mem += __val; } 75 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
atomicity.h | 47 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 48 { return __sync_fetch_and_add(__mem, __val); } 51 __atomic_add(volatile _Atomic_word* __mem, int __val) 52 { __sync_fetch_and_add(__mem, __val); } 64 __exchange_and_add_single(_Atomic_word* __mem, int __val) 66 _Atomic_word __result = *__mem; 67 *__mem += __val; 72 __atomic_add_single(_Atomic_word* __mem, int __val) 73 { *__mem += __val; } 77 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
atomicity.h | 47 __exchange_and_add(volatile _Atomic_word* __mem, int __val) 48 { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); } 51 __atomic_add(volatile _Atomic_word* __mem, int __val) 52 { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); } 64 __exchange_and_add_single(_Atomic_word* __mem, int __val) 66 _Atomic_word __result = *__mem; 67 *__mem += __val; 72 __atomic_add_single(_Atomic_word* __mem, int __val) 73 { *__mem += __val; } 77 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val [all...] |
/bionic/libc/kernel/arch-mips/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); [all...] |
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); [all...] |
/external/kernel-headers/original/asm-mips/ |
io.h | 303 volatile type *__mem; \ 306 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ 308 __val = pfx##ioswab##bwlq(__mem, val); \ 311 *__mem = __val; \ 327 : "0" (__val), "m" (*__mem)); \ 336 volatile type *__mem; \ 339 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ 342 __val = *__mem; \ 355 : "m" (*__mem)); \ 363 return pfx##ioswab##bwlq(__mem, __val); [all...] |
/external/stlport/stlport/stl/ |
_limits.c | 36 # define __declare_numeric_base_member(__type, __mem) \ 38 const __type _Numeric_limits_base<__number>:: __mem 65 # define __declare_integer_limits_member(__type, __mem) \ 67 const __type _Integer_limits<_Int, __imin, __imax, __idigits, __ismod>:: __mem 102 # define __declare_float_limits_member(__type, __mem) \ 113 __mem
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_limits.c | 36 # define __declare_numeric_base_member(__type, __mem) \ 38 const __type _Numeric_limits_base<__number>:: __mem 65 # define __declare_integer_limits_member(__type, __mem) \ 67 const __type _Integer_limits<_Int, __imin, __imax, __idigits, __ismod>:: __mem 102 # define __declare_float_limits_member(__type, __mem) \ 113 __mem
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_limits.c | 36 # define __declare_numeric_base_member(__type, __mem) \ 38 const __type _Numeric_limits_base<__number>:: __mem 65 # define __declare_integer_limits_member(__type, __mem) \ 67 const __type _Integer_limits<_Int, __imin, __imax, __idigits, __ismod>:: __mem 102 # define __declare_float_limits_member(__type, __mem) \ 113 __mem
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_limits.c | 36 # define __declare_numeric_base_member(__type, __mem) \ 38 const __type _Numeric_limits_base<__number>:: __mem 65 # define __declare_integer_limits_member(__type, __mem) \ 67 const __type _Integer_limits<_Int, __imin, __imax, __idigits, __ismod>:: __mem 102 # define __declare_float_limits_member(__type, __mem) \ 113 __mem
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_limits.c | 36 # define __declare_numeric_base_member(__type, __mem) \ 38 const __type _Numeric_limits_base<__number>:: __mem 65 # define __declare_integer_limits_member(__type, __mem) \ 67 const __type _Integer_limits<_Int, __imin, __imax, __idigits, __ismod>:: __mem 102 # define __declare_float_limits_member(__type, __mem) \ 113 __mem
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_limits.c | 36 # define __declare_numeric_base_member(__type, __mem) \ 38 const __type _Numeric_limits_base<__number>:: __mem 65 # define __declare_integer_limits_member(__type, __mem) \ 67 const __type _Integer_limits<_Int, __imin, __imax, __idigits, __ismod>:: __mem 102 # define __declare_float_limits_member(__type, __mem) \ 113 __mem
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
shared_ptr_base.h | 473 _Sp_cd_type* __mem = 0; local 476 __mem = _Alloc_traits::allocate(__a, 1); 477 _Alloc_traits::construct(__a, __mem, __p, std::move(__d)); 478 _M_pi = __mem; 483 if (__mem) 484 _Alloc_traits::deallocate(__a, __mem, 1); 496 _Sp_cd_type* __mem = 0; local 499 __mem = _Alloc_traits::allocate(__a2, 1); 500 _Alloc_traits::construct(__a2, __mem, 502 _M_pi = __mem; 522 _Sp_cp_type* __mem = _Alloc_traits::allocate(__a2, 1); local [all...] |