| /dragonfly/contrib/gdb-7/gdb/common/ |
| HD | vec.h | 129 #define VEC_length(T,V) (VEC_OP(T,length)(V)) argument 137 #define VEC_empty(T,V) (VEC_length (T,V) == 0) argument 147 #define VEC_last(T,V) (VEC_OP(T,last)(V VEC_ASSERT_INFO)) argument 156 #define VEC_index(T,V,I) (VEC_OP(T,index)(V,I VEC_ASSERT_INFO)) argument 170 #define VEC_iterate(T,V,I,P) (VEC_OP(T,iterate)(V,I,&(P))) argument 178 #define VEC_alloc(T,N) (VEC_OP(T,alloc)(N)) argument 185 #define VEC_free(T,V) (VEC_OP(T,free)(&V)) argument 192 #define VEC_cleanup(T) (VEC_OP(T,cleanup)) argument 202 #define VEC_embedded_size(T,N) (VEC_OP(T,embedded_size)(N)) argument 203 #define VEC_embedded_init(T,O,N) (VEC_OP(T,embedded_init)(VEC_BASE(O),N)) argument [all …]
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | vec.h | 150 #define VEC_length(T,V) (VEC_OP(T,base,length)(VEC_BASE(V))) argument 158 #define VEC_empty(T,V) (VEC_length (T,V) == 0) argument 168 #define VEC_last(T,V) (VEC_OP(T,base,last)(VEC_BASE(V) VEC_CHECK_INFO)) argument 177 #define VEC_index(T,V,I) (VEC_OP(T,base,index)(VEC_BASE(V),I VEC_CHECK_INFO)) argument 191 #define VEC_iterate(T,V,I,P) (VEC_OP(T,base,iterate)(VEC_BASE(V),I,&(P))) argument 195 #define FOR_EACH_VEC_ELT(T, V, I, P) \ argument 196 for (I = 0; VEC_iterate (T, (V), (I), (P)); ++(I)) 200 #define FOR_EACH_VEC_ELT_FROM(T, V, I, P, FROM) \ argument 201 for (I = (FROM); VEC_iterate (T, (V), (I), (P)); ++(I)) 205 #define FOR_EACH_VEC_ELT_REVERSE(T,V,I,P) \ argument [all …]
|
| HD | mkconfig.sh | 34 rm -f ${output}T 41 echo "#ifndef ${header_guard}" >> ${output}T 42 echo "#define ${header_guard}" >> ${output}T 47 echo "#ifdef GENERATOR_FILE" >> ${output}T 48 echo "#error config.h is for the host, not build, machine." >> ${output}T 49 echo "#endif" >> ${output}T 55 echo "#define TARGET_CPU_DEFAULT ($TARGET_CPU_DEFAULT)" >> ${output}T 60 echo "#ifndef $def" | sed 's/=.*//' >> ${output}T 61 echo "# define $def" | sed 's/=/ /' >> ${output}T 62 echo "#endif" >> ${output}T [all …]
|
| /dragonfly/contrib/nvi2/common/ |
| HD | encoding.c | 16 #define T 1 /* character appears in plain ASCII text */ macro 22 F, F, F, F, F, F, F, T, T, T, T, F, T, T, F, F, /* 0x0X */ 24 F, F, F, F, F, F, F, F, F, F, F, T, F, F, F, F, /* 0x1X */ 25 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x2X */ 26 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x3X */ 27 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x4X */ 28 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x5X */ 29 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x6X */ 30 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, F, /* 0x7X */ 32 X, X, X, X, X, T, X, X, X, X, X, X, X, X, X, X, /* 0x8X */ [all …]
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | vec.h | 260 template<typename T> 261 static void reserve (vec<T, va_heap, vl_embed> *&, unsigned, bool 264 template<typename T> 265 static void release (vec<T, va_heap, vl_embed> *&); 274 template<typename T> 276 va_heap::reserve (vec<T, va_heap, vl_embed> *&v, unsigned reserve, bool exact in reserve() argument 286 size_t size = vec<T, va_heap, vl_embed>::embedded_size (alloc); in reserve() 288 v = static_cast <vec<T, va_heap, vl_embed> *> (xrealloc (v, size)); in reserve() 298 template<typename T> 300 va_heap::release (vec<T, va_heap, vl_embed> *&v) in release() argument [all …]
|
| HD | int-vector-builder.h | 28 template<typename T> 29 class int_vector_builder : public vector_builder<T, int_vector_builder<T> > 31 typedef vector_builder<T, int_vector_builder> parent; 32 friend class vector_builder<T, int_vector_builder>; 41 bool equal_p (T, T) const; 43 bool integral_p (T) const { return true; } in integral_p() argument 44 T step (T, T) const; 45 T apply_step (T, unsigned int, T) const; 46 bool can_elide_p (T) const { return true; } in can_elide_p() argument 47 void note_representative (T *, T) {} in note_representative() argument [all …]
|
| HD | ggc.h | 155 #define GGC_RESIZEVEC(T, P, N) \ argument 156 ((T *) ggc_realloc ((P), (N) * sizeof (T) MEM_STAT_INFO)) 158 template<typename T> 162 static_cast<T *> (p)->~T (); in finalize() 165 template<typename T> 170 return !__has_trivial_destructor (T); in need_finalization_p() 176 template<typename T> 177 inline T * 180 if (need_finalization_p<T> ()) in ggc_alloc() 181 return static_cast<T *> (ggc_internal_alloc (sizeof (T), finalize<T>, 0, 1 in ggc_alloc() [all …]
|
| HD | symbol-summary.h | 27 template <class T> 34 template <class T> 35 class GTY((user)) function_summary <T *> in class() 72 typedef typename hash_map <map_hash, T *>::iterator map_iterator; in class() 81 template<typename Arg, bool (*f)(const T &, Arg)> in class() 88 virtual void insert (cgraph_node *, T *) {} in class() 91 virtual void remove (cgraph_node *, T *) {} in class() 94 virtual void duplicate (cgraph_node *, cgraph_node *, T *, T *) {} in class() 97 T* allocate_new () in class() 101 return m_ggc ? new (ggc_internal_alloc (sizeof (T))) T () : new T () ; in class() [all …]
|
| HD | hash-map-traits.h | 38 template <typename T> static inline void remove (T &); 39 template <typename T> static inline bool is_empty (const T &); 40 template <typename T> static inline bool is_deleted (const T &); 41 template <typename T> static inline void mark_empty (T &); 42 template <typename T> static inline void mark_deleted (T &); 61 template <typename T> 63 simple_hashmap_traits <H, Value>::remove (T &entry) in remove() 70 template <typename T> 72 simple_hashmap_traits <H, Value>::is_empty (const T &entry) in is_empty() 78 template <typename T> [all …]
|
| HD | machmode.h | 34 template<typename T> 244 template<typename T> 251 ALWAYS_INLINE opt_mode (const T &m) : m_mode (m) {} 253 ALWAYS_INLINE opt_mode (const U &m) : m_mode (T (m)) {} 258 T require () const; 270 template<typename T> 272 opt_mode<T>::else_void () const 279 template<typename T> 281 opt_mode<T>::else_blk () const 288 template<typename T> [all …]
|
| HD | mem-stats.h | 265 template <class T> 268 mem_usage_pair (T *usage_, size_t allocated_): usage (usage_), in mem_usage_pair() 271 T *usage; 276 template <class T> 304 typedef hash_map <mem_location_hash, T *> mem_map_t; 305 typedef hash_map <const void *, mem_usage_pair<T> > reverse_mem_map_t; 306 typedef hash_map <const void *, std::pair<T *, size_t> > reverse_object_map_t; 307 typedef std::pair <mem_location *, T *> mem_list_t; 320 T * 325 T * [all …]
|
| HD | is-a.h | 150 template <typename T> 156 static inline T cast (U *p); 168 template <typename T> 170 inline T 171 is_a_helper <T>::cast (U *p) in cast() 173 return reinterpret_cast <T> (p); in cast() 183 template <typename T, typename U> 187 return is_a_helper<T>::test (p); in is_a() 193 template <typename T, typename U> 194 inline T [all …]
|
| HD | vector-builder.h | 87 template<typename T, typename Derived> 88 class vector_builder : public auto_vec<T, 32> 98 T elt (unsigned int) const; 123 template<typename T, typename Derived> 125 vector_builder<T, Derived>::derived () const in derived() 130 template<typename T, typename Derived> 132 vector_builder<T, Derived>::vector_builder () in vector_builder() 142 template<typename T, typename Derived> 144 vector_builder<T, Derived>::encoded_nelts () const in encoded_nelts() 151 template<typename T, typename Derived> [all …]
|
| /dragonfly/sys/net/wg/selftest/ |
| HD | counter.c | 32 #define T(num, v, e) do { \ macro 48 T( 1, 0, 0); in noise_counter_selftest() 49 T( 2, 1, 0); in noise_counter_selftest() 50 T( 3, 1, EEXIST); in noise_counter_selftest() 51 T( 4, 9, 0); in noise_counter_selftest() 52 T( 5, 8, 0); in noise_counter_selftest() 53 T( 6, 7, 0); in noise_counter_selftest() 54 T( 7, 7, EEXIST); in noise_counter_selftest() 55 T( 8, T_LIM, 0); in noise_counter_selftest() 56 T( 9, T_LIM - 1, 0); in noise_counter_selftest() [all …]
|
| /dragonfly/contrib/file/src/ |
| HD | encoding.c | 236 #define T 1 /* character appears in plain ASCII text */ macro 242 F, F, F, F, F, F, F, T, T, T, T, T, T, T, F, F, /* 0x0X */ 244 F, F, F, F, F, F, F, F, F, F, F, T, F, F, F, F, /* 0x1X */ 245 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x2X */ 246 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x3X */ 247 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x4X */ 248 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x5X */ 249 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, /* 0x6X */ 250 T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, F, /* 0x7X */ 252 X, X, X, X, X, T, X, X, X, X, X, X, X, X, X, X, /* 0x8X */ [all …]
|
| /dragonfly/contrib/gcc-8.0/include/ |
| HD | unique-ptr.h | 88 template<typename T> using unique_ptr = std::unique_ptr<T>; 98 template<typename T> 101 void operator () (T *ptr) const { delete ptr; } 106 template<typename T> 107 struct default_delete<T[]> 109 void operator () (T *ptr) const { delete [] ptr; } 133 template<typename T, typename D> 137 typedef T *pointer; 138 typedef T element_type; 252 explicit TYPE (T *p = NULL) throw () \ [all …]
|
| HD | libiberty.h | 348 #define XALLOCA(T) ((T *) alloca (sizeof (T))) argument 349 #define XNEW(T) ((T *) xmalloc (sizeof (T))) argument 350 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) argument 351 #define XDUP(T, P) ((T *) xmemdup ((P), sizeof (T), sizeof (T))) argument 356 #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N))) argument 357 #define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N))) argument 358 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) argument 359 #define XDUPVEC(T, P, N) ((T *) xmemdup ((P), sizeof (T) * (N), sizeof (T) * (N))) argument 360 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) argument 365 #define XALLOCAVAR(T, S) ((T *) alloca ((S))) argument [all …]
|
| /dragonfly/contrib/gdb-7/include/ |
| HD | libiberty.h | 341 #define XALLOCA(T) ((T *) alloca (sizeof (T))) argument 342 #define XNEW(T) ((T *) xmalloc (sizeof (T))) argument 343 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) argument 344 #define XDUP(T, P) ((T *) xmemdup ((P), sizeof (T), sizeof (T))) argument 349 #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N))) argument 350 #define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N))) argument 351 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) argument 352 #define XDUPVEC(T, P, N) ((T *) xmemdup ((P), sizeof (T) * (N), sizeof (T) * (N))) argument 353 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) argument 358 #define XALLOCAVAR(T, S) ((T *) alloca ((S))) argument [all …]
|
| /dragonfly/contrib/gcc-4.7/include/ |
| HD | libiberty.h | 350 #define XALLOCA(T) ((T *) alloca (sizeof (T))) argument 351 #define XNEW(T) ((T *) xmalloc (sizeof (T))) argument 352 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) argument 353 #define XDUP(T, P) ((T *) xmemdup ((P), sizeof (T), sizeof (T))) argument 358 #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N))) argument 359 #define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N))) argument 360 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) argument 361 #define XDUPVEC(T, P, N) ((T *) xmemdup ((P), sizeof (T) * (N), sizeof (T) * (N))) argument 362 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) argument 367 #define XALLOCAVAR(T, S) ((T *) alloca ((S))) argument [all …]
|
| /dragonfly/contrib/binutils-2.27/include/ |
| HD | libiberty.h | 348 #define XALLOCA(T) ((T *) alloca (sizeof (T))) argument 349 #define XNEW(T) ((T *) xmalloc (sizeof (T))) argument 350 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) argument 351 #define XDUP(T, P) ((T *) xmemdup ((P), sizeof (T), sizeof (T))) argument 356 #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N))) argument 357 #define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N))) argument 358 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) argument 359 #define XDUPVEC(T, P, N) ((T *) xmemdup ((P), sizeof (T) * (N), sizeof (T) * (N))) argument 360 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) argument 365 #define XALLOCAVAR(T, S) ((T *) alloca ((S))) argument [all …]
|
| /dragonfly/contrib/binutils-2.34/include/ |
| HD | libiberty.h | 357 #define XALLOCA(T) ((T *) alloca (sizeof (T))) argument 358 #define XNEW(T) ((T *) xmalloc (sizeof (T))) argument 359 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) argument 360 #define XDUP(T, P) ((T *) xmemdup ((P), sizeof (T), sizeof (T))) argument 365 #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N))) argument 366 #define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N))) argument 367 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) argument 368 #define XDUPVEC(T, P, N) ((T *) xmemdup ((P), sizeof (T) * (N), sizeof (T) * (N))) argument 369 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) argument 374 #define XALLOCAVAR(T, S) ((T *) alloca ((S))) argument [all …]
|
| /dragonfly/crypto/libressl/crypto/sha/ |
| HD | sha_locl.h | 193 unsigned MD32_REG_T A,B,C,D,E,T,l; in HASH_BLOCK_DATA_ORDER() local 216 BODY_00_15( 0,A,B,C,D,E,T,X( 0)); X( 2) = W[ 2]; in HASH_BLOCK_DATA_ORDER() 217 BODY_00_15( 1,T,A,B,C,D,E,X( 1)); X( 3) = W[ 3]; in HASH_BLOCK_DATA_ORDER() 218 BODY_00_15( 2,E,T,A,B,C,D,X( 2)); X( 4) = W[ 4]; in HASH_BLOCK_DATA_ORDER() 219 BODY_00_15( 3,D,E,T,A,B,C,X( 3)); X( 5) = W[ 5]; in HASH_BLOCK_DATA_ORDER() 220 BODY_00_15( 4,C,D,E,T,A,B,X( 4)); X( 6) = W[ 6]; in HASH_BLOCK_DATA_ORDER() 221 BODY_00_15( 5,B,C,D,E,T,A,X( 5)); X( 7) = W[ 7]; in HASH_BLOCK_DATA_ORDER() 222 BODY_00_15( 6,A,B,C,D,E,T,X( 6)); X( 8) = W[ 8]; in HASH_BLOCK_DATA_ORDER() 223 BODY_00_15( 7,T,A,B,C,D,E,X( 7)); X( 9) = W[ 9]; in HASH_BLOCK_DATA_ORDER() 224 BODY_00_15( 8,E,T,A,B,C,D,X( 8)); X(10) = W[10]; in HASH_BLOCK_DATA_ORDER() [all …]
|
| /dragonfly/lib/libc/nameser/ |
| HD | ns_print.c | 67 #define T(x) \ macro 120 T(addstr("\t\t\t", 3, &buf, &buflen)); in ns_sprintrrf() 126 T(addstr("@\t\t\t", 4, &buf, &buflen)); in ns_sprintrrf() 128 T(addstr(name, len, &buf, &buflen)); in ns_sprintrrf() 134 T(addstr(".", 1, &buf, &buflen)); in ns_sprintrrf() 137 T(spaced = addtab(len, 24, spaced, &buf, &buflen)); in ns_sprintrrf() 144 T(x = ns_format_ttl(ttl, buf, buflen)); in ns_sprintrrf() 147 T(addstr(tmp, len, &buf, &buflen)); in ns_sprintrrf() 148 T(spaced = addtab(x + len, 16, spaced, &buf, &buflen)); in ns_sprintrrf() 168 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() [all …]
|
| /dragonfly/usr.sbin/pw/ |
| HD | psdate.c | 171 struct tm *T; in parse_date() local 207 T = localtime(&dt); in parse_date() 208 T->tm_mon += (int) val; in parse_date() 209 i = T->tm_mday; in parse_date() 213 T = localtime(&dt); in parse_date() 214 T->tm_year += (int) val; in parse_date() 215 i = T->tm_mday; in parse_date() 217 dt = mktime(T); in parse_date() 218 T = localtime(&dt); in parse_date() 219 if (T->tm_mday != i) { in parse_date() [all …]
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_rb.h | 48 #define ARCHIVE_RB_TREE_MIN(T) \ argument 49 __archive_rb_tree_iterate((T), NULL, ARCHIVE_RB_DIR_LEFT) 50 #define ARCHIVE_RB_TREE_MAX(T) \ argument 51 __archive_rb_tree_iterate((T), NULL, ARCHIVE_RB_DIR_RIGHT) 52 #define ARCHIVE_RB_TREE_NEXT(T, N) \ argument 53 __archive_rb_tree_iterate((T), (N), ARCHIVE_RB_DIR_RIGHT) 54 #define ARCHIVE_RB_TREE_PREV(T, N) \ argument 55 __archive_rb_tree_iterate((T), (N), ARCHIVE_RB_DIR_LEFT) 56 #define ARCHIVE_RB_TREE_FOREACH(N, T) \ argument 57 for ((N) = ARCHIVE_RB_TREE_MIN(T); (N); \ [all …]
|