Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 36) sorted by relevance

12

/development/ndk/platforms/android-3/arch-arm/include/asm/
Dlocks.h17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " … argument
19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n… argument
21 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" "1: ldrex lr, [%0… argument
26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr,… argument
28 #define __up_op_write(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_write\n" "1: l… argument
30 #define __down_op_read(ptr,fail) __down_op(ptr, fail) argument
32 #define __up_op_read(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_read\n" "1: ldr… argument
36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr … argument
38 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n… argument
40 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" " mrs ip, cpsr\n"… argument
[all …]
Dunaligned.h25 #define __get_unaligned_le(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switc… argument
27 #define __get_unaligned_be(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switc… argument
29 #define __put_unaligned_le(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); … argument
30 #define __put_unaligned_be(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); … argument
Duaccess.h42 #define __get_user(x,ptr) ({ long __gu_err = 0; __get_user_err((x),(ptr),__gu_err); __gu_err… argument
43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) argument
44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigne… argument
52 #define __put_user(x,ptr) ({ long __pu_err = 0; __put_user_err((x),(ptr),__pu_err); __pu_err… argument
53 #define __put_user_error(x,ptr,err) ({ __put_user_err((x),(ptr),err); (void) 0; }) argument
54 #define __put_user_err(x,ptr,err) do { unsigned long __pu_addr = (unsigned long)(ptr); __typeo… argument
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dcmpxchg_32.h22 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) argument
29 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : … argument
30 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(val… argument
31 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __r… argument
32 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3))… argument
34 #define cmpxchg64(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64((ptr),(unsigned long long)(o), (unsig… argument
35 #define cmpxchg64_local(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64_local((ptr),(unsigned long long)… argument
Duaccess_32.h47 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),… argument
49 #define get_user(x,ptr) ({ int __ret_gu; unsigned long __val_gu; __chk_user_ptr(ptr); switch… argument
50 #define __put_user_1(x, ptr) __asm__ __volatile__("call __put_user_1":"=a" (__ret_pu):"0" ((typeof(… argument
51 #define __put_user_2(x, ptr) __asm__ __volatile__("call __put_user_2":"=a" (__ret_pu):"0" ((typeof(… argument
52 #define __put_user_4(x, ptr) __asm__ __volatile__("call __put_user_4":"=a" (__ret_pu):"0" ((typeof(… argument
54 #define __put_user_8(x, ptr) __asm__ __volatile__("call __put_user_8":"=a" (__ret_pu):"A" ((typeof(… argument
55 #define __put_user_X(x, ptr) __asm__ __volatile__("call __put_user_X":"=a" (__ret_pu):"c" (ptr)) argument
56 #define put_user(x,ptr) ({ int __ret_pu; __typeof__(*(ptr)) __pus_tmp = x; __ret_pu=0; if(… argument
57 #define __get_user(x,ptr) __get_user_nocheck((x),(ptr),sizeof(*(ptr))) argument
59 #define __put_user(x,ptr) __put_user_nocheck((__typeof__(*(ptr)))(x),(ptr),sizeof(*(ptr))) argument
[all …]
Dunaligned.h21 #define get_unaligned(ptr) (*(ptr)) argument
22 #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) argument
/development/ndk/platforms/android-3/include/sys/
Datomics.h50 __atomic_cmpxchg(int old, int _new, volatile int *ptr) in __atomic_cmpxchg()
57 __atomic_swap(int _new, volatile int *ptr) in __atomic_swap()
67 __atomic_dec(volatile int *ptr) in __atomic_dec()
73 __atomic_inc(volatile int *ptr) in __atomic_inc()
Depoll.h53 void *ptr; member
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dcmpxchg.h25 #define __cmpxchg(ptr, old, new, barrier) ({ __typeof__(ptr) __ptr = (ptr); __typeof__(*(ptr))… argument
26 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) argument
27 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, new, ) argument
29 #define cmpxchg64(ptr, o, n) ({ BUILD_BUG_ON(sizeof(*(ptr)) != 8); cmpxchg((ptr), (o), (n)); … argument
31 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
Duaccess.h49 #define put_user(x,ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) argument
50 #define get_user(x,ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) argument
51 #define __put_user(x,ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
52 #define __get_user(x,ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
56 #define __GET_USER_DW(val, ptr) __get_user_asm_ll32(val, ptr) argument
57 #define __get_user_common(val, size, ptr) do { switch (size) { case 1: __get_user_asm(val, "lb… argument
59 #define __get_user_nocheck(x, ptr, size) ({ long __gu_err; __get_user_common((x), size, ptr)… argument
60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __… argument
64 #define __PUT_USER_DW(ptr) __put_user_asm_ll32(ptr) argument
65 #define __put_user_nocheck(x, ptr, size) ({ __typeof__(*(ptr)) __pu_val; long __pu_err = 0; … argument
[all …]
Dsystem.h37 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) argument
/development/tutorials/MoarRam/jni/
Dbar.c35 char **ptr = malloc(2*1024*1024); in Java_com_android_benchmark_moarram_MainActivity_add2MByteBlocksNative() local
53 char **ptr = (char **) gPtr2; in Java_com_android_benchmark_moarram_MainActivity_free2MByteBlocksNative() local
Dfoo.c35 char **ptr = malloc(32); in Java_com_android_benchmark_moarram_MainActivity_add32ByteBlocksNative() local
53 char **ptr = (char **) gPtr; in Java_com_android_benchmark_moarram_MainActivity_free32ByteBlocksNative() local
Dbaz.c40 char **ptr; in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative() local
63 char **ptr; in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative() local
Ddf.c32 char *ptr = (char *) malloc(4); in Java_com_android_benchmark_moarram_MainActivity_forceDoubleFreeNative() local
/development/tools/yuv420sp2rgb/
Ddebug.h59 static inline void *REALLOC(void *ptr, unsigned int size) { in REALLOC()
65 static inline void FREE(void *ptr) { in FREE()
69 static inline void FREEIF(void *ptr) { in FREEIF()
/development/ndk/platforms/android-3/include/linux/
Dbinder.h81 void *ptr; member
98 } ptr; member
104 void *ptr; member
115 void *ptr; member
Dcompiler-gcc.h14 #define RELOC_HIDE(ptr, off) ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"(ptr)); (… argument
Dpercpu.h27 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); }) argument
Dhighmem.h28 #define kmap_atomic_to_page(ptr) virt_to_page(ptr) argument
/development/ndk/platforms/android-21/include/linux/
Dbinder.h99 binder_uintptr_t ptr; member
115 } ptr; member
121 binder_uintptr_t ptr; member
137 binder_uintptr_t ptr; member
/development/ndk/platforms/android-21/include/sys/
Depoll.h61 void* ptr; member
/development/perftests/panorama/feature_mos/src/mosaic/
DImageUtils.h142 ImageType *ptr; member
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
Dipt_hashlimit.h41 void *ptr; member
/development/ndk/platforms/android-21/include/media/
DNdkMediaDrm.h43 const uint8_t *ptr; member

12