Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 25 of 267) sorted by relevance

1234567891011

/haiku/headers/build/gcc-2.95.3/
H A Dva-ppc.h54 #define __VA_FP_REGSAVE(AP,OFS,TYPE) \ argument
55 ((TYPE *) (void *) (&(((__va_regsave_t *) \
58 #define __VA_GP_REGSAVE(AP,OFS,TYPE) \ argument
59 ((TYPE *) (void *) (&(((__va_regsave_t *) \
86 #define __va_float_p(TYPE) 0 argument
88 #define __va_float_p(TYPE) (__builtin_classify_type(*(TYPE *)0) == 8) argument
91 #define __va_aggregate_p(TYPE) (__builtin_classify_type(*(TYPE *)0) >= 12) argument
92 #define __va_size(TYPE) ((sizeof(TYPE) + sizeof (long) - 1) / sizeof (long)) argument
107 #define va_arg(AP,TYPE) \ argument
109 register TYPE *__ptr; \
[all …]
H A Dva-arc.h82 #define __va_rounded_size(TYPE) \ argument
83 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
86 #define va_arg(AP,TYPE) \ argument
88 (*({((__builtin_classify_type (*(TYPE*) 0) >= __record_type_class \
89 || __va_rounded_size (TYPE) > 8) \
90 ? ((AP) = (char *)(AP) + __va_rounded_size (TYPE *), \
91 *(TYPE **) (void *) ((char *)(AP) - __va_rounded_size (TYPE *))) \
92 : ((TYPE *) (void *) \
93 (AP = (void *) ((__alignof__ (TYPE) > 4 \
96 + __va_rounded_size (TYPE))) - 1));}))
[all …]
H A Dva-sparc.h96 #define va_arg(pvar, TYPE) \ argument
98 (*({int __type = __builtin_classify_type (* (TYPE *) 0); \
102 if (__alignof__ (TYPE) == 16) \
105 (pvar) = (char *) (pvar) + sizeof (TYPE); \
110 __result = (char *) (pvar) - sizeof (TYPE); \
114 if (sizeof (TYPE) <= 8) \
119 else if (sizeof (TYPE) <= 16) \
121 if (__alignof__ (TYPE) == 16) \
132 (TYPE *) __result;}))
136 #define __va_rounded_size(TYPE) \ argument
[all …]
H A Dva-m88k.h65 #define __va_reg_p(TYPE) \ argument
66 (__builtin_classify_type(*(TYPE *)0) < 12 \
67 ? sizeof(TYPE) <= 8 : sizeof(TYPE) == 4 && __alignof__(TYPE) == 4)
69 #define __va_size(TYPE) ((sizeof(TYPE) + 3) >> 2) argument
73 #define va_arg(AP,TYPE) \ argument
74 ( (AP).__va_arg = (((AP).__va_arg + (1 << (__alignof__(TYPE) >> 3)) - 1) \
75 & ~((1 << (__alignof__(TYPE) >> 3)) - 1)) \
76 + __va_size(TYPE), \
77 *((TYPE *) (void *) ((__va_reg_p(TYPE) \
78 && (AP).__va_arg < 8 + __va_size(TYPE) \
[all …]
H A Dva-m32r.h15 #define __va_rounded_size(TYPE) \ argument
16 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
63 #define __va_by_reference_p(TYPE) (sizeof (TYPE) > 8) argument
65 #define va_arg(AP,TYPE) \ argument
67 register TYPE *__ptr; \
69 if (__va_by_reference_p (TYPE)) \
71 __ptr = *(TYPE **)(void *) (AP); \
76 __ptr = (TYPE *)(void *) \
77 ((char *) (AP) + (sizeof (TYPE) < __va_rounded_size (char) \
78 ? __va_rounded_size (TYPE) - sizeof (TYPE) \
[all …]
H A Dva-sh.h127 #define __SCALAR_TYPE(TYPE) \ argument
128 ((TYPE) == __integer_type_class \
129 || (TYPE) == __char_type_class \
130 || (TYPE) == __enumeral_type_class)
153 #define __va_arg_sh1(AP, TYPE) __extension__ \ argument
154 ({(sizeof (TYPE) == 1 \
155 ? ({union {TYPE t; char c;} __t; \
160 : sizeof (TYPE) == 2 \
161 ? ({union {TYPE t; short s;} __t; \
166 : sizeof (TYPE) >= 4 || __LITTLE_ENDIAN_P \
[all …]
H A Dstdarg.h85 #define __va_rounded_size(TYPE) \ argument
86 (((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
88 #define __va_rounded_size(TYPE) \ argument
89 (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
91 #define __va_rounded_size(TYPE) \ argument
92 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
107 #define va_arg(AP, TYPE) \ argument
108 (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
109 *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE))))
112 #define va_arg(AP, TYPE) \ argument
[all …]
H A Dvarargs.h116 #define __va_rounded_size(TYPE) \ argument
117 (((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
119 #define __va_rounded_size(TYPE) \ argument
120 (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
122 #define __va_rounded_size(TYPE) \ argument
123 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
128 #define va_arg(AP, TYPE) \ argument
129 (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
130 *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE))))
133 #define va_arg(AP, TYPE) \ argument
[all …]
H A Dva-h8300.h24 #define __va_rounded_size(TYPE) \ argument
25 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
27 #define __va_rounded_size(TYPE) \ argument
28 (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
45 #define va_arg(AP, TYPE) \ argument
46 (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
47 *((TYPE *) (void *) ((char *) (AP) \
48 - ((sizeof (TYPE) < __va_rounded_size (int) \
49 ? sizeof (TYPE) : __va_rounded_size (TYPE))))))
H A Dva-clipper.h43 #define __va_round(AP,TYPE) \ argument
44 ((AP).__va_ap = ((AP).__va_ap + __alignof__ (TYPE) - 1 ) & \
45 ~(__alignof__ (TYPE) - 1), \
48 #define va_arg(AP, TYPE) \ argument
49 (*((AP).__va_num < 2 && __builtin_classify_type (* (TYPE *)0) < 12 \
50 ? (__builtin_classify_type (* (TYPE *)0) == 8 \
51 ? ((TYPE *)(AP).__va_reg[2 * (AP).__va_num++ + 1]) \
52 : ((TYPE *)(AP).__va_reg[2 * (AP).__va_num++ ])) \
53 : ((AP).__va_num++, __va_round (AP,TYPE), ((TYPE *)((AP).__va_ap))++)))
H A Dva-v850.h23 #define __va_rounded_size(TYPE) \ argument
24 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
28 #define va_arg(AP, TYPE) \ argument
29 (sizeof (TYPE) > 8 \
31 **((TYPE **) (void *) ((char *) (AP) - __va_rounded_size (char *))))\
32 : (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
33 *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE)))))
H A Dva-mn10300.h24 #define __va_rounded_size(TYPE) \ argument
25 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
29 #define va_arg(AP, TYPE) \ argument
30 (sizeof (TYPE) > 8 \
32 **((TYPE **) (void *) ((char *) (AP) - __va_rounded_size (char *))))\
33 : (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
34 *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE)))))
H A Dva-mn10200.h25 #define __va_rounded_size(TYPE) \ argument
26 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
30 #define va_arg(AP, TYPE) \ argument
31 (sizeof (TYPE) > 8 \
33 **((TYPE **) (void *) ((char *) (AP) - __va_rounded_size (char *))))\
34 : (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
35 *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE)))))
H A Dva-pa.h35 #define va_arg(AP,TYPE) \ argument
36 (*(sizeof(TYPE) > 8 ? \
38 (((TYPE *) (void *) (*((int *) (AP)))))) \
40 (__gnuc_va_list) ((long)((char *)AP - sizeof (TYPE)) \
41 & (sizeof(TYPE) > 4 ? ~0x7 : ~0x3))), \
42 (((TYPE *) (void *) ((char *)AP + ((8 - sizeof(TYPE)) % 4)))))))
H A Dva-c4x.h31 #define va_arg(AP,TYPE) (AP = (__gnuc_va_list) ((char *) (AP) - sizeof(TYPE)), \ argument
32 *((TYPE *) ((char *) (AP))))
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPArray.cpp10 template<typename TYPE>
11 GPArray<TYPE>::GPArray() in GPArray()
19 template<typename TYPE>
20 GPArray<TYPE>::~GPArray() in ~GPArray()
31 template<typename TYPE>
33 GPArray<TYPE>::SetSize(int size) in SetSize()
47 template<typename TYPE>
49 GPArray<TYPE>::Size() const in Size()
55 template<typename TYPE>
57 GPArray<TYPE>::DecreaseSize() in DecreaseSize()
[all …]
H A DGPArray.h11 template<typename TYPE>
15 typedef TYPE* PointerType;
23 TYPE** Array();
24 TYPE** Array() const;
28 TYPE** fArray;
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DRollBuffer.h4 template <class TYPE> class CRollBuffer
25 m_pData = new TYPE[m_nWindowElements + m_nHistoryElements]; in Create()
35 ZeroMemory(m_pData, (m_nHistoryElements + 1) * sizeof(TYPE)); in Flush()
41 memcpy(&m_pData[0], &m_pCurrent[-m_nHistoryElements], m_nHistoryElements * sizeof(TYPE)); in Roll()
57 __inline TYPE & operator[](const int nIndex) const
64 TYPE * m_pData;
65 TYPE * m_pCurrent;
70 template <class TYPE, int WINDOW_ELEMENTS, int HISTORY_ELEMENTS> class CRollBufferFast
76 m_pData = new TYPE[WINDOW_ELEMENTS + HISTORY_ELEMENTS]; in CRollBufferFast()
87 ZeroMemory(m_pData, (HISTORY_ELEMENTS + 1) * sizeof(TYPE)); in Flush()
[all …]
H A DSmartPtr.h16 template <class TYPE> class CSmartPtr
19 TYPE * m_pObject;
28 CSmartPtr(TYPE * a_pObject, BOOL a_bArray = FALSE, BOOL a_bDelete = TRUE)
40 void Assign(TYPE * a_pObject, BOOL a_bArray = FALSE, BOOL a_bDelete = TRUE)
67 __inline TYPE * GetPtr() const in GetPtr()
72 __inline operator TYPE * () const
77 __inline TYPE * operator ->() const
/haiku/headers/private/bluetooth/
H A DPortListener.h11 typename TYPE,
17 typedef status_t (*port_listener_func)(TYPE*, int32, size_t);
53 status_t Trigger(int32 code, TYPE* buffer, size_t size) in Trigger()
82 fThread = spawn_kernel_thread((thread_func)&PortListener<TYPE, in InitCheck()
86 fThread = spawn_thread((thread_func)&PortListener<TYPE, in InitCheck()
145 TYPE* buffer = (TYPE*)malloc(MAX_MESSAGE_SIZE); in threadFunction()
/haiku/src/libs/libsolv/solv/
H A Dqsort_r.c55 #define swapcode(TYPE, parmi, parmj, n) { \ argument
56 long i = (n) / sizeof (TYPE); \
57 TYPE *pi = (TYPE *) (parmi); \
58 TYPE *pj = (TYPE *) (parmj); \
60 TYPE t = *pi; \
/haiku/src/data/mime_db/message/
H A Drfc8222 resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
4 resource(1, "META:TYPE") "message/rfc822";
/haiku/src/data/mime_db/video/
H A Dmpeg2 resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
4 resource(1, "META:TYPE") "video/mpeg";
H A Ddv2 resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
4 resource(1, "META:TYPE") "video/dv";
/haiku/src/data/mime_db/image/
H A Dvnd.haiku.picture1 resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
3 resource(1, "META:TYPE") "image/vnd.haiku.picture";

1234567891011