/external/harfbuzz/src/ |
harfbuzz-impl.h | 85 #define ALLOC(_ptr,_size) \ 86 ( (_ptr) = _hb_alloc( _size, &error ), error != 0 ) 88 #define REALLOC(_ptr,_newsz) \ 89 ( (_ptr) = _hb_realloc( (_ptr), (_newsz), &error ), error != 0 ) 91 #define FREE(_ptr) \ 93 if ( (_ptr) ) \ 95 _hb_free( _ptr ); \ 96 _ptr = NULL; \ 100 #define ALLOC_ARRAY(_ptr,_count,_type) [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-impl.h | 89 #define ALLOC(_ptr,_size) \ 90 ( (_ptr) = _hb_alloc( _size, &error ), error != 0 ) 92 #define REALLOC(_ptr,_newsz) \ 93 ( (_ptr) = _hb_realloc( (_ptr), (_newsz), &error ), error != 0 ) 95 #define FREE(_ptr) \ 97 if ( (_ptr) ) \ 99 _hb_free( _ptr ); \ 100 _ptr = NULL; \ 104 #define ALLOC_ARRAY(_ptr,_count,_type) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_llvm.h | 104 #define draw_jit_context_vs_constants(_gallivm, _ptr) \ 105 lp_build_struct_get(_gallivm, _ptr, 0, "vs_constants") 107 #define draw_jit_context_gs_constants(_gallivm, _ptr) \ 108 lp_build_struct_get(_gallivm, _ptr, 1, "gs_constants") 110 #define draw_jit_context_planes(_gallivm, _ptr) \ 111 lp_build_struct_get(_gallivm, _ptr, 2, "planes") 113 #define draw_jit_context_viewport(_gallivm, _ptr) \ 114 lp_build_struct_get(_gallivm, _ptr, 3, "viewport") 118 #define draw_jit_context_textures(_gallivm, _ptr) \ 119 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_JIT_CTX_TEXTURES, "textures" [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm.h | 104 #define draw_jit_context_vs_constants(_gallivm, _ptr) \ 105 lp_build_struct_get(_gallivm, _ptr, 0, "vs_constants") 107 #define draw_jit_context_gs_constants(_gallivm, _ptr) \ 108 lp_build_struct_get(_gallivm, _ptr, 1, "gs_constants") 110 #define draw_jit_context_planes(_gallivm, _ptr) \ 111 lp_build_struct_get(_gallivm, _ptr, 2, "planes") 113 #define draw_jit_context_viewport(_gallivm, _ptr) \ 114 lp_build_struct_get(_gallivm, _ptr, 3, "viewport") 118 #define draw_jit_context_textures(_gallivm, _ptr) \ 119 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_JIT_CTX_TEXTURES, "textures" [all...] |
/external/safe-iop/include/ |
safe_iop.h | 76 * _ptr may be NULL. 106 #define safe_add(_ptr, __a, __b) \ 110 typeof(_ptr) __sio(var)(p) = (_ptr); \ 125 #define safe_add3(_ptr, _A, _B, _C) \ 131 safe_add((_ptr), __sio(var)(r), __sio(var)(c))); }) 133 #define safe_add4(_ptr, _A, _B, _C, _D) \ 141 safe_add((_ptr), __sio(var)(r), (__sio(var)(d)))); }) 143 #define safe_add5(_ptr, _A, _B, _C, _D, _E) \ 153 safe_add((_ptr), __sio(var)(r), __sio(var)(e))); } [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_jit.h | 126 #define lp_jit_context_constants(_gallivm, _ptr) \ 127 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_CONSTANTS, "constants") 129 #define lp_jit_context_alpha_ref_value(_gallivm, _ptr) \ 130 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_ALPHA_REF, "alpha_ref_value") 132 #define lp_jit_context_stencil_ref_front_value(_gallivm, _ptr) \ 133 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_STENCIL_REF_FRONT, "stencil_ref_front") 135 #define lp_jit_context_stencil_ref_back_value(_gallivm, _ptr) \ 136 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_STENCIL_REF_BACK, "stencil_ref_back") 138 #define lp_jit_context_blend_color(_gallivm, _ptr) \ 139 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_BLEND_COLOR, "blend_color" [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_jit.h | 126 #define lp_jit_context_constants(_gallivm, _ptr) \ 127 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_CONSTANTS, "constants") 129 #define lp_jit_context_alpha_ref_value(_gallivm, _ptr) \ 130 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_ALPHA_REF, "alpha_ref_value") 132 #define lp_jit_context_stencil_ref_front_value(_gallivm, _ptr) \ 133 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_STENCIL_REF_FRONT, "stencil_ref_front") 135 #define lp_jit_context_stencil_ref_back_value(_gallivm, _ptr) \ 136 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_STENCIL_REF_BACK, "stencil_ref_back") 138 #define lp_jit_context_blend_color(_gallivm, _ptr) \ 139 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_BLEND_COLOR, "blend_color" [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
os_memory_stdc.h | 45 #define os_free(_ptr) free(_ptr) 63 #define os_free_aligned(_ptr) free(_ptr) 70 #define os_free_aligned(_ptr) _aligned_free(_ptr)
|
os_memory_debug.h | 75 #define os_free( _ptr ) \ 76 debug_free( __FILE__, __LINE__, __FUNCTION__, _ptr ) 77 #define os_realloc( _ptr, _old_size, _new_size ) \ 78 debug_realloc( __FILE__, __LINE__, __FUNCTION__, _ptr, _old_size, _new_size )
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_memory_stdc.h | 45 #define os_free(_ptr) free(_ptr) 63 #define os_free_aligned(_ptr) free(_ptr) 70 #define os_free_aligned(_ptr) _aligned_free(_ptr)
|
os_memory_debug.h | 75 #define os_free( _ptr ) \ 76 debug_free( __FILE__, __LINE__, __FUNCTION__, _ptr ) 77 #define os_realloc( _ptr, _old_size, _new_size ) \ 78 debug_realloc( __FILE__, __LINE__, __FUNCTION__, _ptr, _old_size, _new_size )
|
/external/elfutils/src/ |
unaligned.h | 92 union u_2ubyte_unaligned *_ptr = (void *) (ptr); \ 93 uint16_t _val = bswap_16 (_ptr->u) + (value); \ 94 _ptr->u = bswap_16 (_val); \ 98 union u_4ubyte_unaligned *_ptr = (void *) (ptr); \ 99 uint32_t _val = bswap_32 (_ptr->u) + (value); \ 100 _ptr->u = bswap_32 (_val); \ 104 union u_8ubyte_unaligned *_ptr = (void *) (ptr); \ 105 uint64_t _val = bswap_64 (_ptr->u) + (value); \ 106 _ptr->u = bswap_64 (_val); \
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
ptr_traits.h | 72 template<typename _Ptr, typename _Up> 86 static const bool __value = _S_chk<_Ptr, _Up>(nullptr); 89 template<typename _Ptr, typename _Up> 90 const bool __ptrtr_rebind_helper<_Ptr, _Up>::__value; 121 template<typename _Ptr> 124 typedef typename __ptrtr_elt_type<_Ptr>::__type __orig_type; 128 static _Ptr pointer_to(__element_type& __e) 129 { return _Ptr::pointer_to(__e); } 136 template<typename _Ptr> 137 struct pointer_traits : __ptrtr_pointer_to<_Ptr> [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
ptr_traits.h | 72 template<typename _Ptr, typename _Up> 86 static const bool __value = _S_chk<_Ptr, _Up>(nullptr); 89 template<typename _Ptr, typename _Up> 90 const bool __ptrtr_rebind_helper<_Ptr, _Up>::__value; 121 template<typename _Ptr> 124 typedef typename __ptrtr_elt_type<_Ptr>::__type __orig_type; 128 static _Ptr pointer_to(__element_type& __e) 129 { return _Ptr::pointer_to(__e); } 136 template<typename _Ptr> 137 struct pointer_traits : __ptrtr_pointer_to<_Ptr> [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/ |
ptr_traits.h | 72 template<typename _Ptr, typename _Up> 86 static const bool __value = _S_chk<_Ptr, _Up>(nullptr); 89 template<typename _Ptr, typename _Up> 90 const bool __ptrtr_rebind_helper<_Ptr, _Up>::__value; 121 template<typename _Ptr> 124 typedef typename __ptrtr_elt_type<_Ptr>::__type __orig_type; 128 static _Ptr pointer_to(__element_type& __e) 129 { return _Ptr::pointer_to(__e); } 136 template<typename _Ptr> 137 struct pointer_traits : __ptrtr_pointer_to<_Ptr> [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_memory.h | 52 #define FREE(_ptr ) os_free(_ptr) 54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) 64 #define align_free(_ptr) os_free_aligned(_ptr)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_memory.h | 52 #define FREE(_ptr ) os_free(_ptr) 54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) 64 #define align_free(_ptr) os_free_aligned(_ptr)
|
/external/bison/m4/ |
fpending.m4 | 41 'fp->_ptr - fp->_base' \ 59 'fp->_ptr - fp->_buffer' \ 62 'fp->_ptr - fp->_buf' \ 68 '(*fp)->_ptr - (*fp)->_base' \
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prmem.h | 100 ** PR_REALLOC() re-allocates _ptr bytes from the heap as a _size 102 ** INPUTS: _ptr: pointer to node to reallocate 107 #define PR_REALLOC(_ptr, _size) (PR_Realloc((_ptr), (_size))) 140 #define PR_DELETE(_ptr) { PR_Free(_ptr); (_ptr) = NULL; } 152 #define PR_FREEIF(_ptr) if (_ptr) PR_DELETE(_ptr) [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
alloc_traits.h | 131 template<typename _Ptr> 133 : std::integral_constant<bool, std::is_same<pointer, _Ptr>::value 134 && !std::is_pointer<_Ptr>::value> 139 template<typename _Ptr, typename... _Args> 140 static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type 141 construct(_Alloc& __a, _Ptr __p, _Args&&... __args) 148 template<typename _Ptr> 149 static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type 150 destroy(_Alloc& __a, _Ptr __p)
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
alloc_traits.h | 131 template<typename _Ptr> 133 : std::integral_constant<bool, std::is_same<pointer, _Ptr>::value 134 && !std::is_pointer<_Ptr>::value> 139 template<typename _Ptr, typename... _Args> 140 static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type 141 construct(_Alloc& __a, _Ptr __p, _Args&&... __args) 148 template<typename _Ptr> 149 static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type 150 destroy(_Alloc& __a, _Ptr __p)
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ext/ |
alloc_traits.h | 144 template<typename _Ptr> 146 : std::integral_constant<bool, std::is_same<pointer, _Ptr>::value 147 && !std::is_pointer<_Ptr>::value> 152 template<typename _Ptr, typename... _Args> 153 static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type 154 construct(_Alloc& __a, _Ptr __p, _Args&&... __args) 161 template<typename _Ptr> 162 static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type 163 destroy(_Alloc& __a, _Ptr __p)
|
/external/clang/test/SemaCXX/ |
destructor.cpp | 199 simple_ptr(T* t): _ptr(t) {} 200 ~simple_ptr() { delete _ptr; } // \ 203 T& operator*() const { return *_ptr; } 205 T* _ptr; member in class:dnvd::simple_ptr 211 simple_ptr2(T* t): _ptr(t) {} 212 ~simple_ptr2() { delete _ptr; } // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}} 213 T& operator*() const { return *_ptr; } 215 T* _ptr; member in class:dnvd::simple_ptr2
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xalloca.h | 57 * #define DEALLOCATE_LOCAL_FALLBACK(_ptr) free(_ptr) 134 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK(_ptr) 137 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK undefined! 141 # define DEALLOCATE_LOCAL(_ptr) do {} while(0)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xalloca.h | 57 * #define DEALLOCATE_LOCAL_FALLBACK(_ptr) free(_ptr) 134 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK(_ptr) 137 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK undefined! 141 # define DEALLOCATE_LOCAL(_ptr) do {} while(0)
|