blob: 8057a7ad83eeae8bbe7b7f271d7429f1aacb7a1f [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001/* Generated automatically by H5detect -- do not edit */
2
3
4
5/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
6 * Copyright by The HDF Group. *
7 * Copyright by the Board of Trustees of the University of Illinois. *
8 * All rights reserved. *
9 * *
10 * This file is part of HDF5. The full HDF5 copyright notice, including *
11 * terms governing use, modification, and redistribution, is contained in *
12 * the COPYING file, which can be found at the root of the source code *
13 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
14 * If you do not have access to either file, you may request a copy from *
15 * help@hdfgroup.org. *
16 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
17 *
18 * Created: Mar 5, 2019
19 * root <root@qemuarm>
20 *
21 * Purpose: This machine-generated source code contains
22 * information about the various integer and
23 * floating point numeric formats found on this
24 * architecture. The parameters below should be
25 * checked carefully and errors reported to the
26 * HDF5 maintainer.
27 *
28 * Each of the numeric formats listed below are
29 * printed from most significant bit to least
30 * significant bit even though the actual bytes
31 * might be stored in a different order in
32 * memory. The integers above each binary byte
33 * indicate the relative order of the bytes in
34 * memory; little-endian machines have
35 * decreasing numbers while big-endian machines
36 * have increasing numbers.
37 *
38 * The fields of the numbers are printed as
39 * letters with `S' for the mantissa sign bit,
40 * `M' for the mantissa magnitude, and `E' for
41 * the exponent. The exponent has an associated
42 * bias which can be subtracted to find the
43 * true exponent. The radix point is assumed
44 * to be before the first `M' bit. Any bit
45 * of a floating-point value not falling into one
46 * of these categories is printed as a question
47 * mark. Bits of integer types are printed as
48 * `I' for 2's complement and `U' for magnitude.
49 *
50 * If the most significant bit of the normalized
51 * mantissa (always a `1' except for `0.0') is
52 * not stored then an `implicit=yes' appears
53 * under the field description. In thie case,
54 * the radix point is still assumed to be
55 * before the first `M' but after the implicit
56 * bit.
57 *
58 * Modifications:
59 *
60 * DO NOT MAKE MODIFICATIONS TO THIS FILE!
61 * It was generated by code in `H5detect.c'.
62 *
63 *-------------------------------------------------------------------------
64 */
65
66/****************/
67/* Module Setup */
68/****************/
69
70#define H5T_PACKAGE /*suppress error about including H5Tpkg.h*/
71
72
73/***********/
74/* Headers */
75/***********/
76#include "H5private.h" /* Generic Functions */
77#include "H5Eprivate.h" /* Error handling */
78#include "H5FLprivate.h" /* Free Lists */
79#include "H5Iprivate.h" /* IDs */
80#include "H5Tpkg.h" /* Datatypes */
81
82
83/****************/
84/* Local Macros */
85/****************/
86
87
88/******************/
89/* Local Typedefs */
90/******************/
91
92
93/********************/
94/* Package Typedefs */
95/********************/
96
97
98/********************/
99/* Local Prototypes */
100/********************/
101
102
103/********************/
104/* Public Variables */
105/********************/
106
107
108/*****************************/
109/* Library Private Variables */
110/*****************************/
111
112
113/*********************/
114/* Package Variables */
115/*********************/
116
117
118
119/*******************/
120/* Local Variables */
121/*******************/
122
123
124
125/*-------------------------------------------------------------------------
126 * Function: H5TN_init_interface
127 *
128 * Purpose: Initialize pre-defined native datatypes from code generated
129 * during the library configuration by H5detect.
130 *
131 * Return: Success: non-negative
132 * Failure: negative
133 *
134 * Programmer: Robb Matzke
135 * Wednesday, December 16, 1998
136 *
137 *-------------------------------------------------------------------------
138 */
139herr_t
140H5TN_init_interface(void)
141{
142 H5T_t *dt = NULL;
143 herr_t ret_value = SUCCEED;
144
145 FUNC_ENTER_NOAPI(FAIL)
146
147 /*
148 * 0
149 * IIIIIIII
150 * Alignment: none
151 */
152 if(NULL == (dt = H5T__alloc()))
153 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
154 dt->shared->state = H5T_STATE_IMMUTABLE;
155 dt->shared->type = H5T_INTEGER;
156 dt->shared->size = 1;
157 dt->shared->u.atomic.order = H5T_ORDER_LE;
158 dt->shared->u.atomic.offset = 0;
159 dt->shared->u.atomic.prec = 8;
160 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
161 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
162 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
163 if((H5T_NATIVE_SCHAR_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
164 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
165 H5T_NATIVE_SCHAR_ALIGN_g = 1;
166 H5T_NATIVE_SCHAR_COMP_ALIGN_g = 1;
167
168 /*
169 * 0
170 * UUUUUUUU
171 * Alignment: none
172 */
173 if(NULL == (dt = H5T__alloc()))
174 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
175 dt->shared->state = H5T_STATE_IMMUTABLE;
176 dt->shared->type = H5T_INTEGER;
177 dt->shared->size = 1;
178 dt->shared->u.atomic.order = H5T_ORDER_LE;
179 dt->shared->u.atomic.offset = 0;
180 dt->shared->u.atomic.prec = 8;
181 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
182 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
183 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
184 if((H5T_NATIVE_UCHAR_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
185 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
186 H5T_NATIVE_UCHAR_ALIGN_g = 1;
187
188 /*
189 * 1 0
190 * IIIIIIII IIIIIIII
191 * Alignment: none
192 */
193 if(NULL == (dt = H5T__alloc()))
194 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
195 dt->shared->state = H5T_STATE_IMMUTABLE;
196 dt->shared->type = H5T_INTEGER;
197 dt->shared->size = 2;
198 dt->shared->u.atomic.order = H5T_ORDER_LE;
199 dt->shared->u.atomic.offset = 0;
200 dt->shared->u.atomic.prec = 16;
201 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
202 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
203 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
204 if((H5T_NATIVE_SHORT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
205 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
206 H5T_NATIVE_SHORT_ALIGN_g = 1;
207 H5T_NATIVE_SHORT_COMP_ALIGN_g = 2;
208
209 /*
210 * 1 0
211 * UUUUUUUU UUUUUUUU
212 * Alignment: none
213 */
214 if(NULL == (dt = H5T__alloc()))
215 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
216 dt->shared->state = H5T_STATE_IMMUTABLE;
217 dt->shared->type = H5T_INTEGER;
218 dt->shared->size = 2;
219 dt->shared->u.atomic.order = H5T_ORDER_LE;
220 dt->shared->u.atomic.offset = 0;
221 dt->shared->u.atomic.prec = 16;
222 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
223 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
224 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
225 if((H5T_NATIVE_USHORT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
226 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
227 H5T_NATIVE_USHORT_ALIGN_g = 1;
228
229 /*
230 * 3 2 1 0
231 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
232 * Alignment: none
233 */
234 if(NULL == (dt = H5T__alloc()))
235 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
236 dt->shared->state = H5T_STATE_IMMUTABLE;
237 dt->shared->type = H5T_INTEGER;
238 dt->shared->size = 4;
239 dt->shared->u.atomic.order = H5T_ORDER_LE;
240 dt->shared->u.atomic.offset = 0;
241 dt->shared->u.atomic.prec = 32;
242 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
243 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
244 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
245 if((H5T_NATIVE_INT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
246 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
247 H5T_NATIVE_INT_ALIGN_g = 1;
248 H5T_NATIVE_INT_COMP_ALIGN_g = 4;
249
250 /*
251 * 3 2 1 0
252 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
253 * Alignment: none
254 */
255 if(NULL == (dt = H5T__alloc()))
256 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
257 dt->shared->state = H5T_STATE_IMMUTABLE;
258 dt->shared->type = H5T_INTEGER;
259 dt->shared->size = 4;
260 dt->shared->u.atomic.order = H5T_ORDER_LE;
261 dt->shared->u.atomic.offset = 0;
262 dt->shared->u.atomic.prec = 32;
263 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
264 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
265 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
266 if((H5T_NATIVE_UINT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
267 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
268 H5T_NATIVE_UINT_ALIGN_g = 1;
269
270 /*
271 * 3 2 1 0
272 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
273 * Alignment: none
274 */
275 if(NULL == (dt = H5T__alloc()))
276 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
277 dt->shared->state = H5T_STATE_IMMUTABLE;
278 dt->shared->type = H5T_INTEGER;
279 dt->shared->size = 4;
280 dt->shared->u.atomic.order = H5T_ORDER_LE;
281 dt->shared->u.atomic.offset = 0;
282 dt->shared->u.atomic.prec = 32;
283 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
284 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
285 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
286 if((H5T_NATIVE_LONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
287 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
288 H5T_NATIVE_LONG_ALIGN_g = 1;
289 H5T_NATIVE_LONG_COMP_ALIGN_g = 4;
290
291 /*
292 * 3 2 1 0
293 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
294 * Alignment: none
295 */
296 if(NULL == (dt = H5T__alloc()))
297 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
298 dt->shared->state = H5T_STATE_IMMUTABLE;
299 dt->shared->type = H5T_INTEGER;
300 dt->shared->size = 4;
301 dt->shared->u.atomic.order = H5T_ORDER_LE;
302 dt->shared->u.atomic.offset = 0;
303 dt->shared->u.atomic.prec = 32;
304 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
305 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
306 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
307 if((H5T_NATIVE_ULONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
308 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
309 H5T_NATIVE_ULONG_ALIGN_g = 1;
310
311 /*
312 * 0
313 * IIIIIIII
314 * Alignment: none
315 */
316 if(NULL == (dt = H5T__alloc()))
317 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
318 dt->shared->state = H5T_STATE_IMMUTABLE;
319 dt->shared->type = H5T_INTEGER;
320 dt->shared->size = 1;
321 dt->shared->u.atomic.order = H5T_ORDER_LE;
322 dt->shared->u.atomic.offset = 0;
323 dt->shared->u.atomic.prec = 8;
324 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
325 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
326 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
327 if((H5T_NATIVE_INT8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
328 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
329 H5T_NATIVE_INT8_ALIGN_g = 1;
330
331 /*
332 * 0
333 * UUUUUUUU
334 * Alignment: none
335 */
336 if(NULL == (dt = H5T__alloc()))
337 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
338 dt->shared->state = H5T_STATE_IMMUTABLE;
339 dt->shared->type = H5T_INTEGER;
340 dt->shared->size = 1;
341 dt->shared->u.atomic.order = H5T_ORDER_LE;
342 dt->shared->u.atomic.offset = 0;
343 dt->shared->u.atomic.prec = 8;
344 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
345 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
346 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
347 if((H5T_NATIVE_UINT8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
348 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
349 H5T_NATIVE_UINT8_ALIGN_g = 1;
350
351 /*
352 * 0
353 * IIIIIIII
354 * Alignment: none
355 */
356 if(NULL == (dt = H5T__alloc()))
357 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
358 dt->shared->state = H5T_STATE_IMMUTABLE;
359 dt->shared->type = H5T_INTEGER;
360 dt->shared->size = 1;
361 dt->shared->u.atomic.order = H5T_ORDER_LE;
362 dt->shared->u.atomic.offset = 0;
363 dt->shared->u.atomic.prec = 8;
364 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
365 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
366 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
367 if((H5T_NATIVE_INT_LEAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
368 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
369 H5T_NATIVE_INT_LEAST8_ALIGN_g = 1;
370
371 /*
372 * 0
373 * UUUUUUUU
374 * Alignment: none
375 */
376 if(NULL == (dt = H5T__alloc()))
377 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
378 dt->shared->state = H5T_STATE_IMMUTABLE;
379 dt->shared->type = H5T_INTEGER;
380 dt->shared->size = 1;
381 dt->shared->u.atomic.order = H5T_ORDER_LE;
382 dt->shared->u.atomic.offset = 0;
383 dt->shared->u.atomic.prec = 8;
384 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
385 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
386 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
387 if((H5T_NATIVE_UINT_LEAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
388 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
389 H5T_NATIVE_UINT_LEAST8_ALIGN_g = 1;
390
391 /*
392 * 0
393 * IIIIIIII
394 * Alignment: none
395 */
396 if(NULL == (dt = H5T__alloc()))
397 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
398 dt->shared->state = H5T_STATE_IMMUTABLE;
399 dt->shared->type = H5T_INTEGER;
400 dt->shared->size = 1;
401 dt->shared->u.atomic.order = H5T_ORDER_LE;
402 dt->shared->u.atomic.offset = 0;
403 dt->shared->u.atomic.prec = 8;
404 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
405 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
406 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
407 if((H5T_NATIVE_INT_FAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
408 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
409 H5T_NATIVE_INT_FAST8_ALIGN_g = 1;
410
411 /*
412 * 0
413 * UUUUUUUU
414 * Alignment: none
415 */
416 if(NULL == (dt = H5T__alloc()))
417 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
418 dt->shared->state = H5T_STATE_IMMUTABLE;
419 dt->shared->type = H5T_INTEGER;
420 dt->shared->size = 1;
421 dt->shared->u.atomic.order = H5T_ORDER_LE;
422 dt->shared->u.atomic.offset = 0;
423 dt->shared->u.atomic.prec = 8;
424 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
425 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
426 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
427 if((H5T_NATIVE_UINT_FAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
428 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
429 H5T_NATIVE_UINT_FAST8_ALIGN_g = 1;
430
431 /*
432 * 1 0
433 * IIIIIIII IIIIIIII
434 * Alignment: none
435 */
436 if(NULL == (dt = H5T__alloc()))
437 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
438 dt->shared->state = H5T_STATE_IMMUTABLE;
439 dt->shared->type = H5T_INTEGER;
440 dt->shared->size = 2;
441 dt->shared->u.atomic.order = H5T_ORDER_LE;
442 dt->shared->u.atomic.offset = 0;
443 dt->shared->u.atomic.prec = 16;
444 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
445 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
446 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
447 if((H5T_NATIVE_INT16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
448 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
449 H5T_NATIVE_INT16_ALIGN_g = 1;
450
451 /*
452 * 1 0
453 * UUUUUUUU UUUUUUUU
454 * Alignment: none
455 */
456 if(NULL == (dt = H5T__alloc()))
457 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
458 dt->shared->state = H5T_STATE_IMMUTABLE;
459 dt->shared->type = H5T_INTEGER;
460 dt->shared->size = 2;
461 dt->shared->u.atomic.order = H5T_ORDER_LE;
462 dt->shared->u.atomic.offset = 0;
463 dt->shared->u.atomic.prec = 16;
464 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
465 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
466 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
467 if((H5T_NATIVE_UINT16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
468 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
469 H5T_NATIVE_UINT16_ALIGN_g = 1;
470
471 /*
472 * 1 0
473 * IIIIIIII IIIIIIII
474 * Alignment: none
475 */
476 if(NULL == (dt = H5T__alloc()))
477 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
478 dt->shared->state = H5T_STATE_IMMUTABLE;
479 dt->shared->type = H5T_INTEGER;
480 dt->shared->size = 2;
481 dt->shared->u.atomic.order = H5T_ORDER_LE;
482 dt->shared->u.atomic.offset = 0;
483 dt->shared->u.atomic.prec = 16;
484 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
485 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
486 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
487 if((H5T_NATIVE_INT_LEAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
488 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
489 H5T_NATIVE_INT_LEAST16_ALIGN_g = 1;
490
491 /*
492 * 1 0
493 * UUUUUUUU UUUUUUUU
494 * Alignment: none
495 */
496 if(NULL == (dt = H5T__alloc()))
497 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
498 dt->shared->state = H5T_STATE_IMMUTABLE;
499 dt->shared->type = H5T_INTEGER;
500 dt->shared->size = 2;
501 dt->shared->u.atomic.order = H5T_ORDER_LE;
502 dt->shared->u.atomic.offset = 0;
503 dt->shared->u.atomic.prec = 16;
504 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
505 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
506 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
507 if((H5T_NATIVE_UINT_LEAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
508 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
509 H5T_NATIVE_UINT_LEAST16_ALIGN_g = 1;
510
511 /*
512 * 3 2 1 0
513 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
514 * Alignment: none
515 */
516 if(NULL == (dt = H5T__alloc()))
517 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
518 dt->shared->state = H5T_STATE_IMMUTABLE;
519 dt->shared->type = H5T_INTEGER;
520 dt->shared->size = 4;
521 dt->shared->u.atomic.order = H5T_ORDER_LE;
522 dt->shared->u.atomic.offset = 0;
523 dt->shared->u.atomic.prec = 32;
524 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
525 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
526 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
527 if((H5T_NATIVE_INT_FAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
528 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
529 H5T_NATIVE_INT_FAST16_ALIGN_g = 1;
530
531 /*
532 * 3 2 1 0
533 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
534 * Alignment: none
535 */
536 if(NULL == (dt = H5T__alloc()))
537 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
538 dt->shared->state = H5T_STATE_IMMUTABLE;
539 dt->shared->type = H5T_INTEGER;
540 dt->shared->size = 4;
541 dt->shared->u.atomic.order = H5T_ORDER_LE;
542 dt->shared->u.atomic.offset = 0;
543 dt->shared->u.atomic.prec = 32;
544 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
545 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
546 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
547 if((H5T_NATIVE_UINT_FAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
548 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
549 H5T_NATIVE_UINT_FAST16_ALIGN_g = 1;
550
551 /*
552 * 3 2 1 0
553 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
554 * Alignment: none
555 */
556 if(NULL == (dt = H5T__alloc()))
557 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
558 dt->shared->state = H5T_STATE_IMMUTABLE;
559 dt->shared->type = H5T_INTEGER;
560 dt->shared->size = 4;
561 dt->shared->u.atomic.order = H5T_ORDER_LE;
562 dt->shared->u.atomic.offset = 0;
563 dt->shared->u.atomic.prec = 32;
564 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
565 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
566 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
567 if((H5T_NATIVE_INT32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
568 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
569 H5T_NATIVE_INT32_ALIGN_g = 1;
570
571 /*
572 * 3 2 1 0
573 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
574 * Alignment: none
575 */
576 if(NULL == (dt = H5T__alloc()))
577 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
578 dt->shared->state = H5T_STATE_IMMUTABLE;
579 dt->shared->type = H5T_INTEGER;
580 dt->shared->size = 4;
581 dt->shared->u.atomic.order = H5T_ORDER_LE;
582 dt->shared->u.atomic.offset = 0;
583 dt->shared->u.atomic.prec = 32;
584 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
585 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
586 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
587 if((H5T_NATIVE_UINT32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
588 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
589 H5T_NATIVE_UINT32_ALIGN_g = 1;
590
591 /*
592 * 3 2 1 0
593 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
594 * Alignment: none
595 */
596 if(NULL == (dt = H5T__alloc()))
597 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
598 dt->shared->state = H5T_STATE_IMMUTABLE;
599 dt->shared->type = H5T_INTEGER;
600 dt->shared->size = 4;
601 dt->shared->u.atomic.order = H5T_ORDER_LE;
602 dt->shared->u.atomic.offset = 0;
603 dt->shared->u.atomic.prec = 32;
604 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
605 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
606 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
607 if((H5T_NATIVE_INT_LEAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
608 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
609 H5T_NATIVE_INT_LEAST32_ALIGN_g = 1;
610
611 /*
612 * 3 2 1 0
613 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
614 * Alignment: none
615 */
616 if(NULL == (dt = H5T__alloc()))
617 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
618 dt->shared->state = H5T_STATE_IMMUTABLE;
619 dt->shared->type = H5T_INTEGER;
620 dt->shared->size = 4;
621 dt->shared->u.atomic.order = H5T_ORDER_LE;
622 dt->shared->u.atomic.offset = 0;
623 dt->shared->u.atomic.prec = 32;
624 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
625 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
626 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
627 if((H5T_NATIVE_UINT_LEAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
628 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
629 H5T_NATIVE_UINT_LEAST32_ALIGN_g = 1;
630
631 /*
632 * 3 2 1 0
633 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
634 * Alignment: none
635 */
636 if(NULL == (dt = H5T__alloc()))
637 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
638 dt->shared->state = H5T_STATE_IMMUTABLE;
639 dt->shared->type = H5T_INTEGER;
640 dt->shared->size = 4;
641 dt->shared->u.atomic.order = H5T_ORDER_LE;
642 dt->shared->u.atomic.offset = 0;
643 dt->shared->u.atomic.prec = 32;
644 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
645 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
646 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
647 if((H5T_NATIVE_INT_FAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
648 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
649 H5T_NATIVE_INT_FAST32_ALIGN_g = 1;
650
651 /*
652 * 3 2 1 0
653 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
654 * Alignment: none
655 */
656 if(NULL == (dt = H5T__alloc()))
657 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
658 dt->shared->state = H5T_STATE_IMMUTABLE;
659 dt->shared->type = H5T_INTEGER;
660 dt->shared->size = 4;
661 dt->shared->u.atomic.order = H5T_ORDER_LE;
662 dt->shared->u.atomic.offset = 0;
663 dt->shared->u.atomic.prec = 32;
664 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
665 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
666 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
667 if((H5T_NATIVE_UINT_FAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
668 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
669 H5T_NATIVE_UINT_FAST32_ALIGN_g = 1;
670
671 /*
672 * 7 6 5 4
673 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
674 * 3 2 1 0
675 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
676 * Alignment: none
677 */
678 if(NULL == (dt = H5T__alloc()))
679 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
680 dt->shared->state = H5T_STATE_IMMUTABLE;
681 dt->shared->type = H5T_INTEGER;
682 dt->shared->size = 8;
683 dt->shared->u.atomic.order = H5T_ORDER_LE;
684 dt->shared->u.atomic.offset = 0;
685 dt->shared->u.atomic.prec = 64;
686 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
687 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
688 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
689 if((H5T_NATIVE_INT64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
690 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
691 H5T_NATIVE_INT64_ALIGN_g = 1;
692
693 /*
694 * 7 6 5 4
695 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
696 * 3 2 1 0
697 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
698 * Alignment: none
699 */
700 if(NULL == (dt = H5T__alloc()))
701 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
702 dt->shared->state = H5T_STATE_IMMUTABLE;
703 dt->shared->type = H5T_INTEGER;
704 dt->shared->size = 8;
705 dt->shared->u.atomic.order = H5T_ORDER_LE;
706 dt->shared->u.atomic.offset = 0;
707 dt->shared->u.atomic.prec = 64;
708 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
709 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
710 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
711 if((H5T_NATIVE_UINT64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
712 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
713 H5T_NATIVE_UINT64_ALIGN_g = 1;
714
715 /*
716 * 7 6 5 4
717 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
718 * 3 2 1 0
719 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
720 * Alignment: none
721 */
722 if(NULL == (dt = H5T__alloc()))
723 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
724 dt->shared->state = H5T_STATE_IMMUTABLE;
725 dt->shared->type = H5T_INTEGER;
726 dt->shared->size = 8;
727 dt->shared->u.atomic.order = H5T_ORDER_LE;
728 dt->shared->u.atomic.offset = 0;
729 dt->shared->u.atomic.prec = 64;
730 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
731 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
732 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
733 if((H5T_NATIVE_INT_LEAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
734 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
735 H5T_NATIVE_INT_LEAST64_ALIGN_g = 1;
736
737 /*
738 * 7 6 5 4
739 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
740 * 3 2 1 0
741 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
742 * Alignment: none
743 */
744 if(NULL == (dt = H5T__alloc()))
745 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
746 dt->shared->state = H5T_STATE_IMMUTABLE;
747 dt->shared->type = H5T_INTEGER;
748 dt->shared->size = 8;
749 dt->shared->u.atomic.order = H5T_ORDER_LE;
750 dt->shared->u.atomic.offset = 0;
751 dt->shared->u.atomic.prec = 64;
752 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
753 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
754 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
755 if((H5T_NATIVE_UINT_LEAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
756 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
757 H5T_NATIVE_UINT_LEAST64_ALIGN_g = 1;
758
759 /*
760 * 7 6 5 4
761 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
762 * 3 2 1 0
763 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
764 * Alignment: none
765 */
766 if(NULL == (dt = H5T__alloc()))
767 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
768 dt->shared->state = H5T_STATE_IMMUTABLE;
769 dt->shared->type = H5T_INTEGER;
770 dt->shared->size = 8;
771 dt->shared->u.atomic.order = H5T_ORDER_LE;
772 dt->shared->u.atomic.offset = 0;
773 dt->shared->u.atomic.prec = 64;
774 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
775 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
776 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
777 if((H5T_NATIVE_INT_FAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
778 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
779 H5T_NATIVE_INT_FAST64_ALIGN_g = 1;
780
781 /*
782 * 7 6 5 4
783 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
784 * 3 2 1 0
785 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
786 * Alignment: none
787 */
788 if(NULL == (dt = H5T__alloc()))
789 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
790 dt->shared->state = H5T_STATE_IMMUTABLE;
791 dt->shared->type = H5T_INTEGER;
792 dt->shared->size = 8;
793 dt->shared->u.atomic.order = H5T_ORDER_LE;
794 dt->shared->u.atomic.offset = 0;
795 dt->shared->u.atomic.prec = 64;
796 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
797 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
798 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
799 if((H5T_NATIVE_UINT_FAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
800 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
801 H5T_NATIVE_UINT_FAST64_ALIGN_g = 1;
802
803 /*
804 * 7 6 5 4
805 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
806 * 3 2 1 0
807 * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
808 * Alignment: none
809 */
810 if(NULL == (dt = H5T__alloc()))
811 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
812 dt->shared->state = H5T_STATE_IMMUTABLE;
813 dt->shared->type = H5T_INTEGER;
814 dt->shared->size = 8;
815 dt->shared->u.atomic.order = H5T_ORDER_LE;
816 dt->shared->u.atomic.offset = 0;
817 dt->shared->u.atomic.prec = 64;
818 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
819 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
820 dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
821 if((H5T_NATIVE_LLONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
822 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
823 H5T_NATIVE_LLONG_ALIGN_g = 1;
824 H5T_NATIVE_LLONG_COMP_ALIGN_g = 8;
825
826 /*
827 * 7 6 5 4
828 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
829 * 3 2 1 0
830 * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
831 * Alignment: none
832 */
833 if(NULL == (dt = H5T__alloc()))
834 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
835 dt->shared->state = H5T_STATE_IMMUTABLE;
836 dt->shared->type = H5T_INTEGER;
837 dt->shared->size = 8;
838 dt->shared->u.atomic.order = H5T_ORDER_LE;
839 dt->shared->u.atomic.offset = 0;
840 dt->shared->u.atomic.prec = 64;
841 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
842 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
843 dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
844 if((H5T_NATIVE_ULLONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
845 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
846 H5T_NATIVE_ULLONG_ALIGN_g = 1;
847
848 /*
849 * 3 2 1 0
850 * SEEEEEEE EMMMMMMM MMMMMMMM MMMMMMMM
851 * Implicit bit? yes
852 * Alignment: none
853 */
854 if(NULL == (dt = H5T__alloc()))
855 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
856 dt->shared->state = H5T_STATE_IMMUTABLE;
857 dt->shared->type = H5T_FLOAT;
858 dt->shared->size = 4;
859 dt->shared->u.atomic.order = H5T_ORDER_LE;
860 dt->shared->u.atomic.offset = 0;
861 dt->shared->u.atomic.prec = 32;
862 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
863 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
864 dt->shared->u.atomic.u.f.sign = 31;
865 dt->shared->u.atomic.u.f.epos = 23;
866 dt->shared->u.atomic.u.f.esize = 8;
867 dt->shared->u.atomic.u.f.ebias = 0x0000007f;
868 dt->shared->u.atomic.u.f.mpos = 0;
869 dt->shared->u.atomic.u.f.msize = 23;
870 dt->shared->u.atomic.u.f.norm = H5T_NORM_IMPLIED;
871 dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
872 if((H5T_NATIVE_FLOAT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
873 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
874 H5T_NATIVE_FLOAT_ALIGN_g = 1;
875 H5T_NATIVE_FLOAT_COMP_ALIGN_g = 4;
876
877 /*
878 * 7 6 5 4
879 * SEEEEEEE EEEEMMMM MMMMMMMM MMMMMMMM
880 * 3 2 1 0
881 * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
882 * Implicit bit? yes
883 * Alignment: none
884 */
885 if(NULL == (dt = H5T__alloc()))
886 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
887 dt->shared->state = H5T_STATE_IMMUTABLE;
888 dt->shared->type = H5T_FLOAT;
889 dt->shared->size = 8;
890 dt->shared->u.atomic.order = H5T_ORDER_LE;
891 dt->shared->u.atomic.offset = 0;
892 dt->shared->u.atomic.prec = 64;
893 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
894 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
895 dt->shared->u.atomic.u.f.sign = 63;
896 dt->shared->u.atomic.u.f.epos = 52;
897 dt->shared->u.atomic.u.f.esize = 11;
898 dt->shared->u.atomic.u.f.ebias = 0x000003ff;
899 dt->shared->u.atomic.u.f.mpos = 0;
900 dt->shared->u.atomic.u.f.msize = 52;
901 dt->shared->u.atomic.u.f.norm = H5T_NORM_IMPLIED;
902 dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
903 if((H5T_NATIVE_DOUBLE_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
904 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
905 H5T_NATIVE_DOUBLE_ALIGN_g = 1;
906 H5T_NATIVE_DOUBLE_COMP_ALIGN_g = 8;
907
908 /*
909 * 7 6 5 4
910 * SEEEEEEE EEEEMMMM MMMMMMMM MMMMMMMM
911 * 3 2 1 0
912 * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
913 * Implicit bit? yes
914 * Alignment: none
915 */
916 if(NULL == (dt = H5T__alloc()))
917 HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
918 dt->shared->state = H5T_STATE_IMMUTABLE;
919 dt->shared->type = H5T_FLOAT;
920 dt->shared->size = 8;
921 dt->shared->u.atomic.order = H5T_ORDER_LE;
922 dt->shared->u.atomic.offset = 0;
923 dt->shared->u.atomic.prec = 64;
924 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
925 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
926 dt->shared->u.atomic.u.f.sign = 63;
927 dt->shared->u.atomic.u.f.epos = 52;
928 dt->shared->u.atomic.u.f.esize = 11;
929 dt->shared->u.atomic.u.f.ebias = 0x000003ff;
930 dt->shared->u.atomic.u.f.mpos = 0;
931 dt->shared->u.atomic.u.f.msize = 52;
932 dt->shared->u.atomic.u.f.norm = H5T_NORM_IMPLIED;
933 dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
934 if((H5T_NATIVE_LDOUBLE_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
935 HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
936 H5T_NATIVE_LDOUBLE_ALIGN_g = 1;
937 H5T_NATIVE_LDOUBLE_COMP_ALIGN_g = 8;
938
939 /* Set the native order for this machine */
940 H5T_native_order_g = H5T_ORDER_LE;
941
942 /* Structure alignment for pointers, hvl_t, hobj_ref_t, hdset_reg_ref_t */
943 H5T_POINTER_COMP_ALIGN_g = 4;
944 H5T_HVL_COMP_ALIGN_g = 4;
945 H5T_HOBJREF_COMP_ALIGN_g = 8;
946 H5T_HDSETREGREF_COMP_ALIGN_g = 1;
947
948done:
949 if(ret_value < 0) {
950 if(dt != NULL) {
951 dt->shared = H5FL_FREE(H5T_shared_t, dt->shared);
952 dt = H5FL_FREE(H5T_t, dt);
953 } /* end if */
954 } /* end if */
955
956 FUNC_LEAVE_NOAPI(ret_value);
957} /* end H5TN_init_interface() */
958
959/****************************************/
960/* ALIGNMENT and signal-handling status */
961/****************************************/
962/* Signal() support: yes */
963/* setjmp() support: yes */
964/* longjmp() support: yes */
965/* sigsetjmp() support: yes */
966/* siglongjmp() support: yes */
967/* sigprocmask() support: yes */
968
969/******************************/
970/* signal handlers statistics */
971/******************************/
972/* signal_handlers tested: 15 times */
973/* sigbus_handler called: 5 times */
974/* sigsegv_handler called: 5 times */
975/* sigill_handler called: 5 times */