Home
last modified time | relevance | path

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

12

/external/syslinux/gpxe/src/include/gpxe/
Dbitops.h72 #define PSEUDO_BIT_STRUCT_TYPE( _ptr ) \ argument
73 typeof ( *((_ptr)->u.dummy[0]) )
76 #define BIT_OFFSET( _ptr, _field ) \ argument
77 offsetof ( PSEUDO_BIT_STRUCT_TYPE ( _ptr ), _field )
80 #define BIT_WIDTH( _ptr, _field ) \ argument
81 sizeof ( ( ( PSEUDO_BIT_STRUCT_TYPE ( _ptr ) * ) NULL )->_field )
84 #define QWORD_OFFSET( _ptr, _field ) \ argument
85 ( BIT_OFFSET ( _ptr, _field ) / 64 )
88 #define QWORD_BIT_OFFSET( _ptr, _index, _field ) \ argument
89 ( BIT_OFFSET ( _ptr, _field ) - ( 64 * (_index) ) )
[all …]
/external/syslinux/gpxe/src/drivers/net/phantom/
Dnx_bitops.h51 #define NX_PSEUDO_STRUCT( _ptr ) \ argument
52 typeof ( *((_ptr)->u.dummy[0]) )
55 #define NX_BIT_OFFSET( _ptr, _field ) \ argument
56 offsetof ( NX_PSEUDO_STRUCT ( _ptr ), _field )
59 #define NX_BIT_WIDTH( _ptr, _field ) \ argument
60 sizeof ( ( ( NX_PSEUDO_STRUCT ( _ptr ) * ) NULL )->_field )
63 #define NX_QWORD_OFFSET( _ptr, _field ) \ argument
64 ( NX_BIT_OFFSET ( _ptr, _field ) / 64 )
71 #define NX_QWORD_BIT_OFFSET( _ptr, _index, _field ) \ argument
72 ( NX_BIT_OFFSET ( _ptr, _field ) - ( 64 * (_index) ) )
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.h160 #define lp_jit_context_constants(_gallivm, _ptr) \ argument
161 lp_build_struct_get_ptr(_gallivm, _ptr, LP_JIT_CTX_CONSTANTS, "constants")
163 #define lp_jit_context_num_constants(_gallivm, _ptr) \ argument
164 lp_build_struct_get_ptr(_gallivm, _ptr, LP_JIT_CTX_NUM_CONSTANTS, "num_constants")
166 #define lp_jit_context_alpha_ref_value(_gallivm, _ptr) \ argument
167 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_ALPHA_REF, "alpha_ref_value")
169 #define lp_jit_context_stencil_ref_front_value(_gallivm, _ptr) \ argument
170 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_STENCIL_REF_FRONT, "stencil_ref_front")
172 #define lp_jit_context_stencil_ref_back_value(_gallivm, _ptr) \ argument
173 lp_build_struct_get(_gallivm, _ptr, LP_JIT_CTX_STENCIL_REF_BACK, "stencil_ref_back")
[all …]
/external/syslinux/gpxe/src/drivers/infiniband/
Dmlx_bitops.h53 #define MLX_PSEUDO_STRUCT( _ptr ) \ argument
54 typeof ( *((_ptr)->u.dummy[0]) )
151 #define MLX_FILL( _ptr, _index, _assembled ) \ argument
153 uint32_t *__ptr = &(_ptr)->u.dwords[(_index)]; \
158 #define MLX_FILL_1( _ptr, _index, ... ) \ argument
159 MLX_FILL ( _ptr, _index, MLX_ASSEMBLE_1 ( MLX_PSEUDO_STRUCT ( _ptr ),\
162 #define MLX_FILL_2( _ptr, _index, ... ) \ argument
163 MLX_FILL ( _ptr, _index, MLX_ASSEMBLE_2 ( MLX_PSEUDO_STRUCT ( _ptr ),\
166 #define MLX_FILL_3( _ptr, _index, ... ) \ argument
167 MLX_FILL ( _ptr, _index, MLX_ASSEMBLE_3 ( MLX_PSEUDO_STRUCT ( _ptr ),\
[all …]
Dlinda.c134 #define linda_readq( _linda, _ptr, _offset ) \ argument
135 linda_readq ( (_linda), (_ptr)->u.dwords, (_offset) )
136 #define linda_readq_array8b( _linda, _ptr, _offset, _idx ) \ argument
137 linda_readq ( (_linda), (_ptr), ( (_offset) + ( (_idx) * 8 ) ) )
138 #define linda_readq_array64k( _linda, _ptr, _offset, _idx ) \ argument
139 linda_readq ( (_linda), (_ptr), ( (_offset) + ( (_idx) * 65536 ) ) )
159 #define linda_writeq( _linda, _ptr, _offset ) \ argument
160 linda_writeq ( (_linda), (_ptr)->u.dwords, (_offset) )
161 #define linda_writeq_array8b( _linda, _ptr, _offset, _idx ) \ argument
162 linda_writeq ( (_linda), (_ptr), ( (_offset) + ( (_idx) * 8 ) ) )
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h143 #define draw_jit_context_vs_constants(_gallivm, _ptr) \ argument
144 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_JIT_CTX_CONSTANTS, "vs_constants")
146 #define draw_jit_context_num_vs_constants(_gallivm, _ptr) \ argument
147 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_JIT_CTX_NUM_CONSTANTS, "num_vs_constants")
149 #define draw_jit_context_planes(_gallivm, _ptr) \ argument
150 lp_build_struct_get(_gallivm, _ptr, DRAW_JIT_CTX_PLANES, "planes")
152 #define draw_jit_context_viewports(_gallivm, _ptr) \ argument
153 lp_build_struct_get(_gallivm, _ptr, DRAW_JIT_CTX_VIEWPORT, "viewports")
155 #define draw_jit_context_textures(_gallivm, _ptr) \ argument
156 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_JIT_CTX_TEXTURES, "textures")
[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/tcpdump/
Dprint-resp.c90 #define FIND_CRLF(_ptr, _len) \ argument
93 ND_TCHECK2(*_ptr, 2); \
94 if (*_ptr == '\r' && *(_ptr+1) == '\n') \
96 _ptr++; \
104 #define CONSUME_CRLF(_ptr, _len) \ argument
105 _ptr += 2; \
116 #define FIND_CR_OR_LF(_ptr, _len) \ argument
119 ND_TCHECK(*_ptr); \
120 if (*_ptr == '\r' || *_ptr == '\n') \
122 _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]
73 # rtdyld-check: *{8}_ptr = _foo
[all …]
/external/elfutils/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/syslinux/gpxe/src/include/gpxe/efi/
Defi.h74 #define EFI_REQUIRE_PROTOCOL( _protocol, _ptr ) \ argument
78 ( ( (_ptr) == ( ( _protocol ** ) (_ptr) ) ) ? \
79 (_ptr) : (_ptr) ) ), \
110 #define EFI_USE_TABLE( _table, _ptr, _required ) \ argument
113 .table = ( ( void ** ) ( void * ) (_ptr) ), \
/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.h84 #define os_free( _ptr ) \ argument
85 debug_free( __FILE__, __LINE__, __FUNCTION__, _ptr )
86 #define os_realloc( _ptr, _old_size, _new_size ) \ argument
87 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/libese/libese/include/ese/
Dese_hw_api.h138 #define __ese_init(_ptr, TYPE) {\ argument
139 (_ptr)->ops = TYPE## _ops; \
140 (_ptr)->pad[0] = 0; \
141 (_ptr)->error.is_err = false; \
142 (_ptr)->error.code = 0; \
143 (_ptr)->error.message = (const char *)NULL; \
/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 non-final 'dnvd::B' that ha… 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/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dstruct_macros.tmpl81 typename decltype({{output}}->{{name}})::BaseType* {{name}}_ptr;
85 {{input_field}}, {{buffer}}, &{{name}}_ptr, &{{name}}_validate_params,
87 {{output}}->{{name}}.Set({{name}}_ptr);
89 auto {{name}}_ptr = &{{output}}->{{name}};
91 {{input_field}}, {{buffer}}, &{{name}}_ptr, true, {{context}});
93 typename decltype({{output}}->{{name}})::BaseType* {{name}}_ptr;
95 {{input_field}}, {{buffer}}, &{{name}}_ptr, {{context}});
96 {{output}}->{{name}}.Set({{name}}_ptr);
/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/compiler-rt/test/asan/TestCases/
Dspeculative_load.cc12 const char* _ptr; member
35 return is_long() ? _data._l._ptr : _data._s._ch; in get_pointer()
/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/Microsoft-GSL/tests/
Dstring_span_tests.cpp266 char* _ptr = _ar; in SUITE() local
275 CHECK(span == _ptr); in SUITE()
285 CHECK(_ptr == span); in SUITE()
291 string_span<> _span{ _ptr, 5 }; in SUITE()
299 CHECK(_span == _ptr); in SUITE()
309 CHECK(_ptr == _span); in SUITE()
/external/e2fsprogs/lib/et/
Dvfprintf.c38 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

12