Searched refs:TYPE (Results 1 - 25 of 118) sorted by relevance

12345

/haiku-fatelf/src/add-ons/print/drivers/gutenprint/
H A DGPArray.cpp10 template<typename TYPE>
11 GPArray<TYPE>::GPArray()
19 template<typename TYPE>
20 GPArray<TYPE>::~GPArray()
31 template<typename TYPE>
33 GPArray<TYPE>::SetSize(int size)
47 template<typename TYPE>
49 GPArray<TYPE>::Size() const
55 template<typename TYPE>
57 GPArray<TYPE>
[all...]
H A DGPArray.h11 template<typename TYPE>
15 typedef TYPE* PointerType;
23 TYPE** Array();
24 TYPE** Array() const;
28 TYPE** fArray;
/haiku-fatelf/src/bin/gdb/gdb/
H A Dgdb_obstack.h29 #define OBSTACK_ZALLOC(OBSTACK,TYPE) (memset (obstack_alloc ((OBSTACK), sizeof (TYPE)), 0, sizeof (TYPE)))
31 #define OBSTACK_CALLOC(OBSTACK,NUMBER,TYPE) (memset (obstack_alloc ((OBSTACK), (NUMBER) * sizeof (TYPE)), 0, (NUMBER) * sizeof (TYPE)))
/haiku-fatelf/headers/build/gcc-2.95.3/
H A Dva-h8300.h24 #define __va_rounded_size(TYPE) \
25 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
27 #define __va_rounded_size(TYPE) \
28 (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
45 #define va_arg(AP, TYPE) \
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))))))
[all...]
H A Dva-arc.h78 /* We cast to void * and then to TYPE * because this avoids
82 #define __va_rounded_size(TYPE) \
83 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
86 #define va_arg(AP,TYPE) \
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 *) (voi
[all...]
H A Dva-m32r.h15 #define __va_rounded_size(TYPE) \
16 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
63 #define __va_by_reference_p(TYPE) (sizeof (TYPE) > 8)
65 #define va_arg(AP,TYPE) \
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_siz
[all...]
H A Dva-v850.h23 #define __va_rounded_size(TYPE) \
24 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
28 #define va_arg(AP, TYPE) \
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-ppc.h52 /* We cast to void * and then to TYPE * because this avoids
54 #define __VA_FP_REGSAVE(AP,OFS,TYPE) \
55 ((TYPE *) (void *) (&(((__va_regsave_t *) \
58 #define __VA_GP_REGSAVE(AP,OFS,TYPE) \
59 ((TYPE *) (void *) (&(((__va_regsave_t *) \
86 #define __va_float_p(TYPE) 0
88 #define __va_float_p(TYPE) (__builtin_classify_type(*(TYPE *)0) == 8)
91 #define __va_aggregate_p(TYPE) (__builtin_classify_type(*(TYPE *)
[all...]
H A Dva-m88k.h65 #define __va_reg_p(TYPE) \
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)
71 /* We cast to void * and then to TYPE * because this avoids
73 #define va_arg(AP,TYPE) \
74 ( (AP).__va_arg = (((AP).__va_arg + (1 << (__alignof__(TYPE) >>
[all...]
H A Dva-sparc.h96 #define va_arg(pvar, TYPE) \
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) \
[all...]
H A Dva-mn10200.h25 #define __va_rounded_size(TYPE) \
26 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
30 #define va_arg(AP, TYPE) \
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-mn10300.h24 #define __va_rounded_size(TYPE) \
25 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
29 #define va_arg(AP, TYPE) \
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 Dstdarg.h81 /* Amount of space required in an argument list for an arg of type TYPE.
82 TYPE may alternatively be an expression whose type is used. */
85 #define __va_rounded_size(TYPE) \
86 (((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
88 #define __va_rounded_size(TYPE) \
89 (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
91 #define __va_rounded_size(TYPE) \
92 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
102 /* We cast to void * and then to TYPE * because this avoids
107 #define va_arg(AP, TYPE) \
[all...]
H A Dva-pa.h35 #define va_arg(AP,TYPE) \
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-clipper.h43 #define __va_round(AP,TYPE) \
44 ((AP).__va_ap = ((AP).__va_ap + __alignof__ (TYPE) - 1 ) & \
45 ~(__alignof__ (TYPE) - 1), \
48 #define va_arg(AP, TYPE) \
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 *)((A
[all...]
H A Dva-sh.h127 #define __SCALAR_TYPE(TYPE) \
128 ((TYPE) == __integer_type_class \
129 || (TYPE) == __char_type_class \
130 || (TYPE) == __enumeral_type_class)
153 #define __va_arg_sh1(AP, TYPE) __extension__ \
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) >
[all...]
H A Dva-c4x.h31 #define va_arg(AP,TYPE) (AP = (__gnuc_va_list) ((char *) (AP) - sizeof(TYPE)), \
32 *((TYPE *) ((char *) (AP))))
H A Dvarargs.h116 #define __va_rounded_size(TYPE) \
117 (((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
119 #define __va_rounded_size(TYPE) \
120 (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
122 #define __va_rounded_size(TYPE) \
123 (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
128 #define va_arg(AP, TYPE) \
129 (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
130 *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE))))
[all...]
/haiku-fatelf/headers/private/kernel/arch/sparc/
H A Dva-sparc.h96 #define va_arg(pvar, TYPE) \
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) \
[all...]
/haiku-fatelf/src/bin/gdb/gdb/config/i386/
H A Dnm-i386sol2.h30 #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(TYPE, CNT, OT) 1
56 #define target_insert_watchpoint(ADDR, LEN, TYPE) \
57 procfs_set_watchpoint (inferior_ptid, ADDR, LEN, TYPE, 1)
58 #define target_remove_watchpoint(ADDR, LEN, TYPE) \
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/ebml/
H A DEbmlEndian.h58 template<class TYPE, endianess ENDIAN> class Endian
63 Endian(const TYPE value)
65 memcpy(&platform_value, &value, sizeof(TYPE));
71 //endian_value = *(TYPE *)(endian_buffer);
72 memcpy(&endian_value, endian_buffer, sizeof(TYPE)); // Some (all?) RISC processors do not allow reading objects bigger than 1 byte from non-aligned addresses, and endian_buffer may point to a non-aligned address.
79 //*(TYPE*)endian_buffer = endian_value;
80 memcpy(endian_buffer, &endian_value, sizeof(TYPE)); // See above.
83 inline operator const TYPE&() const { return platform_value; }
84 // inline TYPE endian() const { return endian_value; }
85 inline const TYPE
[all...]
/haiku-fatelf/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];
35 ZeroMemory(m_pData, (m_nHistoryElements + 1) * sizeof(TYPE));
41 memcpy(&m_pData[0], &m_pCurrent[-m_nHistoryElements], m_nHistoryElements * sizeof(TYPE));
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];
87 ZeroMemory(m_pData, (HISTORY_ELEMENTS + 1) * sizeof(TYPE));
[all...]
/haiku-fatelf/headers/private/kernel/arch/sh4/
H A Dva-sh.h127 #define __SCALAR_TYPE(TYPE) \
128 ((TYPE) == __integer_type_class \
129 || (TYPE) == __char_type_class \
130 || (TYPE) == __enumeral_type_class)
153 #define __va_arg_sh1(AP, TYPE) __extension__ \
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) >
[all...]
/haiku-fatelf/src/bin/gdb/gdb/config/mips/
H A Dnm-irix5.h41 #define target_insert_watchpoint(ADDR, LEN, TYPE) \
42 procfs_set_watchpoint (inferior_ptid, ADDR, LEN, TYPE, 0)
43 #define target_remove_watchpoint(ADDR, LEN, TYPE) \
/haiku-fatelf/src/bin/gdb/gdb/config/sparc/
H A Dnm-sol2.h54 /* Use these macros for watchpoint insertion/deletion. TYPE can be 0
58 #define target_insert_watchpoint(ADDR, LEN, TYPE) \
59 procfs_set_watchpoint (inferior_ptid, ADDR, LEN, TYPE, 1)
60 #define target_remove_watchpoint(ADDR, LEN, TYPE) \

Completed in 206 milliseconds

12345