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

12

/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dbitops.h72 #define PSEUDO_BIT_STRUCT_TYPE( _ptr ) \
73 typeof ( *((_ptr)->u.dummy[0]) )
76 #define BIT_OFFSET( _ptr, _field ) \
77 offsetof ( PSEUDO_BIT_STRUCT_TYPE ( _ptr ), _field )
80 #define BIT_WIDTH( _ptr, _field ) \
81 sizeof ( ( ( PSEUDO_BIT_STRUCT_TYPE ( _ptr ) * ) NULL )->_field )
84 #define QWORD_OFFSET( _ptr, _field ) \
85 ( BIT_OFFSET ( _ptr, _field ) / 64 )
88 #define QWORD_BIT_OFFSET( _ptr, _index, _field ) \
89 ( BIT_OFFSET ( _ptr, _fiel
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/phantom/
H A Dnx_bitops.h51 #define NX_PSEUDO_STRUCT( _ptr ) \
52 typeof ( *((_ptr)->u.dummy[0]) )
55 #define NX_BIT_OFFSET( _ptr, _field ) \
56 offsetof ( NX_PSEUDO_STRUCT ( _ptr ), _field )
59 #define NX_BIT_WIDTH( _ptr, _field ) \
60 sizeof ( ( ( NX_PSEUDO_STRUCT ( _ptr ) * ) NULL )->_field )
63 #define NX_QWORD_OFFSET( _ptr, _field ) \
64 ( NX_BIT_OFFSET ( _ptr, _field ) / 64 )
71 #define NX_QWORD_BIT_OFFSET( _ptr, _index, _field ) \
72 ( NX_BIT_OFFSET ( _ptr, _fiel
[all...]
/vbox/src/libs/xpcom18a4/xpcom/glue/
H A DnsISupportsUtils.h78 * @param _ptr The object to delete.
80 #define NS_DELETEXPCOM(_ptr) \
82 delete (_ptr); \
87 * @param _ptr The interface pointer.
89 #define NS_ADDREF(_ptr) \
90 (_ptr)->AddRef()
136 * @param _ptr The interface pointer.
138 #define NS_RELEASE(_ptr) \
140 (_ptr)->Release(); \
141 (_ptr)
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprmem.h110 ** PR_REALLOC() re-allocates _ptr bytes from the heap as a _size
112 ** INPUTS: _ptr: pointer to node to reallocate
117 #define PR_REALLOC(_ptr, _size) (PR_Realloc((_ptr), (_size)))
150 #define PR_DELETE(_ptr) { PR_Free(_ptr); (_ptr) = NULL; }
162 #define PR_FREEIF(_ptr) if (_ptr) PR_DELETE(_ptr)
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/infiniband/
H A Dmlx_bitops.h53 #define MLX_PSEUDO_STRUCT( _ptr ) \
54 typeof ( *((_ptr)->u.dummy[0]) )
159 #define MLX_FILL( _ptr, _index, _assembled ) \
161 uint32_t *__ptr = &(_ptr)->u.dwords[(_index)]; \
166 #define MLX_FILL_1( _ptr, _index, ... ) \
167 MLX_FILL ( _ptr, _index, MLX_ASSEMBLE_1 ( MLX_PSEUDO_STRUCT ( _ptr ),\
170 #define MLX_FILL_2( _ptr, _index, ... ) \
171 MLX_FILL ( _ptr, _index, MLX_ASSEMBLE_2 ( MLX_PSEUDO_STRUCT ( _ptr ),\
[all...]
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/
H A DXalloca.h53 * #define DEALLOCATE_LOCAL_FALLBACK(_ptr) free(_ptr)
110 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK(_ptr)
113 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK undefined!
117 # define DEALLOCATE_LOCAL(_ptr) do {} while(0)
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_old.c98 PacketAliasIn(char *_ptr, int _maxpacketsize) argument
100 return LibAliasIn(la, _ptr, _maxpacketsize);
104 PacketAliasOut(char *_ptr, int _maxpacketsize) argument
107 return LibAliasOut(la, _ptr, _maxpacketsize);
111 PacketUnaliasOut(char *_ptr, int _maxpacketsize) argument
114 return LibAliasUnaliasOut(la, _ptr, _maxpacketsize);
170 PacketAliasFragmentIn(char *_ptr, char *_ptr_fragment) argument
173 LibAliasFragmentIn(la, _ptr, _ptr_fragment);
177 PacketAliasGetFragment(char *_ptr) argument
180 return LibAliasGetFragment(la, _ptr);
184 PacketAliasSaveFragment(char *_ptr) argument
197 PacketAliasInternetChecksum(unsigned short *_ptr, int _nbytes) argument
[all...]
H A Dalias.h107 int PacketAliasIn(char *_ptr, int _maxpacketsize);
108 int PacketAliasOut(char *_ptr, int _maxpacketsize);
109 int PacketUnaliasOut(char *_ptr, int _maxpacketsize);
133 void PacketAliasFragmentIn(char *_ptr, char *_ptr_fragment);
134 char *PacketAliasGetFragment(char *_ptr);
135 int PacketAliasSaveFragment(char *_ptr);
140 PacketAliasInternetChecksum(unsigned short *_ptr, int _nbytes);
162 int LibAliasIn (struct libalias *, char *_ptr, int _maxpacketsize);
163 int LibAliasOut(struct libalias *, char *_ptr, int _maxpacketsize);
164 int LibAliasOutTry(struct libalias *, char *_ptr, in
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/
H A Defi.h76 * @v _ptr Pointer to protocol instance
78 #define EFI_REQUIRE_PROTOCOL( _protocol, _ptr ) \
82 ( ( (_ptr) == ( ( _protocol ** ) (_ptr) ) ) ? \
83 (_ptr) : (_ptr) ) ), \
111 * @v _ptr Pointer to configuration table
114 #define EFI_USE_TABLE( _table, _ptr, _required ) \
117 .table = ( ( void ** ) ( void * ) (_ptr) ), \
/vbox/src/VBox/Additions/x11/x11include/4.3/include/
H A DXalloca.h57 * #define DEALLOCATE_LOCAL_FALLBACK(_ptr) free(_ptr)
128 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK(_ptr)
131 # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK undefined!
135 # define DEALLOCATE_LOCAL(_ptr) do {} while(0)
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/public/
H A Dxpt_arena.h116 #define XPT_FREE(_arena, _ptr) \
117 XPT_ArenaFree((_arena), (_ptr))
119 #define XPT_FREE(_arena, _ptr) \
129 #define XPT_DELETE(_arena, _ptr) do{XPT_FREE((_arena), (_ptr)); ((_ptr)) = NULL;}while(0)
130 #define XPT_FREEIF(_arena, _ptr) do{if ((_ptr)) XPT_FREE((_arena), (_ptr));}while(0)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dafb.h960 #define afbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
961 #define afbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
962 #define afbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
963 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
964 #define afbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
965 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
973 #define afbScanlineInc(_ptr, _off) afbScanlineIncNoBankSwitch(_ptr, _of
[all...]
H A Dmfb.h981 #define mfbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
982 #define mfbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
983 #define mfbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
984 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
985 #define mfbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
986 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
994 #define mfbScanlineInc(_ptr, _off) mfbScanlineIncNoBankSwitch(_ptr, _of
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dafb.h836 #define afbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
837 #define afbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
838 #define afbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
839 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
840 #define afbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
841 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
849 #define afbScanlineInc(_ptr, _off) afbScanlineIncNoBankSwitch(_ptr, _of
[all...]
H A Dmfb.h981 #define mfbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
982 #define mfbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
983 #define mfbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
984 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
985 #define mfbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
986 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
994 #define mfbScanlineInc(_ptr, _off) mfbScanlineIncNoBankSwitch(_ptr, _of
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/
H A Dafb.h807 #define afbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
808 #define afbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
809 #define afbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
810 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
811 #define afbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
812 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
820 #define afbScanlineInc(_ptr, _off) afbScanlineIncNoBankSwitch(_ptr, _of
[all...]
H A Dmfb.h944 #define mfbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
945 #define mfbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
946 #define mfbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
947 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
948 #define mfbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
949 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
957 #define mfbScanlineInc(_ptr, _off) mfbScanlineIncNoBankSwitch(_ptr, _of
[all...]
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/mfb/
H A Dmfb.h1131 #define mfbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
1132 #define mfbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
1133 #define mfbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
1134 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
1135 #define mfbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
1136 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
1144 #define mfbScanlineInc(_ptr, _off) mfbScanlineIncNoBankSwitch(_ptr, _of
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/
H A Dafb.h962 #define afbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
963 #define afbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
964 #define afbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
965 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
966 #define afbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
967 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
975 #define afbScanlineInc(_ptr, _off) afbScanlineIncNoBankSwitch(_ptr, _of
[all...]
H A Dmfb.h983 #define mfbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
984 #define mfbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
985 #define mfbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
986 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
987 #define mfbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
988 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
996 #define mfbScanlineInc(_ptr, _off) mfbScanlineIncNoBankSwitch(_ptr, _of
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/
H A Dafb.h962 #define afbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
963 #define afbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
964 #define afbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
965 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
966 #define afbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
967 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
975 #define afbScanlineInc(_ptr, _off) afbScanlineIncNoBankSwitch(_ptr, _of
[all...]
H A Dilbm.h889 #define ilbmScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
890 #define ilbmScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr)+(_off))
891 #define ilbmScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
892 ilbmScanlineOffsetNoBankSwitch(_ptr, (_y)*(_w))
893 #define ilbmScanlineNoBankSwitch(_ptr, _x, _y, _w) \
894 ilbmScanlineOffsetNoBankSwitch(_ptr, (_y)*(_w)+((_x)>>MFB_PWSH))
902 #define ilbmScanlineInc(_ptr, _off) ilbmScanlineIncNoBankSwitch(_ptr, _of
[all...]
H A Dmfb.h983 #define mfbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
984 #define mfbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
985 #define mfbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
986 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
987 #define mfbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
988 mfbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
996 #define mfbScanlineInc(_ptr, _off) mfbScanlineIncNoBankSwitch(_ptr, _of
[all...]
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/afb/
H A Dafb.h1146 #define afbScanlineIncNoBankSwitch(_ptr, _off) _ptr += (_off)
1147 #define afbScanlineOffsetNoBankSwitch(_ptr, _off) ((_ptr) + (_off))
1148 #define afbScanlineDeltaNoBankSwitch(_ptr, _y, _w) \
1149 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w))
1150 #define afbScanlineNoBankSwitch(_ptr, _x, _y, _w) \
1151 afbScanlineOffsetNoBankSwitch(_ptr, (_y) * (_w) + ((_x) >> MFB_PWSH))
1159 #define afbScanlineInc(_ptr, _off) afbScanlineIncNoBankSwitch(_ptr, _of
[all...]
/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_protocol.h105 CRNetworkPointer _ptr = {0}; \
106 CRASSERT(!crMemcmp((_p), &_ptr, sizeof (CRNetworkPointer))); \
109 CRNetworkPointer _ptr = {0}; \
110 CRASSERT(crMemcmp((_p), &_ptr, sizeof (CRNetworkPointer))); \

Completed in 627 milliseconds

12