 |
HDF5
1.12.0
|
Go to the documentation of this file.
29 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_INT8_T
30 #define ASSIGN_unsigned_TO_int8_t(dst, dsttype, src, srctype) \
31 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
32 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_INT8_T
33 #define ASSIGN_unsigned_TO_int8_t(dst, dsttype, src, srctype) \
34 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
36 #define ASSIGN_unsigned_TO_int8_t(dst, dsttype, src, srctype) \
37 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
41 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_INT
42 #define ASSIGN_unsigned_TO_int(dst, dsttype, src, srctype) \
43 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
44 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_INT
45 #define ASSIGN_unsigned_TO_int(dst, dsttype, src, srctype) \
46 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
48 #define ASSIGN_unsigned_TO_int(dst, dsttype, src, srctype) \
49 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
53 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_LONG
54 #define ASSIGN_unsigned_TO_long(dst, dsttype, src, srctype) \
55 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
56 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_LONG
57 #define ASSIGN_unsigned_TO_long(dst, dsttype, src, srctype) \
58 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
60 #define ASSIGN_unsigned_TO_long(dst, dsttype, src, srctype) \
61 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
65 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_INT64_T
66 #define ASSIGN_unsigned_TO_int64_t(dst, dsttype, src, srctype) \
67 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
68 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_INT64_T
69 #define ASSIGN_unsigned_TO_int64_t(dst, dsttype, src, srctype) \
70 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
72 #define ASSIGN_unsigned_TO_int64_t(dst, dsttype, src, srctype) \
73 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
77 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_UINT8_T
78 #define ASSIGN_unsigned_TO_uint8_t(dst, dsttype, src, srctype) \
79 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
80 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_UINT8_T
81 #define ASSIGN_unsigned_TO_uint8_t(dst, dsttype, src, srctype) \
82 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
84 #define ASSIGN_unsigned_TO_uint8_t(dst, dsttype, src, srctype) \
85 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
89 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_UINT16_T
90 #define ASSIGN_unsigned_TO_uint16_t(dst, dsttype, src, srctype) \
91 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
92 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_UINT16_T
93 #define ASSIGN_unsigned_TO_uint16_t(dst, dsttype, src, srctype) \
94 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
96 #define ASSIGN_unsigned_TO_uint16_t(dst, dsttype, src, srctype) \
97 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
101 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_UINT32_T
102 #define ASSIGN_unsigned_TO_uint32_t(dst, dsttype, src, srctype) \
103 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
104 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_UINT32_T
105 #define ASSIGN_unsigned_TO_uint32_t(dst, dsttype, src, srctype) \
106 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
108 #define ASSIGN_unsigned_TO_uint32_t(dst, dsttype, src, srctype) \
109 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
113 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_UINT64_T
114 #define ASSIGN_unsigned_TO_uint64_t(dst, dsttype, src, srctype) \
115 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
116 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_UINT64_T
117 #define ASSIGN_unsigned_TO_uint64_t(dst, dsttype, src, srctype) \
118 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
120 #define ASSIGN_unsigned_TO_uint64_t(dst, dsttype, src, srctype) \
121 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
125 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_PTRDIFF_T
126 #define ASSIGN_unsigned_TO_ptrdiff_t(dst, dsttype, src, srctype) \
127 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
128 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_PTRDIFF_T
129 #define ASSIGN_unsigned_TO_ptrdiff_t(dst, dsttype, src, srctype) \
130 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
132 #define ASSIGN_unsigned_TO_ptrdiff_t(dst, dsttype, src, srctype) \
133 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
137 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_SIZE_T
138 #define ASSIGN_unsigned_TO_size_t(dst, dsttype, src, srctype) \
139 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
140 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_SIZE_T
141 #define ASSIGN_unsigned_TO_size_t(dst, dsttype, src, srctype) \
142 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
144 #define ASSIGN_unsigned_TO_size_t(dst, dsttype, src, srctype) \
145 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
149 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_SSIZE_T
150 #define ASSIGN_unsigned_TO_ssize_t(dst, dsttype, src, srctype) \
151 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
152 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_SSIZE_T
153 #define ASSIGN_unsigned_TO_ssize_t(dst, dsttype, src, srctype) \
154 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
156 #define ASSIGN_unsigned_TO_ssize_t(dst, dsttype, src, srctype) \
157 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
161 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_HADDR_T
162 #define ASSIGN_unsigned_TO_haddr_t(dst, dsttype, src, srctype) \
163 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
164 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_HADDR_T
165 #define ASSIGN_unsigned_TO_haddr_t(dst, dsttype, src, srctype) \
166 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
168 #define ASSIGN_unsigned_TO_haddr_t(dst, dsttype, src, srctype) \
169 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
173 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_HSIZE_T
174 #define ASSIGN_unsigned_TO_hsize_t(dst, dsttype, src, srctype) \
175 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
176 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_HSIZE_T
177 #define ASSIGN_unsigned_TO_hsize_t(dst, dsttype, src, srctype) \
178 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
180 #define ASSIGN_unsigned_TO_hsize_t(dst, dsttype, src, srctype) \
181 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
185 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_HSSIZE_T
186 #define ASSIGN_unsigned_TO_hssize_t(dst, dsttype, src, srctype) \
187 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
188 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_HSSIZE_T
189 #define ASSIGN_unsigned_TO_hssize_t(dst, dsttype, src, srctype) \
190 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
192 #define ASSIGN_unsigned_TO_hssize_t(dst, dsttype, src, srctype) \
193 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
197 #if H5_SIZEOF_UNSIGNED < H5_SIZEOF_H5_STAT_SIZE_T
198 #define ASSIGN_unsigned_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
199 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
200 #elif H5_SIZEOF_UNSIGNED > H5_SIZEOF_H5_STAT_SIZE_T
201 #define ASSIGN_unsigned_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
202 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
204 #define ASSIGN_unsigned_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
205 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
212 #if H5_SIZEOF_INT8_T < H5_SIZEOF_UNSIGNED
213 #define ASSIGN_int8_t_TO_unsigned(dst, dsttype, src, srctype) \
214 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
215 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_UNSIGNED
216 #define ASSIGN_int8_t_TO_unsigned(dst, dsttype, src, srctype) \
217 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
219 #define ASSIGN_int8_t_TO_unsigned(dst, dsttype, src, srctype) \
220 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
224 #if H5_SIZEOF_INT8_T < H5_SIZEOF_INT
225 #define ASSIGN_int8_t_TO_int(dst, dsttype, src, srctype) \
226 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
227 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_INT
228 #define ASSIGN_int8_t_TO_int(dst, dsttype, src, srctype) \
229 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
231 #define ASSIGN_int8_t_TO_int(dst, dsttype, src, srctype) \
232 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
236 #if H5_SIZEOF_INT8_T < H5_SIZEOF_LONG
237 #define ASSIGN_int8_t_TO_long(dst, dsttype, src, srctype) \
238 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
239 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_LONG
240 #define ASSIGN_int8_t_TO_long(dst, dsttype, src, srctype) \
241 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
243 #define ASSIGN_int8_t_TO_long(dst, dsttype, src, srctype) \
244 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
248 #if H5_SIZEOF_INT8_T < H5_SIZEOF_INT64_T
249 #define ASSIGN_int8_t_TO_int64_t(dst, dsttype, src, srctype) \
250 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
251 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_INT64_T
252 #define ASSIGN_int8_t_TO_int64_t(dst, dsttype, src, srctype) \
253 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
255 #define ASSIGN_int8_t_TO_int64_t(dst, dsttype, src, srctype) \
256 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
260 #if H5_SIZEOF_INT8_T < H5_SIZEOF_UINT8_T
261 #define ASSIGN_int8_t_TO_uint8_t(dst, dsttype, src, srctype) \
262 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
263 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_UINT8_T
264 #define ASSIGN_int8_t_TO_uint8_t(dst, dsttype, src, srctype) \
265 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
267 #define ASSIGN_int8_t_TO_uint8_t(dst, dsttype, src, srctype) \
268 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
272 #if H5_SIZEOF_INT8_T < H5_SIZEOF_UINT16_T
273 #define ASSIGN_int8_t_TO_uint16_t(dst, dsttype, src, srctype) \
274 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
275 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_UINT16_T
276 #define ASSIGN_int8_t_TO_uint16_t(dst, dsttype, src, srctype) \
277 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
279 #define ASSIGN_int8_t_TO_uint16_t(dst, dsttype, src, srctype) \
280 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
284 #if H5_SIZEOF_INT8_T < H5_SIZEOF_UINT32_T
285 #define ASSIGN_int8_t_TO_uint32_t(dst, dsttype, src, srctype) \
286 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
287 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_UINT32_T
288 #define ASSIGN_int8_t_TO_uint32_t(dst, dsttype, src, srctype) \
289 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
291 #define ASSIGN_int8_t_TO_uint32_t(dst, dsttype, src, srctype) \
292 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
296 #if H5_SIZEOF_INT8_T < H5_SIZEOF_UINT64_T
297 #define ASSIGN_int8_t_TO_uint64_t(dst, dsttype, src, srctype) \
298 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
299 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_UINT64_T
300 #define ASSIGN_int8_t_TO_uint64_t(dst, dsttype, src, srctype) \
301 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
303 #define ASSIGN_int8_t_TO_uint64_t(dst, dsttype, src, srctype) \
304 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
308 #if H5_SIZEOF_INT8_T < H5_SIZEOF_PTRDIFF_T
309 #define ASSIGN_int8_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
310 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
311 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_PTRDIFF_T
312 #define ASSIGN_int8_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
313 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
315 #define ASSIGN_int8_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
316 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
320 #if H5_SIZEOF_INT8_T < H5_SIZEOF_SIZE_T
321 #define ASSIGN_int8_t_TO_size_t(dst, dsttype, src, srctype) \
322 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
323 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_SIZE_T
324 #define ASSIGN_int8_t_TO_size_t(dst, dsttype, src, srctype) \
325 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
327 #define ASSIGN_int8_t_TO_size_t(dst, dsttype, src, srctype) \
328 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
332 #if H5_SIZEOF_INT8_T < H5_SIZEOF_SSIZE_T
333 #define ASSIGN_int8_t_TO_ssize_t(dst, dsttype, src, srctype) \
334 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
335 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_SSIZE_T
336 #define ASSIGN_int8_t_TO_ssize_t(dst, dsttype, src, srctype) \
337 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
339 #define ASSIGN_int8_t_TO_ssize_t(dst, dsttype, src, srctype) \
340 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
344 #if H5_SIZEOF_INT8_T < H5_SIZEOF_HADDR_T
345 #define ASSIGN_int8_t_TO_haddr_t(dst, dsttype, src, srctype) \
346 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
347 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_HADDR_T
348 #define ASSIGN_int8_t_TO_haddr_t(dst, dsttype, src, srctype) \
349 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
351 #define ASSIGN_int8_t_TO_haddr_t(dst, dsttype, src, srctype) \
352 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
356 #if H5_SIZEOF_INT8_T < H5_SIZEOF_HSIZE_T
357 #define ASSIGN_int8_t_TO_hsize_t(dst, dsttype, src, srctype) \
358 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
359 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_HSIZE_T
360 #define ASSIGN_int8_t_TO_hsize_t(dst, dsttype, src, srctype) \
361 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
363 #define ASSIGN_int8_t_TO_hsize_t(dst, dsttype, src, srctype) \
364 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
368 #if H5_SIZEOF_INT8_T < H5_SIZEOF_HSSIZE_T
369 #define ASSIGN_int8_t_TO_hssize_t(dst, dsttype, src, srctype) \
370 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
371 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_HSSIZE_T
372 #define ASSIGN_int8_t_TO_hssize_t(dst, dsttype, src, srctype) \
373 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
375 #define ASSIGN_int8_t_TO_hssize_t(dst, dsttype, src, srctype) \
376 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
380 #if H5_SIZEOF_INT8_T < H5_SIZEOF_H5_STAT_SIZE_T
381 #define ASSIGN_int8_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
382 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
383 #elif H5_SIZEOF_INT8_T > H5_SIZEOF_H5_STAT_SIZE_T
384 #define ASSIGN_int8_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
385 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
387 #define ASSIGN_int8_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
388 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
395 #if H5_SIZEOF_INT < H5_SIZEOF_UNSIGNED
396 #define ASSIGN_int_TO_unsigned(dst, dsttype, src, srctype) \
397 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
398 #elif H5_SIZEOF_INT > H5_SIZEOF_UNSIGNED
399 #define ASSIGN_int_TO_unsigned(dst, dsttype, src, srctype) \
400 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
402 #define ASSIGN_int_TO_unsigned(dst, dsttype, src, srctype) \
403 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
407 #if H5_SIZEOF_INT < H5_SIZEOF_INT8_T
408 #define ASSIGN_int_TO_int8_t(dst, dsttype, src, srctype) \
409 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
410 #elif H5_SIZEOF_INT > H5_SIZEOF_INT8_T
411 #define ASSIGN_int_TO_int8_t(dst, dsttype, src, srctype) \
412 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
414 #define ASSIGN_int_TO_int8_t(dst, dsttype, src, srctype) \
415 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
419 #if H5_SIZEOF_INT < H5_SIZEOF_LONG
420 #define ASSIGN_int_TO_long(dst, dsttype, src, srctype) \
421 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
422 #elif H5_SIZEOF_INT > H5_SIZEOF_LONG
423 #define ASSIGN_int_TO_long(dst, dsttype, src, srctype) \
424 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
426 #define ASSIGN_int_TO_long(dst, dsttype, src, srctype) \
427 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
431 #if H5_SIZEOF_INT < H5_SIZEOF_INT64_T
432 #define ASSIGN_int_TO_int64_t(dst, dsttype, src, srctype) \
433 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
434 #elif H5_SIZEOF_INT > H5_SIZEOF_INT64_T
435 #define ASSIGN_int_TO_int64_t(dst, dsttype, src, srctype) \
436 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
438 #define ASSIGN_int_TO_int64_t(dst, dsttype, src, srctype) \
439 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
443 #if H5_SIZEOF_INT < H5_SIZEOF_UINT8_T
444 #define ASSIGN_int_TO_uint8_t(dst, dsttype, src, srctype) \
445 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
446 #elif H5_SIZEOF_INT > H5_SIZEOF_UINT8_T
447 #define ASSIGN_int_TO_uint8_t(dst, dsttype, src, srctype) \
448 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
450 #define ASSIGN_int_TO_uint8_t(dst, dsttype, src, srctype) \
451 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
455 #if H5_SIZEOF_INT < H5_SIZEOF_UINT16_T
456 #define ASSIGN_int_TO_uint16_t(dst, dsttype, src, srctype) \
457 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
458 #elif H5_SIZEOF_INT > H5_SIZEOF_UINT16_T
459 #define ASSIGN_int_TO_uint16_t(dst, dsttype, src, srctype) \
460 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
462 #define ASSIGN_int_TO_uint16_t(dst, dsttype, src, srctype) \
463 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
467 #if H5_SIZEOF_INT < H5_SIZEOF_UINT32_T
468 #define ASSIGN_int_TO_uint32_t(dst, dsttype, src, srctype) \
469 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
470 #elif H5_SIZEOF_INT > H5_SIZEOF_UINT32_T
471 #define ASSIGN_int_TO_uint32_t(dst, dsttype, src, srctype) \
472 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
474 #define ASSIGN_int_TO_uint32_t(dst, dsttype, src, srctype) \
475 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
479 #if H5_SIZEOF_INT < H5_SIZEOF_UINT64_T
480 #define ASSIGN_int_TO_uint64_t(dst, dsttype, src, srctype) \
481 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
482 #elif H5_SIZEOF_INT > H5_SIZEOF_UINT64_T
483 #define ASSIGN_int_TO_uint64_t(dst, dsttype, src, srctype) \
484 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
486 #define ASSIGN_int_TO_uint64_t(dst, dsttype, src, srctype) \
487 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
491 #if H5_SIZEOF_INT < H5_SIZEOF_PTRDIFF_T
492 #define ASSIGN_int_TO_ptrdiff_t(dst, dsttype, src, srctype) \
493 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
494 #elif H5_SIZEOF_INT > H5_SIZEOF_PTRDIFF_T
495 #define ASSIGN_int_TO_ptrdiff_t(dst, dsttype, src, srctype) \
496 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
498 #define ASSIGN_int_TO_ptrdiff_t(dst, dsttype, src, srctype) \
499 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
503 #if H5_SIZEOF_INT < H5_SIZEOF_SIZE_T
504 #define ASSIGN_int_TO_size_t(dst, dsttype, src, srctype) \
505 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
506 #elif H5_SIZEOF_INT > H5_SIZEOF_SIZE_T
507 #define ASSIGN_int_TO_size_t(dst, dsttype, src, srctype) \
508 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
510 #define ASSIGN_int_TO_size_t(dst, dsttype, src, srctype) \
511 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
515 #if H5_SIZEOF_INT < H5_SIZEOF_SSIZE_T
516 #define ASSIGN_int_TO_ssize_t(dst, dsttype, src, srctype) \
517 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
518 #elif H5_SIZEOF_INT > H5_SIZEOF_SSIZE_T
519 #define ASSIGN_int_TO_ssize_t(dst, dsttype, src, srctype) \
520 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
522 #define ASSIGN_int_TO_ssize_t(dst, dsttype, src, srctype) \
523 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
527 #if H5_SIZEOF_INT < H5_SIZEOF_HADDR_T
528 #define ASSIGN_int_TO_haddr_t(dst, dsttype, src, srctype) \
529 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
530 #elif H5_SIZEOF_INT > H5_SIZEOF_HADDR_T
531 #define ASSIGN_int_TO_haddr_t(dst, dsttype, src, srctype) \
532 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
534 #define ASSIGN_int_TO_haddr_t(dst, dsttype, src, srctype) \
535 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
539 #if H5_SIZEOF_INT < H5_SIZEOF_HSIZE_T
540 #define ASSIGN_int_TO_hsize_t(dst, dsttype, src, srctype) \
541 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
542 #elif H5_SIZEOF_INT > H5_SIZEOF_HSIZE_T
543 #define ASSIGN_int_TO_hsize_t(dst, dsttype, src, srctype) \
544 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
546 #define ASSIGN_int_TO_hsize_t(dst, dsttype, src, srctype) \
547 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
551 #if H5_SIZEOF_INT < H5_SIZEOF_HSSIZE_T
552 #define ASSIGN_int_TO_hssize_t(dst, dsttype, src, srctype) \
553 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
554 #elif H5_SIZEOF_INT > H5_SIZEOF_HSSIZE_T
555 #define ASSIGN_int_TO_hssize_t(dst, dsttype, src, srctype) \
556 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
558 #define ASSIGN_int_TO_hssize_t(dst, dsttype, src, srctype) \
559 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
563 #if H5_SIZEOF_INT < H5_SIZEOF_H5_STAT_SIZE_T
564 #define ASSIGN_int_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
565 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
566 #elif H5_SIZEOF_INT > H5_SIZEOF_H5_STAT_SIZE_T
567 #define ASSIGN_int_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
568 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
570 #define ASSIGN_int_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
571 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
578 #if H5_SIZEOF_LONG < H5_SIZEOF_UNSIGNED
579 #define ASSIGN_long_TO_unsigned(dst, dsttype, src, srctype) \
580 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
581 #elif H5_SIZEOF_LONG > H5_SIZEOF_UNSIGNED
582 #define ASSIGN_long_TO_unsigned(dst, dsttype, src, srctype) \
583 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
585 #define ASSIGN_long_TO_unsigned(dst, dsttype, src, srctype) \
586 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
590 #if H5_SIZEOF_LONG < H5_SIZEOF_INT8_T
591 #define ASSIGN_long_TO_int8_t(dst, dsttype, src, srctype) \
592 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
593 #elif H5_SIZEOF_LONG > H5_SIZEOF_INT8_T
594 #define ASSIGN_long_TO_int8_t(dst, dsttype, src, srctype) \
595 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
597 #define ASSIGN_long_TO_int8_t(dst, dsttype, src, srctype) \
598 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
602 #if H5_SIZEOF_LONG < H5_SIZEOF_INT
603 #define ASSIGN_long_TO_int(dst, dsttype, src, srctype) \
604 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
605 #elif H5_SIZEOF_LONG > H5_SIZEOF_INT
606 #define ASSIGN_long_TO_int(dst, dsttype, src, srctype) \
607 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
609 #define ASSIGN_long_TO_int(dst, dsttype, src, srctype) \
610 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
614 #if H5_SIZEOF_LONG < H5_SIZEOF_INT64_T
615 #define ASSIGN_long_TO_int64_t(dst, dsttype, src, srctype) \
616 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
617 #elif H5_SIZEOF_LONG > H5_SIZEOF_INT64_T
618 #define ASSIGN_long_TO_int64_t(dst, dsttype, src, srctype) \
619 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
621 #define ASSIGN_long_TO_int64_t(dst, dsttype, src, srctype) \
622 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
626 #if H5_SIZEOF_LONG < H5_SIZEOF_UINT8_T
627 #define ASSIGN_long_TO_uint8_t(dst, dsttype, src, srctype) \
628 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
629 #elif H5_SIZEOF_LONG > H5_SIZEOF_UINT8_T
630 #define ASSIGN_long_TO_uint8_t(dst, dsttype, src, srctype) \
631 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
633 #define ASSIGN_long_TO_uint8_t(dst, dsttype, src, srctype) \
634 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
638 #if H5_SIZEOF_LONG < H5_SIZEOF_UINT16_T
639 #define ASSIGN_long_TO_uint16_t(dst, dsttype, src, srctype) \
640 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
641 #elif H5_SIZEOF_LONG > H5_SIZEOF_UINT16_T
642 #define ASSIGN_long_TO_uint16_t(dst, dsttype, src, srctype) \
643 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
645 #define ASSIGN_long_TO_uint16_t(dst, dsttype, src, srctype) \
646 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
650 #if H5_SIZEOF_LONG < H5_SIZEOF_UINT32_T
651 #define ASSIGN_long_TO_uint32_t(dst, dsttype, src, srctype) \
652 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
653 #elif H5_SIZEOF_LONG > H5_SIZEOF_UINT32_T
654 #define ASSIGN_long_TO_uint32_t(dst, dsttype, src, srctype) \
655 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
657 #define ASSIGN_long_TO_uint32_t(dst, dsttype, src, srctype) \
658 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
662 #if H5_SIZEOF_LONG < H5_SIZEOF_UINT64_T
663 #define ASSIGN_long_TO_uint64_t(dst, dsttype, src, srctype) \
664 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
665 #elif H5_SIZEOF_LONG > H5_SIZEOF_UINT64_T
666 #define ASSIGN_long_TO_uint64_t(dst, dsttype, src, srctype) \
667 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
669 #define ASSIGN_long_TO_uint64_t(dst, dsttype, src, srctype) \
670 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
674 #if H5_SIZEOF_LONG < H5_SIZEOF_PTRDIFF_T
675 #define ASSIGN_long_TO_ptrdiff_t(dst, dsttype, src, srctype) \
676 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
677 #elif H5_SIZEOF_LONG > H5_SIZEOF_PTRDIFF_T
678 #define ASSIGN_long_TO_ptrdiff_t(dst, dsttype, src, srctype) \
679 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
681 #define ASSIGN_long_TO_ptrdiff_t(dst, dsttype, src, srctype) \
682 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
686 #if H5_SIZEOF_LONG < H5_SIZEOF_SIZE_T
687 #define ASSIGN_long_TO_size_t(dst, dsttype, src, srctype) \
688 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
689 #elif H5_SIZEOF_LONG > H5_SIZEOF_SIZE_T
690 #define ASSIGN_long_TO_size_t(dst, dsttype, src, srctype) \
691 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
693 #define ASSIGN_long_TO_size_t(dst, dsttype, src, srctype) \
694 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
698 #if H5_SIZEOF_LONG < H5_SIZEOF_SSIZE_T
699 #define ASSIGN_long_TO_ssize_t(dst, dsttype, src, srctype) \
700 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
701 #elif H5_SIZEOF_LONG > H5_SIZEOF_SSIZE_T
702 #define ASSIGN_long_TO_ssize_t(dst, dsttype, src, srctype) \
703 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
705 #define ASSIGN_long_TO_ssize_t(dst, dsttype, src, srctype) \
706 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
710 #if H5_SIZEOF_LONG < H5_SIZEOF_HADDR_T
711 #define ASSIGN_long_TO_haddr_t(dst, dsttype, src, srctype) \
712 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
713 #elif H5_SIZEOF_LONG > H5_SIZEOF_HADDR_T
714 #define ASSIGN_long_TO_haddr_t(dst, dsttype, src, srctype) \
715 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
717 #define ASSIGN_long_TO_haddr_t(dst, dsttype, src, srctype) \
718 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
722 #if H5_SIZEOF_LONG < H5_SIZEOF_HSIZE_T
723 #define ASSIGN_long_TO_hsize_t(dst, dsttype, src, srctype) \
724 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
725 #elif H5_SIZEOF_LONG > H5_SIZEOF_HSIZE_T
726 #define ASSIGN_long_TO_hsize_t(dst, dsttype, src, srctype) \
727 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
729 #define ASSIGN_long_TO_hsize_t(dst, dsttype, src, srctype) \
730 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
734 #if H5_SIZEOF_LONG < H5_SIZEOF_HSSIZE_T
735 #define ASSIGN_long_TO_hssize_t(dst, dsttype, src, srctype) \
736 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
737 #elif H5_SIZEOF_LONG > H5_SIZEOF_HSSIZE_T
738 #define ASSIGN_long_TO_hssize_t(dst, dsttype, src, srctype) \
739 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
741 #define ASSIGN_long_TO_hssize_t(dst, dsttype, src, srctype) \
742 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
746 #if H5_SIZEOF_LONG < H5_SIZEOF_H5_STAT_SIZE_T
747 #define ASSIGN_long_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
748 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
749 #elif H5_SIZEOF_LONG > H5_SIZEOF_H5_STAT_SIZE_T
750 #define ASSIGN_long_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
751 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
753 #define ASSIGN_long_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
754 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
761 #if H5_SIZEOF_INT64_T < H5_SIZEOF_UNSIGNED
762 #define ASSIGN_int64_t_TO_unsigned(dst, dsttype, src, srctype) \
763 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
764 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_UNSIGNED
765 #define ASSIGN_int64_t_TO_unsigned(dst, dsttype, src, srctype) \
766 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
768 #define ASSIGN_int64_t_TO_unsigned(dst, dsttype, src, srctype) \
769 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
773 #if H5_SIZEOF_INT64_T < H5_SIZEOF_INT8_T
774 #define ASSIGN_int64_t_TO_int8_t(dst, dsttype, src, srctype) \
775 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
776 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_INT8_T
777 #define ASSIGN_int64_t_TO_int8_t(dst, dsttype, src, srctype) \
778 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
780 #define ASSIGN_int64_t_TO_int8_t(dst, dsttype, src, srctype) \
781 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
785 #if H5_SIZEOF_INT64_T < H5_SIZEOF_INT
786 #define ASSIGN_int64_t_TO_int(dst, dsttype, src, srctype) \
787 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
788 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_INT
789 #define ASSIGN_int64_t_TO_int(dst, dsttype, src, srctype) \
790 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
792 #define ASSIGN_int64_t_TO_int(dst, dsttype, src, srctype) \
793 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
797 #if H5_SIZEOF_INT64_T < H5_SIZEOF_LONG
798 #define ASSIGN_int64_t_TO_long(dst, dsttype, src, srctype) \
799 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
800 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_LONG
801 #define ASSIGN_int64_t_TO_long(dst, dsttype, src, srctype) \
802 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
804 #define ASSIGN_int64_t_TO_long(dst, dsttype, src, srctype) \
805 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
809 #if H5_SIZEOF_INT64_T < H5_SIZEOF_UINT8_T
810 #define ASSIGN_int64_t_TO_uint8_t(dst, dsttype, src, srctype) \
811 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
812 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_UINT8_T
813 #define ASSIGN_int64_t_TO_uint8_t(dst, dsttype, src, srctype) \
814 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
816 #define ASSIGN_int64_t_TO_uint8_t(dst, dsttype, src, srctype) \
817 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
821 #if H5_SIZEOF_INT64_T < H5_SIZEOF_UINT16_T
822 #define ASSIGN_int64_t_TO_uint16_t(dst, dsttype, src, srctype) \
823 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
824 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_UINT16_T
825 #define ASSIGN_int64_t_TO_uint16_t(dst, dsttype, src, srctype) \
826 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
828 #define ASSIGN_int64_t_TO_uint16_t(dst, dsttype, src, srctype) \
829 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
833 #if H5_SIZEOF_INT64_T < H5_SIZEOF_UINT32_T
834 #define ASSIGN_int64_t_TO_uint32_t(dst, dsttype, src, srctype) \
835 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
836 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_UINT32_T
837 #define ASSIGN_int64_t_TO_uint32_t(dst, dsttype, src, srctype) \
838 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
840 #define ASSIGN_int64_t_TO_uint32_t(dst, dsttype, src, srctype) \
841 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
845 #if H5_SIZEOF_INT64_T < H5_SIZEOF_UINT64_T
846 #define ASSIGN_int64_t_TO_uint64_t(dst, dsttype, src, srctype) \
847 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
848 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_UINT64_T
849 #define ASSIGN_int64_t_TO_uint64_t(dst, dsttype, src, srctype) \
850 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
852 #define ASSIGN_int64_t_TO_uint64_t(dst, dsttype, src, srctype) \
853 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
857 #if H5_SIZEOF_INT64_T < H5_SIZEOF_PTRDIFF_T
858 #define ASSIGN_int64_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
859 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
860 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_PTRDIFF_T
861 #define ASSIGN_int64_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
862 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
864 #define ASSIGN_int64_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
865 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
869 #if H5_SIZEOF_INT64_T < H5_SIZEOF_SIZE_T
870 #define ASSIGN_int64_t_TO_size_t(dst, dsttype, src, srctype) \
871 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
872 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_SIZE_T
873 #define ASSIGN_int64_t_TO_size_t(dst, dsttype, src, srctype) \
874 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
876 #define ASSIGN_int64_t_TO_size_t(dst, dsttype, src, srctype) \
877 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
881 #if H5_SIZEOF_INT64_T < H5_SIZEOF_SSIZE_T
882 #define ASSIGN_int64_t_TO_ssize_t(dst, dsttype, src, srctype) \
883 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
884 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_SSIZE_T
885 #define ASSIGN_int64_t_TO_ssize_t(dst, dsttype, src, srctype) \
886 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
888 #define ASSIGN_int64_t_TO_ssize_t(dst, dsttype, src, srctype) \
889 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
893 #if H5_SIZEOF_INT64_T < H5_SIZEOF_HADDR_T
894 #define ASSIGN_int64_t_TO_haddr_t(dst, dsttype, src, srctype) \
895 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
896 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_HADDR_T
897 #define ASSIGN_int64_t_TO_haddr_t(dst, dsttype, src, srctype) \
898 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
900 #define ASSIGN_int64_t_TO_haddr_t(dst, dsttype, src, srctype) \
901 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
905 #if H5_SIZEOF_INT64_T < H5_SIZEOF_HSIZE_T
906 #define ASSIGN_int64_t_TO_hsize_t(dst, dsttype, src, srctype) \
907 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
908 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_HSIZE_T
909 #define ASSIGN_int64_t_TO_hsize_t(dst, dsttype, src, srctype) \
910 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
912 #define ASSIGN_int64_t_TO_hsize_t(dst, dsttype, src, srctype) \
913 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
917 #if H5_SIZEOF_INT64_T < H5_SIZEOF_HSSIZE_T
918 #define ASSIGN_int64_t_TO_hssize_t(dst, dsttype, src, srctype) \
919 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
920 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_HSSIZE_T
921 #define ASSIGN_int64_t_TO_hssize_t(dst, dsttype, src, srctype) \
922 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
924 #define ASSIGN_int64_t_TO_hssize_t(dst, dsttype, src, srctype) \
925 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
929 #if H5_SIZEOF_INT64_T < H5_SIZEOF_H5_STAT_SIZE_T
930 #define ASSIGN_int64_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
931 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
932 #elif H5_SIZEOF_INT64_T > H5_SIZEOF_H5_STAT_SIZE_T
933 #define ASSIGN_int64_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
934 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
936 #define ASSIGN_int64_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
937 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
944 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_UNSIGNED
945 #define ASSIGN_uint8_t_TO_unsigned(dst, dsttype, src, srctype) \
946 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
947 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_UNSIGNED
948 #define ASSIGN_uint8_t_TO_unsigned(dst, dsttype, src, srctype) \
949 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
951 #define ASSIGN_uint8_t_TO_unsigned(dst, dsttype, src, srctype) \
952 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
956 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_INT8_T
957 #define ASSIGN_uint8_t_TO_int8_t(dst, dsttype, src, srctype) \
958 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
959 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_INT8_T
960 #define ASSIGN_uint8_t_TO_int8_t(dst, dsttype, src, srctype) \
961 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
963 #define ASSIGN_uint8_t_TO_int8_t(dst, dsttype, src, srctype) \
964 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
968 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_INT
969 #define ASSIGN_uint8_t_TO_int(dst, dsttype, src, srctype) \
970 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
971 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_INT
972 #define ASSIGN_uint8_t_TO_int(dst, dsttype, src, srctype) \
973 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
975 #define ASSIGN_uint8_t_TO_int(dst, dsttype, src, srctype) \
976 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
980 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_LONG
981 #define ASSIGN_uint8_t_TO_long(dst, dsttype, src, srctype) \
982 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
983 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_LONG
984 #define ASSIGN_uint8_t_TO_long(dst, dsttype, src, srctype) \
985 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
987 #define ASSIGN_uint8_t_TO_long(dst, dsttype, src, srctype) \
988 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
992 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_INT64_T
993 #define ASSIGN_uint8_t_TO_int64_t(dst, dsttype, src, srctype) \
994 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
995 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_INT64_T
996 #define ASSIGN_uint8_t_TO_int64_t(dst, dsttype, src, srctype) \
997 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
999 #define ASSIGN_uint8_t_TO_int64_t(dst, dsttype, src, srctype) \
1000 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1004 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_UINT16_T
1005 #define ASSIGN_uint8_t_TO_uint16_t(dst, dsttype, src, srctype) \
1006 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1007 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_UINT16_T
1008 #define ASSIGN_uint8_t_TO_uint16_t(dst, dsttype, src, srctype) \
1009 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1011 #define ASSIGN_uint8_t_TO_uint16_t(dst, dsttype, src, srctype) \
1012 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1016 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_UINT32_T
1017 #define ASSIGN_uint8_t_TO_uint32_t(dst, dsttype, src, srctype) \
1018 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1019 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_UINT32_T
1020 #define ASSIGN_uint8_t_TO_uint32_t(dst, dsttype, src, srctype) \
1021 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1023 #define ASSIGN_uint8_t_TO_uint32_t(dst, dsttype, src, srctype) \
1024 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1028 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_UINT64_T
1029 #define ASSIGN_uint8_t_TO_uint64_t(dst, dsttype, src, srctype) \
1030 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1031 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_UINT64_T
1032 #define ASSIGN_uint8_t_TO_uint64_t(dst, dsttype, src, srctype) \
1033 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1035 #define ASSIGN_uint8_t_TO_uint64_t(dst, dsttype, src, srctype) \
1036 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1040 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_PTRDIFF_T
1041 #define ASSIGN_uint8_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1042 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1043 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_PTRDIFF_T
1044 #define ASSIGN_uint8_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1045 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1047 #define ASSIGN_uint8_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1048 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1052 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_SIZE_T
1053 #define ASSIGN_uint8_t_TO_size_t(dst, dsttype, src, srctype) \
1054 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1055 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_SIZE_T
1056 #define ASSIGN_uint8_t_TO_size_t(dst, dsttype, src, srctype) \
1057 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1059 #define ASSIGN_uint8_t_TO_size_t(dst, dsttype, src, srctype) \
1060 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1064 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_SSIZE_T
1065 #define ASSIGN_uint8_t_TO_ssize_t(dst, dsttype, src, srctype) \
1066 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1067 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_SSIZE_T
1068 #define ASSIGN_uint8_t_TO_ssize_t(dst, dsttype, src, srctype) \
1069 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1071 #define ASSIGN_uint8_t_TO_ssize_t(dst, dsttype, src, srctype) \
1072 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1076 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_HADDR_T
1077 #define ASSIGN_uint8_t_TO_haddr_t(dst, dsttype, src, srctype) \
1078 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1079 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_HADDR_T
1080 #define ASSIGN_uint8_t_TO_haddr_t(dst, dsttype, src, srctype) \
1081 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1083 #define ASSIGN_uint8_t_TO_haddr_t(dst, dsttype, src, srctype) \
1084 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1088 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_HSIZE_T
1089 #define ASSIGN_uint8_t_TO_hsize_t(dst, dsttype, src, srctype) \
1090 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1091 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_HSIZE_T
1092 #define ASSIGN_uint8_t_TO_hsize_t(dst, dsttype, src, srctype) \
1093 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1095 #define ASSIGN_uint8_t_TO_hsize_t(dst, dsttype, src, srctype) \
1096 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1100 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_HSSIZE_T
1101 #define ASSIGN_uint8_t_TO_hssize_t(dst, dsttype, src, srctype) \
1102 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1103 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_HSSIZE_T
1104 #define ASSIGN_uint8_t_TO_hssize_t(dst, dsttype, src, srctype) \
1105 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1107 #define ASSIGN_uint8_t_TO_hssize_t(dst, dsttype, src, srctype) \
1108 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1112 #if H5_SIZEOF_UINT8_T < H5_SIZEOF_H5_STAT_SIZE_T
1113 #define ASSIGN_uint8_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1114 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1115 #elif H5_SIZEOF_UINT8_T > H5_SIZEOF_H5_STAT_SIZE_T
1116 #define ASSIGN_uint8_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1117 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1119 #define ASSIGN_uint8_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1120 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1127 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_UNSIGNED
1128 #define ASSIGN_uint16_t_TO_unsigned(dst, dsttype, src, srctype) \
1129 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1130 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_UNSIGNED
1131 #define ASSIGN_uint16_t_TO_unsigned(dst, dsttype, src, srctype) \
1132 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1134 #define ASSIGN_uint16_t_TO_unsigned(dst, dsttype, src, srctype) \
1135 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1139 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_INT8_T
1140 #define ASSIGN_uint16_t_TO_int8_t(dst, dsttype, src, srctype) \
1141 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1142 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_INT8_T
1143 #define ASSIGN_uint16_t_TO_int8_t(dst, dsttype, src, srctype) \
1144 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1146 #define ASSIGN_uint16_t_TO_int8_t(dst, dsttype, src, srctype) \
1147 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1151 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_INT
1152 #define ASSIGN_uint16_t_TO_int(dst, dsttype, src, srctype) \
1153 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1154 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_INT
1155 #define ASSIGN_uint16_t_TO_int(dst, dsttype, src, srctype) \
1156 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1158 #define ASSIGN_uint16_t_TO_int(dst, dsttype, src, srctype) \
1159 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1163 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_LONG
1164 #define ASSIGN_uint16_t_TO_long(dst, dsttype, src, srctype) \
1165 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1166 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_LONG
1167 #define ASSIGN_uint16_t_TO_long(dst, dsttype, src, srctype) \
1168 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1170 #define ASSIGN_uint16_t_TO_long(dst, dsttype, src, srctype) \
1171 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1175 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_INT64_T
1176 #define ASSIGN_uint16_t_TO_int64_t(dst, dsttype, src, srctype) \
1177 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1178 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_INT64_T
1179 #define ASSIGN_uint16_t_TO_int64_t(dst, dsttype, src, srctype) \
1180 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1182 #define ASSIGN_uint16_t_TO_int64_t(dst, dsttype, src, srctype) \
1183 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1187 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_UINT8_T
1188 #define ASSIGN_uint16_t_TO_uint8_t(dst, dsttype, src, srctype) \
1189 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1190 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_UINT8_T
1191 #define ASSIGN_uint16_t_TO_uint8_t(dst, dsttype, src, srctype) \
1192 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1194 #define ASSIGN_uint16_t_TO_uint8_t(dst, dsttype, src, srctype) \
1195 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1199 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_UINT32_T
1200 #define ASSIGN_uint16_t_TO_uint32_t(dst, dsttype, src, srctype) \
1201 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1202 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_UINT32_T
1203 #define ASSIGN_uint16_t_TO_uint32_t(dst, dsttype, src, srctype) \
1204 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1206 #define ASSIGN_uint16_t_TO_uint32_t(dst, dsttype, src, srctype) \
1207 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1211 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_UINT64_T
1212 #define ASSIGN_uint16_t_TO_uint64_t(dst, dsttype, src, srctype) \
1213 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1214 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_UINT64_T
1215 #define ASSIGN_uint16_t_TO_uint64_t(dst, dsttype, src, srctype) \
1216 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1218 #define ASSIGN_uint16_t_TO_uint64_t(dst, dsttype, src, srctype) \
1219 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1223 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_PTRDIFF_T
1224 #define ASSIGN_uint16_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1225 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1226 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_PTRDIFF_T
1227 #define ASSIGN_uint16_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1228 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1230 #define ASSIGN_uint16_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1231 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1235 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_SIZE_T
1236 #define ASSIGN_uint16_t_TO_size_t(dst, dsttype, src, srctype) \
1237 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1238 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_SIZE_T
1239 #define ASSIGN_uint16_t_TO_size_t(dst, dsttype, src, srctype) \
1240 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1242 #define ASSIGN_uint16_t_TO_size_t(dst, dsttype, src, srctype) \
1243 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1247 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_SSIZE_T
1248 #define ASSIGN_uint16_t_TO_ssize_t(dst, dsttype, src, srctype) \
1249 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1250 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_SSIZE_T
1251 #define ASSIGN_uint16_t_TO_ssize_t(dst, dsttype, src, srctype) \
1252 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1254 #define ASSIGN_uint16_t_TO_ssize_t(dst, dsttype, src, srctype) \
1255 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1259 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_HADDR_T
1260 #define ASSIGN_uint16_t_TO_haddr_t(dst, dsttype, src, srctype) \
1261 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1262 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_HADDR_T
1263 #define ASSIGN_uint16_t_TO_haddr_t(dst, dsttype, src, srctype) \
1264 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1266 #define ASSIGN_uint16_t_TO_haddr_t(dst, dsttype, src, srctype) \
1267 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1271 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_HSIZE_T
1272 #define ASSIGN_uint16_t_TO_hsize_t(dst, dsttype, src, srctype) \
1273 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1274 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_HSIZE_T
1275 #define ASSIGN_uint16_t_TO_hsize_t(dst, dsttype, src, srctype) \
1276 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1278 #define ASSIGN_uint16_t_TO_hsize_t(dst, dsttype, src, srctype) \
1279 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1283 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_HSSIZE_T
1284 #define ASSIGN_uint16_t_TO_hssize_t(dst, dsttype, src, srctype) \
1285 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1286 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_HSSIZE_T
1287 #define ASSIGN_uint16_t_TO_hssize_t(dst, dsttype, src, srctype) \
1288 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1290 #define ASSIGN_uint16_t_TO_hssize_t(dst, dsttype, src, srctype) \
1291 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1295 #if H5_SIZEOF_UINT16_T < H5_SIZEOF_H5_STAT_SIZE_T
1296 #define ASSIGN_uint16_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1297 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1298 #elif H5_SIZEOF_UINT16_T > H5_SIZEOF_H5_STAT_SIZE_T
1299 #define ASSIGN_uint16_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1300 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1302 #define ASSIGN_uint16_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1303 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1310 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_UNSIGNED
1311 #define ASSIGN_uint32_t_TO_unsigned(dst, dsttype, src, srctype) \
1312 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1313 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_UNSIGNED
1314 #define ASSIGN_uint32_t_TO_unsigned(dst, dsttype, src, srctype) \
1315 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1317 #define ASSIGN_uint32_t_TO_unsigned(dst, dsttype, src, srctype) \
1318 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1322 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_INT8_T
1323 #define ASSIGN_uint32_t_TO_int8_t(dst, dsttype, src, srctype) \
1324 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1325 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_INT8_T
1326 #define ASSIGN_uint32_t_TO_int8_t(dst, dsttype, src, srctype) \
1327 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1329 #define ASSIGN_uint32_t_TO_int8_t(dst, dsttype, src, srctype) \
1330 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1334 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_INT
1335 #define ASSIGN_uint32_t_TO_int(dst, dsttype, src, srctype) \
1336 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1337 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_INT
1338 #define ASSIGN_uint32_t_TO_int(dst, dsttype, src, srctype) \
1339 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1341 #define ASSIGN_uint32_t_TO_int(dst, dsttype, src, srctype) \
1342 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1346 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_LONG
1347 #define ASSIGN_uint32_t_TO_long(dst, dsttype, src, srctype) \
1348 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1349 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_LONG
1350 #define ASSIGN_uint32_t_TO_long(dst, dsttype, src, srctype) \
1351 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1353 #define ASSIGN_uint32_t_TO_long(dst, dsttype, src, srctype) \
1354 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1358 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_INT64_T
1359 #define ASSIGN_uint32_t_TO_int64_t(dst, dsttype, src, srctype) \
1360 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1361 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_INT64_T
1362 #define ASSIGN_uint32_t_TO_int64_t(dst, dsttype, src, srctype) \
1363 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1365 #define ASSIGN_uint32_t_TO_int64_t(dst, dsttype, src, srctype) \
1366 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1370 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_UINT8_T
1371 #define ASSIGN_uint32_t_TO_uint8_t(dst, dsttype, src, srctype) \
1372 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1373 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_UINT8_T
1374 #define ASSIGN_uint32_t_TO_uint8_t(dst, dsttype, src, srctype) \
1375 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1377 #define ASSIGN_uint32_t_TO_uint8_t(dst, dsttype, src, srctype) \
1378 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1382 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_UINT16_T
1383 #define ASSIGN_uint32_t_TO_uint16_t(dst, dsttype, src, srctype) \
1384 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1385 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_UINT16_T
1386 #define ASSIGN_uint32_t_TO_uint16_t(dst, dsttype, src, srctype) \
1387 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1389 #define ASSIGN_uint32_t_TO_uint16_t(dst, dsttype, src, srctype) \
1390 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1394 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_UINT64_T
1395 #define ASSIGN_uint32_t_TO_uint64_t(dst, dsttype, src, srctype) \
1396 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1397 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_UINT64_T
1398 #define ASSIGN_uint32_t_TO_uint64_t(dst, dsttype, src, srctype) \
1399 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1401 #define ASSIGN_uint32_t_TO_uint64_t(dst, dsttype, src, srctype) \
1402 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1406 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_PTRDIFF_T
1407 #define ASSIGN_uint32_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1408 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1409 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_PTRDIFF_T
1410 #define ASSIGN_uint32_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1411 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1413 #define ASSIGN_uint32_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1414 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1418 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_SIZE_T
1419 #define ASSIGN_uint32_t_TO_size_t(dst, dsttype, src, srctype) \
1420 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1421 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_SIZE_T
1422 #define ASSIGN_uint32_t_TO_size_t(dst, dsttype, src, srctype) \
1423 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1425 #define ASSIGN_uint32_t_TO_size_t(dst, dsttype, src, srctype) \
1426 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1430 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_SSIZE_T
1431 #define ASSIGN_uint32_t_TO_ssize_t(dst, dsttype, src, srctype) \
1432 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1433 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_SSIZE_T
1434 #define ASSIGN_uint32_t_TO_ssize_t(dst, dsttype, src, srctype) \
1435 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1437 #define ASSIGN_uint32_t_TO_ssize_t(dst, dsttype, src, srctype) \
1438 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1442 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_HADDR_T
1443 #define ASSIGN_uint32_t_TO_haddr_t(dst, dsttype, src, srctype) \
1444 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1445 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_HADDR_T
1446 #define ASSIGN_uint32_t_TO_haddr_t(dst, dsttype, src, srctype) \
1447 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1449 #define ASSIGN_uint32_t_TO_haddr_t(dst, dsttype, src, srctype) \
1450 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1454 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_HSIZE_T
1455 #define ASSIGN_uint32_t_TO_hsize_t(dst, dsttype, src, srctype) \
1456 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1457 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_HSIZE_T
1458 #define ASSIGN_uint32_t_TO_hsize_t(dst, dsttype, src, srctype) \
1459 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1461 #define ASSIGN_uint32_t_TO_hsize_t(dst, dsttype, src, srctype) \
1462 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1466 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_HSSIZE_T
1467 #define ASSIGN_uint32_t_TO_hssize_t(dst, dsttype, src, srctype) \
1468 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1469 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_HSSIZE_T
1470 #define ASSIGN_uint32_t_TO_hssize_t(dst, dsttype, src, srctype) \
1471 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1473 #define ASSIGN_uint32_t_TO_hssize_t(dst, dsttype, src, srctype) \
1474 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1478 #if H5_SIZEOF_UINT32_T < H5_SIZEOF_H5_STAT_SIZE_T
1479 #define ASSIGN_uint32_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1480 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1481 #elif H5_SIZEOF_UINT32_T > H5_SIZEOF_H5_STAT_SIZE_T
1482 #define ASSIGN_uint32_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1483 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1485 #define ASSIGN_uint32_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1486 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1493 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_UNSIGNED
1494 #define ASSIGN_uint64_t_TO_unsigned(dst, dsttype, src, srctype) \
1495 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1496 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_UNSIGNED
1497 #define ASSIGN_uint64_t_TO_unsigned(dst, dsttype, src, srctype) \
1498 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1500 #define ASSIGN_uint64_t_TO_unsigned(dst, dsttype, src, srctype) \
1501 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1505 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_INT8_T
1506 #define ASSIGN_uint64_t_TO_int8_t(dst, dsttype, src, srctype) \
1507 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1508 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_INT8_T
1509 #define ASSIGN_uint64_t_TO_int8_t(dst, dsttype, src, srctype) \
1510 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1512 #define ASSIGN_uint64_t_TO_int8_t(dst, dsttype, src, srctype) \
1513 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1517 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_INT
1518 #define ASSIGN_uint64_t_TO_int(dst, dsttype, src, srctype) \
1519 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1520 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_INT
1521 #define ASSIGN_uint64_t_TO_int(dst, dsttype, src, srctype) \
1522 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1524 #define ASSIGN_uint64_t_TO_int(dst, dsttype, src, srctype) \
1525 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1529 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_LONG
1530 #define ASSIGN_uint64_t_TO_long(dst, dsttype, src, srctype) \
1531 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1532 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_LONG
1533 #define ASSIGN_uint64_t_TO_long(dst, dsttype, src, srctype) \
1534 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1536 #define ASSIGN_uint64_t_TO_long(dst, dsttype, src, srctype) \
1537 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1541 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_INT64_T
1542 #define ASSIGN_uint64_t_TO_int64_t(dst, dsttype, src, srctype) \
1543 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1544 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_INT64_T
1545 #define ASSIGN_uint64_t_TO_int64_t(dst, dsttype, src, srctype) \
1546 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1548 #define ASSIGN_uint64_t_TO_int64_t(dst, dsttype, src, srctype) \
1549 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1553 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_UINT8_T
1554 #define ASSIGN_uint64_t_TO_uint8_t(dst, dsttype, src, srctype) \
1555 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1556 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_UINT8_T
1557 #define ASSIGN_uint64_t_TO_uint8_t(dst, dsttype, src, srctype) \
1558 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1560 #define ASSIGN_uint64_t_TO_uint8_t(dst, dsttype, src, srctype) \
1561 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1565 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_UINT16_T
1566 #define ASSIGN_uint64_t_TO_uint16_t(dst, dsttype, src, srctype) \
1567 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1568 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_UINT16_T
1569 #define ASSIGN_uint64_t_TO_uint16_t(dst, dsttype, src, srctype) \
1570 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1572 #define ASSIGN_uint64_t_TO_uint16_t(dst, dsttype, src, srctype) \
1573 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1577 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_UINT32_T
1578 #define ASSIGN_uint64_t_TO_uint32_t(dst, dsttype, src, srctype) \
1579 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1580 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_UINT32_T
1581 #define ASSIGN_uint64_t_TO_uint32_t(dst, dsttype, src, srctype) \
1582 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1584 #define ASSIGN_uint64_t_TO_uint32_t(dst, dsttype, src, srctype) \
1585 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1589 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_PTRDIFF_T
1590 #define ASSIGN_uint64_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1591 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1592 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_PTRDIFF_T
1593 #define ASSIGN_uint64_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1594 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1596 #define ASSIGN_uint64_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1597 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1601 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_SIZE_T
1602 #define ASSIGN_uint64_t_TO_size_t(dst, dsttype, src, srctype) \
1603 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1604 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_SIZE_T
1605 #define ASSIGN_uint64_t_TO_size_t(dst, dsttype, src, srctype) \
1606 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1608 #define ASSIGN_uint64_t_TO_size_t(dst, dsttype, src, srctype) \
1609 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1613 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_SSIZE_T
1614 #define ASSIGN_uint64_t_TO_ssize_t(dst, dsttype, src, srctype) \
1615 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1616 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_SSIZE_T
1617 #define ASSIGN_uint64_t_TO_ssize_t(dst, dsttype, src, srctype) \
1618 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1620 #define ASSIGN_uint64_t_TO_ssize_t(dst, dsttype, src, srctype) \
1621 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1625 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_HADDR_T
1626 #define ASSIGN_uint64_t_TO_haddr_t(dst, dsttype, src, srctype) \
1627 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1628 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_HADDR_T
1629 #define ASSIGN_uint64_t_TO_haddr_t(dst, dsttype, src, srctype) \
1630 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1632 #define ASSIGN_uint64_t_TO_haddr_t(dst, dsttype, src, srctype) \
1633 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1637 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_HSIZE_T
1638 #define ASSIGN_uint64_t_TO_hsize_t(dst, dsttype, src, srctype) \
1639 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1640 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_HSIZE_T
1641 #define ASSIGN_uint64_t_TO_hsize_t(dst, dsttype, src, srctype) \
1642 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1644 #define ASSIGN_uint64_t_TO_hsize_t(dst, dsttype, src, srctype) \
1645 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1649 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_HSSIZE_T
1650 #define ASSIGN_uint64_t_TO_hssize_t(dst, dsttype, src, srctype) \
1651 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1652 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_HSSIZE_T
1653 #define ASSIGN_uint64_t_TO_hssize_t(dst, dsttype, src, srctype) \
1654 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1656 #define ASSIGN_uint64_t_TO_hssize_t(dst, dsttype, src, srctype) \
1657 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1661 #if H5_SIZEOF_UINT64_T < H5_SIZEOF_H5_STAT_SIZE_T
1662 #define ASSIGN_uint64_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1663 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1664 #elif H5_SIZEOF_UINT64_T > H5_SIZEOF_H5_STAT_SIZE_T
1665 #define ASSIGN_uint64_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1666 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1668 #define ASSIGN_uint64_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1669 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1676 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_UNSIGNED
1677 #define ASSIGN_ptrdiff_t_TO_unsigned(dst, dsttype, src, srctype) \
1678 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1679 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_UNSIGNED
1680 #define ASSIGN_ptrdiff_t_TO_unsigned(dst, dsttype, src, srctype) \
1681 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1683 #define ASSIGN_ptrdiff_t_TO_unsigned(dst, dsttype, src, srctype) \
1684 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1688 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_INT8_T
1689 #define ASSIGN_ptrdiff_t_TO_int8_t(dst, dsttype, src, srctype) \
1690 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1691 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_INT8_T
1692 #define ASSIGN_ptrdiff_t_TO_int8_t(dst, dsttype, src, srctype) \
1693 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1695 #define ASSIGN_ptrdiff_t_TO_int8_t(dst, dsttype, src, srctype) \
1696 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1700 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_INT
1701 #define ASSIGN_ptrdiff_t_TO_int(dst, dsttype, src, srctype) \
1702 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1703 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_INT
1704 #define ASSIGN_ptrdiff_t_TO_int(dst, dsttype, src, srctype) \
1705 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1707 #define ASSIGN_ptrdiff_t_TO_int(dst, dsttype, src, srctype) \
1708 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1712 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_LONG
1713 #define ASSIGN_ptrdiff_t_TO_long(dst, dsttype, src, srctype) \
1714 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1715 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_LONG
1716 #define ASSIGN_ptrdiff_t_TO_long(dst, dsttype, src, srctype) \
1717 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1719 #define ASSIGN_ptrdiff_t_TO_long(dst, dsttype, src, srctype) \
1720 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1724 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_INT64_T
1725 #define ASSIGN_ptrdiff_t_TO_int64_t(dst, dsttype, src, srctype) \
1726 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1727 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_INT64_T
1728 #define ASSIGN_ptrdiff_t_TO_int64_t(dst, dsttype, src, srctype) \
1729 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1731 #define ASSIGN_ptrdiff_t_TO_int64_t(dst, dsttype, src, srctype) \
1732 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1736 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_UINT8_T
1737 #define ASSIGN_ptrdiff_t_TO_uint8_t(dst, dsttype, src, srctype) \
1738 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1739 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_UINT8_T
1740 #define ASSIGN_ptrdiff_t_TO_uint8_t(dst, dsttype, src, srctype) \
1741 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1743 #define ASSIGN_ptrdiff_t_TO_uint8_t(dst, dsttype, src, srctype) \
1744 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1748 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_UINT16_T
1749 #define ASSIGN_ptrdiff_t_TO_uint16_t(dst, dsttype, src, srctype) \
1750 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1751 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_UINT16_T
1752 #define ASSIGN_ptrdiff_t_TO_uint16_t(dst, dsttype, src, srctype) \
1753 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1755 #define ASSIGN_ptrdiff_t_TO_uint16_t(dst, dsttype, src, srctype) \
1756 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1760 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_UINT32_T
1761 #define ASSIGN_ptrdiff_t_TO_uint32_t(dst, dsttype, src, srctype) \
1762 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1763 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_UINT32_T
1764 #define ASSIGN_ptrdiff_t_TO_uint32_t(dst, dsttype, src, srctype) \
1765 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1767 #define ASSIGN_ptrdiff_t_TO_uint32_t(dst, dsttype, src, srctype) \
1768 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1772 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_UINT64_T
1773 #define ASSIGN_ptrdiff_t_TO_uint64_t(dst, dsttype, src, srctype) \
1774 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1775 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_UINT64_T
1776 #define ASSIGN_ptrdiff_t_TO_uint64_t(dst, dsttype, src, srctype) \
1777 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1779 #define ASSIGN_ptrdiff_t_TO_uint64_t(dst, dsttype, src, srctype) \
1780 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1784 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_SIZE_T
1785 #define ASSIGN_ptrdiff_t_TO_size_t(dst, dsttype, src, srctype) \
1786 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1787 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_SIZE_T
1788 #define ASSIGN_ptrdiff_t_TO_size_t(dst, dsttype, src, srctype) \
1789 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1791 #define ASSIGN_ptrdiff_t_TO_size_t(dst, dsttype, src, srctype) \
1792 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1796 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_SSIZE_T
1797 #define ASSIGN_ptrdiff_t_TO_ssize_t(dst, dsttype, src, srctype) \
1798 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1799 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_SSIZE_T
1800 #define ASSIGN_ptrdiff_t_TO_ssize_t(dst, dsttype, src, srctype) \
1801 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1803 #define ASSIGN_ptrdiff_t_TO_ssize_t(dst, dsttype, src, srctype) \
1804 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1808 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_HADDR_T
1809 #define ASSIGN_ptrdiff_t_TO_haddr_t(dst, dsttype, src, srctype) \
1810 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1811 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_HADDR_T
1812 #define ASSIGN_ptrdiff_t_TO_haddr_t(dst, dsttype, src, srctype) \
1813 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1815 #define ASSIGN_ptrdiff_t_TO_haddr_t(dst, dsttype, src, srctype) \
1816 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1820 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_HSIZE_T
1821 #define ASSIGN_ptrdiff_t_TO_hsize_t(dst, dsttype, src, srctype) \
1822 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1823 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_HSIZE_T
1824 #define ASSIGN_ptrdiff_t_TO_hsize_t(dst, dsttype, src, srctype) \
1825 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1827 #define ASSIGN_ptrdiff_t_TO_hsize_t(dst, dsttype, src, srctype) \
1828 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1832 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_HSSIZE_T
1833 #define ASSIGN_ptrdiff_t_TO_hssize_t(dst, dsttype, src, srctype) \
1834 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1835 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_HSSIZE_T
1836 #define ASSIGN_ptrdiff_t_TO_hssize_t(dst, dsttype, src, srctype) \
1837 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1839 #define ASSIGN_ptrdiff_t_TO_hssize_t(dst, dsttype, src, srctype) \
1840 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1844 #if H5_SIZEOF_PTRDIFF_T < H5_SIZEOF_H5_STAT_SIZE_T
1845 #define ASSIGN_ptrdiff_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1846 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1847 #elif H5_SIZEOF_PTRDIFF_T > H5_SIZEOF_H5_STAT_SIZE_T
1848 #define ASSIGN_ptrdiff_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1849 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1851 #define ASSIGN_ptrdiff_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
1852 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
1859 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_UNSIGNED
1860 #define ASSIGN_size_t_TO_unsigned(dst, dsttype, src, srctype) \
1861 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1862 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_UNSIGNED
1863 #define ASSIGN_size_t_TO_unsigned(dst, dsttype, src, srctype) \
1864 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1866 #define ASSIGN_size_t_TO_unsigned(dst, dsttype, src, srctype) \
1867 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1871 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_INT8_T
1872 #define ASSIGN_size_t_TO_int8_t(dst, dsttype, src, srctype) \
1873 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1874 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_INT8_T
1875 #define ASSIGN_size_t_TO_int8_t(dst, dsttype, src, srctype) \
1876 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1878 #define ASSIGN_size_t_TO_int8_t(dst, dsttype, src, srctype) \
1879 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1883 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_INT
1884 #define ASSIGN_size_t_TO_int(dst, dsttype, src, srctype) \
1885 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1886 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_INT
1887 #define ASSIGN_size_t_TO_int(dst, dsttype, src, srctype) \
1888 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1890 #define ASSIGN_size_t_TO_int(dst, dsttype, src, srctype) \
1891 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1895 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_LONG
1896 #define ASSIGN_size_t_TO_long(dst, dsttype, src, srctype) \
1897 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1898 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_LONG
1899 #define ASSIGN_size_t_TO_long(dst, dsttype, src, srctype) \
1900 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1902 #define ASSIGN_size_t_TO_long(dst, dsttype, src, srctype) \
1903 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1907 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_INT64_T
1908 #define ASSIGN_size_t_TO_int64_t(dst, dsttype, src, srctype) \
1909 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1910 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_INT64_T
1911 #define ASSIGN_size_t_TO_int64_t(dst, dsttype, src, srctype) \
1912 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1914 #define ASSIGN_size_t_TO_int64_t(dst, dsttype, src, srctype) \
1915 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1919 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_UINT8_T
1920 #define ASSIGN_size_t_TO_uint8_t(dst, dsttype, src, srctype) \
1921 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1922 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_UINT8_T
1923 #define ASSIGN_size_t_TO_uint8_t(dst, dsttype, src, srctype) \
1924 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1926 #define ASSIGN_size_t_TO_uint8_t(dst, dsttype, src, srctype) \
1927 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1931 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_UINT16_T
1932 #define ASSIGN_size_t_TO_uint16_t(dst, dsttype, src, srctype) \
1933 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1934 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_UINT16_T
1935 #define ASSIGN_size_t_TO_uint16_t(dst, dsttype, src, srctype) \
1936 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1938 #define ASSIGN_size_t_TO_uint16_t(dst, dsttype, src, srctype) \
1939 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1943 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_UINT32_T
1944 #define ASSIGN_size_t_TO_uint32_t(dst, dsttype, src, srctype) \
1945 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1946 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_UINT32_T
1947 #define ASSIGN_size_t_TO_uint32_t(dst, dsttype, src, srctype) \
1948 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1950 #define ASSIGN_size_t_TO_uint32_t(dst, dsttype, src, srctype) \
1951 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1955 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_UINT64_T
1956 #define ASSIGN_size_t_TO_uint64_t(dst, dsttype, src, srctype) \
1957 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1958 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_UINT64_T
1959 #define ASSIGN_size_t_TO_uint64_t(dst, dsttype, src, srctype) \
1960 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1962 #define ASSIGN_size_t_TO_uint64_t(dst, dsttype, src, srctype) \
1963 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1967 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_PTRDIFF_T
1968 #define ASSIGN_size_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1969 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1970 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_PTRDIFF_T
1971 #define ASSIGN_size_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1972 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1974 #define ASSIGN_size_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
1975 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1979 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_SSIZE_T
1980 #define ASSIGN_size_t_TO_ssize_t(dst, dsttype, src, srctype) \
1981 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1982 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_SSIZE_T
1983 #define ASSIGN_size_t_TO_ssize_t(dst, dsttype, src, srctype) \
1984 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1986 #define ASSIGN_size_t_TO_ssize_t(dst, dsttype, src, srctype) \
1987 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
1991 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_HADDR_T
1992 #define ASSIGN_size_t_TO_haddr_t(dst, dsttype, src, srctype) \
1993 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
1994 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_HADDR_T
1995 #define ASSIGN_size_t_TO_haddr_t(dst, dsttype, src, srctype) \
1996 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
1998 #define ASSIGN_size_t_TO_haddr_t(dst, dsttype, src, srctype) \
1999 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2003 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_HSIZE_T
2004 #define ASSIGN_size_t_TO_hsize_t(dst, dsttype, src, srctype) \
2005 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2006 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_HSIZE_T
2007 #define ASSIGN_size_t_TO_hsize_t(dst, dsttype, src, srctype) \
2008 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2010 #define ASSIGN_size_t_TO_hsize_t(dst, dsttype, src, srctype) \
2011 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2015 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_HSSIZE_T
2016 #define ASSIGN_size_t_TO_hssize_t(dst, dsttype, src, srctype) \
2017 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2018 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_HSSIZE_T
2019 #define ASSIGN_size_t_TO_hssize_t(dst, dsttype, src, srctype) \
2020 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2022 #define ASSIGN_size_t_TO_hssize_t(dst, dsttype, src, srctype) \
2023 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2027 #if H5_SIZEOF_SIZE_T < H5_SIZEOF_H5_STAT_SIZE_T
2028 #define ASSIGN_size_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2029 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2030 #elif H5_SIZEOF_SIZE_T > H5_SIZEOF_H5_STAT_SIZE_T
2031 #define ASSIGN_size_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2032 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2034 #define ASSIGN_size_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2035 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2042 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_UNSIGNED
2043 #define ASSIGN_ssize_t_TO_unsigned(dst, dsttype, src, srctype) \
2044 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2045 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_UNSIGNED
2046 #define ASSIGN_ssize_t_TO_unsigned(dst, dsttype, src, srctype) \
2047 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2049 #define ASSIGN_ssize_t_TO_unsigned(dst, dsttype, src, srctype) \
2050 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2054 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_INT8_T
2055 #define ASSIGN_ssize_t_TO_int8_t(dst, dsttype, src, srctype) \
2056 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2057 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_INT8_T
2058 #define ASSIGN_ssize_t_TO_int8_t(dst, dsttype, src, srctype) \
2059 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2061 #define ASSIGN_ssize_t_TO_int8_t(dst, dsttype, src, srctype) \
2062 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2066 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_INT
2067 #define ASSIGN_ssize_t_TO_int(dst, dsttype, src, srctype) \
2068 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2069 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_INT
2070 #define ASSIGN_ssize_t_TO_int(dst, dsttype, src, srctype) \
2071 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2073 #define ASSIGN_ssize_t_TO_int(dst, dsttype, src, srctype) \
2074 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2078 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_LONG
2079 #define ASSIGN_ssize_t_TO_long(dst, dsttype, src, srctype) \
2080 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2081 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_LONG
2082 #define ASSIGN_ssize_t_TO_long(dst, dsttype, src, srctype) \
2083 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2085 #define ASSIGN_ssize_t_TO_long(dst, dsttype, src, srctype) \
2086 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2090 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_INT64_T
2091 #define ASSIGN_ssize_t_TO_int64_t(dst, dsttype, src, srctype) \
2092 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2093 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_INT64_T
2094 #define ASSIGN_ssize_t_TO_int64_t(dst, dsttype, src, srctype) \
2095 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2097 #define ASSIGN_ssize_t_TO_int64_t(dst, dsttype, src, srctype) \
2098 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2102 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_UINT8_T
2103 #define ASSIGN_ssize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2104 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2105 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_UINT8_T
2106 #define ASSIGN_ssize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2107 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2109 #define ASSIGN_ssize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2110 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2114 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_UINT16_T
2115 #define ASSIGN_ssize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2116 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2117 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_UINT16_T
2118 #define ASSIGN_ssize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2119 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2121 #define ASSIGN_ssize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2122 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2126 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_UINT32_T
2127 #define ASSIGN_ssize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2128 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2129 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_UINT32_T
2130 #define ASSIGN_ssize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2131 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2133 #define ASSIGN_ssize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2134 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2138 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_UINT64_T
2139 #define ASSIGN_ssize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2140 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2141 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_UINT64_T
2142 #define ASSIGN_ssize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2143 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2145 #define ASSIGN_ssize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2146 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2150 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_PTRDIFF_T
2151 #define ASSIGN_ssize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2152 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2153 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_PTRDIFF_T
2154 #define ASSIGN_ssize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2155 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2157 #define ASSIGN_ssize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2158 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2162 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_SIZE_T
2163 #define ASSIGN_ssize_t_TO_size_t(dst, dsttype, src, srctype) \
2164 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2165 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_SIZE_T
2166 #define ASSIGN_ssize_t_TO_size_t(dst, dsttype, src, srctype) \
2167 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2169 #define ASSIGN_ssize_t_TO_size_t(dst, dsttype, src, srctype) \
2170 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2174 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_HADDR_T
2175 #define ASSIGN_ssize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2176 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2177 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_HADDR_T
2178 #define ASSIGN_ssize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2179 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2181 #define ASSIGN_ssize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2182 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2186 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_HSIZE_T
2187 #define ASSIGN_ssize_t_TO_hsize_t(dst, dsttype, src, srctype) \
2188 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2189 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_HSIZE_T
2190 #define ASSIGN_ssize_t_TO_hsize_t(dst, dsttype, src, srctype) \
2191 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2193 #define ASSIGN_ssize_t_TO_hsize_t(dst, dsttype, src, srctype) \
2194 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2198 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_HSSIZE_T
2199 #define ASSIGN_ssize_t_TO_hssize_t(dst, dsttype, src, srctype) \
2200 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2201 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_HSSIZE_T
2202 #define ASSIGN_ssize_t_TO_hssize_t(dst, dsttype, src, srctype) \
2203 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2205 #define ASSIGN_ssize_t_TO_hssize_t(dst, dsttype, src, srctype) \
2206 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2210 #if H5_SIZEOF_SSIZE_T < H5_SIZEOF_H5_STAT_SIZE_T
2211 #define ASSIGN_ssize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2212 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2213 #elif H5_SIZEOF_SSIZE_T > H5_SIZEOF_H5_STAT_SIZE_T
2214 #define ASSIGN_ssize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2215 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2217 #define ASSIGN_ssize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2218 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2225 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_UNSIGNED
2226 #define ASSIGN_haddr_t_TO_unsigned(dst, dsttype, src, srctype) \
2227 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2228 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_UNSIGNED
2229 #define ASSIGN_haddr_t_TO_unsigned(dst, dsttype, src, srctype) \
2230 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2232 #define ASSIGN_haddr_t_TO_unsigned(dst, dsttype, src, srctype) \
2233 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2237 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_INT8_T
2238 #define ASSIGN_haddr_t_TO_int8_t(dst, dsttype, src, srctype) \
2239 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2240 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_INT8_T
2241 #define ASSIGN_haddr_t_TO_int8_t(dst, dsttype, src, srctype) \
2242 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2244 #define ASSIGN_haddr_t_TO_int8_t(dst, dsttype, src, srctype) \
2245 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2249 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_INT
2250 #define ASSIGN_haddr_t_TO_int(dst, dsttype, src, srctype) \
2251 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2252 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_INT
2253 #define ASSIGN_haddr_t_TO_int(dst, dsttype, src, srctype) \
2254 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2256 #define ASSIGN_haddr_t_TO_int(dst, dsttype, src, srctype) \
2257 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2261 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_LONG
2262 #define ASSIGN_haddr_t_TO_long(dst, dsttype, src, srctype) \
2263 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2264 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_LONG
2265 #define ASSIGN_haddr_t_TO_long(dst, dsttype, src, srctype) \
2266 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2268 #define ASSIGN_haddr_t_TO_long(dst, dsttype, src, srctype) \
2269 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2273 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_INT64_T
2274 #define ASSIGN_haddr_t_TO_int64_t(dst, dsttype, src, srctype) \
2275 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2276 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_INT64_T
2277 #define ASSIGN_haddr_t_TO_int64_t(dst, dsttype, src, srctype) \
2278 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2280 #define ASSIGN_haddr_t_TO_int64_t(dst, dsttype, src, srctype) \
2281 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2285 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_UINT8_T
2286 #define ASSIGN_haddr_t_TO_uint8_t(dst, dsttype, src, srctype) \
2287 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2288 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_UINT8_T
2289 #define ASSIGN_haddr_t_TO_uint8_t(dst, dsttype, src, srctype) \
2290 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2292 #define ASSIGN_haddr_t_TO_uint8_t(dst, dsttype, src, srctype) \
2293 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2297 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_UINT16_T
2298 #define ASSIGN_haddr_t_TO_uint16_t(dst, dsttype, src, srctype) \
2299 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2300 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_UINT16_T
2301 #define ASSIGN_haddr_t_TO_uint16_t(dst, dsttype, src, srctype) \
2302 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2304 #define ASSIGN_haddr_t_TO_uint16_t(dst, dsttype, src, srctype) \
2305 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2309 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_UINT32_T
2310 #define ASSIGN_haddr_t_TO_uint32_t(dst, dsttype, src, srctype) \
2311 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2312 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_UINT32_T
2313 #define ASSIGN_haddr_t_TO_uint32_t(dst, dsttype, src, srctype) \
2314 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2316 #define ASSIGN_haddr_t_TO_uint32_t(dst, dsttype, src, srctype) \
2317 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2321 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_UINT64_T
2322 #define ASSIGN_haddr_t_TO_uint64_t(dst, dsttype, src, srctype) \
2323 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2324 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_UINT64_T
2325 #define ASSIGN_haddr_t_TO_uint64_t(dst, dsttype, src, srctype) \
2326 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2328 #define ASSIGN_haddr_t_TO_uint64_t(dst, dsttype, src, srctype) \
2329 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2333 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_PTRDIFF_T
2334 #define ASSIGN_haddr_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2335 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2336 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_PTRDIFF_T
2337 #define ASSIGN_haddr_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2338 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2340 #define ASSIGN_haddr_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2341 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2345 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_SIZE_T
2346 #define ASSIGN_haddr_t_TO_size_t(dst, dsttype, src, srctype) \
2347 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2348 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_SIZE_T
2349 #define ASSIGN_haddr_t_TO_size_t(dst, dsttype, src, srctype) \
2350 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2352 #define ASSIGN_haddr_t_TO_size_t(dst, dsttype, src, srctype) \
2353 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2357 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_SSIZE_T
2358 #define ASSIGN_haddr_t_TO_ssize_t(dst, dsttype, src, srctype) \
2359 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2360 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_SSIZE_T
2361 #define ASSIGN_haddr_t_TO_ssize_t(dst, dsttype, src, srctype) \
2362 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2364 #define ASSIGN_haddr_t_TO_ssize_t(dst, dsttype, src, srctype) \
2365 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2369 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_HSIZE_T
2370 #define ASSIGN_haddr_t_TO_hsize_t(dst, dsttype, src, srctype) \
2371 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2372 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_HSIZE_T
2373 #define ASSIGN_haddr_t_TO_hsize_t(dst, dsttype, src, srctype) \
2374 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2376 #define ASSIGN_haddr_t_TO_hsize_t(dst, dsttype, src, srctype) \
2377 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2381 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_HSSIZE_T
2382 #define ASSIGN_haddr_t_TO_hssize_t(dst, dsttype, src, srctype) \
2383 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2384 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_HSSIZE_T
2385 #define ASSIGN_haddr_t_TO_hssize_t(dst, dsttype, src, srctype) \
2386 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2388 #define ASSIGN_haddr_t_TO_hssize_t(dst, dsttype, src, srctype) \
2389 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2393 #if H5_SIZEOF_HADDR_T < H5_SIZEOF_H5_STAT_SIZE_T
2394 #define ASSIGN_haddr_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2395 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2396 #elif H5_SIZEOF_HADDR_T > H5_SIZEOF_H5_STAT_SIZE_T
2397 #define ASSIGN_haddr_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2398 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2400 #define ASSIGN_haddr_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2401 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2408 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_UNSIGNED
2409 #define ASSIGN_hsize_t_TO_unsigned(dst, dsttype, src, srctype) \
2410 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2411 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_UNSIGNED
2412 #define ASSIGN_hsize_t_TO_unsigned(dst, dsttype, src, srctype) \
2413 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2415 #define ASSIGN_hsize_t_TO_unsigned(dst, dsttype, src, srctype) \
2416 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2420 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_INT8_T
2421 #define ASSIGN_hsize_t_TO_int8_t(dst, dsttype, src, srctype) \
2422 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2423 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_INT8_T
2424 #define ASSIGN_hsize_t_TO_int8_t(dst, dsttype, src, srctype) \
2425 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2427 #define ASSIGN_hsize_t_TO_int8_t(dst, dsttype, src, srctype) \
2428 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2432 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_INT
2433 #define ASSIGN_hsize_t_TO_int(dst, dsttype, src, srctype) \
2434 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2435 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_INT
2436 #define ASSIGN_hsize_t_TO_int(dst, dsttype, src, srctype) \
2437 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2439 #define ASSIGN_hsize_t_TO_int(dst, dsttype, src, srctype) \
2440 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2444 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_LONG
2445 #define ASSIGN_hsize_t_TO_long(dst, dsttype, src, srctype) \
2446 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2447 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_LONG
2448 #define ASSIGN_hsize_t_TO_long(dst, dsttype, src, srctype) \
2449 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2451 #define ASSIGN_hsize_t_TO_long(dst, dsttype, src, srctype) \
2452 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2456 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_INT64_T
2457 #define ASSIGN_hsize_t_TO_int64_t(dst, dsttype, src, srctype) \
2458 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2459 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_INT64_T
2460 #define ASSIGN_hsize_t_TO_int64_t(dst, dsttype, src, srctype) \
2461 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2463 #define ASSIGN_hsize_t_TO_int64_t(dst, dsttype, src, srctype) \
2464 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2468 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_UINT8_T
2469 #define ASSIGN_hsize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2470 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2471 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_UINT8_T
2472 #define ASSIGN_hsize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2473 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2475 #define ASSIGN_hsize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2476 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2480 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_UINT16_T
2481 #define ASSIGN_hsize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2482 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2483 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_UINT16_T
2484 #define ASSIGN_hsize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2485 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2487 #define ASSIGN_hsize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2488 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2492 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_UINT32_T
2493 #define ASSIGN_hsize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2494 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2495 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_UINT32_T
2496 #define ASSIGN_hsize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2497 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2499 #define ASSIGN_hsize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2500 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2504 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_UINT64_T
2505 #define ASSIGN_hsize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2506 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2507 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_UINT64_T
2508 #define ASSIGN_hsize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2509 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2511 #define ASSIGN_hsize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2512 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2516 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_PTRDIFF_T
2517 #define ASSIGN_hsize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2518 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2519 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_PTRDIFF_T
2520 #define ASSIGN_hsize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2521 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2523 #define ASSIGN_hsize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2524 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2528 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_SIZE_T
2529 #define ASSIGN_hsize_t_TO_size_t(dst, dsttype, src, srctype) \
2530 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2531 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_SIZE_T
2532 #define ASSIGN_hsize_t_TO_size_t(dst, dsttype, src, srctype) \
2533 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2535 #define ASSIGN_hsize_t_TO_size_t(dst, dsttype, src, srctype) \
2536 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2540 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_SSIZE_T
2541 #define ASSIGN_hsize_t_TO_ssize_t(dst, dsttype, src, srctype) \
2542 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2543 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_SSIZE_T
2544 #define ASSIGN_hsize_t_TO_ssize_t(dst, dsttype, src, srctype) \
2545 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2547 #define ASSIGN_hsize_t_TO_ssize_t(dst, dsttype, src, srctype) \
2548 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2552 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_HADDR_T
2553 #define ASSIGN_hsize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2554 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2555 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_HADDR_T
2556 #define ASSIGN_hsize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2557 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2559 #define ASSIGN_hsize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2560 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2564 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_HSSIZE_T
2565 #define ASSIGN_hsize_t_TO_hssize_t(dst, dsttype, src, srctype) \
2566 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2567 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_HSSIZE_T
2568 #define ASSIGN_hsize_t_TO_hssize_t(dst, dsttype, src, srctype) \
2569 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2571 #define ASSIGN_hsize_t_TO_hssize_t(dst, dsttype, src, srctype) \
2572 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2576 #if H5_SIZEOF_HSIZE_T < H5_SIZEOF_H5_STAT_SIZE_T
2577 #define ASSIGN_hsize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2578 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2579 #elif H5_SIZEOF_HSIZE_T > H5_SIZEOF_H5_STAT_SIZE_T
2580 #define ASSIGN_hsize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2581 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2583 #define ASSIGN_hsize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2584 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2591 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_UNSIGNED
2592 #define ASSIGN_hssize_t_TO_unsigned(dst, dsttype, src, srctype) \
2593 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2594 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_UNSIGNED
2595 #define ASSIGN_hssize_t_TO_unsigned(dst, dsttype, src, srctype) \
2596 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2598 #define ASSIGN_hssize_t_TO_unsigned(dst, dsttype, src, srctype) \
2599 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2603 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_INT8_T
2604 #define ASSIGN_hssize_t_TO_int8_t(dst, dsttype, src, srctype) \
2605 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2606 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_INT8_T
2607 #define ASSIGN_hssize_t_TO_int8_t(dst, dsttype, src, srctype) \
2608 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2610 #define ASSIGN_hssize_t_TO_int8_t(dst, dsttype, src, srctype) \
2611 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2615 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_INT
2616 #define ASSIGN_hssize_t_TO_int(dst, dsttype, src, srctype) \
2617 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2618 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_INT
2619 #define ASSIGN_hssize_t_TO_int(dst, dsttype, src, srctype) \
2620 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2622 #define ASSIGN_hssize_t_TO_int(dst, dsttype, src, srctype) \
2623 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2627 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_LONG
2628 #define ASSIGN_hssize_t_TO_long(dst, dsttype, src, srctype) \
2629 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2630 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_LONG
2631 #define ASSIGN_hssize_t_TO_long(dst, dsttype, src, srctype) \
2632 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2634 #define ASSIGN_hssize_t_TO_long(dst, dsttype, src, srctype) \
2635 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2639 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_INT64_T
2640 #define ASSIGN_hssize_t_TO_int64_t(dst, dsttype, src, srctype) \
2641 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2642 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_INT64_T
2643 #define ASSIGN_hssize_t_TO_int64_t(dst, dsttype, src, srctype) \
2644 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2646 #define ASSIGN_hssize_t_TO_int64_t(dst, dsttype, src, srctype) \
2647 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2651 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_UINT8_T
2652 #define ASSIGN_hssize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2653 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2654 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_UINT8_T
2655 #define ASSIGN_hssize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2656 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2658 #define ASSIGN_hssize_t_TO_uint8_t(dst, dsttype, src, srctype) \
2659 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2663 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_UINT16_T
2664 #define ASSIGN_hssize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2665 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2666 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_UINT16_T
2667 #define ASSIGN_hssize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2668 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2670 #define ASSIGN_hssize_t_TO_uint16_t(dst, dsttype, src, srctype) \
2671 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2675 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_UINT32_T
2676 #define ASSIGN_hssize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2677 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2678 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_UINT32_T
2679 #define ASSIGN_hssize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2680 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2682 #define ASSIGN_hssize_t_TO_uint32_t(dst, dsttype, src, srctype) \
2683 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2687 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_UINT64_T
2688 #define ASSIGN_hssize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2689 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2690 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_UINT64_T
2691 #define ASSIGN_hssize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2692 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2694 #define ASSIGN_hssize_t_TO_uint64_t(dst, dsttype, src, srctype) \
2695 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2699 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_PTRDIFF_T
2700 #define ASSIGN_hssize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2701 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2702 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_PTRDIFF_T
2703 #define ASSIGN_hssize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2704 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2706 #define ASSIGN_hssize_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2707 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2711 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_SIZE_T
2712 #define ASSIGN_hssize_t_TO_size_t(dst, dsttype, src, srctype) \
2713 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2714 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_SIZE_T
2715 #define ASSIGN_hssize_t_TO_size_t(dst, dsttype, src, srctype) \
2716 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2718 #define ASSIGN_hssize_t_TO_size_t(dst, dsttype, src, srctype) \
2719 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2723 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_SSIZE_T
2724 #define ASSIGN_hssize_t_TO_ssize_t(dst, dsttype, src, srctype) \
2725 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2726 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_SSIZE_T
2727 #define ASSIGN_hssize_t_TO_ssize_t(dst, dsttype, src, srctype) \
2728 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2730 #define ASSIGN_hssize_t_TO_ssize_t(dst, dsttype, src, srctype) \
2731 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2735 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_HADDR_T
2736 #define ASSIGN_hssize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2737 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2738 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_HADDR_T
2739 #define ASSIGN_hssize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2740 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2742 #define ASSIGN_hssize_t_TO_haddr_t(dst, dsttype, src, srctype) \
2743 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2747 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_HSIZE_T
2748 #define ASSIGN_hssize_t_TO_hsize_t(dst, dsttype, src, srctype) \
2749 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2750 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_HSIZE_T
2751 #define ASSIGN_hssize_t_TO_hsize_t(dst, dsttype, src, srctype) \
2752 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2754 #define ASSIGN_hssize_t_TO_hsize_t(dst, dsttype, src, srctype) \
2755 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2759 #if H5_SIZEOF_HSSIZE_T < H5_SIZEOF_H5_STAT_SIZE_T
2760 #define ASSIGN_hssize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2761 ASSIGN_TO_LARGER_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2762 #elif H5_SIZEOF_HSSIZE_T > H5_SIZEOF_H5_STAT_SIZE_T
2763 #define ASSIGN_hssize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2764 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2766 #define ASSIGN_hssize_t_TO_h5_stat_size_t(dst, dsttype, src, srctype) \
2767 ASSIGN_TO_SAME_SIZE_SIGNED_TO_UNSIGNED(dst, dsttype, src, srctype)
2774 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_UNSIGNED
2775 #define ASSIGN_h5_stat_size_t_TO_unsigned(dst, dsttype, src, srctype) \
2776 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2777 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_UNSIGNED
2778 #define ASSIGN_h5_stat_size_t_TO_unsigned(dst, dsttype, src, srctype) \
2779 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2781 #define ASSIGN_h5_stat_size_t_TO_unsigned(dst, dsttype, src, srctype) \
2782 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2786 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_INT8_T
2787 #define ASSIGN_h5_stat_size_t_TO_int8_t(dst, dsttype, src, srctype) \
2788 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2789 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_INT8_T
2790 #define ASSIGN_h5_stat_size_t_TO_int8_t(dst, dsttype, src, srctype) \
2791 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2793 #define ASSIGN_h5_stat_size_t_TO_int8_t(dst, dsttype, src, srctype) \
2794 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2798 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_INT
2799 #define ASSIGN_h5_stat_size_t_TO_int(dst, dsttype, src, srctype) \
2800 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2801 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_INT
2802 #define ASSIGN_h5_stat_size_t_TO_int(dst, dsttype, src, srctype) \
2803 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2805 #define ASSIGN_h5_stat_size_t_TO_int(dst, dsttype, src, srctype) \
2806 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2810 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_LONG
2811 #define ASSIGN_h5_stat_size_t_TO_long(dst, dsttype, src, srctype) \
2812 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2813 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_LONG
2814 #define ASSIGN_h5_stat_size_t_TO_long(dst, dsttype, src, srctype) \
2815 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2817 #define ASSIGN_h5_stat_size_t_TO_long(dst, dsttype, src, srctype) \
2818 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2822 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_INT64_T
2823 #define ASSIGN_h5_stat_size_t_TO_int64_t(dst, dsttype, src, srctype) \
2824 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2825 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_INT64_T
2826 #define ASSIGN_h5_stat_size_t_TO_int64_t(dst, dsttype, src, srctype) \
2827 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2829 #define ASSIGN_h5_stat_size_t_TO_int64_t(dst, dsttype, src, srctype) \
2830 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2834 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_UINT8_T
2835 #define ASSIGN_h5_stat_size_t_TO_uint8_t(dst, dsttype, src, srctype) \
2836 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2837 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_UINT8_T
2838 #define ASSIGN_h5_stat_size_t_TO_uint8_t(dst, dsttype, src, srctype) \
2839 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2841 #define ASSIGN_h5_stat_size_t_TO_uint8_t(dst, dsttype, src, srctype) \
2842 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2846 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_UINT16_T
2847 #define ASSIGN_h5_stat_size_t_TO_uint16_t(dst, dsttype, src, srctype) \
2848 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2849 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_UINT16_T
2850 #define ASSIGN_h5_stat_size_t_TO_uint16_t(dst, dsttype, src, srctype) \
2851 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2853 #define ASSIGN_h5_stat_size_t_TO_uint16_t(dst, dsttype, src, srctype) \
2854 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2858 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_UINT32_T
2859 #define ASSIGN_h5_stat_size_t_TO_uint32_t(dst, dsttype, src, srctype) \
2860 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2861 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_UINT32_T
2862 #define ASSIGN_h5_stat_size_t_TO_uint32_t(dst, dsttype, src, srctype) \
2863 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2865 #define ASSIGN_h5_stat_size_t_TO_uint32_t(dst, dsttype, src, srctype) \
2866 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2870 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_UINT64_T
2871 #define ASSIGN_h5_stat_size_t_TO_uint64_t(dst, dsttype, src, srctype) \
2872 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2873 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_UINT64_T
2874 #define ASSIGN_h5_stat_size_t_TO_uint64_t(dst, dsttype, src, srctype) \
2875 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2877 #define ASSIGN_h5_stat_size_t_TO_uint64_t(dst, dsttype, src, srctype) \
2878 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2882 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_PTRDIFF_T
2883 #define ASSIGN_h5_stat_size_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2884 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2885 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_PTRDIFF_T
2886 #define ASSIGN_h5_stat_size_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2887 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2889 #define ASSIGN_h5_stat_size_t_TO_ptrdiff_t(dst, dsttype, src, srctype) \
2890 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2894 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_SIZE_T
2895 #define ASSIGN_h5_stat_size_t_TO_size_t(dst, dsttype, src, srctype) \
2896 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2897 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_SIZE_T
2898 #define ASSIGN_h5_stat_size_t_TO_size_t(dst, dsttype, src, srctype) \
2899 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2901 #define ASSIGN_h5_stat_size_t_TO_size_t(dst, dsttype, src, srctype) \
2902 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2906 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_SSIZE_T
2907 #define ASSIGN_h5_stat_size_t_TO_ssize_t(dst, dsttype, src, srctype) \
2908 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2909 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_SSIZE_T
2910 #define ASSIGN_h5_stat_size_t_TO_ssize_t(dst, dsttype, src, srctype) \
2911 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2913 #define ASSIGN_h5_stat_size_t_TO_ssize_t(dst, dsttype, src, srctype) \
2914 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2918 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_HADDR_T
2919 #define ASSIGN_h5_stat_size_t_TO_haddr_t(dst, dsttype, src, srctype) \
2920 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2921 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_HADDR_T
2922 #define ASSIGN_h5_stat_size_t_TO_haddr_t(dst, dsttype, src, srctype) \
2923 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2925 #define ASSIGN_h5_stat_size_t_TO_haddr_t(dst, dsttype, src, srctype) \
2926 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2930 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_HSIZE_T
2931 #define ASSIGN_h5_stat_size_t_TO_hsize_t(dst, dsttype, src, srctype) \
2932 ASSIGN_TO_LARGER_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2933 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_HSIZE_T
2934 #define ASSIGN_h5_stat_size_t_TO_hsize_t(dst, dsttype, src, srctype) \
2935 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2937 #define ASSIGN_h5_stat_size_t_TO_hsize_t(dst, dsttype, src, srctype) \
2938 ASSIGN_TO_SAME_SIZE_SAME_SIGNED(dst, dsttype, src, srctype)
2942 #if H5_SIZEOF_H5_STAT_SIZE_T < H5_SIZEOF_HSSIZE_T
2943 #define ASSIGN_h5_stat_size_t_TO_hssize_t(dst, dsttype, src, srctype) \
2944 ASSIGN_TO_LARGER_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)
2945 #elif H5_SIZEOF_H5_STAT_SIZE_T > H5_SIZEOF_HSSIZE_T
2946 #define ASSIGN_h5_stat_size_t_TO_hssize_t(dst, dsttype, src, srctype) \
2947 ASSIGN_TO_SMALLER_SIZE(dst, dsttype, src, srctype)
2949 #define ASSIGN_h5_stat_size_t_TO_hssize_t(dst, dsttype, src, srctype) \
2950 ASSIGN_TO_SAME_SIZE_UNSIGNED_TO_SIGNED(dst, dsttype, src, srctype)