1 /* 2 * Copyright (C) by Argonne National Laboratory 3 * See COPYRIGHT in top-level directory 4 * 5 * DO NOT EDIT: AUTOMATICALLY GENERATED FILE !! 6 */ 7 8 #include <stdio.h> 9 #include <stdlib.h> 10 #include <wchar.h> 11 #include "yaksi.h" 12 #include "yaksu.h" 13 #include "yaksuri_seqi.h" 14 #include "yaksuri_seqi_populate_pupfns.h" 15 #include "yaksuri_seqi_pup.h" 16 yaksuri_seqi_populate_pupfns_hvector_resized(yaksi_type_s * type)17int yaksuri_seqi_populate_pupfns_hvector_resized(yaksi_type_s * type) 18 { 19 int rc = YAKSA_SUCCESS; 20 yaksuri_seqi_type_s *seq = (yaksuri_seqi_type_s *) type->backend.seq.priv; 21 22 char *str = getenv("YAKSA_ENV_MAX_NESTING_LEVEL"); 23 int max_nesting_level; 24 if (str) { 25 max_nesting_level = atoi(str); 26 } else { 27 max_nesting_level = YAKSI_ENV_DEFAULT_NESTING_LEVEL; 28 } 29 30 switch (type->u.hvector.child->u.resized.child->kind) { 31 case YAKSI_TYPE_KIND__HVECTOR: 32 switch (type->u.hvector.child->u.resized.child->u.hvector.child->kind) { 33 case YAKSI_TYPE_KIND__BUILTIN: 34 switch (type->u.hvector.child->u.resized.child->u.hvector.child->u.builtin.handle) { 35 case YAKSA_TYPE___BOOL: 36 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 37 case 1: 38 if (max_nesting_level >= 3) { 39 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1__Bool; 40 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1__Bool; 41 } 42 break; 43 case 2: 44 if (max_nesting_level >= 3) { 45 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2__Bool; 46 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2__Bool; 47 } 48 break; 49 case 3: 50 if (max_nesting_level >= 3) { 51 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3__Bool; 52 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3__Bool; 53 } 54 break; 55 case 4: 56 if (max_nesting_level >= 3) { 57 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4__Bool; 58 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4__Bool; 59 } 60 break; 61 case 5: 62 if (max_nesting_level >= 3) { 63 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5__Bool; 64 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5__Bool; 65 } 66 break; 67 case 6: 68 if (max_nesting_level >= 3) { 69 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6__Bool; 70 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6__Bool; 71 } 72 break; 73 case 7: 74 if (max_nesting_level >= 3) { 75 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7__Bool; 76 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7__Bool; 77 } 78 break; 79 case 8: 80 if (max_nesting_level >= 3) { 81 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8__Bool; 82 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8__Bool; 83 } 84 break; 85 default: 86 if (max_nesting_level >= 3) { 87 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic__Bool; 88 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic__Bool; 89 } 90 break; 91 } 92 break; 93 case YAKSA_TYPE__CHAR: 94 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 95 case 1: 96 if (max_nesting_level >= 3) { 97 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_char; 98 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_char; 99 } 100 break; 101 case 2: 102 if (max_nesting_level >= 3) { 103 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_char; 104 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_char; 105 } 106 break; 107 case 3: 108 if (max_nesting_level >= 3) { 109 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_char; 110 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_char; 111 } 112 break; 113 case 4: 114 if (max_nesting_level >= 3) { 115 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_char; 116 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_char; 117 } 118 break; 119 case 5: 120 if (max_nesting_level >= 3) { 121 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_char; 122 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_char; 123 } 124 break; 125 case 6: 126 if (max_nesting_level >= 3) { 127 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_char; 128 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_char; 129 } 130 break; 131 case 7: 132 if (max_nesting_level >= 3) { 133 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_char; 134 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_char; 135 } 136 break; 137 case 8: 138 if (max_nesting_level >= 3) { 139 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_char; 140 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_char; 141 } 142 break; 143 default: 144 if (max_nesting_level >= 3) { 145 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_char; 146 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_char; 147 } 148 break; 149 } 150 break; 151 case YAKSA_TYPE__WCHAR_T: 152 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 153 case 1: 154 if (max_nesting_level >= 3) { 155 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_wchar_t; 156 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_wchar_t; 157 } 158 break; 159 case 2: 160 if (max_nesting_level >= 3) { 161 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_wchar_t; 162 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_wchar_t; 163 } 164 break; 165 case 3: 166 if (max_nesting_level >= 3) { 167 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_wchar_t; 168 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_wchar_t; 169 } 170 break; 171 case 4: 172 if (max_nesting_level >= 3) { 173 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_wchar_t; 174 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_wchar_t; 175 } 176 break; 177 case 5: 178 if (max_nesting_level >= 3) { 179 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_wchar_t; 180 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_wchar_t; 181 } 182 break; 183 case 6: 184 if (max_nesting_level >= 3) { 185 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_wchar_t; 186 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_wchar_t; 187 } 188 break; 189 case 7: 190 if (max_nesting_level >= 3) { 191 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_wchar_t; 192 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_wchar_t; 193 } 194 break; 195 case 8: 196 if (max_nesting_level >= 3) { 197 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_wchar_t; 198 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_wchar_t; 199 } 200 break; 201 default: 202 if (max_nesting_level >= 3) { 203 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_wchar_t; 204 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_wchar_t; 205 } 206 break; 207 } 208 break; 209 case YAKSA_TYPE__INT8_T: 210 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 211 case 1: 212 if (max_nesting_level >= 3) { 213 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_int8_t; 214 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_int8_t; 215 } 216 break; 217 case 2: 218 if (max_nesting_level >= 3) { 219 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_int8_t; 220 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_int8_t; 221 } 222 break; 223 case 3: 224 if (max_nesting_level >= 3) { 225 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_int8_t; 226 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_int8_t; 227 } 228 break; 229 case 4: 230 if (max_nesting_level >= 3) { 231 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_int8_t; 232 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_int8_t; 233 } 234 break; 235 case 5: 236 if (max_nesting_level >= 3) { 237 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_int8_t; 238 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_int8_t; 239 } 240 break; 241 case 6: 242 if (max_nesting_level >= 3) { 243 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_int8_t; 244 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_int8_t; 245 } 246 break; 247 case 7: 248 if (max_nesting_level >= 3) { 249 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_int8_t; 250 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_int8_t; 251 } 252 break; 253 case 8: 254 if (max_nesting_level >= 3) { 255 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_int8_t; 256 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_int8_t; 257 } 258 break; 259 default: 260 if (max_nesting_level >= 3) { 261 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_int8_t; 262 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_int8_t; 263 } 264 break; 265 } 266 break; 267 case YAKSA_TYPE__INT16_T: 268 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 269 case 1: 270 if (max_nesting_level >= 3) { 271 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_int16_t; 272 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_int16_t; 273 } 274 break; 275 case 2: 276 if (max_nesting_level >= 3) { 277 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_int16_t; 278 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_int16_t; 279 } 280 break; 281 case 3: 282 if (max_nesting_level >= 3) { 283 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_int16_t; 284 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_int16_t; 285 } 286 break; 287 case 4: 288 if (max_nesting_level >= 3) { 289 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_int16_t; 290 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_int16_t; 291 } 292 break; 293 case 5: 294 if (max_nesting_level >= 3) { 295 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_int16_t; 296 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_int16_t; 297 } 298 break; 299 case 6: 300 if (max_nesting_level >= 3) { 301 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_int16_t; 302 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_int16_t; 303 } 304 break; 305 case 7: 306 if (max_nesting_level >= 3) { 307 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_int16_t; 308 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_int16_t; 309 } 310 break; 311 case 8: 312 if (max_nesting_level >= 3) { 313 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_int16_t; 314 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_int16_t; 315 } 316 break; 317 default: 318 if (max_nesting_level >= 3) { 319 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_int16_t; 320 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_int16_t; 321 } 322 break; 323 } 324 break; 325 case YAKSA_TYPE__INT32_T: 326 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 327 case 1: 328 if (max_nesting_level >= 3) { 329 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_int32_t; 330 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_int32_t; 331 } 332 break; 333 case 2: 334 if (max_nesting_level >= 3) { 335 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_int32_t; 336 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_int32_t; 337 } 338 break; 339 case 3: 340 if (max_nesting_level >= 3) { 341 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_int32_t; 342 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_int32_t; 343 } 344 break; 345 case 4: 346 if (max_nesting_level >= 3) { 347 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_int32_t; 348 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_int32_t; 349 } 350 break; 351 case 5: 352 if (max_nesting_level >= 3) { 353 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_int32_t; 354 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_int32_t; 355 } 356 break; 357 case 6: 358 if (max_nesting_level >= 3) { 359 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_int32_t; 360 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_int32_t; 361 } 362 break; 363 case 7: 364 if (max_nesting_level >= 3) { 365 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_int32_t; 366 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_int32_t; 367 } 368 break; 369 case 8: 370 if (max_nesting_level >= 3) { 371 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_int32_t; 372 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_int32_t; 373 } 374 break; 375 default: 376 if (max_nesting_level >= 3) { 377 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_int32_t; 378 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_int32_t; 379 } 380 break; 381 } 382 break; 383 case YAKSA_TYPE__INT64_T: 384 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 385 case 1: 386 if (max_nesting_level >= 3) { 387 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_int64_t; 388 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_int64_t; 389 } 390 break; 391 case 2: 392 if (max_nesting_level >= 3) { 393 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_int64_t; 394 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_int64_t; 395 } 396 break; 397 case 3: 398 if (max_nesting_level >= 3) { 399 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_int64_t; 400 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_int64_t; 401 } 402 break; 403 case 4: 404 if (max_nesting_level >= 3) { 405 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_int64_t; 406 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_int64_t; 407 } 408 break; 409 case 5: 410 if (max_nesting_level >= 3) { 411 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_int64_t; 412 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_int64_t; 413 } 414 break; 415 case 6: 416 if (max_nesting_level >= 3) { 417 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_int64_t; 418 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_int64_t; 419 } 420 break; 421 case 7: 422 if (max_nesting_level >= 3) { 423 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_int64_t; 424 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_int64_t; 425 } 426 break; 427 case 8: 428 if (max_nesting_level >= 3) { 429 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_int64_t; 430 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_int64_t; 431 } 432 break; 433 default: 434 if (max_nesting_level >= 3) { 435 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_int64_t; 436 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_int64_t; 437 } 438 break; 439 } 440 break; 441 case YAKSA_TYPE__FLOAT: 442 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 443 case 1: 444 if (max_nesting_level >= 3) { 445 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_float; 446 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_float; 447 } 448 break; 449 case 2: 450 if (max_nesting_level >= 3) { 451 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_float; 452 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_float; 453 } 454 break; 455 case 3: 456 if (max_nesting_level >= 3) { 457 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_float; 458 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_float; 459 } 460 break; 461 case 4: 462 if (max_nesting_level >= 3) { 463 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_float; 464 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_float; 465 } 466 break; 467 case 5: 468 if (max_nesting_level >= 3) { 469 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_float; 470 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_float; 471 } 472 break; 473 case 6: 474 if (max_nesting_level >= 3) { 475 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_float; 476 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_float; 477 } 478 break; 479 case 7: 480 if (max_nesting_level >= 3) { 481 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_float; 482 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_float; 483 } 484 break; 485 case 8: 486 if (max_nesting_level >= 3) { 487 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_float; 488 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_float; 489 } 490 break; 491 default: 492 if (max_nesting_level >= 3) { 493 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_float; 494 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_float; 495 } 496 break; 497 } 498 break; 499 case YAKSA_TYPE__DOUBLE: 500 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 501 case 1: 502 if (max_nesting_level >= 3) { 503 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_double; 504 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_double; 505 } 506 break; 507 case 2: 508 if (max_nesting_level >= 3) { 509 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_double; 510 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_double; 511 } 512 break; 513 case 3: 514 if (max_nesting_level >= 3) { 515 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_double; 516 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_double; 517 } 518 break; 519 case 4: 520 if (max_nesting_level >= 3) { 521 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_double; 522 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_double; 523 } 524 break; 525 case 5: 526 if (max_nesting_level >= 3) { 527 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_double; 528 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_double; 529 } 530 break; 531 case 6: 532 if (max_nesting_level >= 3) { 533 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_double; 534 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_double; 535 } 536 break; 537 case 7: 538 if (max_nesting_level >= 3) { 539 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_double; 540 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_double; 541 } 542 break; 543 case 8: 544 if (max_nesting_level >= 3) { 545 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_double; 546 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_double; 547 } 548 break; 549 default: 550 if (max_nesting_level >= 3) { 551 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_double; 552 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_double; 553 } 554 break; 555 } 556 break; 557 case YAKSA_TYPE__LONG_DOUBLE: 558 switch (type->u.hvector.child->u.resized.child->u.hvector.blocklength) { 559 case 1: 560 if (max_nesting_level >= 3) { 561 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_long_double; 562 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_long_double; 563 } 564 break; 565 case 2: 566 if (max_nesting_level >= 3) { 567 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_long_double; 568 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_long_double; 569 } 570 break; 571 case 3: 572 if (max_nesting_level >= 3) { 573 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_long_double; 574 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_long_double; 575 } 576 break; 577 case 4: 578 if (max_nesting_level >= 3) { 579 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_long_double; 580 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_long_double; 581 } 582 break; 583 case 5: 584 if (max_nesting_level >= 3) { 585 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_long_double; 586 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_long_double; 587 } 588 break; 589 case 6: 590 if (max_nesting_level >= 3) { 591 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_long_double; 592 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_long_double; 593 } 594 break; 595 case 7: 596 if (max_nesting_level >= 3) { 597 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_long_double; 598 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_long_double; 599 } 600 break; 601 case 8: 602 if (max_nesting_level >= 3) { 603 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_long_double; 604 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_long_double; 605 } 606 break; 607 default: 608 if (max_nesting_level >= 3) { 609 seq->pack = yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_long_double; 610 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_long_double; 611 } 612 break; 613 } 614 break; 615 default: 616 break; 617 } 618 break; 619 default: 620 break; 621 } 622 break; 623 case YAKSI_TYPE_KIND__BLKHINDX: 624 switch (type->u.hvector.child->u.resized.child->u.blkhindx.child->kind) { 625 case YAKSI_TYPE_KIND__BUILTIN: 626 switch (type->u.hvector.child->u.resized.child->u.blkhindx.child->u.builtin.handle) { 627 case YAKSA_TYPE___BOOL: 628 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 629 case 1: 630 if (max_nesting_level >= 3) { 631 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1__Bool; 632 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1__Bool; 633 } 634 break; 635 case 2: 636 if (max_nesting_level >= 3) { 637 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2__Bool; 638 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2__Bool; 639 } 640 break; 641 case 3: 642 if (max_nesting_level >= 3) { 643 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3__Bool; 644 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3__Bool; 645 } 646 break; 647 case 4: 648 if (max_nesting_level >= 3) { 649 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4__Bool; 650 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4__Bool; 651 } 652 break; 653 case 5: 654 if (max_nesting_level >= 3) { 655 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5__Bool; 656 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5__Bool; 657 } 658 break; 659 case 6: 660 if (max_nesting_level >= 3) { 661 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6__Bool; 662 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6__Bool; 663 } 664 break; 665 case 7: 666 if (max_nesting_level >= 3) { 667 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7__Bool; 668 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7__Bool; 669 } 670 break; 671 case 8: 672 if (max_nesting_level >= 3) { 673 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8__Bool; 674 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8__Bool; 675 } 676 break; 677 default: 678 if (max_nesting_level >= 3) { 679 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic__Bool; 680 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic__Bool; 681 } 682 break; 683 } 684 break; 685 case YAKSA_TYPE__CHAR: 686 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 687 case 1: 688 if (max_nesting_level >= 3) { 689 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_char; 690 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_char; 691 } 692 break; 693 case 2: 694 if (max_nesting_level >= 3) { 695 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_char; 696 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_char; 697 } 698 break; 699 case 3: 700 if (max_nesting_level >= 3) { 701 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_char; 702 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_char; 703 } 704 break; 705 case 4: 706 if (max_nesting_level >= 3) { 707 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_char; 708 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_char; 709 } 710 break; 711 case 5: 712 if (max_nesting_level >= 3) { 713 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_char; 714 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_char; 715 } 716 break; 717 case 6: 718 if (max_nesting_level >= 3) { 719 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_char; 720 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_char; 721 } 722 break; 723 case 7: 724 if (max_nesting_level >= 3) { 725 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_char; 726 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_char; 727 } 728 break; 729 case 8: 730 if (max_nesting_level >= 3) { 731 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_char; 732 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_char; 733 } 734 break; 735 default: 736 if (max_nesting_level >= 3) { 737 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_char; 738 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_char; 739 } 740 break; 741 } 742 break; 743 case YAKSA_TYPE__WCHAR_T: 744 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 745 case 1: 746 if (max_nesting_level >= 3) { 747 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_wchar_t; 748 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_wchar_t; 749 } 750 break; 751 case 2: 752 if (max_nesting_level >= 3) { 753 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_wchar_t; 754 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_wchar_t; 755 } 756 break; 757 case 3: 758 if (max_nesting_level >= 3) { 759 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_wchar_t; 760 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_wchar_t; 761 } 762 break; 763 case 4: 764 if (max_nesting_level >= 3) { 765 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_wchar_t; 766 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_wchar_t; 767 } 768 break; 769 case 5: 770 if (max_nesting_level >= 3) { 771 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_wchar_t; 772 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_wchar_t; 773 } 774 break; 775 case 6: 776 if (max_nesting_level >= 3) { 777 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_wchar_t; 778 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_wchar_t; 779 } 780 break; 781 case 7: 782 if (max_nesting_level >= 3) { 783 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_wchar_t; 784 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_wchar_t; 785 } 786 break; 787 case 8: 788 if (max_nesting_level >= 3) { 789 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_wchar_t; 790 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_wchar_t; 791 } 792 break; 793 default: 794 if (max_nesting_level >= 3) { 795 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_wchar_t; 796 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_wchar_t; 797 } 798 break; 799 } 800 break; 801 case YAKSA_TYPE__INT8_T: 802 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 803 case 1: 804 if (max_nesting_level >= 3) { 805 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_int8_t; 806 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_int8_t; 807 } 808 break; 809 case 2: 810 if (max_nesting_level >= 3) { 811 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_int8_t; 812 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_int8_t; 813 } 814 break; 815 case 3: 816 if (max_nesting_level >= 3) { 817 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_int8_t; 818 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_int8_t; 819 } 820 break; 821 case 4: 822 if (max_nesting_level >= 3) { 823 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_int8_t; 824 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_int8_t; 825 } 826 break; 827 case 5: 828 if (max_nesting_level >= 3) { 829 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_int8_t; 830 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_int8_t; 831 } 832 break; 833 case 6: 834 if (max_nesting_level >= 3) { 835 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_int8_t; 836 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_int8_t; 837 } 838 break; 839 case 7: 840 if (max_nesting_level >= 3) { 841 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_int8_t; 842 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_int8_t; 843 } 844 break; 845 case 8: 846 if (max_nesting_level >= 3) { 847 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_int8_t; 848 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_int8_t; 849 } 850 break; 851 default: 852 if (max_nesting_level >= 3) { 853 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_int8_t; 854 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_int8_t; 855 } 856 break; 857 } 858 break; 859 case YAKSA_TYPE__INT16_T: 860 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 861 case 1: 862 if (max_nesting_level >= 3) { 863 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_int16_t; 864 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_int16_t; 865 } 866 break; 867 case 2: 868 if (max_nesting_level >= 3) { 869 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_int16_t; 870 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_int16_t; 871 } 872 break; 873 case 3: 874 if (max_nesting_level >= 3) { 875 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_int16_t; 876 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_int16_t; 877 } 878 break; 879 case 4: 880 if (max_nesting_level >= 3) { 881 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_int16_t; 882 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_int16_t; 883 } 884 break; 885 case 5: 886 if (max_nesting_level >= 3) { 887 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_int16_t; 888 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_int16_t; 889 } 890 break; 891 case 6: 892 if (max_nesting_level >= 3) { 893 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_int16_t; 894 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_int16_t; 895 } 896 break; 897 case 7: 898 if (max_nesting_level >= 3) { 899 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_int16_t; 900 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_int16_t; 901 } 902 break; 903 case 8: 904 if (max_nesting_level >= 3) { 905 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_int16_t; 906 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_int16_t; 907 } 908 break; 909 default: 910 if (max_nesting_level >= 3) { 911 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_int16_t; 912 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_int16_t; 913 } 914 break; 915 } 916 break; 917 case YAKSA_TYPE__INT32_T: 918 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 919 case 1: 920 if (max_nesting_level >= 3) { 921 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_int32_t; 922 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_int32_t; 923 } 924 break; 925 case 2: 926 if (max_nesting_level >= 3) { 927 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_int32_t; 928 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_int32_t; 929 } 930 break; 931 case 3: 932 if (max_nesting_level >= 3) { 933 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_int32_t; 934 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_int32_t; 935 } 936 break; 937 case 4: 938 if (max_nesting_level >= 3) { 939 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_int32_t; 940 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_int32_t; 941 } 942 break; 943 case 5: 944 if (max_nesting_level >= 3) { 945 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_int32_t; 946 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_int32_t; 947 } 948 break; 949 case 6: 950 if (max_nesting_level >= 3) { 951 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_int32_t; 952 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_int32_t; 953 } 954 break; 955 case 7: 956 if (max_nesting_level >= 3) { 957 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_int32_t; 958 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_int32_t; 959 } 960 break; 961 case 8: 962 if (max_nesting_level >= 3) { 963 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_int32_t; 964 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_int32_t; 965 } 966 break; 967 default: 968 if (max_nesting_level >= 3) { 969 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_int32_t; 970 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_int32_t; 971 } 972 break; 973 } 974 break; 975 case YAKSA_TYPE__INT64_T: 976 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 977 case 1: 978 if (max_nesting_level >= 3) { 979 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_int64_t; 980 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_int64_t; 981 } 982 break; 983 case 2: 984 if (max_nesting_level >= 3) { 985 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_int64_t; 986 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_int64_t; 987 } 988 break; 989 case 3: 990 if (max_nesting_level >= 3) { 991 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_int64_t; 992 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_int64_t; 993 } 994 break; 995 case 4: 996 if (max_nesting_level >= 3) { 997 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_int64_t; 998 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_int64_t; 999 } 1000 break; 1001 case 5: 1002 if (max_nesting_level >= 3) { 1003 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_int64_t; 1004 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_int64_t; 1005 } 1006 break; 1007 case 6: 1008 if (max_nesting_level >= 3) { 1009 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_int64_t; 1010 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_int64_t; 1011 } 1012 break; 1013 case 7: 1014 if (max_nesting_level >= 3) { 1015 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_int64_t; 1016 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_int64_t; 1017 } 1018 break; 1019 case 8: 1020 if (max_nesting_level >= 3) { 1021 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_int64_t; 1022 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_int64_t; 1023 } 1024 break; 1025 default: 1026 if (max_nesting_level >= 3) { 1027 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_int64_t; 1028 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_int64_t; 1029 } 1030 break; 1031 } 1032 break; 1033 case YAKSA_TYPE__FLOAT: 1034 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 1035 case 1: 1036 if (max_nesting_level >= 3) { 1037 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_float; 1038 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_float; 1039 } 1040 break; 1041 case 2: 1042 if (max_nesting_level >= 3) { 1043 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_float; 1044 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_float; 1045 } 1046 break; 1047 case 3: 1048 if (max_nesting_level >= 3) { 1049 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_float; 1050 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_float; 1051 } 1052 break; 1053 case 4: 1054 if (max_nesting_level >= 3) { 1055 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_float; 1056 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_float; 1057 } 1058 break; 1059 case 5: 1060 if (max_nesting_level >= 3) { 1061 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_float; 1062 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_float; 1063 } 1064 break; 1065 case 6: 1066 if (max_nesting_level >= 3) { 1067 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_float; 1068 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_float; 1069 } 1070 break; 1071 case 7: 1072 if (max_nesting_level >= 3) { 1073 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_float; 1074 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_float; 1075 } 1076 break; 1077 case 8: 1078 if (max_nesting_level >= 3) { 1079 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_float; 1080 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_float; 1081 } 1082 break; 1083 default: 1084 if (max_nesting_level >= 3) { 1085 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_float; 1086 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_float; 1087 } 1088 break; 1089 } 1090 break; 1091 case YAKSA_TYPE__DOUBLE: 1092 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 1093 case 1: 1094 if (max_nesting_level >= 3) { 1095 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_double; 1096 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_double; 1097 } 1098 break; 1099 case 2: 1100 if (max_nesting_level >= 3) { 1101 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_double; 1102 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_double; 1103 } 1104 break; 1105 case 3: 1106 if (max_nesting_level >= 3) { 1107 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_double; 1108 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_double; 1109 } 1110 break; 1111 case 4: 1112 if (max_nesting_level >= 3) { 1113 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_double; 1114 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_double; 1115 } 1116 break; 1117 case 5: 1118 if (max_nesting_level >= 3) { 1119 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_double; 1120 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_double; 1121 } 1122 break; 1123 case 6: 1124 if (max_nesting_level >= 3) { 1125 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_double; 1126 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_double; 1127 } 1128 break; 1129 case 7: 1130 if (max_nesting_level >= 3) { 1131 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_double; 1132 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_double; 1133 } 1134 break; 1135 case 8: 1136 if (max_nesting_level >= 3) { 1137 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_double; 1138 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_double; 1139 } 1140 break; 1141 default: 1142 if (max_nesting_level >= 3) { 1143 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_double; 1144 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_double; 1145 } 1146 break; 1147 } 1148 break; 1149 case YAKSA_TYPE__LONG_DOUBLE: 1150 switch (type->u.hvector.child->u.resized.child->u.blkhindx.blocklength) { 1151 case 1: 1152 if (max_nesting_level >= 3) { 1153 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_1_long_double; 1154 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_1_long_double; 1155 } 1156 break; 1157 case 2: 1158 if (max_nesting_level >= 3) { 1159 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_2_long_double; 1160 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_2_long_double; 1161 } 1162 break; 1163 case 3: 1164 if (max_nesting_level >= 3) { 1165 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_3_long_double; 1166 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_3_long_double; 1167 } 1168 break; 1169 case 4: 1170 if (max_nesting_level >= 3) { 1171 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_4_long_double; 1172 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_4_long_double; 1173 } 1174 break; 1175 case 5: 1176 if (max_nesting_level >= 3) { 1177 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_5_long_double; 1178 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_5_long_double; 1179 } 1180 break; 1181 case 6: 1182 if (max_nesting_level >= 3) { 1183 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_6_long_double; 1184 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_6_long_double; 1185 } 1186 break; 1187 case 7: 1188 if (max_nesting_level >= 3) { 1189 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_7_long_double; 1190 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_7_long_double; 1191 } 1192 break; 1193 case 8: 1194 if (max_nesting_level >= 3) { 1195 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_8_long_double; 1196 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_8_long_double; 1197 } 1198 break; 1199 default: 1200 if (max_nesting_level >= 3) { 1201 seq->pack = yaksuri_seqi_pack_hvector_resized_blkhindx_blklen_generic_long_double; 1202 seq->unpack = yaksuri_seqi_unpack_hvector_resized_blkhindx_blklen_generic_long_double; 1203 } 1204 break; 1205 } 1206 break; 1207 default: 1208 break; 1209 } 1210 break; 1211 default: 1212 break; 1213 } 1214 break; 1215 case YAKSI_TYPE_KIND__HINDEXED: 1216 switch (type->u.hvector.child->u.resized.child->u.hindexed.child->kind) { 1217 case YAKSI_TYPE_KIND__BUILTIN: 1218 switch (type->u.hvector.child->u.resized.child->u.hindexed.child->u.builtin.handle) { 1219 case YAKSA_TYPE___BOOL: 1220 if (max_nesting_level >= 3) { 1221 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed__Bool; 1222 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed__Bool; 1223 } 1224 break; 1225 case YAKSA_TYPE__CHAR: 1226 if (max_nesting_level >= 3) { 1227 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_char; 1228 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_char; 1229 } 1230 break; 1231 case YAKSA_TYPE__WCHAR_T: 1232 if (max_nesting_level >= 3) { 1233 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_wchar_t; 1234 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_wchar_t; 1235 } 1236 break; 1237 case YAKSA_TYPE__INT8_T: 1238 if (max_nesting_level >= 3) { 1239 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_int8_t; 1240 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_int8_t; 1241 } 1242 break; 1243 case YAKSA_TYPE__INT16_T: 1244 if (max_nesting_level >= 3) { 1245 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_int16_t; 1246 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_int16_t; 1247 } 1248 break; 1249 case YAKSA_TYPE__INT32_T: 1250 if (max_nesting_level >= 3) { 1251 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_int32_t; 1252 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_int32_t; 1253 } 1254 break; 1255 case YAKSA_TYPE__INT64_T: 1256 if (max_nesting_level >= 3) { 1257 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_int64_t; 1258 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_int64_t; 1259 } 1260 break; 1261 case YAKSA_TYPE__FLOAT: 1262 if (max_nesting_level >= 3) { 1263 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_float; 1264 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_float; 1265 } 1266 break; 1267 case YAKSA_TYPE__DOUBLE: 1268 if (max_nesting_level >= 3) { 1269 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_double; 1270 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_double; 1271 } 1272 break; 1273 case YAKSA_TYPE__LONG_DOUBLE: 1274 if (max_nesting_level >= 3) { 1275 seq->pack = yaksuri_seqi_pack_hvector_resized_hindexed_long_double; 1276 seq->unpack = yaksuri_seqi_unpack_hvector_resized_hindexed_long_double; 1277 } 1278 break; 1279 default: 1280 break; 1281 } 1282 break; 1283 default: 1284 break; 1285 } 1286 break; 1287 case YAKSI_TYPE_KIND__CONTIG: 1288 switch (type->u.hvector.child->u.resized.child->u.contig.child->kind) { 1289 case YAKSI_TYPE_KIND__BUILTIN: 1290 switch (type->u.hvector.child->u.resized.child->u.contig.child->u.builtin.handle) { 1291 case YAKSA_TYPE___BOOL: 1292 if (max_nesting_level >= 3) { 1293 seq->pack = yaksuri_seqi_pack_hvector_resized_contig__Bool; 1294 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig__Bool; 1295 } 1296 break; 1297 case YAKSA_TYPE__CHAR: 1298 if (max_nesting_level >= 3) { 1299 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_char; 1300 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_char; 1301 } 1302 break; 1303 case YAKSA_TYPE__WCHAR_T: 1304 if (max_nesting_level >= 3) { 1305 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_wchar_t; 1306 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_wchar_t; 1307 } 1308 break; 1309 case YAKSA_TYPE__INT8_T: 1310 if (max_nesting_level >= 3) { 1311 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_int8_t; 1312 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_int8_t; 1313 } 1314 break; 1315 case YAKSA_TYPE__INT16_T: 1316 if (max_nesting_level >= 3) { 1317 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_int16_t; 1318 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_int16_t; 1319 } 1320 break; 1321 case YAKSA_TYPE__INT32_T: 1322 if (max_nesting_level >= 3) { 1323 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_int32_t; 1324 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_int32_t; 1325 } 1326 break; 1327 case YAKSA_TYPE__INT64_T: 1328 if (max_nesting_level >= 3) { 1329 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_int64_t; 1330 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_int64_t; 1331 } 1332 break; 1333 case YAKSA_TYPE__FLOAT: 1334 if (max_nesting_level >= 3) { 1335 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_float; 1336 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_float; 1337 } 1338 break; 1339 case YAKSA_TYPE__DOUBLE: 1340 if (max_nesting_level >= 3) { 1341 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_double; 1342 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_double; 1343 } 1344 break; 1345 case YAKSA_TYPE__LONG_DOUBLE: 1346 if (max_nesting_level >= 3) { 1347 seq->pack = yaksuri_seqi_pack_hvector_resized_contig_long_double; 1348 seq->unpack = yaksuri_seqi_unpack_hvector_resized_contig_long_double; 1349 } 1350 break; 1351 default: 1352 break; 1353 } 1354 break; 1355 default: 1356 break; 1357 } 1358 break; 1359 case YAKSI_TYPE_KIND__RESIZED: 1360 switch (type->u.hvector.child->u.resized.child->u.resized.child->kind) { 1361 case YAKSI_TYPE_KIND__BUILTIN: 1362 switch (type->u.hvector.child->u.resized.child->u.resized.child->u.builtin.handle) { 1363 case YAKSA_TYPE___BOOL: 1364 if (max_nesting_level >= 3) { 1365 seq->pack = yaksuri_seqi_pack_hvector_resized_resized__Bool; 1366 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized__Bool; 1367 } 1368 break; 1369 case YAKSA_TYPE__CHAR: 1370 if (max_nesting_level >= 3) { 1371 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_char; 1372 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_char; 1373 } 1374 break; 1375 case YAKSA_TYPE__WCHAR_T: 1376 if (max_nesting_level >= 3) { 1377 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_wchar_t; 1378 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_wchar_t; 1379 } 1380 break; 1381 case YAKSA_TYPE__INT8_T: 1382 if (max_nesting_level >= 3) { 1383 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_int8_t; 1384 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_int8_t; 1385 } 1386 break; 1387 case YAKSA_TYPE__INT16_T: 1388 if (max_nesting_level >= 3) { 1389 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_int16_t; 1390 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_int16_t; 1391 } 1392 break; 1393 case YAKSA_TYPE__INT32_T: 1394 if (max_nesting_level >= 3) { 1395 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_int32_t; 1396 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_int32_t; 1397 } 1398 break; 1399 case YAKSA_TYPE__INT64_T: 1400 if (max_nesting_level >= 3) { 1401 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_int64_t; 1402 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_int64_t; 1403 } 1404 break; 1405 case YAKSA_TYPE__FLOAT: 1406 if (max_nesting_level >= 3) { 1407 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_float; 1408 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_float; 1409 } 1410 break; 1411 case YAKSA_TYPE__DOUBLE: 1412 if (max_nesting_level >= 3) { 1413 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_double; 1414 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_double; 1415 } 1416 break; 1417 case YAKSA_TYPE__LONG_DOUBLE: 1418 if (max_nesting_level >= 3) { 1419 seq->pack = yaksuri_seqi_pack_hvector_resized_resized_long_double; 1420 seq->unpack = yaksuri_seqi_unpack_hvector_resized_resized_long_double; 1421 } 1422 break; 1423 default: 1424 break; 1425 } 1426 break; 1427 default: 1428 break; 1429 } 1430 break; 1431 case YAKSI_TYPE_KIND__BUILTIN: 1432 switch (type->u.hvector.child->u.resized.child->u.builtin.handle) { 1433 case YAKSA_TYPE___BOOL: 1434 if (max_nesting_level >= 2) { 1435 seq->pack = yaksuri_seqi_pack_hvector_resized__Bool; 1436 seq->unpack = yaksuri_seqi_unpack_hvector_resized__Bool; 1437 } 1438 break; 1439 case YAKSA_TYPE__CHAR: 1440 if (max_nesting_level >= 2) { 1441 seq->pack = yaksuri_seqi_pack_hvector_resized_char; 1442 seq->unpack = yaksuri_seqi_unpack_hvector_resized_char; 1443 } 1444 break; 1445 case YAKSA_TYPE__WCHAR_T: 1446 if (max_nesting_level >= 2) { 1447 seq->pack = yaksuri_seqi_pack_hvector_resized_wchar_t; 1448 seq->unpack = yaksuri_seqi_unpack_hvector_resized_wchar_t; 1449 } 1450 break; 1451 case YAKSA_TYPE__INT8_T: 1452 if (max_nesting_level >= 2) { 1453 seq->pack = yaksuri_seqi_pack_hvector_resized_int8_t; 1454 seq->unpack = yaksuri_seqi_unpack_hvector_resized_int8_t; 1455 } 1456 break; 1457 case YAKSA_TYPE__INT16_T: 1458 if (max_nesting_level >= 2) { 1459 seq->pack = yaksuri_seqi_pack_hvector_resized_int16_t; 1460 seq->unpack = yaksuri_seqi_unpack_hvector_resized_int16_t; 1461 } 1462 break; 1463 case YAKSA_TYPE__INT32_T: 1464 if (max_nesting_level >= 2) { 1465 seq->pack = yaksuri_seqi_pack_hvector_resized_int32_t; 1466 seq->unpack = yaksuri_seqi_unpack_hvector_resized_int32_t; 1467 } 1468 break; 1469 case YAKSA_TYPE__INT64_T: 1470 if (max_nesting_level >= 2) { 1471 seq->pack = yaksuri_seqi_pack_hvector_resized_int64_t; 1472 seq->unpack = yaksuri_seqi_unpack_hvector_resized_int64_t; 1473 } 1474 break; 1475 case YAKSA_TYPE__FLOAT: 1476 if (max_nesting_level >= 2) { 1477 seq->pack = yaksuri_seqi_pack_hvector_resized_float; 1478 seq->unpack = yaksuri_seqi_unpack_hvector_resized_float; 1479 } 1480 break; 1481 case YAKSA_TYPE__DOUBLE: 1482 if (max_nesting_level >= 2) { 1483 seq->pack = yaksuri_seqi_pack_hvector_resized_double; 1484 seq->unpack = yaksuri_seqi_unpack_hvector_resized_double; 1485 } 1486 break; 1487 case YAKSA_TYPE__LONG_DOUBLE: 1488 if (max_nesting_level >= 2) { 1489 seq->pack = yaksuri_seqi_pack_hvector_resized_long_double; 1490 seq->unpack = yaksuri_seqi_unpack_hvector_resized_long_double; 1491 } 1492 break; 1493 default: 1494 break; 1495 } 1496 break; 1497 default: 1498 break; 1499 } 1500 1501 return rc; 1502 } 1503