Home
last modified time | relevance | path

Searched refs:_ptr (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h104 #define draw_jit_context_vs_constants(_gallivm, _ptr) \ argument
105 lp_build_struct_get(_gallivm, _ptr, 0, "vs_constants")
107 #define draw_jit_context_gs_constants(_gallivm, _ptr) \ argument
108 lp_build_struct_get(_gallivm, _ptr, 1, "gs_constants")
110 #define draw_jit_context_planes(_gallivm, _ptr) \ argument
111 lp_build_struct_get(_gallivm, _ptr, 2, "planes")
113 #define draw_jit_context_viewport(_gallivm, _ptr) \ argument
114 lp_build_struct_get(_gallivm, _ptr, 3, "viewport")
118 #define draw_jit_context_textures(_gallivm, _ptr) \ argument
119 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_JIT_CTX_TEXTURES, "textures")
[all …]
/external/lldb/source/Host/macosx/cfcpp/
DCFCReleaser.h38 _ptr(ptr) in _ptr() function
51 _ptr(rhs.get()) in CFCReleaser()
106 assert (_ptr == NULL);
107 return &_ptr;
116 return _ptr; in get()
122 return _ptr; in get()
133 if ((_ptr != NULL) && (ptr != _ptr))
134 ::CFRelease(_ptr);
135 _ptr = ptr;
147 T tmp = _ptr; in release()
[all …]
/external/lldb/tools/debugserver/source/MacOSX/
DCFUtils.h34 CFReleaser(T ptr = NULL) : _ptr(ptr) { } in _ptr() function
35 CFReleaser(const CFReleaser& copy) : _ptr(copy.get()) in CFReleaser()
55 T * ptr_address() { return &_ptr; } in ptr_address()
58 const T get() const { return _ptr; } in get()
59 T get() { return _ptr; } in get()
65 if (ptr != _ptr)
67 if (_ptr != NULL)
68 ::CFRelease(_ptr);
69 _ptr = ptr;
74 T release() { T tmp = _ptr; _ptr = NULL; return tmp; } in release()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.h126 #define lp_jit_context_constants(_gallivm, _ptr) \ argument
127 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_CONSTANTS, "constants")
129 #define lp_jit_context_alpha_ref_value(_gallivm, _ptr) \ argument
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) \ argument
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) \ argument
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) \ argument
139 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_BLEND_COLOR, "blend_color")
[all …]
/external/safe-iop/include/
Dsafe_iop.h106 #define safe_add(_ptr, __a, __b) \ argument
110 typeof(_ptr) __sio(var)(p) = (_ptr); \
125 #define safe_add3(_ptr, _A, _B, _C) \ argument
131 safe_add((_ptr), __sio(var)(r), __sio(var)(c))); })
133 #define safe_add4(_ptr, _A, _B, _C, _D) \ argument
141 safe_add((_ptr), __sio(var)(r), (__sio(var)(d)))); })
143 #define safe_add5(_ptr, _A, _B, _C, _D, _E) \ argument
153 safe_add((_ptr), __sio(var)(r), __sio(var)(e))); })
155 #define safe_sub(_ptr, __a, __b) \ argument
159 typeof(_ptr) __sio(var)(p) = (_ptr); \
[all …]
/external/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/
DMachO_ARM64_relocations.s30 # rtdyld-check: decode_operand(adrp1, 1) = (_ptr[32:12] - adrp1[32:12])
31 # rtdyld-check: decode_operand(ldr1, 2) = _ptr[11:3]
36 adrp x0, _ptr@PAGE
38 ldr x0, [x0, _ptr@PAGEOFF]
46 # rtdyld-check: *{8}(stub_addr(foo.o, __text, _ptr)) = _ptr
47 # rtdyld-check: decode_operand(adrp2, 1) = (stub_addr(foo.o, __text, _ptr)[32:12] - adrp2[32:12])
48 # rtdyld-check: decode_operand(ldr2, 2) = stub_addr(foo.o, __text, _ptr)[11:3]
53 adrp x0, _ptr@GOTPAGE
55 ldr x0, [x0, _ptr@GOTPAGEOFF]
61 # rtdyld-check: *{8}_ptr = _foo
[all …]
/external/elfutils/src/src/
Dunaligned.h84 union u_2ubyte_unaligned *_ptr = (void *) (ptr); \
85 uint16_t _val = bswap_16 (_ptr->u) + (value); \
86 _ptr->u = bswap_16 (_val); \
90 union u_4ubyte_unaligned *_ptr = (void *) (ptr); \
91 uint32_t _val = bswap_32 (_ptr->u) + (value); \
92 _ptr->u = bswap_32 (_val); \
96 union u_8ubyte_unaligned *_ptr = (void *) (ptr); \
97 uint64_t _val = bswap_64 (_ptr->u) + (value); \
98 _ptr->u = bswap_64 (_val); \
/external/mesa3d/src/gallium/auxiliary/os/
Dos_memory_stdc.h45 #define os_free(_ptr) free(_ptr) argument
63 #define os_free_aligned(_ptr) free(_ptr) argument
70 #define os_free_aligned(_ptr) _aligned_free(_ptr) argument
Dos_memory_debug.h75 #define os_free( _ptr ) \ argument
76 debug_free( __FILE__, __LINE__, __FUNCTION__, _ptr )
77 #define os_realloc( _ptr, _old_size, _new_size ) \ argument
78 debug_realloc( __FILE__, __LINE__, __FUNCTION__, _ptr, _old_size, _new_size )
/external/mesa3d/src/gallium/auxiliary/util/
Du_memory.h52 #define FREE(_ptr ) os_free(_ptr) argument
54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) argument
64 #define align_free(_ptr) os_free_aligned(_ptr) argument
/external/clang/test/SemaCXX/
Ddestructor.cpp218 simple_ptr(T* t): _ptr(t) {} in simple_ptr()
219 ~simple_ptr() { delete _ptr; } // \ in ~simple_ptr()
222 T& operator*() const { return *_ptr; } in operator *()
224 T* _ptr; member in dnvd::simple_ptr
230 simple_ptr2(T* t): _ptr(t) {} in simple_ptr2()
231 …~simple_ptr2() { delete _ptr; } // expected-warning {{delete called on 'dnvd::B' that has virtual … in ~simple_ptr2()
232 T& operator*() const { return *_ptr; } in operator *()
234 T* _ptr; member in dnvd::simple_ptr2
/external/libunwind/include/
Dlibunwind_i.h134 # define fetch_and_add1(_ptr) AO_fetch_and_add1(_ptr) argument
135 # define fetch_and_add(_ptr, value) AO_fetch_and_add(_ptr, value) argument
158 # define fetch_and_add1(_ptr) __sync_fetch_and_add(_ptr, 1) argument
159 # define fetch_and_add(_ptr, value) __sync_fetch_and_add(_ptr, value) argument
/external/bison/m4/
Dfpending.m441 'fp->_ptr - fp->_base' \
59 'fp->_ptr - fp->_buffer' \
62 'fp->_ptr - fp->_buf' \
68 '(*fp)->_ptr - (*fp)->_base' \
/external/ltrace/
Ddict.h150 void *_ptr = dict_find((DICTP), (KEYP)); \
151 if (_ptr != NULL) \
152 memcpy((VAR), _ptr, (DICTP)->values.elt_size); \
153 _ptr != NULL ? 0 : -1; \
/external/bison/lib/
Dstdio-impl.h94 # define fp_ ((struct { unsigned char *_ptr; \
107 # define _ptr __ptr macro
/external/libopus/src/
Dopus_compare.c38 static void *check_alloc(void *_ptr){ in check_alloc() argument
39 if(_ptr==NULL){ in check_alloc()
43 return _ptr; in check_alloc()
50 static void *opus_realloc(void *_ptr,size_t _size){ in opus_realloc() argument
51 return check_alloc(realloc(_ptr,_size)); in opus_realloc()
/external/e2fsprogs/lib/et/
Dvfprintf.c37 iop->_ptr = iop->_base = localbuf;
/external/valgrind/none/tests/mips64/
Dcvm_atomic_thread.c35 #define IS_8_ALIGNED(_ptr) (0 == (((unsigned long)(_ptr)) & 7)) argument
/external/llvm/bindings/python/llvm/
Dcommon.py36 self._ptr = self._as_parameter_ = ptr
/external/valgrind/memcheck/tests/
Datomic_incs.c23 #define IS_8_ALIGNED(_ptr) (0 == (((unsigned long)(_ptr)) & 7)) argument
/external/llvm/test/CodeGen/X86/
Dabi-isel.ll201 ; DARWIN-32-STATIC: movl $_dst, _ptr
221 ; DARWIN-64-STATIC-NEXT: movq _ptr@GOTPCREL(%rip), [[RCX:%r.x]]
227 ; DARWIN-64-DYNAMIC-NEXT: movq _ptr@GOTPCREL(%rip), [[RCX:%r.x]]
233 ; DARWIN-64-PIC-NEXT: movq _ptr@GOTPCREL(%rip), [[RCX:%r.x]]
261 ; DARWIN-32-STATIC: movl $_xdst, _ptr
281 ; DARWIN-64-STATIC-NEXT: movq _ptr@GOTPCREL(%rip), [[RCX:%r.x]]
287 ; DARWIN-64-DYNAMIC-NEXT: movq _ptr@GOTPCREL(%rip), [[RCX:%r.x]]
293 ; DARWIN-64-PIC-NEXT: movq _ptr@GOTPCREL(%rip), [[RCX:%r.x]]
332 ; DARWIN-32-STATIC-NEXT: movl _ptr, [[ECX:%e.x]]
358 ; DARWIN-64-STATIC-NEXT: movq _ptr@GOTPCREL(%rip), [[RCX:%r.x]]
[all …]
/external/libvpx/libvpx/test/
Dvideo_source.h97 if (file_->_ptr != NULL) fclose(file_); in CloseFile()
/external/opencv/cv/src/
Dcvshapedescr.cpp1191 uchar* _ptr = mat->data.ptr + i*mat->step; in cvBoundingRect() local
1192 uchar* ptr = (uchar*)cvAlignPtr(_ptr, 4); in cvBoundingRect()
1193 int have_nz = 0, k_min, offset = (int)(ptr - _ptr); in cvBoundingRect()
1197 if( _ptr[j] ) in cvBoundingRect()
/external/valgrind/none/tests/amd64/
Davx2-1.c14 #define IS_32_ALIGNED(_ptr) (0 == (0x1F & (UWord)(_ptr))) argument
/external/opencv/cxcore/src/
Dcxdxt.cpp1701 icvExpandCCS( uchar* _ptr, int len, int elem_size ) in icvExpandCCS() argument
1704 _ptr -= elem_size; in icvExpandCCS()
1705 memcpy( _ptr, _ptr + elem_size, elem_size ); in icvExpandCCS()
1706 memset( _ptr + elem_size, 0, elem_size ); in icvExpandCCS()
1708 memset( _ptr + (len+1)*elem_size, 0, elem_size ); in icvExpandCCS()
1712 CvComplex32f* ptr = (CvComplex32f*)_ptr; in icvExpandCCS()
1724 CvComplex64f* ptr = (CvComplex64f*)_ptr; in icvExpandCCS()

12