949 switch (array_type) {
952 case 1: _XMPC_pack_array_1_BOOL(buffer, src, l[0], u[0], s[0]);
break;
953 case 2: _XMPC_pack_array_2_BOOL(buffer, src, l, u, s, d);
break;
954 case 3: _XMPC_pack_array_3_BOOL(buffer, src, l, u, s, d);
break;
955 case 4: _XMPC_pack_array_4_BOOL(buffer, src, l, u, s, d);
break;
956 case 5: _XMPC_pack_array_5_BOOL(buffer, src, l, u, s, d);
break;
957 case 6: _XMPC_pack_array_6_BOOL(buffer, src, l, u, s, d);
break;
958 case 7: _XMPC_pack_array_7_BOOL(buffer, src, l, u, s, d);
break;
964 case 1: _XMPC_pack_array_1_CHAR(buffer, src, l[0], u[0], s[0]);
break;
965 case 2: _XMPC_pack_array_2_CHAR(buffer, src, l, u, s, d);
break;
966 case 3: _XMPC_pack_array_3_CHAR(buffer, src, l, u, s, d);
break;
967 case 4: _XMPC_pack_array_4_CHAR(buffer, src, l, u, s, d);
break;
968 case 5: _XMPC_pack_array_5_CHAR(buffer, src, l, u, s, d);
break;
969 case 6: _XMPC_pack_array_6_CHAR(buffer, src, l, u, s, d);
break;
970 case 7: _XMPC_pack_array_7_CHAR(buffer, src, l, u, s, d);
break;
976 case 1: _XMPC_pack_array_1_UNSIGNED_CHAR(buffer, src, l[0], u[0], s[0]);
break;
977 case 2: _XMPC_pack_array_2_UNSIGNED_CHAR(buffer, src, l, u, s, d);
break;
978 case 3: _XMPC_pack_array_3_UNSIGNED_CHAR(buffer, src, l, u, s, d);
break;
979 case 4: _XMPC_pack_array_4_UNSIGNED_CHAR(buffer, src, l, u, s, d);
break;
980 case 5: _XMPC_pack_array_5_UNSIGNED_CHAR(buffer, src, l, u, s, d);
break;
981 case 6: _XMPC_pack_array_6_UNSIGNED_CHAR(buffer, src, l, u, s, d);
break;
982 case 7: _XMPC_pack_array_7_UNSIGNED_CHAR(buffer, src, l, u, s, d);
break;
988 case 1: _XMPC_pack_array_1_SHORT(buffer, src, l[0], u[0], s[0]);
break;
989 case 2: _XMPC_pack_array_2_SHORT(buffer, src, l, u, s, d);
break;
990 case 3: _XMPC_pack_array_3_SHORT(buffer, src, l, u, s, d);
break;
991 case 4: _XMPC_pack_array_4_SHORT(buffer, src, l, u, s, d);
break;
992 case 5: _XMPC_pack_array_5_SHORT(buffer, src, l, u, s, d);
break;
993 case 6: _XMPC_pack_array_6_SHORT(buffer, src, l, u, s, d);
break;
994 case 7: _XMPC_pack_array_7_SHORT(buffer, src, l, u, s, d);
break;
1000 case 1: _XMPC_pack_array_1_UNSIGNED_SHORT(buffer, src, l[0], u[0], s[0]);
break;
1001 case 2: _XMPC_pack_array_2_UNSIGNED_SHORT(buffer, src, l, u, s, d);
break;
1002 case 3: _XMPC_pack_array_3_UNSIGNED_SHORT(buffer, src, l, u, s, d);
break;
1003 case 4: _XMPC_pack_array_4_UNSIGNED_SHORT(buffer, src, l, u, s, d);
break;
1004 case 5: _XMPC_pack_array_5_UNSIGNED_SHORT(buffer, src, l, u, s, d);
break;
1005 case 6: _XMPC_pack_array_6_UNSIGNED_SHORT(buffer, src, l, u, s, d);
break;
1006 case 7: _XMPC_pack_array_7_UNSIGNED_SHORT(buffer, src, l, u, s, d);
break;
1007 default:
_XMP_fatal(
"wrong array dimension");
1011 switch (array_dim) {
1012 case 1: _XMPC_pack_array_1_INT(buffer, src, l[0], u[0], s[0]);
break;
1013 case 2: _XMPC_pack_array_2_INT(buffer, src, l, u, s, d);
break;
1014 case 3: _XMPC_pack_array_3_INT(buffer, src, l, u, s, d);
break;
1015 case 4: _XMPC_pack_array_4_INT(buffer, src, l, u, s, d);
break;
1016 case 5: _XMPC_pack_array_5_INT(buffer, src, l, u, s, d);
break;
1017 case 6: _XMPC_pack_array_6_INT(buffer, src, l, u, s, d);
break;
1018 case 7: _XMPC_pack_array_7_INT(buffer, src, l, u, s, d);
break;
1019 default:
_XMP_fatal(
"wrong array dimension");
1023 switch (array_dim) {
1024 case 1: _XMPC_pack_array_1_UNSIGNED_INT(buffer, src, l[0], u[0], s[0]);
break;
1025 case 2: _XMPC_pack_array_2_UNSIGNED_INT(buffer, src, l, u, s, d);
break;
1026 case 3: _XMPC_pack_array_3_UNSIGNED_INT(buffer, src, l, u, s, d);
break;
1027 case 4: _XMPC_pack_array_4_UNSIGNED_INT(buffer, src, l, u, s, d);
break;
1028 case 5: _XMPC_pack_array_5_UNSIGNED_INT(buffer, src, l, u, s, d);
break;
1029 case 6: _XMPC_pack_array_6_UNSIGNED_INT(buffer, src, l, u, s, d);
break;
1030 case 7: _XMPC_pack_array_7_UNSIGNED_INT(buffer, src, l, u, s, d);
break;
1031 default:
_XMP_fatal(
"wrong array dimension");
1035 switch (array_dim) {
1036 case 1: _XMPC_pack_array_1_LONG(buffer, src, l[0], u[0], s[0]);
break;
1037 case 2: _XMPC_pack_array_2_LONG(buffer, src, l, u, s, d);
break;
1038 case 3: _XMPC_pack_array_3_LONG(buffer, src, l, u, s, d);
break;
1039 case 4: _XMPC_pack_array_4_LONG(buffer, src, l, u, s, d);
break;
1040 case 5: _XMPC_pack_array_5_LONG(buffer, src, l, u, s, d);
break;
1041 case 6: _XMPC_pack_array_6_LONG(buffer, src, l, u, s, d);
break;
1042 case 7: _XMPC_pack_array_7_LONG(buffer, src, l, u, s, d);
break;
1043 default:
_XMP_fatal(
"wrong array dimension");
1047 switch (array_dim) {
1048 case 1: _XMPC_pack_array_1_UNSIGNED_LONG(buffer, src, l[0], u[0], s[0]);
break;
1049 case 2: _XMPC_pack_array_2_UNSIGNED_LONG(buffer, src, l, u, s, d);
break;
1050 case 3: _XMPC_pack_array_3_UNSIGNED_LONG(buffer, src, l, u, s, d);
break;
1051 case 4: _XMPC_pack_array_4_UNSIGNED_LONG(buffer, src, l, u, s, d);
break;
1052 case 5: _XMPC_pack_array_5_UNSIGNED_LONG(buffer, src, l, u, s, d);
break;
1053 case 6: _XMPC_pack_array_6_UNSIGNED_LONG(buffer, src, l, u, s, d);
break;
1054 case 7: _XMPC_pack_array_7_UNSIGNED_LONG(buffer, src, l, u, s, d);
break;
1055 default:
_XMP_fatal(
"wrong array dimension");
1059 switch (array_dim) {
1060 case 1: _XMPC_pack_array_1_LONGLONG(buffer, src, l[0], u[0], s[0]);
break;
1061 case 2: _XMPC_pack_array_2_LONGLONG(buffer, src, l, u, s, d);
break;
1062 case 3: _XMPC_pack_array_3_LONGLONG(buffer, src, l, u, s, d);
break;
1063 case 4: _XMPC_pack_array_4_LONGLONG(buffer, src, l, u, s, d);
break;
1064 case 5: _XMPC_pack_array_5_LONGLONG(buffer, src, l, u, s, d);
break;
1065 case 6: _XMPC_pack_array_6_LONGLONG(buffer, src, l, u, s, d);
break;
1066 case 7: _XMPC_pack_array_7_LONGLONG(buffer, src, l, u, s, d);
break;
1067 default:
_XMP_fatal(
"wrong array dimension");
1071 switch (array_dim) {
1072 case 1: _XMPC_pack_array_1_UNSIGNED_LONGLONG(buffer, src, l[0], u[0], s[0]);
break;
1073 case 2: _XMPC_pack_array_2_UNSIGNED_LONGLONG(buffer, src, l, u, s, d);
break;
1074 case 3: _XMPC_pack_array_3_UNSIGNED_LONGLONG(buffer, src, l, u, s, d);
break;
1075 case 4: _XMPC_pack_array_4_UNSIGNED_LONGLONG(buffer, src, l, u, s, d);
break;
1076 case 5: _XMPC_pack_array_5_UNSIGNED_LONGLONG(buffer, src, l, u, s, d);
break;
1077 case 6: _XMPC_pack_array_6_UNSIGNED_LONGLONG(buffer, src, l, u, s, d);
break;
1078 case 7: _XMPC_pack_array_7_UNSIGNED_LONGLONG(buffer, src, l, u, s, d);
break;
1079 default:
_XMP_fatal(
"wrong array dimension");
1083 switch (array_dim) {
1084 case 1: _XMPC_pack_array_1_FLOAT(buffer, src, l[0], u[0], s[0]);
break;
1085 case 2: _XMPC_pack_array_2_FLOAT(buffer, src, l, u, s, d);
break;
1086 case 3: _XMPC_pack_array_3_FLOAT(buffer, src, l, u, s, d);
break;
1087 case 4: _XMPC_pack_array_4_FLOAT(buffer, src, l, u, s, d);
break;
1088 case 5: _XMPC_pack_array_5_FLOAT(buffer, src, l, u, s, d);
break;
1089 case 6: _XMPC_pack_array_6_FLOAT(buffer, src, l, u, s, d);
break;
1090 case 7: _XMPC_pack_array_7_FLOAT(buffer, src, l, u, s, d);
break;
1091 default:
_XMP_fatal(
"wrong array dimension");
1095 switch (array_dim) {
1096 case 1: _XMPC_pack_array_1_DOUBLE(buffer, src, l[0], u[0], s[0]);
break;
1097 case 2: _XMPC_pack_array_2_DOUBLE(buffer, src, l, u, s, d);
break;
1098 case 3: _XMPC_pack_array_3_DOUBLE(buffer, src, l, u, s, d);
break;
1099 case 4: _XMPC_pack_array_4_DOUBLE(buffer, src, l, u, s, d);
break;
1100 case 5: _XMPC_pack_array_5_DOUBLE(buffer, src, l, u, s, d);
break;
1101 case 6: _XMPC_pack_array_6_DOUBLE(buffer, src, l, u, s, d);
break;
1102 case 7: _XMPC_pack_array_7_DOUBLE(buffer, src, l, u, s, d);
break;
1103 default:
_XMP_fatal(
"wrong array dimension");
1107 switch (array_dim) {
1108 case 1: _XMPC_pack_array_1_LONG_DOUBLE(buffer, src, l[0], u[0], s[0]);
break;
1109 case 2: _XMPC_pack_array_2_LONG_DOUBLE(buffer, src, l, u, s, d);
break;
1110 case 3: _XMPC_pack_array_3_LONG_DOUBLE(buffer, src, l, u, s, d);
break;
1111 case 4: _XMPC_pack_array_4_LONG_DOUBLE(buffer, src, l, u, s, d);
break;
1112 case 5: _XMPC_pack_array_5_LONG_DOUBLE(buffer, src, l, u, s, d);
break;
1113 case 6: _XMPC_pack_array_6_LONG_DOUBLE(buffer, src, l, u, s, d);
break;
1114 case 7: _XMPC_pack_array_7_LONG_DOUBLE(buffer, src, l, u, s, d);
break;
1115 default:
_XMP_fatal(
"wrong array dimension");
1130 _XMP_fatal(
"unknown data type for packing arrays");
#define _XMP_N_TYPE_UNSIGNED_LONGLONG
Definition: xmp_constant.h:90
#define _XMP_N_TYPE_UNSIGNED_LONG
Definition: xmp_constant.h:88
#define _XMP_N_TYPE_SHORT
Definition: xmp_constant.h:83
#define _XMP_N_TYPE_LONG
Definition: xmp_constant.h:87
#define _XMP_N_TYPE_LONG_DOUBLE
Definition: xmp_constant.h:93
#define _XMP_N_TYPE_UNSIGNED_SHORT
Definition: xmp_constant.h:84
#define _XMP_N_TYPE_FLOAT
Definition: xmp_constant.h:91
#define _XMP_N_TYPE_INT
Definition: xmp_constant.h:85
#define _XMP_N_TYPE_UNSIGNED_CHAR
Definition: xmp_constant.h:82
#define _XMP_N_TYPE_UNSIGNED_INT
Definition: xmp_constant.h:86
#define _XMP_N_TYPE_LONGLONG
Definition: xmp_constant.h:89
#define _XMP_N_TYPE_BOOL
Definition: xmp_constant.h:80
#define _XMP_N_TYPE_CHAR
Definition: xmp_constant.h:81
#define _XMP_N_TYPE_DOUBLE
Definition: xmp_constant.h:92
void _XMP_fatal(char *msg)
Definition: xmp_util.c:42