/sdk/emulator/opengl/tests/EGL_host_wrapper/ |
egl_dispatch.cpp | 30 void *ptr; local 31 ptr = dlsym(libEGL,"eglGetError"); disp->set_eglGetError((eglGetError_t)ptr); 32 ptr = dlsym(libEGL,"eglGetDisplay"); disp->set_eglGetDisplay((eglGetDisplay_t)ptr); 33 ptr = dlsym(libEGL,"eglInitialize"); disp->set_eglInitialize((eglInitialize_t)ptr); 34 ptr = dlsym(libEGL,"eglTerminate"); disp->set_eglTerminate((eglTerminate_t)ptr); 35 ptr = dlsym(libEGL,"eglQueryString"); disp->set_eglQueryString((eglQueryString_t)ptr) [all...] |
/sdk/emulator/opengl/tests/gles_android_wrapper/ |
egl_dispatch.cpp | 24 void *ptr; local 25 ptr = dlsym(gles_android,"eglGetError"); disp->set_eglGetError((eglGetError_t)ptr); 26 ptr = dlsym(gles_android,"eglGetDisplay"); disp->set_eglGetDisplay((eglGetDisplay_t)ptr); 27 ptr = dlsym(gles_android,"eglInitialize"); disp->set_eglInitialize((eglInitialize_t)ptr); 28 ptr = dlsym(gles_android,"eglTerminate"); disp->set_eglTerminate((eglTerminate_t)ptr); 29 ptr = dlsym(gles_android,"eglQueryString"); disp->set_eglQueryString((eglQueryString_t)ptr) [all...] |
gles_dispatch.cpp | 24 void *ptr; local 25 ptr = dlsym(gles_android,"glAlphaFunc"); disp->set_glAlphaFunc((glAlphaFunc_t)ptr); 26 ptr = dlsym(gles_android,"glClearColor"); disp->set_glClearColor((glClearColor_t)ptr); 27 ptr = dlsym(gles_android,"glClearDepthf"); disp->set_glClearDepthf((glClearDepthf_t)ptr); 28 ptr = dlsym(gles_android,"glClipPlanef"); disp->set_glClipPlanef((glClipPlanef_t)ptr); 29 ptr = dlsym(gles_android,"glColor4f"); disp->set_glColor4f((glColor4f_t)ptr) [all...] |
/external/clang/test/Index/Inputs/ |
preamble.h | 2 int *ptr = 0; local 4 ptr = ptr1;
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 24 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : __set_64bit_var(ptr, value) ) 25 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(value), (unsigned int)((value)>>32ULL) ) : __set_64bit(ptr, ll_low(value), ll_high(value)) [all...] |
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 24 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : __set_64bit_var(ptr, value) ) 25 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(value), (unsigned int)((value)>>32ULL) ) : __set_64bit(ptr, ll_low(value), ll_high(value)) [all...] |
/prebuilts/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 24 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : __set_64bit_var(ptr, value) ) 25 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(value), (unsigned int)((value)>>32ULL) ) : __set_64bit(ptr, ll_low(value), ll_high(value)) [all...] |
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 24 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : __set_64bit_var(ptr, value) ) 25 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(value), (unsigned int)((value)>>32ULL) ) : __set_64bit(ptr, ll_low(value), ll_high(value)) [all...] |
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 24 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : __set_64bit_var(ptr, value) ) 25 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(value), (unsigned int)((value)>>32ULL) ) : __set_64bit(ptr, ll_low(value), ll_high(value)) [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
RefPtrCairo.cpp | 31 template<> void refIfNotNull(cairo_t* ptr) 33 if (LIKELY(ptr != 0)) 34 cairo_reference(ptr); 37 template<> void derefIfNotNull(cairo_t* ptr) 39 if (LIKELY(ptr != 0)) 40 cairo_destroy(ptr); 43 template<> void refIfNotNull(cairo_surface_t* ptr) 45 if (LIKELY(ptr != 0)) 46 cairo_surface_reference(ptr); 49 template<> void derefIfNotNull(cairo_surface_t* ptr) [all...] |
/external/clang/test/CodeGen/ |
2007-02-07-AddrLabel.c | 5 void *ptr; local 7 ptr = &&label; 9 goto *ptr;
|
2007-02-16-VoidPtrDiff.c | 3 void foo(void *ptr, int test) { 4 (ptr - ((void *) test + 0x2000));
|
/hardware/ti/omap4xxx/ |
tm.c | 23 char *ptr[6]; local 27 ptr[0] = malloc(10); 28 ptr[1] = calloc(1,20); 29 ptr[2] = malloc(30); 30 ptr[3] = malloc(40); 31 ptr[4] = malloc(50); 32 ptr[5] = malloc(60); 34 free(ptr[1]); 35 free(ptr[1]); 36 free(ptr[2]) [all...] |
/external/skia/src/gpu/ |
GrMemory.cpp | 14 void* ptr = ::malloc(bytes); local 15 if (NULL == ptr) { 18 return ptr; 21 void GrFree(void* ptr) { 22 if (ptr) { 23 ::free(ptr);
|
/external/webkit/Source/JavaScriptCore/wtf/gobject/ |
GRefPtr.cpp | 28 template <> GHashTable* refGPtr(GHashTable* ptr) 30 if (ptr) 31 g_hash_table_ref(ptr); 32 return ptr; 35 template <> void derefGPtr(GHashTable* ptr) 37 g_hash_table_unref(ptr); 41 template <> GVariant* refGPtr(GVariant* ptr) 43 if (ptr) 44 g_variant_ref(ptr); 45 return ptr; [all...] |
GOwnPtr.cpp | 29 template <> void freeOwnedGPtr<GError>(GError* ptr) 31 if (ptr) 32 g_error_free(ptr); 35 template <> void freeOwnedGPtr<GList>(GList* ptr) 37 g_list_free(ptr); 40 template <> void freeOwnedGPtr<GCond>(GCond* ptr) 42 if (ptr) 43 g_cond_free(ptr); 46 template <> void freeOwnedGPtr<GMutex>(GMutex* ptr) 48 if (ptr) [all...] |
/external/chromium/base/ |
atomicops_internals_x86_macosx.h | 16 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32 *ptr, 22 const_cast<Atomic32*>(ptr))) { 25 prev_value = *ptr; 30 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32 *ptr, 34 old_value = *ptr; 36 const_cast<Atomic32*>(ptr))); 40 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32 *ptr, 42 return OSAtomicAdd32(increment, const_cast<Atomic32*>(ptr)); 45 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32 *ptr, 47 return OSAtomicAdd32Barrier(increment, const_cast<Atomic32*>(ptr)); [all...] |
atomicops_internals_x86_msvc.h | 16 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 20 reinterpret_cast<volatile LONG*>(ptr), 26 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, 29 reinterpret_cast<volatile LONG*>(ptr), 34 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 37 reinterpret_cast<volatile LONG*>(ptr), 41 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, 43 return Barrier_AtomicIncrement(ptr, increment); 54 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, 57 return NoBarrier_CompareAndSwap(ptr, old_value, new_value) [all...] |
atomicops_internals_arm_gcc.h | 23 volatile Atomic32* ptr); 32 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 35 Atomic32 prev_value = *ptr; 38 const_cast<Atomic32*>(ptr))) { 41 prev_value = *ptr; 46 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, 50 old_value = *ptr; 52 const_cast<Atomic32*>(ptr))); 56 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, 58 return Barrier_AtomicIncrement(ptr, increment) [all...] |
/external/freetype/include/freetype/internal/ |
ftmemory.h | 144 #define FT_MEM_ALLOC( ptr, size ) \ 145 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, (size), &error ) ) 147 #define FT_MEM_FREE( ptr ) \ 149 ft_mem_free( memory, (ptr) ); \ 150 (ptr) = NULL; \ 153 #define FT_MEM_NEW( ptr ) \ 154 FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) ) 156 #define FT_MEM_REALLOC( ptr, cursz, newsz ) \ 157 FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, 1, [all...] |
/external/expat/lib/ |
xmltok_impl.c | 9 #define IS_INVALID_CHAR(enc, ptr, n) (0) 12 #define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ 14 if (end - ptr < n) \ 16 if (IS_INVALID_CHAR(enc, ptr, n)) { \ 17 *(nextTokPtr) = (ptr); \ 20 ptr += n; \ 23 #define INVALID_CASES(ptr, nextTokPtr) \ 24 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \ 25 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \ 26 INVALID_LEAD_CASE(4, ptr, nextTokPtr) [all...] |
/external/v8/src/ |
atomicops_internals_x86_macosx.h | 38 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 44 const_cast<Atomic32*>(ptr))) { 47 prev_value = *ptr; 52 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, 56 old_value = *ptr; 58 const_cast<Atomic32*>(ptr))); 62 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, 64 return OSAtomicAdd32(increment, const_cast<Atomic32*>(ptr)); 67 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 69 return OSAtomicAdd32Barrier(increment, const_cast<Atomic32*>(ptr)); [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p20.cpp | 4 void destroy(T* ptr) { 5 ptr->~T(); 6 (*ptr).~T();
|
/external/llvm/test/CodeGen/ARM/ |
fast-isel-ldr-str-thumb-neg-index.ll | 3 define i32 @t1(i32* nocapture %ptr) nounwind readonly { 6 %add.ptr = getelementptr inbounds i32* %ptr, i32 -1 7 %0 = load i32* %add.ptr, align 4, !tbaa !0 12 define i32 @t2(i32* nocapture %ptr) nounwind readonly { 15 %add.ptr = getelementptr inbounds i32* %ptr, i32 -63 16 %0 = load i32* %add.ptr, align 4, !tbaa !0 21 define i32 @t3(i32* nocapture %ptr) nounwind readonly { 24 %add.ptr = getelementptr inbounds i32* %ptr, i32 -6 [all...] |
/sdk/emulator/qtools/ |
armdis.h | 23 static char *disasm_alu(Opcode opcode, uint32_t insn, char *ptr); 24 static char *disasm_branch(uint32_t addr, Opcode opcode, uint32_t insn, char *ptr); 25 static char *disasm_bx(uint32_t insn, char *ptr); 26 static char *disasm_bkpt(uint32_t insn, char *ptr); 27 static char *disasm_clz(uint32_t insn, char *ptr); 28 static char *disasm_memblock(Opcode opcode, uint32_t insn, char *ptr); 29 static char *disasm_mem(uint32_t insn, char *ptr); 30 static char *disasm_memhalf(uint32_t insn, char *ptr); 31 static char *disasm_mcr(Opcode opcode, uint32_t insn, char *ptr); 32 static char *disasm_mla(Opcode opcode, uint32_t insn, char *ptr); [all...] |